[asterisk-users] Ringing after console dsp hangup
I have a simple context that connects to the console dsp which works, but then after I hangup I hear ringing on the console dsp. It rings until I stop asterisk. Why is that and how can I stop it? Thanks, Jerry [paging] exten = s,1,Answer exten = s,n,Playback(beep) exten = s,n,Dial(Console/dsp) exten = s,n,Hangup exten = h,1,Hangup -- Executing [EMAIL PROTECTED]:1] Answer(SIP/192.168.1.8-089177a8, ) in new stack -- Executing [EMAIL PROTECTED]:2] Playback(SIP/192.168.1.8-089177a8, beep) in new stack -- SIP/192.168.1.8-089177a8 Playing 'beep' (language 'en') -- Executing [EMAIL PROTECTED]:3] Dial(SIP/192.168.1.8-089177a8, Console/dsp) in new stack Call placed to 'dsp' on console Auto-answered -- Called dsp -- ALSA/default answered SIP/192.168.1.8-089177a8 Hangup on console == Spawn extension (paging, s, 3) exited non-zero on 'SIP/192.168.1.8-089177a8' -- Executing [EMAIL PROTECTED]:1] Hangup(SIP/192.168.1.8-089177a8, ) in new stack == Spawn extension (paging, h, 1) exited non-zero on 'SIP/192.168.1.8-089177a8' ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Ringing after console dsp hangup
Jerry Geis wrote: Why is that and how can I stop it? I've never tried paging directly to the console, since it can introduce too much feedback. Try recording the page and then play it back to the console: exten = s,1,Set(active=${DB(paging/active)}) exten = s,n,GotoIf($[${active} = YES]?7:4) ; ;* Set database entry for ;* paging active to YES ; exten = s,n,Set(DB(paging/active)=YES) ;* ;* If paging currently in use, ;* jump to paging-inuse ;* context. ;* exten = s,n,Goto(paging-inuse,s,1) ;** ;* Start recording to paging.gsm, ;* no longer then 30 seconds if ;* silence for 5 seconds, terminate ;* recording ;*** exten = s,n,Record(paging:gsm|5|30) exten = s,n,Hangup() ;* ;* On hangup from paging, Playback paging file ;* then set paging/active to NO. ;* exten = h,1,Dial(Console/dsp) exten = h,n,Playback(paging) exten = h,n,Set(DB(paging/active)=NO) [paging-inuse] exten = s,1,Congestion exten = s,n,Hangup() Doug -- Ben Franklin quote: Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2008 - September 22 - 25 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users