Problem with Automatic Dialing

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

Problem with Automatic Dialing

Postby mario.andres » Thu Jul 17, 2008 12:17 pm

Hi all,

I see in CLI that the system is calling to customers and i also see that customers answers the call but the system hang up.

This isn't happen with all calls. In the 50% of cases, the system transfer correctly the call to the agent.

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551133135499@default-a38e,2", "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 Dial("Local/9551133135499@default-a38e,2", "SIP/6400050/011551133135499|55|o") in new stack
-- Called 6400050/011551133135499
-- Executing AGI("Local/9551156777419@default-1f47,2", "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 Dial("Local/9551156777419@default-1f47,2", "SIP/6400050/011551156777419|55|o") in new stack
-- Called 6400050/011551156777419
-- SIP/6400050-098326b0 is ringing
-- SIP/6400050-098326b0 is making progress passing it to Local/9551129015739@default-a867,2
-- SIP/6400050-097efe88 is ringing
-- SIP/6400050-097efe88 is making progress passing it to Local/9551130451613@default-bd61,2
-- SIP/6400050-0981cda0 is ringing
-- SIP/6400050-0981cda0 is making progress passing it to Local/9551133135499@default-a38e,2
-- SIP/6400050-09803908 is ringing
-- SIP/6400050-09803908 is making progress passing it to Local/9551156777419@default-1f47,2
-- SIP/6400050-0981cda0 answered Local/9551133135499@default-a38e,2
> Channel Local/9551133135499@default-a38e,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/9551133135499@default-a38e,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/9551133135499@default-a38e,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 AGI("Local/9551133135499@default-a38e,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/9551133135499@default-a38e,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/9551133135499@default-a38e,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/9551133135499@default-a38e,1", "") in new stack
== Spawn extension (default, 8365, 6) exited non-zero on 'Local/9551133135499@default-a38e,1'
-- Executing DeadAGI("Local/9551133135499@default-a38e,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 DeadAGI("Local/9551133135499@default-a38e,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 9551133135499, 2) exited non-zero on 'Local/9551133135499@default-a38e,2'
-- Executing DeadAGI("Local/9551133135499@default-a38e,2", "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 DeadAGI("Local/9551133135499@default-a38e,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----14-----4)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --14-----4) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551139988820@default-93fc,2", "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 Dial("Local/9551139988820@default-93fc,2", "SIP/6400050/011551139988820|55|o") in new stack
-- Called 6400050/011551139988820
-- SIP/6400050-0981cda0 is ringing
-- SIP/6400050-0981cda0 is making progress passing it to Local/9551139988820@default-93fc,2
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 9551129015739, 2) exited non-zero on 'Local/9551129015739@default-a867,2'
-- Executing DeadAGI("Local/9551129015739@default-a867,2", "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 DeadAGI("Local/9551129015739@default-a867,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 9551130451613, 2) exited non-zero on 'Local/9551130451613@default-bd61,2'
-- Executing DeadAGI("Local/9551130451613@default-bd61,2", "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 DeadAGI("Local/9551130451613@default-bd61,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 9551156777419, 2) exited non-zero on 'Local/9551156777419@default-1f47,2'
-- Executing DeadAGI("Local/9551156777419@default-1f47,2", "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 DeadAGI("Local/9551156777419@default-1f47,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551129792125@default-b868,2", "agi://127.0.0.1:4577/call_log") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551122683077@default-e2b2,2", "agi://127.0.0.1:4577/call_log") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551122655571@default-5816,2", "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 Dial("Local/9551122655571@default-5816,2", "SIP/6400050/011551122655571|55|o") in new stack
-- Called 6400050/011551122655571
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/9551122683077@default-e2b2,2", "SIP/6400050/011551122683077|55|o") in new stack
-- Called 6400050/011551122683077
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Dial("Local/9551129792125@default-b868,2", "SIP/6400050/011551129792125|55|o") in new stack
-- Called 6400050/011551129792125
-- SIP/6400050-09803908 is ringing
-- SIP/6400050-09803908 is making progress passing it to Local/9551122655571@default-5816,2
-- SIP/6400050-098326b0 is ringing
-- SIP/6400050-098326b0 is making progress passing it to Local/9551122683077@default-e2b2,2
-- SIP/6400050-097efe88 is ringing
-- SIP/6400050-097efe88 is making progress passing it to Local/9551129792125@default-b868,2
-- SIP/6400050-098326b0 answered Local/9551122683077@default-e2b2,2
> Channel Local/9551122683077@default-e2b2,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/9551122683077@default-e2b2,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/9551122683077@default-e2b2,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 AGI("Local/9551122683077@default-e2b2,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 9551122683077, 2) exited non-zero on 'Local/9551122683077@default-e2b2,2'
-- Executing DeadAGI("Local/9551122683077@default-e2b2,2", "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 DeadAGI("Local/9551122683077@default-e2b2,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----10-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --10-----0) completed, returning 0
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/6400050-098326b0", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/6400050-098326b0", "8600051") in new stack
-- SIP/6400050-097efe88 answered Local/9551129792125@default-b868,2
> Channel Local/9551129792125@default-b868,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/9551129792125@default-b868,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/9551129792125@default-b868,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 AGI("Local/9551129792125@default-b868,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Spawn extension (default, 9551129792125, 2) exited non-zero on 'Local/9551129792125@default-b868,2'
-- Executing DeadAGI("Local/9551129792125@default-b868,2", "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 DeadAGI("Local/9551129792125@default-b868,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --11-----0) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/78600051@default-fe25,2", "8600051|q") in new stack
> Channel Local/78600051@default-fe25,1 was answered.
-- Executing Answer("Local/78600051@default-fe25,1", "") in new stack
-- Executing Monitor("Local/78600051@default-fe25,1", "wav|TMK_CNV_20080717-110859_1003_1122683077") in new stack
-- Executing Wait("Local/78600051@default-fe25,1", "3600") in new stack
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/6400050-097efe88", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/6400050-098326b0'
-- Executing DeadAGI("SIP/6400050-098326b0", "agi://127.0.0.1:4577/call_log") in new stack
== Spawn extension (default, 78600051, 1) exited non-zero on 'Local/78600051@default-fe25,2'
-- Executing DeadAGI("Local/78600051@default-fe25,2", "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 DeadAGI("Local/78600051@default-fe25,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/6400050-098326b0", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 8309, 3) exited non-zero on 'Local/78600051@default-fe25,1'
-- Executing DeadAGI("Local/78600051@default-fe25,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/78600051@default-fe25,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Spawn extension (default, 9551139988820, 2) exited non-zero on 'Local/9551139988820@default-93fc,2'
-- Executing DeadAGI("Local/9551139988820@default-93fc,2", "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 DeadAGI("Local/9551139988820@default-93fc,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/6400050-097efe88", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8365, 5) exited non-zero on 'SIP/6400050-097efe88'
-- Executing DeadAGI("SIP/6400050-097efe88", "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 DeadAGI("SIP/6400050-097efe88", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0


Regards,

Mario
mario.andres
 
Posts: 35
Joined: Thu Mar 13, 2008 3:11 pm

Postby mflorell » Thu Jul 17, 2008 6:34 pm

Check that you have the 'o' flag in your dial string.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mario.andres » Thu Jul 17, 2008 6:56 pm

Yes, I have the o.

exten => _95511XXXXXXXX,2,Dial(${CNV}${EXTEN:1},55,o)

and i have this in 8365:

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,6,Hangup
mario.andres
 
Posts: 35
Joined: Thu Mar 13, 2008 3:11 pm

Postby mflorell » Thu Jul 17, 2008 7:30 pm

Please post some agi-VDADtransfer.agi output from the agiout logfile.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mario.andres » Fri Jul 18, 2008 8:44 am

where do i foun the agiout logfile?
mario.andres
 
Posts: 35
Joined: Thu Mar 13, 2008 3:11 pm

Postby mflorell » Fri Jul 18, 2008 11:03 am

make sure server logs are enabled in the servers section of admin.php, then look in the /var/log/astguiclient directory for a file like agiout.2008-07-18
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 24 guests