On Tue, 07 Jun 2011 14:17:41 -0400
sean darcy <[email protected]> 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 ".".
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users