[Asterisk-Users] dialing from mexico mapping numbers.
James Coberly
james.coberly at xmc.com
Tue Nov 2 18:13:50 MST 2004
Try
exten => NNNXXXX,1,Dial(${TRUNK}/01152664${EXTEN},,) ; Tijuana Local
call takes NNNXXXX, sent as 01152664NNNXXXX exten =>
NNNXXXX,2,Congestion
exten => 01NNXXXXXXXX,1,Dial(${TRUNK}/011${EXTEN:2},,) ; MX Call takes
01 NN NN NN NN NN, sent as 011 NN NN NN NN NN
exten => 01NNXXXXXXXX,2,Congestion
exten => 001NXXNXXNXXX,1,Dial(${TRUNK}/${EXTEN:2},,) ; US Calls Dialed
as 001 NNN-NNN-NNNN Sent as 1-NNN-NNN-NNNN Exten =>
001NXXNXXNXXX,2,Congestion
XMC - Ask us for the best prices in T1's for data and voice services
nationwide. We will not be beat!
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of sergio
riveros
Sent: Tuesday, November 02, 2004 5:37 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] dialing from mexico mapping numbers.
Hi,
I am running a small calling center in Mexico where people can call
anywhere
using asterisk, most calls are either to the USA or inside Mexico.
Everything works great for me using voipjet or simplenet, however what
confuses people making the calls is the calling sintax to USA is
1-NNN-NNN-NNNN or calling to mexico the sintax is 011 52 NN NN NN NN NN,
this works fine but I think it would be better for my customer to
locally
dial like if they were in mexico for internal purposes, even let
asteriks
dial the number properly.
from example
when someone dials 001 NNN-NNN-NNNN let asterisk dial 1-NNN-NNN-NNNN
USA CALL
when someone dials 01 NN NN NN NN NN let asterisk dial 01152 NN NN NN
NN
NN Mexico call
whe some dials local N NN NN NN let asterisk dial 01152664 N NN NN NN
tijuana call
Anyone knows how to do this ?, I have been reading and taking a look at
extencions.conf without any success for this purpose.
Remeber the purpose for doing this is that the calling center is located
in
Mexico, and customers get very confused having to dial the number like
being
in the US.
Any help will be greatly apreciated.
Thanks,
Sergio
More information about the asterisk-users
mailing list