Page 1 of 1

[SOLVED] Issue with AutoDial and SIP provider

PostPosted: Thu Dec 06, 2007 6:41 am
by DarknessBBB
Hello everybody!
For the first time I'm testing Vicidial in Outbound Autodial mode :)
Good, everything seems perfect: the hopper is full, the agent is ready to talk, the ratio is set to 3.0 and the sip account is VoipStunt for this experiment.

Well, they're all NA. So there's some problem when dialing. I've cheched the VoipStunt log and it says that all calls are 3 seconds long.

I've checked Asterisk's log but I don't see anything wrong..

Would you please take a look?

Thank you very much in advance.

Code: Select all
 -- SIP/voipstunt-081edd98 is making progress passing it to Local/0835973068@default-6110,2
    -- SIP/voipstunt-081de090 answered Local/0835973067@default-780c,2
       > Channel Local/0835973067@default-780c,1 was answered.
    -- Executing AGI("Local/0835973067@default-780c,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/0835973067@default-780c,1", "agi-VDADtransfer.agi|8365") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
  == Manager 'sendcron' logged off from 127.0.0.1
    -- AGI Script agi-VDADtransfer.agi completed, returning 0
    -- Executing AGI("Local/0835973067@default-780c,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/0835973067@default-780c,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/0835973067@default-780c,1", "") in new stack
  == Spawn extension (default, 8365, 5) exited non-zero on 'Local/0835973067@default-780c,1'
    -- Executing DeadAGI("Local/0835973067@default-780c,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0
  == Spawn extension (default, 0835973067, 2) exited non-zero on 'Local/0835973067@default-780c,2'
    -- Executing DeadAGI("Local/0835973067@default-780c,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----19-----2)") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----19-----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
  == Refreshing DNS lookups.
    -- SIP/voipstunt-081e2468 answered Local/0835973002@default-7f89,2
       > Channel Local/0835973002@default-7f89,1 was answered.
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Executing AGI("Local/0835973002@default-7f89,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/0835973002@default-7f89,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/0835973002@default-7f89,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/0835973002@default-7f89,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/0835973002@default-7f89,1", "") in new stack
  == Spawn extension (default, 8365, 5) exited non-zero on 'Local/0835973002@default-7f89,1'
    -- Executing DeadAGI("Local/0835973002@default-7f89,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0
  == Spawn extension (default, 0835973002, 2) exited non-zero on 'Local/0835973002@default-7f89,2'
    -- Executing DeadAGI("Local/0835973002@default-7f89,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----42-----3)") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----42-----3) completed, returning 0
  == Manager 'sendcron' logged off from 127.0.0.1
  == Spawn extension (default, 0835973068, 2) exited non-zero on 'Local/0835973068@default-6110,2'
    -- Executing DeadAGI("Local/0835973068@default-6110,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
    -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------) completed, returning 0

PostPosted: Fri Dec 07, 2007 10:49 am
by DarknessBBB
Any idea? :oops:

PostPosted: Fri Dec 07, 2007 11:47 am
by DarknessBBB
Wow, solved!! :lol: :lol:

Solution:
I've added the bold row :D :idea:

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(silence/1)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
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

PostPosted: Fri Dec 07, 2007 4:26 pm
by masaboor
I got a similar problem and even added this line

exten => 8365,1,Playback(silence/1)

but still not working.You got any idea.


You can check out this link for the problem.
http://www.eflo.net/VICIDIALforum/viewtopic.php?t=4683

PostPosted: Sat Dec 08, 2007 2:16 pm
by mflorell
Try:
exten => 8365,1,Playback(sip-silence)

Could you post the agiout logfile output of one of your calls?