Page 1 of 1

Call disconnect immediately after customer answer - AUTODIAL

PostPosted: Mon Jul 16, 2012 7:57 am
by dhaya1986
Every time the customer answers the call, I put the call to extension 8368 in extensions.conf.

But immeditely after I land the call to 8368,1 the agi returns 0 and call hangs up.
But actually the call dont disconnect untill its ringing. the moment the call is answered by the customer it hangs up.

Please find below the logs.


> Channel Local/17807946798@default-e9c2,1 was answered.
-- Executing [8368@default:1] Playback("Local/17807946798@default-e9c2,1", "sip-silence") in new stack
-- <Local/17807946798@default-e9c2,1> Playing 'sip-silence' (language 'en')
WARNING[25741]: file.c:1297 waitstream_core: Unexpected control subclass '-1'
-- Executing [h@default:1] DeadAGI("Local/17807946798@default-e9c2,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0") in new stack
-- Executing [8368@default:2] AGI("DAHDI/0:2-1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [8368@default:3] AGI("DAHDI/0:2-1", "agi-VDAD_ALL_outbound.agi|NORMAL-----LB") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
ERROR[25741]: utils.c:967 ast_carefulwrite: write() returned error: Broken pipe
-- AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0



________________________________________________________________________________________________
Extensions.conf entry


[default]
include => vicidial-auto
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,n,Set(CALLTIME=${STRFTIME(${EPOCH},Europe/London,%d-%b-%Y-%H-%M)})
exten => _X.,n,Mixmonitor(/var/spool/asterisk/calls/${EXTEN}-${CALLTIME}.wav)
exten => _X.,n,Dial(${trunk_1}/${EXTEN},30,tTo)
exten => _X.,n,Hangup
exten => _1X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1X.,n,Set(CALLTIME=${STRFTIME(${EPOCH},Europe/London,%d-%b-%Y-%H-%M)})
exten => _1X.,n,Mixmonitor(/var/spool/asterisk/calls/${EXTEN:1}-${CALLTIME}.wav)
exten => _1X.,n,Dial(${trunk_1}/${EXTEN:1},30,tTo)
exten => _1X.,n,Hangup


; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,Playback(sip-silence)
exten => 8368,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,3,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8368,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8368,5,Hangup

__________________________________________________________________________________________

please adivice what should be done.

Re: Call disconnect immediately after customer answer - AUTO

PostPosted: Mon Jul 16, 2012 8:03 am
by dhaya1986
its a ViciBox Redux v.3.1.15 release
Asterisk 1.4.39.2-vici

running with dahdi drivers.

manual calls are not having any problem. we dial and connect properly to the agents.
only the autodial calls are having problem.

Re: Call disconnect immediately after customer answer - AUTO

PostPosted: Tue Jul 17, 2012 12:05 am
by williamconley
1) please post your Vicidial Version with Build (required for support on this board!). It's on almost every Administrator Page lower left corner.

2) You should Not be altering "extensions.conf" directly. Any changes you made in this file are likely to cause failure. If you re-initiate an install (perl /usr/src/astguiclient/trunk/install.pl --copy_sample_conf_files, this will re-copy the configuration files!) and then make ALL your changes inside the Web GUI. You will have a good start.

3) Your _X. extension includes some non-standard lines that may or may not interfere with the way the dialer works. But I would assume you have other non-standard settings. You should try setting the system up according to the Vicidial Manager's Manual (available on EFLO.net, in both free and paid versions). Start at the beginning of the Free version of the manual, don't skip anything and don't "get fancy". If you require recordings, there are settings in Vicidial to manage recordings (and even make them readily available on user/lead records for easy listening AND automatically copy them all to an FTP server for archiving!). You are likely putting more effort into this than you should. Follow the manual and you'll likely find it easier than you're making it. :)

4) While you are working your way through the manual, if you have a question, bring it here along with the Manual version/page/line that caused your issue and we'll help you to the next phase.