[asterisk-users] e164 Format Numbers

2008-05-01 Thread Rod Bacon
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

Re: [asterisk-users] e164 Format Numbers

2008-05-01 Thread Eric Wieling
Have you tried something like this?:

   exten = +12345,1,Noop(He died of ennui!)

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
 

-- 
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, 
T-1, PRI, Frame Relay, Linux, and network design.  Based near 
Birmingham, AL.  Now accepting clients worldwide.

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


Re: [asterisk-users] e164 Format Numbers

2008-05-01 Thread Paul Hales

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

Re: [asterisk-users] e164 Format Numbers

2008-05-01 Thread Eric Wieling
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

-- 
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS, 
T-1, PRI, Frame Relay, Linux, and network design.  Based near 
Birmingham, AL.  Now accepting clients worldwide.


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

Re: [asterisk-users] e164 Format Numbers

2008-05-01 Thread Paul Hales

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
 


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