2015-11-09 15:06 GMT+01:00 Recursive <[email protected]>:

> On 06.11.2015 14:06, Rusty Newton wrote:
> >
> > It should be able to handle typical regular expression. I don't see
> > anything wrong with what you are doing. Please file a bug at
> > issues.asterisk.org/jira.  Do include a debug log on the issue
> > captured when Asterisk attempts to execute these extensions.
> >
> > https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
> >
>
> Thanks to your above hint, I have reviewed my dialplan again and have
> found a bug in it. After correcting my dialplan, it turned out that you are
> right (of course): REGEX now behaves like expected.
>

How would you then recommand  to deal with  + sign in REGEX ?
Something like 1) ?
1) same => n(A1), GotoIf($[${REGEX("^\\+49.*" ${EXTEN})}]?:A2)

>
>
-- 
_____________________________________________________________________
-- 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

Reply via email to