[Asterisk-Users] spa3k: cid vs authid
Randy Bush
randy at psg.com
Fri Oct 22 22:13:20 MST 2004
[ replying to myself ]
> freebsd just upgraded to 1.01, thanks sobomax and team!
> with the upgrade, on inbound from an spa3k pstn call,
> i started getting the classic
> "Failed to authenticate user <callerid>"
> when the authenticating client should have been the
> spa3k/pstn/userid
> i can get around this by setting the spa3k
> PSTN / PSTN-To-VoIP Gateway Setup / PSTN CID For VoIP CID:
> to NO
> but now i no longer capture the incoming pstn caller's
> callerid.
> what am i not getting here?
i think i see a glimmer
in asterisk 0.9.0.2, on an incoming pstn call through the
spa3k, the callerid number became usable as the extension
in extensions.conf. so i could recognize, for example,
my mobile phone, callerid=8081234567, in
exten => _#1/8081234567,1,Macro(vmm,s1)
so i could bypass a bunch of authentication crud (until
someone steals my mobile:-).
now, in 1.0.1, this does not seem to work. could it be
the way i am catching the call?
[ext-xxx]
; this catches the spa3k PSTN / Dial Plans / Dial Plan 1: = (S0<:123>)
exten => s,1,NoOp()
exten => _.,1,SetVar(foo=42)
exten => _.,2,SetVar(bar=666)
exten => _.,3,GoTo(ext-common,${EXTEN},1)
[ext-common]
exten => s,1,Background(zz-get-rid-of-george)
exten => i,1,Hangup()
exten => t,1,GoTo(ext-common,s,1)
include => speeddials
include => extensions
include => conferences
include => applications
[applications]
; voicemail
exten => _#1/8081234567,1,Macro(vmm,s1)
...
randy
More information about the asterisk-users
mailing list