[asterisk-users] why doesn't extension "s" work ?

sean darcy seandarcy2 at gmail.com
Thu Mar 28 19:32:54 CDT 2019


I'm using "s" extension in my dialplan:

[gv-voice]
exten => s,1,Verbose(callerid is "${CALLERID(all)}" or 
"${CALLERID(num)}") ;Set(Var_TO=${SIP_HEADER(TO)})  ; PJSIP_HEADER(read,To)
    same=>n,....

But when a call comes in to the gv-voice context, "s" doesn't match the 
extension:

res_pjsip_session.c:2991 new_invite: Call from 'gv-voice' 
(UDP:10.10.10.80:5062) to extension '<xxxxxxxxxx>' rejected because 
extension not found in context 'gv-voice'.

I thought "s" (as in start ?) would match any extension sent to that 
context.

sean




More information about the asterisk-users mailing list