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
Might be a good idea if we didn't post such scripts.. How many people are going to accidently call 911 while trying to test this? Use a test number, like 611 or 411 or how about your boss's cell phone ? -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of John Goerzen Sent: Friday, March 25, 2005 6:38 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] 911 & SoftHangup on SPA-3000 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
It is probably a SPA-3000 problem. I have tried a similar setup (not for 911, I need to hangup a phone) and it works with ISDN phones and Swisswoice SIP phone, but not with BudgetOne, for example. The phone just won't drop the line for some reason. Hope this helps. John Goerzen wrote:>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 > > > >