[asterisk-users] Auto retry on Busy

Ira ira at extrasensory.com
Sat Aug 12 07:52:19 MST 2006


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.

Ira 




More information about the asterisk-users mailing list