Page 1 of 1

HOW TO Hangup agents call (Dialing)

PostPosted: Sat Apr 30, 2022 2:42 pm
by dheeraj2709
Asterisk Version Asterisk 13.21.1-vici
ViciBox v.8.1.2 on KVM Virtual machine

i am facing the problem when inbound caller hangup call (in queue) still calls ring on remote Agents Number,How i can stop this? when both connected there is no issue if anyone hangup the call.

[May 1 01:06:39] -- <SIP/10.157.1.4-00000195>AGI Script agi-DID_route.agi completed, returning 0
[May 1 01:06:39] -- Executing [99909*2***DID@default:1] Answer("SIP/10.157.1.4-00000195", "") in new stack
[May 1 01:06:39] > 0x1ea5c10 -- Strict RTP switching to RTP target address 10.157.1.68:38424 as source
[May 1 01:06:39] -- Executing [99909*2***DID@default:2] AGI("SIP/10.157.1.4-00000195", "agi-VDAD_ALL_inbound.agi") in new stack
[May 1 01:06:39] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_request: agi-VDAD_ALL_inbound.agi
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_channel: SIP/10.157.1.4-00000195
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_language: en
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_type: SIP
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_uniqueid: 1651347399.1177
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_version: 13.21.1-vici
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callerid: 917508973789
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_calleridname: unknown
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callingpres: 0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callingani2: 0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callington: 0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callingtns: 0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_dnid: 01725306872
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_rdnis: unknown
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_context: default
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_extension: 99909*2***DID
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_priority: 2
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_enhanced: 0.0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_accountcode:
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> agi_threadid: 140058794321664
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >>
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << GET VARIABLE state
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << GET VARIABLE postal_code
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << GET VARIABLE source_id
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=0
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << STREAM FILE sip-silence ""
[May 1 01:06:39] -- <SIP/10.157.1.4-00000195> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=0 endpos=160
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << STREAM FILE sip-silence ""
[May 1 01:06:39] -- <SIP/10.157.1.4-00000195> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=0 endpos=160
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << SET CALLERID "Y5010106390000000197 <917508973789>"
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=1
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:39] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:40] == Manager 'sendcron' logged on from 127.0.0.1
[May 1 01:06:40] -- Called 172*017*058*095*9653018144@default
[May 1 01:06:40] -- Executing [172*017*058*095*9653018144@default:1] Goto("Local/172*017*058*095*9653018144@default-0000013d;2", "default,9653018144,1") in new stack
[May 1 01:06:40] -- Goto (default,9653018144,1)
[May 1 01:06:40] -- Executing [9653018144@default:1] Set("Local/172*017*058*095*9653018144@default-0000013d;2", "CALLERID(num)=1725306871") in new stack
[May 1 01:06:40] -- Executing [9653018144@default:2] Verbose("Local/172*017*058*095*9653018144@default-0000013d;2", "9653018144") in new stack
[May 1 01:06:40] 9653018144
[May 1 01:06:40] -- Executing [9653018144@default:3] Verbose("Local/172*017*058*095*9653018144@default-0000013d;2", "1651347400.1179") in new stack
[May 1 01:06:40] 1651347400.1179
[May 1 01:06:40] -- Executing [9653018144@default:4] Dial("Local/172*017*058*095*9653018144@default-0000013d;2", "SIP/SIPtrunk/09653018144,,F") in new stack
[May 1 01:06:40] == Using SIP RTP CoS mark 5
[May 1 01:06:40] -- Called SIP/SIPtrunk/09653018144
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:40] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:41] > 0x7f6254006a30 -- Strict RTP learning after remote address set to: 10.157.1.68:33792
[May 1 01:06:41] -- SIP/SIPtrunk-00000196 is making progress passing it to Local/172*017*058*095*9653018144@default-0000013d;2
[May 1 01:06:41] -- Local/172*017*058*095*9653018144@default-0000013d;1 is making progress
[May 1 01:06:41] > 0x7f6254006a30 -- Strict RTP switching to RTP target address 10.157.1.68:33792 as source
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Rx << CHANNEL STATUS SIP/10.157.1.4-00000195
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=6
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Rx << SET MUSIC ON default
[May 1 01:06:41] -- Started music on hold, class 'default', on channel 'SIP/10.157.1.4-00000195'
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> 200 result=0
[May 1 01:06:41] -- Stopped music on hold on SIP/10.157.1.4-00000195
[May 1 01:06:41] -- <SIP/10.157.1.4-00000195>AGI Script agi-VDAD_ALL_inbound.agi completed, returning 4
[May 1 01:06:41] == Spawn extension (default, 99909*2***DID, 2) exited non-zero on 'SIP/10.157.1.4-00000195'
[May 1 01:06:41] WARNING[6890][C-0000026b]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[May 1 01:06:41] -- Executing [h@default:1] AGI("SIP/10.157.1.4-00000195", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[May 1 01:06:41] AGI Tx >> agi_network: yes
[May 1 01:06:41] AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----0--------------------)
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses ... ----------)
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_channel: SIP/10.157.1.4-00000195
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_language: en
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_type: SIP
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_uniqueid: 1651347399.1177
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_version: 13.21.1-vici
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callerid: 917508973789
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_calleridname: Y5010106390000000197
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callingpres: 0
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callingani2: 0
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callington: 0
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_callingtns: 0
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_dnid: 01725306872
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_rdnis: unknown
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_context: default
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_extension: h
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_priority: 1
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_enhanced: 0.0
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_accountcode:
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> agi_threadid: 140058794321664
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >>
[May 1 01:06:41] -- <SIP/10.157.1.4-00000195>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ----------) completed, returning 0
[May 1 01:06:41] <SIP/10.157.1.4-00000195>AGI Tx >> HANGUP
[May 1 01:06:46] > 0x7f6254006a30 -- Strict RTP learning complete - Locking on source address 10.157.1.68:33792
[May 1 01:06:46] -- SIP/SIPtrunk-00000196 is ringing
[May 1 01:06:46] -- SIP/SIPtrunk-00000196 is making progress passing it to Local/172*017*058*095*9653018144@default-0000013d;2
[May 1 01:06:46] -- Local/172*017*058*095*9653018144@default-0000013d;1 is ringing
[May 1 01:06:46] -- Local/172*017*058*095*9653018144@default-0000013d;1 is making progress
[May 1 01:06:54] == Spawn extension (default, 9653018144, 4) exited non-zero on 'Local/172*017*058*095*9653018144@default-0000013d;2'
[May 1 01:06:54] -- Executing [h@default:1] AGI("Local/172*017*058*095*9653018144@default-0000013d;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL---------------SIP 180 Ringing)") in new stack
[May 1 01:06:54] AGI Tx >> agi_network: yes
[May 1 01:06:54] AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL---------------SIP 180 Ringing)
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses ... -------SIP 180 Ringing)
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_channel: Local/172*017*058*095*9653018144@default-0000013d;2
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_language: en
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_type: Local
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_uniqueid: 1651347400.1179
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_version: 13.21.1-vici
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_callerid: 1725306871
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_calleridname: RA_9653018144_917508
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_callingpres: 0
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_callingani2: 0
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_callington: 0
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_callingtns: 0
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_dnid: unknown
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_rdnis: unknown
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_context: default
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_extension: h
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_priority: 1
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_enhanced: 0.0
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_accountcode:
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> agi_threadid: 140059367556864
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >>
[May 1 01:06:54] -- <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... -------SIP 180 Ringing) completed, returning 0
[May 1 01:06:54] <Local/172*017*058*095*9653018144@default-0000013d;2>AGI Tx >> HANGUP
[May 1 01:06:55] == Manager 'sendcron' logged off from 127.0.0.1

Re: HOW TO Hangup agents call (Dialing)

PostPosted: Mon May 02, 2022 6:33 am
by dheeraj2709
I am first time using vicidial and i am trying to build inbound system (No dialer etc) with remote agents (ON HOOK 'Y"). everything working fine but problem occur when inbound caller disconnect the call when in queue system keep dialing to remote agents till ring time. how can we stop such dialing immediately on inbound caller hangup?

Re: HOW TO Hangup agents call (Dialing)

PostPosted: Tue May 03, 2022 11:25 am
by dheeraj2709
No answer... is there any problem in my post?

Re: HOW TO Hangup agents call (Dialing)

PostPosted: Tue May 03, 2022 2:56 pm
by williamconley
1) If you post another comment on a thread that has no other responses on it yet, it looks (to phpBB) as if YOU answered the question. Thus, those of us who pay attention to topics which have not yet been answered will ... skip this one and move on to the next. Can delay your response.

2) If you do not need outbound autodial, you could (should?) be using asterisk. Asterisk can be installed with or without an interface. FreePBX (for instance) is available as a front-end for asterisk in many different distros (installers). Asterisk's queue system is adept at managing inbound calls.

3) You should provide all the relevent settings for the ingroup in question.

4) If you think the behavior is an Asterisk problem ... Specifically post the "Asterisk Version" ...
* llisted in /etc/astguiclient.conf
* as the result of "asterisk -V"
* Shown in each server's "Admin->Servers" field for asterisk version.

5) If the asterisk version in astguiclient.conf presently or at installation did not include the ".X" required (eg: 11.X or 13.X) and only included the main version number (eg: 11 or 13), then it's possible you need to fix that and run perl install.pl from the /usr/src/astguiclient/trunk folder again with copy sample conf files = Y so the proper .conf files are copied. Earlier bugs in the installer would often leave off the .X and the perl script would copy the "default" conf files instead of the proper ones. Be sure you keep copies of any modified .conf files so you can modify the new ones in the same way.