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)
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