Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Matching "+" characters in dial p


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
lists at wildgooses.com
Guest





PostPosted: Wed Feb 06, 2008 7:18 pm    Post subject: [asterisk-users] Matching "+" characters in dial p Reply with quote

Can someone please explain how to match a + character in a dial plan (so
that I can swap it for the "00" country escape code).

In Europe at least the + is a common shortcut for the international
prefix (which is "00" in my country). However, my trunk chokes on the +
character and all my speed-dials are setup with a + at the start of
them... Trying to fix the phone rather than the addressbook...

Thanks

Ed W
Back to top
anselm at hoffmeister-...
Guest





PostPosted: Wed Feb 06, 2008 7:49 pm    Post subject: [asterisk-users] Matching "+" characters in dial p Reply with quote

Am Donnerstag, den 07.02.2008, 00:18 +0000 schrieb Ed W:
Quote:
Can someone please explain how to match a + character in a dial plan (so
that I can swap it for the "00" country escape code).

In Europe at least the + is a common shortcut for the international
prefix (which is "00" in my country). However, my trunk chokes on the +
character and all my speed-dials are setup with a + at the start of
them... Trying to fix the phone rather than the addressbook...

You should get away with

exten => _+[1-9].,1,Goto(00${EXTEN:1},1)

If you had any special use for triple-0 numbers (as we do), you should
afaik also be able to use

exten => _+.,1,Goto(00${EXTEN:1},1)

We do not allow "+0" numbers though because that would contradict the
meaning of a "000" number in our setup. Generally "+AABBBCCC" is dialled
as "00AABBBCCC", as international phone call, through our outward phone
provider without them noticing any weird + signs.

BR
Anselm
Back to top
pdhales at optusnet.co...
Guest





PostPosted: Wed Feb 06, 2008 7:49 pm    Post subject: [asterisk-users] Matching "+" characters in dial p Reply with quote

I made up some dialplan rules to strip the '+' and replace with the
00...

Something like:

exten => _+XX.,1,Dial(zap/g1/00${EXTEN:1})

PaulH
On Thu, 2008-02-07 at 00:18 +0000, Ed W wrote:
Quote:
Can someone please explain how to match a + character in a dial plan (so
that I can swap it for the "00" country escape code).

In Europe at least the + is a common shortcut for the international
prefix (which is "00" in my country). However, my trunk chokes on the +
character and all my speed-dials are setup with a + at the start of
them... Trying to fix the phone rather than the addressbook...

Thanks

Ed W

_______________________________________________
-- 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
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Wed Feb 06, 2008 8:00 pm    Post subject: [asterisk-users] Matching "+" characters in dial p Reply with quote

On Wednesday 06 February 2008 18:18:12 Ed W wrote:
Quote:
Can someone please explain how to match a + character in a dial plan (so
that I can swap it for the "00" country escape code).

In Europe at least the + is a common shortcut for the international
prefix (which is "00" in my country). However, my trunk chokes on the +
character and all my speed-dials are setup with a + at the start of
them... Trying to fix the phone rather than the addressbook...

exten => _+.,1,Goto(00${EXTEN:1},1)

--
Tilghman
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services