Hi, I have a SPA-3000 and would like to use the 911 recipe from http://www.voip-info.org/wiki-Asterisk+tips+911. So I took the simple recipe and modified it slightly:
exten => 911,1,ChanIsAvail(SIP/potsoutbound) exten => 911,2,Dial(SIP/potsoutbound/911) exten => 911,3,Hangup() exten => 911,102,SoftHangup(SIP/potsoutbound) exten => 911,103,Wait(1) exten => 911,104,Goto(1) Now, I made the appropriate changes -- Changing Zap/1 to SIP/postoutbound. Things are working fine if nobody is using the line. However, if people are using the line, ChanIsAvail doesn't detect it. I thought -- fine, make 103 be a SoftHangup so that when Dial detects the in-use condition, it will hang up. Well, asterisk -vvv shows that the SoftHangup command is running, but it's not causing the SPA-3000 to drop the line, so this creates an endless loop. I have tried the "a" option to SoftHangup. Any ideas? Thanks, John _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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