Also BUSY != "BUSY" Remember, pretty much any place in Asterisk quotes
are literal.
If you want to test if DIALSTATUS is equal to BUSY you want either:
GotoIf("${DIALSTATUS}" = "BUSY" ....
or
GotoIf(${DIALSTATUS} = BUSY ....
Ira wrote:
At 11:54 AM 8/11/2006, you wrote:
Thanks for the suggestion. I can't seem to get it to work.
This is what I put in my extensions.conf
We only have one number that we want to keep trying right now, so I
tried to set it so by calling extension 777, it would start the
system retrying. (The actual number isn't 9999999 :)
[trunkretry]
exten => 777,1,Dial(${TRUNK}/www13239999999},10,)
exten => 777,2,gotoif[${DIALSTATUS}="BUSY"]?(LINEBUSY):(OTHER)
exten => 777,3,(LINEBUSY), Wait(15)
exten => 777,4,goto(trunkretry,1,1)
Go read about DIALSTATUS, it's not "BUSY" you're looking for, it's the
dialstatus BUSY value.
--
Now accepting new clients in Birmingham, Atlanta, Huntsville,
Chattanooga, and Montgomery.
_______________________________________________
--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