If I make it ${EXTEN:8), then it will strip off 90115255, and leave only
6 digits going to your switch. And, as you say below, you use eight
digits there.
Using ${EXTEN:6}, I was successfully able to call the Mexico City
Airport at
5571-3600.
So, I stick by my ${EXTEN:6} configuration, since it works.
;-)
-Original Message-
From: [EMAIL PROTECTED] [mailto:asterisk-users-
[EMAIL PROTECTED] On Behalf Of Miguel Ruiz Velasco Sobrino
Sent: Thursday, January 13, 2005 11:48 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] RE: R2/MFC Mexico FREE calls to test
chan_unicall
if you dial this to reach the airport (using international long
distance):
9-011-52-5-571-3600
in extensions.conf
exten = _90115255.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:8},90,Tt)
or
exten = _901152.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:8},90,Tt)
you should configure the extension in this way (adding the 55 in the
exten), AND (this
the important part!) the ${EXTEN:8}, because in mexico city the
numbers
are 8 digits
long, not 10, if you leave the 10 digit numbers you will call all sort
of
wrong places.
Message: 8
Date: Thu, 13 Jan 2005 11:05:30 -0600
From: Greg Blakely [EMAIL PROTECTED]
Subject: RE: [Asterisk-Users] R2/MFC Mexico FREE calls to test
chan_unicall
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii
Works for me, too. But I found that the Benito Juarez International
airport was reachable by 9-011-52-5-571-3600.
To get this from my PBX-like setup, I have the following in
extensions.conf:
exten = _901152.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN:6},90,Tt
mailto:IAX2/[EMAIL PROTECTED]/$%7bEXTEN:6%7d,90,Tt )
and the following in iax.conf
disallow=all
allow=GSM
=
Miguel Ruiz Velasco
Version: OpenKeyServer v1.2
Comment: Extracted from belgium.keyserver.net
Signature: 0x59831109
__
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users