[Asterisk-bsd] getting callerid from spa3k to asterisk
Chris Stenton
jacs at gnome.co.uk
Fri Nov 12 12:39:06 CST 2004
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 at psg.com>
To: <asterisk-bsd at lists.digium.com>
Sent: Friday, November 12, 2004 12:16 AM
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 at psg.com>
> To: splatters <asterisk-users at 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
>
> extensions.conf for the incoming
>
> [ext-in42]
> exten => _X.,1,NoOp("ext-in42 cid=${CALLERIDNUM}")
> exten => _X.,2,SetVar(areacode=206)
> exten => _X.,3,SetVar(mailbox=1)
> exten => _X.,4,GoTo(ext-common,s,1)
>
> [ext-common]
> exten => s,1,NoOp("ext-common cid=${CALLERIDNUM}")
> exten => s,2,Background(zz-who-common)
> exten => i,1,Hangup()
> exten => t,1,GoTo(ext-common,s,1)
> include => speeddials
> include => extensions
> include => conferences
> include => applications
>
> randy
>
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
>
More information about the Asterisk-BSD
mailing list