Setting up a group of analog lines to use for outbound emergency calls
(911). My current dial plan and debug output shown below. It appears
that when the SoftHangup() is executed that the line does not really
hang up. In the case shown, I had reduced the group to a single DAHDI
(analog) channel and dialed in to that number from the outside. You can
see in the output that the SoftHangup() was executed, but the call was
not terminated - the outside caller stayed connected to something.
Caller no longer heard the sounds from the menu he was in, but the call
itself seemed to stay connected.
Asterisk 1.8 on Ubuntu
Any ideas?
[emergency-services]
exten =>911,1,Goto(dialpsap,1)
exten =>9911,1,Goto(dialpsap,1)
exten =>999,1,Goto(dialpsap,1)
exten =>112,1,Goto(dialpsap,1)
exten =>dialpsap,1,Verbose(1,Call initiated to PSAP!)
same =>n(dialit),Dial(${LOCAL}/${EMERGENCY},30)
same =>n,Verbose(2,DIALSTATUS=${DIALSTATUS})
same =>n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?good)
same =>n(hu),SoftHangup(${EMERGENCY_CHANNEL},a)
same =>n,Wait(5)
same =>n,Goto(dialit)
same =>n(good),NoOp(call good)
same =>n,Hangup()
== Using SIP RTP CoS mark 5
-- Executing [911@LocalSets:1] Goto("SIP/mlcm800-00000000",
"dialpsap,1") in new stack
-- Goto (LocalSets,dialpsap,1)
-- Executing [dialpsap@LocalSets:1] Verbose("SIP/mlcm800-00000000",
"1,Call initiated to PSAP!") in new stack
Call initiated to PSAP!
-- Executing [dialpsap@LocalSets:2] Dial("SIP/mlcm800-00000000",
"DAHDI/g20/19725232703,30") in new stack
[Oct 11 19:30:13] WARNING[3740]: app_dial.c:2218 dial_exec_full: Unable
to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [dialpsap@LocalSets:3] Verbose("SIP/mlcm800-00000000",
"2,DIALSTATUS=CONGESTION") in new stack
== DIALSTATUS=CONGESTION
-- Executing [dialpsap@LocalSets:4] GotoIf("SIP/mlcm800-00000000",
"0?good") in new stack
-- Executing [dialpsap@LocalSets:5]
SoftHangup("SIP/mlcm800-00000000", "DAHDI/49,a") in new stack
[Oct 11 19:30:13] WARNING[3740]: app_softhangup.c:122 softhangup_exec:
Soft hanging DAHDI/49-1 up.
-- Executing [dialpsap@LocalSets:6] Wait("SIP/mlcm800-00000000",
"5") in new stack
== Spawn extension (MainMenu, s, 13) exited non-zero on 'DAHDI/49-1'
-- Hanging up on 'DAHDI/49-1'
-- Hungup 'DAHDI/49-1'
-- Executing [dialpsap@LocalSets:7] Goto("SIP/mlcm800-00000000",
"dialit") in new stack
-- Goto (LocalSets,dialpsap,2)
-- Executing [dialpsap@LocalSets:2] Dial("SIP/mlcm800-00000000",
"DAHDI/g20/19725232703,30") in new stack
-- Called DAHDI/g20/19725232703
-- DAHDI/49-1 answered SIP/mlcm800-00000000
-- Hanging up on 'DAHDI/49-1'
-- Hungup 'DAHDI/49-1'
== Spawn extension (LocalSets, dialpsap, 2) exited non-zero on
'SIP/mlcm800-00000000'
--
Mitch
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users