[Asterisk-Users] Dial with 44 and +44 prefix

2005-10-28 Thread James Steven
Hi   Currently, in extensions.conf I have:   exten => _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1})exten => _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2})   This enables numbers to dialled starting with 0 and 00 and changes them to start with 44.  How can I configure my extensions.co

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-28 Thread Chris Bagnall
> exten => _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1}) > exten => _00.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:2}) > How can I configure my > extensions.conf to dial a number starting with 44 to dial > without changes? Also a number sent from Outlook starting with +44? exten => _44.,1,D

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-31 Thread James Steven
PROTECTED] On Behalf Of Chris Bagnall Sent: 28 October 2005 12:30 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Dial with 44 and +44 prefix > exten => _0[1-9].,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:1}) > exten => _00.,1,Dial

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-31 Thread Chris Bagnall
> One further question, how can I set up a > line so that if 440 is dialled before a number the 0 is taken > out so only 44 is actually used? exten => _440.,1,Dial(IAX2/[EMAIL PROTECTED]/44${EXTEN:3}) You could probably do it by playing around with different offets as well: exten => _440.,1,Di

Re: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-31 Thread Marc Storck
To bad that prefixes like +220 (Gambia), +230 (Mauritius), +240 (Equatorial Guinea), +250 (Rwanda), +260 (Zambia), +290 (Saint Helena), +350 (Gibraltar), +370 (Lithuania), +380 (Ukraine), +420 (Czech Republic), +500 (Falkland Island), +590 (Guadeloupe), +670 (Timor Leste), +680 (Palau), +690 (T

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-31 Thread Chris Bagnall
> To bad that prefixes like +220 (Gambia), +230 (Mauritius), > +240 (Equatorial Guinea), +250 (Rwanda), +260 (Zambia), +290 > (Saint Helena), > +350 (Gibraltar), +370 (Lithuania), +380 (Ukraine), +420 (Czech > Republic), +500 (Falkland Island), +590 (Guadeloupe), +670 > (Timor Leste), +680 (Pal

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-31 Thread James Steven
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Bagnall Sent: 31 October 2005 12:13 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [Asterisk-Users] Dial with 44 and +44 prefix > One further question, how can I set up a line so that if 440

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-10-31 Thread Chris Bagnall
> I have inserted the lines you suggested but Asterisk keeps > the 0 when dialling with all alternatives. Also, I am unsure > what the phrase "${EXTEN::2}${EXTEN:3}" does? Could you > explain this abit? The syntax is {EXTEN:initial offset:length} So EXTEN:3 chops off the first three digits a

RE: [Asterisk-Users] Dial with 44 and +44 prefix

2005-11-01 Thread James Steven
27; Subject: RE: [Asterisk-Users] Dial with 44 and +44 prefix > I have inserted the lines you suggested but Asterisk keeps the 0 when > dialling with all alternatives. Also, I am unsure what the phrase > "${EXTEN::2}${EXTEN:3}" does? Could you explain this abit? The syntax is