I can't get parking lot orphaned calls feature to work. Here is scenario:
Call comes in to ext 120. Answered, parked properly to 71. After 15 seconds timeout rings back ext 120. That is OK. But when 120 is not available (phone disconnected or DND ON) instead of ringing orphaned call destination (ext 110) caller gets busy signal, ext 110 never rings, also CID prepend and alert info do not work. I tried this scenario in few different ways using different phones, ring groups but always the same results.
Here is how it looks in dial plan (CLI):
[ Context 'park-dial' created by 'pbx_config' ]
'SIP/120' => 1. Dial(SIP/120
t) [res_features]
't' => 1. Noop(Parked Call Timed Out and Got Orphaned) [pbx_config]
- Set(ALERT_INFO=http://127.0.0.1/Bellcore-dr2) [pbx_config]
- Set(CALLERID(name)=PL-${CALLERID(name)}) [pbx_config]
- Goto(from-did-direct|110|1) [pbx_config]
Include => 'park-dial-custom' [pbx_config]
This is output from CLI:
-- SIP/120-092cde58 answered SIP/MultiVoIP-092fd4c8
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/MultiVoIP-092fd4c8' in macro 'dial'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/MultiVoIP-092fd4c8' in macro 'exten-vm'
== Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/MultiVoIP-092fd4c8'
-- Executing [h@macro-dial:1] Macro("SIP/MultiVoIP-092fd4c8", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] ResetCDR("SIP/MultiVoIP-092fd4c8", "w") in new stack
-- Started music on hold, class 'default', on SIP/MultiVoIP-092fd4c8
== Parked SIP/MultiVoIP-092fd4c8 on 71@parkedcalls. Will timeout back to extension [macro-dial] s, 7 in 15 seconds
-- <SIP/120-092cde58> Playing 'digits/7' (language 'en')
-- Executing [s@macro-hangupcall:2] NoCDR("Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>", "") in new stack
-- Executing [s@macro-hangupcall:3] GotoIf?("Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>", "1?skiprg") in new stack
-- Goto (macro-hangupcall,s,6)
-- Executing [s@macro-hangupcall:6] GotoIf?("Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>", "1?skipblkvm") in new stack
-- Goto (macro-hangupcall,s,9)
-- Executing [s@macro-hangupcall:9] GotoIf?("Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>", "1?theend") in new stack
-- Goto (macro-hangupcall,s,11)
-- Executing [s@macro-hangupcall:11] Hangup("Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>", "") in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>' in macro 'hangupcall'
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Parking/SIP/MultiVoIP-092fd4c8<ZOMBIE>'
-- <SIP/120-092cde58> Playing 'digits/1' (language 'en')
-- Added extension '71' priority 1 to parkedcalls
Extension Changed 71[park-hints] new state InUse? for Notify User 120
-- Stopped music on hold on SIP/MultiVoIP-092fd4c8
-- Added extension 'SIP/120' priority 1 to park-dial
== Timeout for SIP/MultiVoIP-092fd4c8 parked on 71. Returning to park-dial,SIP/120,1
Extension Changed 71[park-hints] new state Idle for Notify User 120
-- Executing [SIP/120@park-dial:1] Dial("SIP/MultiVoIP-092fd4c8", "SIP/120 t") in new stack
-- Called 120
-- Got SIP response 480 "Do Not Disturb" back from 10.0.1.197
-- SIP/120-092cde58 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)[[BR]]
== Auto fallthrough, channel 'SIP/MultiVoIP-092fd4c8' status is 'CONGESTION'
If I disconnect ext 120 I get the same output from cli except SIP response 480.
Change History
Download in other formats:
| |