[asterisk-users] why doesn't "s" accept incoming call
Chad Wallace
cwallace at lodgingcompany.com
Tue Jun 7 13:23:28 CDT 2011
On Tue, 07 Jun 2011 14:17:41 -0400
sean darcy <seandarcy2 at gmail.com> wrote:
> 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 only used when there is no extension.
Using "_." poses a potential security risk, if you then use ${EXTEN}
for a subsequent Dial. The best way to do it is to define your
extensions exactly or based on some pattern that doesn't end with ".".
More information about the asterisk-users
mailing list