thanks matt
i drop the stucked calls on vicidial_auto_calls, and now the agent is taking call...
but now there is another issue...
when the client answer de call, it is inmediatly hanged up by the system...
i though that it might be solved with the sip-silence extensión, but it was not...
is this extensión all right¿?
;; 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,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
i got this from the CLI output when the calls are made...
-- Executing Dial("Local/0990801392@default-6275,2", "iax2/tec:tecnisys@192.168.0.10/0990801392|60|tTo") in new stack
-- Called tec:tecnisys@192.168.0.10/0990801392
-- Call accepted by 192.168.0.10 (format gsm)
-- Format for call is gsm
-- IAX2/vicidialnow-2 is proceeding passing it to Local/0990801392@default-6275,2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off 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
-- IAX2/vicidialnow-2 is ringing
-- IAX2/vicidialnow-2 stopped sounds
-- IAX2/vicidialnow-2 answered Local/0990801392@default-6275,2
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Playback("Local/0990801392@default-6275,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
== Spawn extension (default, 0990801392, 1) exited non-zero on 'Local/0990801392@default-6275,2'
-- Executing DeadAGI("Local/0990801392@default-6275,2", "agi://127.0.0.1:4577/call_log") in new stack
May 15 10:28:08 WARNING[9359]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, h, 1) exited non-zero on 'Local/0990801392@default-6275,2'
-- Executing AGI("IAX2/vicidialnow-2", "agi://127.0.0.1:4577/call_log") in new stack
May 15 10:28:08 WARNING[9409]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, 8365, 2) exited non-zero on 'IAX2/vicidialnow-2'
-- Executing DeadAGI("IAX2/vicidialnow-2", "agi://127.0.0.1:4577/call_log") in new stack
May 15 10:28:08 WARNING[9409]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, h, 1) exited non-zero on 'IAX2/vicidialnow-2'
-- Hungup 'IAX2/vicidialnow-2'
PS: another doubt that i have is why the vicidial_auto_calls table got stucked... now it work all right, but i dont know if this problem could happen again in the future...