[asterisk-users] why doesn't "s" accept incoming call

Eric Wieling EWieling at nyigc.com
Tue Jun 7 13:23:45 CDT 2011



> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> sean darcy
> Sent: Tuesday, June 07, 2011 2:18 PM
> To: asterisk-users at lists.digium.com
> Subject: [asterisk-users] why doesn't "s" accept incoming call
>
> Call from 'sip' to extension '+1xxxyyyzzzz' rejected because
> extension
> not found in context 'out'.
>
> But
> [out]
> exten => s,1,NoOp( this is the extension: ${EXTEN})
> exten => s,n,Answer()
> exten => s,n(weasels),PlayBack(weasels-eaten-phonesys)
> ........
>
> If I set "s" to "_." it works.
>
> Shouldn't "s" work here? Is it because the extension includes a "+"?

"s" is NOT a wildcard.  "s" matches "empty extension", it does not match "all extensions".

"s" is seldom used except in macros and with FXO ports (analog or CAS)



More information about the asterisk-users mailing list