On Friday 15 March 2019 at 15:18:04, sean darcy wrote:
> From my provider I get extensions of:
>
> +1<10digit number>
> 1<10 digit number>
> <10 digit number>
>
> seemingly randomly.
>
> What I'd like to do is
>
> exten=_!1234567890,1,Answer()
> Any suggestions?
exten => _+1XXXXXXXXXX,Goto(${EXTEN:2})
exten => _1XXXXXXXXXX,Goto(${EXTEN:1})
exten => _XXXXXXXXXX,Rest of your dialplan
Antony.
--
What makes you think I know what I'm talking about?
I just have more O'Reilly books than most people.
Please reply to the list;
please *don't* CC me.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users