[Asterisk-Users] ASTCC/ASTCC anything wrong with that?

Darren Wiebe darren at aleph-com.net
Mon Dec 12 07:42:56 MST 2005


Try it out.  It looks to me like it would work but I've been wrong 
often. :-)

Darren Wiebe

bbench at mail.bg wrote:

>List ... Darren,
>In order to use a provider with unusual prefix 00
>i.e. 001NXXNXXXXXX and providing failover to other providers with
>the usual 1NXXNXXXXXX, decided to: 
>1. Change dialstr like that:  IAX2/$res->{path}$phone|30|HL (excerpt from 
>below)
>
>if ( $res->{tech} eq "IAX2" ) {
>		$dialstr =
>		    "IAX2/$res->{path}/$phone|30|HL("
>		  . ( $maxtime * 60 * 1000 )
>		  . ":60000:30000)";
>2. EVery trunk is closed lake that:
>iaxprovider/
>otherprovider/00
>yetanother/
>Q: see anything very wrong with that?
>Thanks,
>benchev
>
>_______________________________________________
>--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
>  
>


-- 
Darren Wiebe
darren at aleph-com.net
Aleph Communications
ASTPP - Open Source Voip Billing & Calling Cards
www.aleph-com.net/astpp




More information about the asterisk-users mailing list