Inbound call is getting disconnected as soon as I answer
Posted: Sun Dec 22, 2019 11:27 am
I have 3 Remote (On-Hook) agents setup for DID through a Campaign.
It's supposed to ring all my phones at a same time when somebody calls the DID.
Its working fine till it rings all phones together, but as soon as I answer the call on any of those phones, instead of connecting the call gets disconnected on that phone.
It's supposed to ring all my phones at a same time when somebody calls the DID.
Its working fine till it rings all phones together, but as soon as I answer the call on any of those phones, instead of connecting the call gets disconnected on that phone.
- Code: Select all
Connected to Asterisk 13.29.2-vici currently running on 68-168-96-145 (pid = 22650)
[Dec 22 09:17:56] == Using SIP RTP CoS mark 5
[Dec 22 09:17:56] > 0x7f1234051340 -- Strict RTP learning after remote address set to: 64.125.111.109:26592
[Dec 22 09:17:56] -- Executing [18445011909@trunkinbound:1] AGI("SIP/didforsale_in2-00000011", "agi-DID_route.agi") in new stack
[Dec 22 09:17:56] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Dec 22 09:17:56] -- <SIP/didforsale_in2-00000011>AGI Script agi-DID_route.agi completed, returning 0
[Dec 22 09:17:56] -- Executing [99909*2***DID@default:1] Answer("SIP/didforsale_in2-00000011", "") in new stack
[Dec 22 09:17:56] > 0x7f1234051340 -- Strict RTP switching to RTP target address 64.125.111.109:26592 as source
[Dec 22 09:17:56] -- Executing [99909*2***DID@default:2] AGI("SIP/didforsale_in2-00000011", "agi-VDAD_ALL_inbound.agi") in new stack
[Dec 22 09:17:56] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[Dec 22 09:17:56] -- <SIP/didforsale_in2-00000011> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Dec 22 09:17:56] -- <SIP/didforsale_in2-00000011> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Dec 22 09:17:57] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 22 09:17:57] -- Called 068*168*096*145*302@default
[Dec 22 09:17:57] -- Executing [068*168*096*145*302@default:1] Goto("Local/068*168*096*145*302@default-00000009;2", "default,302,1") in new stack
[Dec 22 09:17:57] -- Goto (default,302,1)
[Dec 22 09:17:57] -- Executing [302@default:1] Dial("Local/068*168*096*145*302@default-00000009;2", "SIP/302,60,") in new stack
[Dec 22 09:17:57] == Using SIP RTP CoS mark 5
[Dec 22 09:17:57] -- Called SIP/302
[Dec 22 09:17:57] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 22 09:17:57] -- Called 068*168*096*145*301@default
[Dec 22 09:17:57] -- Executing [068*168*096*145*301@default:1] Goto("Local/068*168*096*145*301@default-0000000a;2", "default,301,1") in new stack
[Dec 22 09:17:57] -- Goto (default,301,1)
[Dec 22 09:17:57] -- Executing [301@default:1] Dial("Local/068*168*096*145*301@default-0000000a;2", "SIP/301,60,") in new stack
[Dec 22 09:17:57] == Using SIP RTP CoS mark 5
[Dec 22 09:17:57] -- Called SIP/301
[Dec 22 09:17:57] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 22 09:17:57] -- Called 068*168*096*145*303@default
[Dec 22 09:17:57] -- Executing [068*168*096*145*303@default:1] Goto("Local/068*168*096*145*303@default-0000000b;2", "default,303,1") in new stack
[Dec 22 09:17:57] -- Goto (default,303,1)
[Dec 22 09:17:57] -- Executing [303@default:1] Dial("Local/068*168*096*145*303@default-0000000b;2", "SIP/303,60,") in new stack
[Dec 22 09:17:57] == Using SIP RTP CoS mark 5
[Dec 22 09:17:57] -- Called SIP/303
[Dec 22 09:17:57] -- SIP/301-00000013 is ringing
[Dec 22 09:17:57] -- Local/068*168*096*145*301@default-0000000a;1 is ringing
[b][Dec 22 09:17:57] -- SIP/301-00000013 is ringing
[Dec 22 09:17:57] -- SIP/303-00000014 is ringing
[Dec 22 09:17:57] -- SIP/303-00000014 is ringing[/b]
[Dec 22 09:17:57] -- Local/068*168*096*145*303@default-0000000b;1 is ringing
[Dec 22 09:17:58] -- SIP/302-00000012 is ringing
[Dec 22 09:17:58] -- Local/068*168*096*145*302@default-00000009;1 is ringing
[Dec 22 09:17:58] -- Started music on hold, class 'default', on channel 'SIP/didforsale_in2-00000011'
[Dec 22 09:18:01] > 0x7f1234051340 -- Strict RTP learning complete - Locking on source address 64.125.111.109:26592
[Dec 22 09:18:01] -- Stopped music on hold on SIP/didforsale_in2-00000011
[Dec 22 09:18:01] -- <SIP/didforsale_in2-00000011> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Dec 22 09:18:01] -- <SIP/didforsale_in2-00000011> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Dec 22 09:18:01] -- <SIP/didforsale_in2-00000011> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Dec 22 09:18:01] -- <SIP/didforsale_in2-00000011> Playing 'generic_hold.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Dec 22 09:18:02] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 22 09:18:02] == Manager 'sendcron' logged on from 127.0.0.1
[Dec 22 09:18:02] == Manager 'sendcron' logged off from 127.0.0.1
[Dec 22 09:18:04] > 0x7f11e4010390 -- Strict RTP learning after remote address set to: 192.168.0.134:64088
[b][Dec 22 09:18:04] -- SIP/303-00000014 answered Local/068*168*096*145*303@default-0000000b;2[/b]
[Dec 22 09:18:04] -- Local/068*168*096*145*303@default-0000000b;1 answered
[Dec 22 09:18:04] -- Executing [138331*28330*Y2220917560000057510*303*@default:1] AGI("Local/068*168*096*145*303@default-0000000b;1", "agi-VDAD_local_optimize.agi,") in new stack
[Dec 22 09:18:04] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_local_optimize.agi
[Dec 22 09:18:04] -- Channel SIP/303-00000014 joined 'simple_bridge' basic-bridge <91ac5e09-d057-4b08-ada5-c34eee5015e3>
[Dec 22 09:18:04] -- Channel Local/068*168*096*145*303@default-0000000b;2 joined 'simple_bridge' basic-bridge <91ac5e09-d057-4b08-ada5-c34eee5015e3>
[Dec 22 09:18:04] -- <Local/068*168*096*145*303@default-0000000b;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
[Dec 22 09:18:04] -- Executing [138331*28330*Y2220917560000057510*303*@default:2] Wait("Local/068*168*096*145*303@default-0000000b;1", "2") in new stack
[Dec 22 09:18:04] > 0x7f11e4010390 -- Strict RTP qualifying stream type: audio
[Dec 22 09:18:04] > 0x7f11e4010390 -- Strict RTP switching source address to 202.74.244.238:64088
[Dec 22 09:18:05] == Manager 'sendcron' logged off from 127.0.0.1