Page 1 of 1

Leave 3 way call Not working.

PostPosted: Sat Oct 17, 2020 2:00 am
by Kabis
Hi Team,

VICDIAL
VERSION: 2.14-763a
BUILD: 200719-1645
Asterisk 1.8.23.0-vici
Single Server
Sangoma E1/T1
No extra software
Intel(R) Xeon(R) Bronze 3204 CPU @ 1.90GHz

Leave 3 way call not working. If press leave 3 way call no response and instead of leaving it act as conference.

Method:
1. Call received from 2nd party
2. Park customer dial
3. Pressed Leave 3 way call.

But instead of leaving it put confernece in 3 parties.

Console Log from browser:

Code: Select all
Uncaught TypeError: document.images.InternalChatImg is undefined
    onreadystatechange http://192.168.0.90/agc/agent.php:3725
agent.php:3725:8
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31



Asterisk Log:
Code: Select all
    -- <DAHDI/i1/7502519749-1d10>AGI Script park_CID.agi completed, returning 4
[Oct 17 11:22:25]   == Spawn extension (default, 8301, 1) exited non-zero on 'DAHDI/i1/7502519749-1d10'
[Oct 17 11:22:25]     -- Executing [8301@default:1] Answer("DAHDI/i1/7502519749-1d10", "") in new stack
[Oct 17 11:22:25]     -- Executing [8301@default:2] AGI("DAHDI/i1/7502519749-1d10", "park_CID.agi") in new stack
[Oct 17 11:22:25]     -- Launched AGI Script /var/lib/asterisk/agi-bin/park_CID.agi
[Oct 17 11:22:26]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct 17 11:22:26]     -- Executing [243@default:1] Dial("Local/243@default-00001dfc;2", "SIP/243,60,") in new stack
[Oct 17 11:22:26]   == Using SIP RTP CoS mark 5
[Oct 17 11:22:26]     -- Called SIP/243
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- SIP/243-00004433 is ringing
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- Started music on hold, class 'default', on DAHDI/i1/7502519749-1d10
[Oct 17 11:22:26]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct 17 11:22:29]     -- SIP/243-00004433 answered Local/243@default-00001dfc;2
[Oct 17 11:22:29]        > Channel Local/243@default-00001dfc;1 was answered.
[Oct 17 11:22:29]     -- Executing [8600053@default:1] MeetMe("Local/243@default-00001dfc;1", "8600053,F") in new stack
[Oct 17 11:22:29]     -- Executing [h@default:1] AGI("Local/243@default-00001dfc;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----3-----0") in new stack
[Oct 17 11:22:29]     -- <Local/243@default-00001dfc;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----3-----0 completed, returning 0
[Oct 17 11:22:29]   == Spawn extension (default, 243, 1) exited non-zero on 'Local/243@default-00001dfc;2'
[Oct 17 11:22:30]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct 17 11:22:31]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct 17 11:22:31]     -- Stopped music on hold on DAHDI/i1/7502519749-1d10
[Oct 17 11:22:31]     -- <DAHDI/i1/7502519749-1d10>AGI Script park_CID.agi completed, returning 4
[Oct 17 11:22:31]   == Spawn extension (default, 8600053, 1) exited non-zero on 'DAHDI/i1/7502519749-1d10'
[Oct 17 11:22:31]     -- Executing [8600053@default:1] MeetMe("DAHDI/i1/7502519749-1d10", "8600053,F") in new stack
[Oct 17 11:22:32]   == Manager 'sendcron' logged off from 127.0.0.1


PLease help.

Re: Leave 3 way call Not working.

PostPosted: Tue Oct 20, 2020 10:05 am
by williamconley
1) Fresh install or recent problem on a machine where this used to work fine?

2) Installer version?

3) Has this system been updated? Did this problem occur after the update or did you not test before and after so you don't know?

4) XDchannel is generated as the result of this query being sent to vdc_db_query.php by the agent interface:

manDiaLlook_query = "server_ip=" + server_ip + "&session_name=" + session_name + "&ACTION=manDiaLlookCaLL&conf_exten=" + session_id + "&user=" + user + "&pass=" + pass + "&MDnextCID=" + CIDcheck + "&agent_log_id=" + agent_log_id + "&lead_id=" + document.vicidial_form.lead_id.value + "&DiaL_SecondS=" + MD_ring_secondS + "&stage=" + taskCheckOR + "&campaign=" + campaign + "&phone_number=" + dialed_number + "&routing_initiated_recording=" + temp_rir;

Check your console to see what the request/response parameters are for this. Perhaps track it down if there is an error. But I don't guarantee this isn't a red herring. 8-)

Happy Hunting!

Re: Leave 3 way call Not working.

PostPosted: Mon Jan 29, 2024 2:56 am
by johann.kruger
Hi Kabis

Have you managed to find a fix for this as we are having a similar if not exact same problem?

Kabis wrote:Hi Team,

VICDIAL
VERSION: 2.14-763a
BUILD: 200719-1645
Asterisk 1.8.23.0-vici
Single Server
Sangoma E1/T1
No extra software
Intel(R) Xeon(R) Bronze 3204 CPU @ 1.90GHz

Leave 3 way call not working. If press leave 3 way call no response and instead of leaving it act as conference.

Method:
1. Call received from 2nd party
2. Park customer dial
3. Pressed Leave 3 way call.

But instead of leaving it put confernece in 3 parties.

Console Log from browser:

Code: Select all
Uncaught TypeError: document.images.InternalChatImg is undefined
    onreadystatechange http://192.168.0.90/agc/agent.php:3725
agent.php:3725:8
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31
Uncaught ReferenceError: XDchannel is not defined
    mainxfer_send_redirect http://192.168.0.90/agc/agent.php:2930
    leave_3way_call http://192.168.0.90/agc/agent.php:1273
    onclick http://192.168.0.90/agc/agent.php#:1
agent.php:2930:31



Asterisk Log:
Code: Select all
    -- <DAHDI/i1/7502519749-1d10>AGI Script park_CID.agi completed, returning 4
[Oct 17 11:22:25]   == Spawn extension (default, 8301, 1) exited non-zero on 'DAHDI/i1/7502519749-1d10'
[Oct 17 11:22:25]     -- Executing [8301@default:1] Answer("DAHDI/i1/7502519749-1d10", "") in new stack
[Oct 17 11:22:25]     -- Executing [8301@default:2] AGI("DAHDI/i1/7502519749-1d10", "park_CID.agi") in new stack
[Oct 17 11:22:25]     -- Launched AGI Script /var/lib/asterisk/agi-bin/park_CID.agi
[Oct 17 11:22:26]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct 17 11:22:26]     -- Executing [243@default:1] Dial("Local/243@default-00001dfc;2", "SIP/243,60,") in new stack
[Oct 17 11:22:26]   == Using SIP RTP CoS mark 5
[Oct 17 11:22:26]     -- Called SIP/243
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- SIP/243-00004433 is ringing
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- Playing 'sip-silence' (escape_digits=) (sample_offset 0)
[Oct 17 11:22:26]     -- Started music on hold, class 'default', on DAHDI/i1/7502519749-1d10
[Oct 17 11:22:26]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct 17 11:22:29]     -- SIP/243-00004433 answered Local/243@default-00001dfc;2
[Oct 17 11:22:29]        > Channel Local/243@default-00001dfc;1 was answered.
[Oct 17 11:22:29]     -- Executing [8600053@default:1] MeetMe("Local/243@default-00001dfc;1", "8600053,F") in new stack
[Oct 17 11:22:29]     -- Executing [h@default:1] AGI("Local/243@default-00001dfc;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----3-----0") in new stack
[Oct 17 11:22:29]     -- <Local/243@default-00001dfc;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----3-----0 completed, returning 0
[Oct 17 11:22:29]   == Spawn extension (default, 243, 1) exited non-zero on 'Local/243@default-00001dfc;2'
[Oct 17 11:22:30]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct 17 11:22:31]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct 17 11:22:31]     -- Stopped music on hold on DAHDI/i1/7502519749-1d10
[Oct 17 11:22:31]     -- <DAHDI/i1/7502519749-1d10>AGI Script park_CID.agi completed, returning 4
[Oct 17 11:22:31]   == Spawn extension (default, 8600053, 1) exited non-zero on 'DAHDI/i1/7502519749-1d10'
[Oct 17 11:22:31]     -- Executing [8600053@default:1] MeetMe("DAHDI/i1/7502519749-1d10", "8600053,F") in new stack
[Oct 17 11:22:32]   == Manager 'sendcron' logged off from 127.0.0.1


PLease help.

Re: Leave 3 way call Not working.

PostPosted: Mon Jan 29, 2024 5:09 am
by carpenox
Upgrade your system