Posted: Thu Nov 11, 2004 4:15 pm Post subject: [Asterisk-bsd] getting callerid from spa3k to asterisk
i have been beating my head against this ever since i upgraded
to 1.01 from 0.9.7. i have spent many hours tweaking parametes
on the spa3k etc.
i spent half of today working with someone running a very very
similar environment excpept he is running 1.0.2. and it is
working for him.
so this is a whine for either clue on the actual problem, likely
from a sip-head or for a test version of 1.0.2 for freebsd current.
thanks for listening to my whining. and sorry.
randy
From: Randy Bush <randy@psg.com>
To: splatters <asterisk-users@lists.digium.com>
Subject: getting callerid from spa3k to asterisk
Date: Sun, 7 Nov 2004 15:28:58 -0800
i am still dying on this one, and my critical user, my fiance'e,
is giving me hell over it on my home test environment; even my
daytime job, for which i am prototyping, is more patient. :-)
i can not get caller-id from a call coming in to the spa3k pstn
to asterisk. fwiw, this used to work with older * and spa3k
versions, but of course it could be something i did to configs.
essentially, if i tell the spa3k to pass callerid to *, the sip
session gets rejected by *. since no one seemed to like to see
ethereal output, i have posted * sip debug form of the sessions.
does anyone have their spa3k and * config working that i could
look at? or, if you can shoot the bug, i'll pay you US$100 by
paypal or whatever.
the spa3k configiuration
<http://rip.psg.com/~randy/spa3k.html>
sip debug with spa3k config set to
PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID: = NO
call accepted ok, but no callerid received by asterisk
<http://rip.psg.com/~randy/debug-0.txt>
sip debug with spa3k config set to
PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID: = YES
call rejected by asterisk
<http://rip.psg.com/~randy/debug-1.txt>
sip.conf entry
[spa3k-in]
type=friend ; user fails to register
host=dynamic
port=5061
auth=md5
secret=dontbesilly
qualify=1000
dtmfmode=rfc2833
canreinvite=yes
context=ext-in42
Posted: Fri Nov 12, 2004 10:40 am Post subject: [Asterisk-bsd] getting callerid from spa3k to asterisk
Randy,
There seems to be a bug
your working call connects to
Found user 'spa3k-in'
the none working ...
Found peer 'spa3k-out'
Now why its deciding its a peer I am not sure. My guess its that you like me
you have host=xx.xx.x.x set in your
'spa3k-out' and asterisk is matching the host ip address rather than the
user name?
Anyway the fix is to add
context=ext-in42
to spa3k-out
Otherwise it gets the context set in general.
This took me a while to work out!
Chris
----- Original Message -----
From: "Randy Bush" <randy@psg.com>
To: <asterisk-bsd@lists.digium.com>
Sent: Friday, November 12, 2004 12:16 AM
Subject: [Asterisk-bsd] getting callerid from spa3k to asterisk
Quote:
i have been beating my head against this ever since i upgraded
to 1.01 from 0.9.7. i have spent many hours tweaking parametes
on the spa3k etc.
i spent half of today working with someone running a very very
similar environment excpept he is running 1.0.2. and it is
working for him.
so this is a whine for either clue on the actual problem, likely
from a sip-head or for a test version of 1.0.2 for freebsd current.
thanks for listening to my whining. and sorry.
randy
From: Randy Bush <randy@psg.com>
To: splatters <asterisk-users@lists.digium.com>
Subject: getting callerid from spa3k to asterisk
Date: Sun, 7 Nov 2004 15:28:58 -0800
i am still dying on this one, and my critical user, my fiance'e,
is giving me hell over it on my home test environment; even my
daytime job, for which i am prototyping, is more patient. :-)
i can not get caller-id from a call coming in to the spa3k pstn
to asterisk. fwiw, this used to work with older * and spa3k
versions, but of course it could be something i did to configs.
essentially, if i tell the spa3k to pass callerid to *, the sip
session gets rejected by *. since no one seemed to like to see
ethereal output, i have posted * sip debug form of the sessions.
does anyone have their spa3k and * config working that i could
look at? or, if you can shoot the bug, i'll pay you US$100 by
paypal or whatever.
the spa3k configiuration
<http://rip.psg.com/~randy/spa3k.html>
sip debug with spa3k config set to
PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID: = NO
call accepted ok, but no callerid received by asterisk
<http://rip.psg.com/~randy/debug-0.txt>
sip debug with spa3k config set to
PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID: = YES
call rejected by asterisk
<http://rip.psg.com/~randy/debug-1.txt>
sip.conf entry
[spa3k-in]
type=friend ; user fails to register
host=dynamic
port=5061
auth=md5
secret=dontbesilly
qualify=1000
dtmfmode=rfc2833
canreinvite=yes
context=ext-in42
Posted: Fri Nov 12, 2004 2:02 pm Post subject: [Asterisk-bsd] getting callerid from spa3k to asterisk
Quote:
your working call connects to
Found user 'spa3k-in'
the none working ...
Found peer 'spa3k-out'
Now why its deciding its a peer I am not sure. My guess its that you like
me you have host=xx.xx.x.x set in your 'spa3k-out' and asterisk is
matching the host ip address rather than the user name?
exactly
Quote:
Anyway the fix is to add
context=ext-in42
to spa3k-out
was already there for supersitious reasons, but did not work.
i think just realized why. spa3k-out, being for outbound calls,
is not registered with *. so when an inbound call is directed
to it, whammy!
so, if this is actually the problem, it would seem that there might
be some approaches to solve it
o find out why the inbound call is being directed to the outbound
context and fix it to be directed to the inbound context. and i
am hoping that 1.0.2 fixes this, though i am not optimistic
o get the spa3k to register with spa3k-out
o somehow combine the two entries, don't ask me how
Posted: Fri Nov 12, 2004 2:34 pm Post subject: [Asterisk-bsd] getting callerid from spa3k to asterisk
Quote:
i think just realized why. spa3k-out, being for outbound calls,
is not registered with *. so when an inbound call is directed
to it, whammy!
so i just tested by removing the spa3k-out context from sip.conf.
it works. i now get callerid. thanks for the clue that put me
on the path.
now, how do i get inbound and outbound both working? hmmmm.
maybe i jusy use the inbound context to place the call by
adding a fromuser= to the inbound context?
Posted: Sat Nov 13, 2004 12:55 am Post subject: [Asterisk-bsd] getting callerid from spa3k to asterisk
keep spa3k-out and change it from type peer to type friend.
On Fri, 2004-11-12 at 22:34, Randy Bush wrote:
Quote:
> i think just realized why. spa3k-out, being for outbound calls,
> is not registered with *. so when an inbound call is directed
> to it, whammy!
so i just tested by removing the spa3k-out context from sip.conf.
it works. i now get callerid. thanks for the clue that put me
on the path.
now, how do i get inbound and outbound both working? hmmmm.
maybe i jusy use the inbound context to place the call by
adding a fromuser= to the inbound context?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum