Hang-up problem

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

Hang-up problem

Postby devplan1 » Fri Feb 08, 2008 10:57 pm

I have a problem with calls not being transfered to the agent's phone but instead the call diconnects shortly after.

This might sound like many other related postings (which I looked through) but seems not have been specified.

I installed Vicidialnow from CD and followed the instructions from vicidialNOW FAQ.
I also followed the Vicidial Manager Manual tutorial sample and when I use the manual dialing, everything works fine.

When I use the RATIO dial method, the 1st number from my list gets called, the called person picks-up the phone - hears nothing - and it shortly disconnects after. The call is not transfered to the phone of the logged-in agent.

My screen -r shows:
Code: Select all
There are several suitable screens on:
        2378.ASTfastlog (Detached)
        2372.ASTVDremote        (Detached)
        2369.ASTVDauto  (Detached)
        2375.ASTVDadapt (Detached)
        2363.ASTsend    (Detached)
        2360.ASTupdate  (Detached)
        2214.asterisk   (Detached)
        2365.ASTlisten  (Detached)


My CLI shows:
Code: Select all
  == Manager 'sendcron' logged off from 127.0.0.1
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing AGI("Local/001234567890@default-8bef,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/001234567890@default-8bef,2", "SIP/myprovider/001234567890||tTo") in new stack
    -- Called myprovider/001234567890
    -- SIP/myprovider-08c3c2b0 is making progress passing it to Local/001234567890@default-8bef,2
    -- SIP/myprovider-08c3c2b0 is making progress passing it to Local/001234567890@default-8bef,2
    -- SIP/myprovider-08c3c2b0 is making progress passing it to Local/001234567890@default-8bef,2
    -- SIP/myprovider-08c3c2b0 answered Local/001234567890@default-8bef,2
       > Channel Local/001234567890@default-8bef,1 was answered.
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Executing AGI("Local/001234567890@default-8bef,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/001234567890@default-8bef,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/001234567890@default-8bef,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/001234567890@default-8bef,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/001234567890@default-8bef,1", "") in new stack
  == Spawn extension (default, 8365, 5) exited non-zero on 'Local/001234567890@default-8bef,1'
    -- Executing DeadAGI("Local/001234567890@default-8bef,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/001234567890@default-8bef,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--HVcauses--PRI-----NODEBUG-----16---------------) completed, returning 0
  == Spawn extension (default, 001234567890, 2) exited non-zero on 'Local/001234567890@default-8bef,2'
    -- Executing DeadAGI("Local/001234567890@default-8bef,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/001234567890@default-8bef,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----3)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----3) completed, returning 0


Then I added a line
Code: Select all
exten = 8365,1,Playback(silence/1)
in my extension.conf and then it worked -- but only for the 1st call.
Each subsequent call, the line hung up again.


CLI:

Code: Select all
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing AGI("Local/001234567890@default-0dca,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/001234567890@default-0dca,2", "SIP/myprovider/001234567890||tTo") in new stack
    -- Called myprovider/001234567890
    -- SIP/myprovider-08c3bf10 is making progress passing it to Local/001234567890@default-0dca,2
    -- SIP/myprovider-08c3bf10 is making progress passing it to Local/001234567890@default-0dca,2
    -- SIP/myprovider-08c3bf10 is making progress passing it to Local/001234567890@default-0dca,2
    -- SIP/myprovider-08c3bf10 answered Local/001234567890@default-0dca,2
       > Channel Local/001234567890@default-0dca,1 was answered.
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Executing Playback("Local/001234567890@default-0dca,1", "silence/1") in new stack
    -- Playing 'silence/1' (language 'en')
    -- Executing AGI("Local/001234567890@default-0dca,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/001234567890@default-0dca,1", "agi-VDADtransfer.agi|8365") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
  == Spawn extension (default, 001234567890, 2) exited non-zero on 'Local/001234567890@default-0dca,2'
    -- Executing DeadAGI("Local/001234567890@default-0dca,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/001234567890@default-0dca,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----6-----0)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----6-----0) completed, returning 0
    -- AGI Script agi-VDADtransfer.agi completed, returning 0
    -- Executing AGI("SIP/myprovider-08c3bf10", "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/myprovider-08c3bf10", "8600051") in new stack
  == Spawn extension (default, 8600051, 1) exited non-zero on 'SIP/myprovider-08c3bf10'
    -- Executing DeadAGI("SIP/myprovider-08c3bf10", "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/myprovider-08c3bf10", "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--HVcauses--PRI-----NODEBUG-----0---------------) completed, returning 0
  == Parsing '/etc/asterisk/manager.conf': Found
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing AGI("Local/001234567890@default-3676,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/001234567890@default-3676,2", "SIP/myprovider/001234567890||tTo") in new stack
    -- Called myprovider/001234567890
    -- SIP/myprovider-08c3bf10 is making progress passing it to Local/001234567890@default-3676,2
    -- SIP/myprovider-08c3bf10 is making progress passing it to Local/001234567890@default-3676,2
    -- SIP/myprovider-08c3bf10 is making progress passing it to Local/001234567890@default-3676,2
    -- SIP/myprovider-08c3bf10 answered Local/001234567890@default-3676,2
       > Channel Local/001234567890@default-3676,1 was answered.
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Executing Playback("Local/001234567890@default-3676,1", "silence/1") in new stack
    -- Playing 'silence/1' (language 'en')
    -- Executing AGI("Local/001234567890@default-3676,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/001234567890@default-3676,1", "agi-VDADtransfer.agi|8365") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
  == Spawn extension (default, 001234567890, 2) exited non-zero on 'Local/001234567890@default-3676,2'
    -- Executing DeadAGI("Local/001234567890@default-3676,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/001234567890@default-3676,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----7-----0)") in new stack
    -- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----7-----0) completed, returning 0
    -- AGI Script agi-VDADtransfer.agi completed, returning 0
    -- Executing AGI("SIP/myprovider-08c3bf10", "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("SIP/myprovider-08c3bf10", "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/myprovider-08c3bf10'
    -- Executing DeadAGI("SIP/myprovider-08c3bf10", "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/myprovider-08c3bf10", "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--HVcauses--PRI-----NODEBUG-----0---------------) completed, returning 0


I checked my perl, cron and mysql and all seems fine.
It also takes too long time before the called person's sound is connected to the agent's phone.

HEEELP!

rgds, devplan1
devplan1
 
Posts: 9
Joined: Fri Feb 08, 2008 8:57 pm

Postby gardo » Sat Feb 09, 2008 1:31 am

Try these entries IN PLACE OF you're regular ones if you are using SIP trunks and are not registering your provider in sip.conf:

;; 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,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup

You can find these entries in the end of extensions.conf.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby devplan1 » Sat Feb 09, 2008 11:28 am

Hi gardo

Try these entries IN PLACE OF you're regular ones if you are using SIP trunks and are not registering your provider in sip.conf:


I am registering my provider in sip.conf

;; 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,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup



That's what I did last and it's still the same result, i.e the 2nd call doesn't transfer to the agent and hangs-up instead after a few seconds.

What else could it be?

rgds, devplan1
devplan1
 
Posts: 9
Joined: Fri Feb 08, 2008 8:57 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 30 guests