SellVoIP appears to follow a US dialplan. A US number is dialled as 1NXXNXXXXXX whereas an international (to the US) number is dialled as 011X.
Frankly, I didn't ask whether international numbers like Barbados where the code remains as 1 but are international (to the US) need the 011 or can be dialled directly but that's not really my concern. I've assumed they don't.
 
Most of the world uses 00 as the internation prefix code, therefore I have to ask:
 
How can I "strip" the 00 and insert 011 in one entry in the dialplan. I'm stripping the 00 and passing the rest of the numbers for numbers dialled as 001X. (as in:  00|1XX.) but in case of numbers out of the US, how would I insert the 011 ?
 
 
BEGIN:VCARD
VERSION:2.1
N:Tarzi;AbdelRahman el
FN:AbdelRahman el Tarzi
ORG:Arab Banking Corporation;Proprietary Investment
TITLE:Structured Credit Derivatives
NOTE;ENCODING=QUOTED-PRINTABLE:Fax: +973 39 33 27 69=0D=0AContacts in Egypt: =0D=0ACell: +20(10) 1236700=
=0D=0ACairo: Residence: +20 (2) 4028860=0D=0AMarina: Residence: +20 (46) 406=
2197 (temp unavailable)=0D=0AZomorroda: Residence: +20 (3) 5210765=0D=0A
TEL;WORK;VOICE:+973 1754 3700
TEL;HOME;VOICE:+973 17 69 80 24
TEL;CELL;VOICE:+973 39 68 57 00
TEL;WORK;FAX:+973 1753 1427
ADR;WORK:;3rd floor, ABC Building;P.O. BOX 5698;Manama;;;Bahrain
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:3rd floor, ABC Building=0D=0AP.O. BOX 5698=0D=0AManama=0D=0ABahrain
ADR;HOME;ENCODING=QUOTED-PRINTABLE:;;House 758=0D=0ARoad 2033=0D=0ABlock 520 Barbar=0D=0A=0D=0ABahrain;Manama;;=
;Bahrain
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:House 758=0D=0ARoad 2033=0D=0ABlock 520 Barbar=0D=0A=0D=0ABahrain=0D=0AManam=
a=0D=0ABahrain
X-WAB-GENDER:2
URL;WORK:www.arabbanking.com
BDAY:20050123
KEY;X509;ENCODING=BASE64:
    MIICcjCCAdugAwIBAgIDD9ZWMA0GCSqGSIb3DQEBB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ZIhvcNAQEBBQADgY0AMIGJAoGBAK+koXkgs50JRrsTV4tj2QS7
    uZ05+iKe/lhkdv56a6oEUcw4tO03rGMcB+ocWwfmmIbZ1n5p8dRjybsZMI5zEnRsf/KeQLl3
    1wBPYoKzVDQrulNMGh8FmhK8uWsW1FZSKJkbxZWjcI2fkbDLmQuvWBUdlgiOFOLp08m9bMvf
    ZpCfAgMBAAGjMzAxMCEGA1UdEQQaMBiBFmFydGFyemlAYmF0ZWxjby5jb20uYmgwDAYDVR0T
    AQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQA/TNRreOLNx7d1f7H9vfrnlTRuftVHVL4f6h6X
    u2Od18TDDP6/iUuiTtcMQfOOwiBBxjkgdupsDi4q8FrOseWu5ylM9hNg+1mtjSQT00CL6n4A
    CIh94LiywiMeJmxzKLuihUxyQu2aRFksaQS4unmENCZ23a+xB4DHuTD9V3FcAy==


EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
EMAIL;INTERNET:[EMAIL PROTECTED]
REV:20060305T155750Z
END:VCARD
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to