manual calls OK but ratio dialing drop calls

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

manual calls OK but ratio dialing drop calls

Postby mario.andres » Tue Jul 15, 2008 5:39 pm

Hi All,

I have a problem with my Vicidial Now server. When i call manually to a number, it works fine but when i call to the same number but using ratio dialing, the system calls and when the person answer the phone, the call is hang up by the system.

I see in the CLI:

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551130450265@default-d2a7,2", "call_log.agi|9551130450265") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/9551130450265@default-d2a7,2", "SIP/6400050/011551130450265|55|o") in new stack
-- Called 6400050/011551130450265
-- SIP/6400050-097e4128 is ringing
-- SIP/6400050-097e4128 is making progress passing it to Local/9551130450265@default-d2a7,2
-- SIP/6400050-097e4128 answered Local/9551130450265@default-d2a7,2
> Channel Local/9551130450265@default-d2a7,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/9551130450265@default-d2a7,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/9551130450265@default-d2a7,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/9551130450265@default-d2a7,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/9551130450265@default-d2a7,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/9551130450265@default-d2a7,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/9551130450265@default-d2a7,1'
-- Executing DeadAGI("Local/9551130450265@default-d2a7,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/9551130450265@default-d2a7,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, 9551130450265, 2) exited non-zero on 'Local/9551130450265@default-d2a7,2'
-- Executing DeadAGI("Local/9551130450265@default-d2a7,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/9551130450265@default-d2a7,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----18-----3)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --18-----3) completed, returning 0

And in the log:

"","0000000000","9551130450265","default","""V0715152823000003961"" <0000000000>","Local/9551130450265@default-d2a7,2","SIP/6400050-097e4128","Dial","SIP/6400050/011551130450265|55|o","2008-07-15 15:28:24","2008-07-15 15:28:39","2008-07-15 15:28:42",18,3,"ANSWERED","DOCUMENTATION"

My extension.conf is like this:

exten => _95511XXXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _95511XXXXXXXX,2,Dial(SIP/SIP_ACCOUNT/011${EXTEN:1},55,o)
exten => _95511XXXXXXXX,3,Hangup

what could be happening?

Regards,

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

Postby mario.andres » Tue Jul 15, 2008 5:56 pm

i change from 5 to 15 the parameter drop call seconds but the problem is still happening.

== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551135160000@default-b6d3,2", "call_log.agi|9551135160000") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/9551135160000@default-b6d3,2", "SIP/6400050/011551135160000|55|o") in new stack
-- Called 6400050/011551135160000
-- SIP/6400050-097e1508 is ringing
-- SIP/6400050-097e1508 is making progress passing it to Local/9551135160000@default-b6d3,2
== 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
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
-- SIP/6400050-097e1508 answered Local/9551135160000@default-b6d3,2
> Channel Local/9551135160000@default-b6d3,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/9551135160000@default-b6d3,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/9551135160000@default-b6d3,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/9551135160000@default-b6d3,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/9551135160000@default-b6d3,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/9551135160000@default-b6d3,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/9551135160000@default-b6d3,1'
-- Executing DeadAGI("Local/9551135160000@default-b6d3,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/9551135160000@default-b6d3,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, 9551135160000, 2) exited non-zero on 'Local/9551135160000@default-b6d3,2'
-- Executing DeadAGI("Local/9551135160000@default-b6d3,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/9551135160000@default-b6d3,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----32-----2)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --32-----2) completed, returning 0
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/9551130450265@default-0ffa,2", "call_log.agi|9551130450265") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing Dial("Local/9551130450265@default-0ffa,2", "SIP/6400050/011551130450265|55|o") in new stack
-- Called 6400050/011551130450265
-- SIP/6400050-097e1508 is ringing
-- SIP/6400050-097e1508 is making progress passing it to Local/9551130450265@default-0ffa,2
-- SIP/6400050-097e1508 answered Local/9551130450265@default-0ffa,2
> Channel Local/9551130450265@default-0ffa,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/9551130450265@default-0ffa,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/9551130450265@default-0ffa,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/9551130450265@default-0ffa,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/9551130450265@default-0ffa,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/9551130450265@default-0ffa,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/9551130450265@default-0ffa,1'
-- Executing DeadAGI("Local/9551130450265@default-0ffa,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/9551130450265@default-0ffa,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, 9551130450265, 2) exited non-zero on 'Local/9551130450265@default-0ffa,2'
-- Executing DeadAGI("Local/9551130450265@default-0ffa,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/9551130450265@default-0ffa,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----20-----2)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... --20-----2) completed, returning 0
== 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
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1

Please, help me.

Regards,

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

Postby mflorell » Tue Jul 15, 2008 7:01 pm

Try adding the sip-silence Playback before your 8365 exten.
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mario.andres » Tue Jul 15, 2008 11:37 pm

in extension.conf i found:

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

is it ok????

what do you refer about sip silence? is something like this?

exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,2,AGI(call_log.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

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

Postby mflorell » Tue Jul 15, 2008 11:50 pm

Yes
mflorell
Site Admin
 
Posts: 18384
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby mario.andres » Tue Jul 15, 2008 11:54 pm

When do i use
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)

or


;exten => 8365,2,AGI(call_log.agi,${EXTEN}) ????

I'll try what you suggested tomorrow morning.

Thx for you answer

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

Postby mflorell » Tue Jul 15, 2008 11:56 pm

call_log.agi is depricated and should not be used.
mflorell
Site Admin
 
Posts: 18384
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 119 guests