[Asterisk-Users] RE: R2/MFC Mexico FREE calls to test chan_unicall

Greg Blakely greg at vyger.net
Thu Jan 13 11:32:39 MST 2005


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: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Miguel Ruiz Velasco Sobrino
> Sent: Thursday, January 13, 2005 11:48 AM
> To: asterisk-users at 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/guest at 200.53.121.233/${EXTEN:8},90,Tt)
> or
> exten => _901152.,1,Dial(IAX2/guest at 200.53.121.233/${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" <greg at vyger.net>
> Subject: RE: [Asterisk-Users] R2/MFC Mexico FREE calls to test
> 	chan_unicall
> To: "Asterisk Users Mailing List - Non-Commercial Discussion"
> 	<asterisk-users at lists.digium.com>
> Message-ID:
>
<A691C3685A152E4AAC9608B8D8E1131619B025 at godzilla.hickory.vyger.net>
> 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/guest at 200.53.121.233/${EXTEN:6},90,Tt
> <mailto:IAX2/guest at 200.53.121.233/$%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 at 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
> 






More information about the asterisk-users mailing list