[asterisk-users] e164 Format Numbers

Paul Hales pdhales at optusnet.com.au
Thu May 1 22:37:39 CDT 2008


agreed - typing stuff in emails while doing other things....

PaulH


On Thu, 2008-05-01 at 21:17 -0500, Eric Wieling wrote:
> Unless you meant to match the literal "+X.", I think you meant to say:
> 
> exten => _+X.,1,Answer
> 
> (notice the leading underscore -- which indicates this is a pattern match)
> 
> Paul Hales wrote:
> > I did some dialplan work with numbers starting with + (outlook) and from
> > memory things like 
> > 
> > exten => +X.,1,Answer
> > 
> > Seemed to work fine...
> > 
> > PaulH
> > Melb, Australia
> > 
> > On Fri, 2008-05-02 at 10:25 +1000, Rod Bacon wrote:
> >> This is probably a very simple question, but I can’t for the life of
> >> me work it out. I’m trying to use Asterisk as a PTSN gateway to OCS
> >> (and believe I have all the SIP issues sorted), but OCS wants to dial
> >> in e164 format (+613blahblah). Because Asterisk sees the “+” in the
> >> SIP URI, it doesn’t want to match anything in my dial plan, not even
> >> the S extension in the nominated context.
> >>
> >>  
> >>
> >> Am I missing something completely obvious?
> >>
> >>
> >> _______________________________________________
> >> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >>
> >> asterisk-users mailing list
> >> To UNSUBSCRIBE or update options visit:
> >>    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> > 
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list