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

bbench at mail.bg bbench at mail.bg
Mon Dec 12 07:16:52 MST 2005


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




More information about the asterisk-users mailing list