I am into a strange issue, completed a new vicibox installation. When I try to dial manual from agent screen call is connecting fine and answered, but after dial time out it shows Agent Alert on agent interface that "Dial timed out, contact your system administrator" but the call is still connected. below is the CLI output for the manual call I mentioned. and also there is no hangup output at the CLI after callee hangs up the call.
- Code: Select all
[May 6 09:59:18] -- Called 8600051@default
[May 6 09:59:18] -- Executing [8600051@default:1] MeetMe("Local/8600051@default-000000c4;2", "8600051,F") in new stack
[May 6 09:59:18] -- Local/8600051@default-000000c4;1 answered
[May 6 09:59:18] -- Executing [91601XXXXXXX@default:1] AGI("Local/8600051@default-000000c4;1", "agi://127.0.0.1:4577/call_log") in new stack
[May 6 09:59:18] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=001))
[May 6 09:59:18] -- <Local/8600051@default-000000c4;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 6 09:59:18] -- Executing [91601XXXXXXX@default:2] Set("Local/8600051@default-000000c4;1", "CALLERID(ALL)="" <8336043243>") in new stack
[May 6 09:59:18] -- Executing [91601XXXXXXX@default:3] Dial("Local/8600051@default-000000c4;1", "SIP/1601XXXXXXX@zsip,60,Tto") in new stack
[May 6 09:59:18] == Using SIP RTP CoS mark 5
[May 6 09:59:18] -- Called SIP/1601XXXXXXX6@zsip
[May 6 09:59:19] == Manager 'sendcron' logged off from 127.0.0.1
[May 6 09:59:20] -- SIP/zsip-000000c1 is ringing
[May 6 09:59:21] > 0x7f433800a990 -- Strict RTP learning after remote address set to: 68.68.124.80:26368
[May 6 09:59:21] -- SIP/zsip-000000c1 is making progress passing it to Local/8600051@default-000000c4;1
[May 6 09:59:30] -- SIP/zsip-000000c1 answered Local/8600051@default-000000c4;1
[May 6 09:59:30] -- Channel SIP/zsip-000000c1 joined 'simple_bridge' basic-bridge <c2dd6974-a4bd-4668-9c60-b2c0ef9285c5>
[May 6 09:59:30] -- Channel Local/8600051@default-000000c4;1 joined 'simple_bridge' basic-bridge <c2dd6974-a4bd-4668-9c60-b2c0ef9285c5>
below is the output when I press the hangup customer form agent interface.
Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/8600051@default-000000c4;1
[May 6 10:06:52] -- Channel Local/8600051@default-000000c4;1 left 'simple_bridge' basic-bridge <c2dd6974-a4bd-4668-9c60-b2c0ef9285c5>
[May 6 10:06:52] -- Channel SIP/zsip-000000c1 left 'simple_bridge' basic-bridge <c2dd6974-a4bd-4668-9c60-b2c0ef9285c5>
[May 6 10:06:52] == Spawn extension (default, 91601XXXXXXX, 3) exited non-zero on 'Local/8600051@default-000000c4;1'
[May 6 10:06:52] -- Executing [h@default:1] AGI("Local/8600051@default-000000c4;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----453-----453-----SIP 200 OK)") in new stack
[May 6 10:06:52] -- <Local/8600051@default-000000c4;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... 53-----SIP 200 OK) completed, returning 0
[May 6 10:06:52] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-000000c4;2'
[May 6 10:06:52] WARNING[17925][C-00000156]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 6 10:06:52] -- Executing [h@default:1] AGI("Local/8600051@default-000000c4;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[May 6 10:06:52] -- <Local/8600051@default-000000c4;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[May 6 10:06:52] == Manager 'sendcron' logged on from 127.0.0.1
[May 6 10:06:52] NOTICE[18685]: manager.c:4458 action_hangup: Request to hangup non-existent channel: Local/8600051@default-000000c4;2
When i go to autodial mode, outbound calls connecting fine but it disconnects after 8 to 10 sec and no call is passing to the agent logged in. below is the CLI output from autodial mode.
- Code: Select all
[May 6 10:11:05] -- Called 91601XXXXXXX@default
[May 6 10:11:05] -- Executing [91601XXXXXXX@default:1] AGI("Local/91601XXXXXXX@default-000000c5;2", "agi://127.0.0.1:4577/call_log") in new stack
[May 6 10:11:05] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=001))
[May 6 10:11:05] -- <Local/91601XXXXXXX@default-000000c5;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 6 10:11:05] -- Executing [91601XXXXXXX@default:2] Set("Local/91601XXXXXXX@default-000000c5;2", "CALLERID(ALL)="" <833XXXXXXX>") in new stack
[May 6 10:11:05] -- Executing [91601XXXXXXX@default:3] Dial("Local/91601XXXXXXX@default-000000c5;2", "SIP/1601XXXXXXX@zsip,60,Tto") in new stack
[May 6 10:11:05] == Using SIP RTP CoS mark 5
[May 6 10:11:05] -- Called SIP/1601XXXXXXX@zsip
[May 6 10:11:06] == Manager 'sendcron' logged on from 127.0.0.1
[May 6 10:11:06] == Manager 'sendcron' logged off from 127.0.0.1
[May 6 10:11:10] -- SIP/zsip-000000c2 is ringing
[May 6 10:11:10] -- Local/91601XXXXXXX@default-000000c5;1 is ringing
[May 6 10:11:11] > 0x7f42d401c0f0 -- Strict RTP learning after remote address set to: 68.68.XX.XX:16862
[May 6 10:11:11] -- SIP/zsip-000000c2 is making progress passing it to Local/91601XXXXXXX@default-000000c5;2
[May 6 10:11:11] -- Local/91601XXXXXXX@default-000000c5;1 is making progress
[May 6 10:11:34] -- SIP/zsip-000000c2 answered Local/91601XXXXXXX@default-000000c5;2
[May 6 10:11:34] -- Local/91601XXXXXXX@default-000000c5;1 answered
[May 6 10:11:34] -- Channel SIP/zsip-000000c2 joined 'simple_bridge' basic-bridge <1fc0173b-9239-4a86-8c12-8b555e9e778e>
[May 6 10:11:34] -- Executing [138368@default:1] AGI("Local/91601XXXXXXX@default-000000c5;1", "agi-VDAD_local_optimize.agi,V5061011050000000107") in new stack
[May 6 10:11:34] == Manager 'sendcron' logged off from 127.0.0.1
[May 6 10:11:34] -- Channel Local/91601XXXXXXX@default-000000c5;2 joined 'simple_bridge' basic-bridge <1fc0173b-9239-4a86-8c12-8b555e9e778e>
[May 6 10:11:34] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_local_optimize.agi
[May 6 10:11:35] -- <Local/91601XXXXXXX@default-000000c5;1>AGI Script agi-VDAD_local_optimize.agi completed, returning 0
[May 6 10:11:35] -- Executing [138368@default:2] Wait("Local/91601XXXXXXX@default-000000c5;1", "2") in new stack
[May 6 10:11:37] -- Executing [138368@default:3] Hangup("Local/91601XXXXXXX@default-000000c5;1", "") in new stack
[May 6 10:11:37] == Spawn extension (default, 138368, 3) exited non-zero on 'Local/91601XXXXXXX@default-000000c5;1'
[May 6 10:11:37] WARNING[19133][C-00000159]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 6 10:11:37] -- Executing [h@default:1] AGI("Local/91601XXXXXXX@default-000000c5;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------)") in new stack
[May 6 10:11:38] -- <Local/91601XXXXXXX@default-000000c5;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------------) completed, returning 0
[May 6 10:11:38] -- Channel Local/91601XXXXXXX@default-000000c5;2 left 'simple_bridge' basic-bridge <1fc0173b-9239-4a86-8c12-8b555e9e778e>
[May 6 10:11:38] -- Channel SIP/zsip-000000c2 left 'simple_bridge' basic-bridge <1fc0173b-9239-4a86-8c12-8b555e9e778e>
[May 6 10:11:38] == Spawn extension (default, 91601XXXXXXX, 3) exited non-zero on 'Local/91601XXXXXXX@default-000000c5;2'
[May 6 10:11:38] -- Executing [h@default:1] AGI("Local/91601XXXXXXX@default-000000c5;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----32-----3-----SIP 200 OK)") in new stack
[May 6 10:11:38] -- <Local/91601XXXXXXX@default-000000c5;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----32-----3-----SIP 200 OK) completed, returning 0
I tried two different carriers but its happening on both of them. below is my carrier entry and dial plan.
[zsip]
disallow=all
allow=ulaw
allow=alaw
allow=g729
type=friend
host=69.xx.xx.xxx
port=5060
dtmfmode=rfc2833
qualify=yes
insecure=very
nat=force_rport,comedia
canreinvite=no
exten => _91X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91X.,2,Set(CALLERID(ALL)="" <833xxxxxxx>)
exten => _91X.,3,Dial(SIP/1${EXTEN:2}@zsip,60,Tto)
exten => _91X.,4,Hangup
am i doing anything wrong? or is there any mistake i have made during installation and configuration?
ViciBox_v9.x86_64-9.0.2.ISO | Vicidial 2.14-751a Build 200425-0949 | Asterisk 13.29.2-vici | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel(R) Xeon(R) CPU X5675 | 32 GB RAM | Load Average 0.13, 0.10, 0.09 |