well i have no ideea about what is wrong so i will put here the esesential parts from my config files :
extensions.conf:
[general]
static=yes
writeprotect=yes
autofallthrough=yes
[default]
exten => h,1,DeadAGI(
agi://127.0.0.1:4577/call_log)
exten => h,2,DeadAGI(
agi://127.0.0.1:4577/VD_hangup--HVcause ... EBUG-----${HANGUPCAUSE}
exten => _XXXXXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXXXX,2,Dial(SIP/adriansip)
exten => _XXXXXXXXXXXX,3,Hangup
; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(
agi://127.0.0.1:4577/call_log)
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
i don`t know if asterisk agi is ok. if i try this: install Asterisk::AGI in cpan i get this :
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 05 Feb 2007 09:32:32 GMT
Asterisk::AGI is up to date (undef).
the netserver perl module seems to be ok :
install Net::Server
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 05 Feb 2007 09:32:32 GMT
Net::Server is up to date (0.95).
i have version 008 of asterisk perl. My OS is Gentoo2006.
that is my astguiclient.conf file :
PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /var/www/localhost/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
VARserver_ip => 192.168.30.31
VARDB_server => localhost
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306
that is what i get:
-- Executing AGI("Local/917275551213@default-b804,2", "agi://127.0.0.1:4577/call_log") in new stack
Feb 5 16:10:17 WARNING[1755]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, 917275551213, 1) exited non-zero on 'Local/917275551213@default-b804,2'
-- Executing DeadAGI("Local/917275551213@default-b804,2", "agi://127.0.0.1:4577/call_log") in new stack
Feb 5 16:10:17 WARNING[1755]: 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/917275551213@default-b804,2'
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/917275551213@default-ef8a,2", "agi://127.0.0.1:4577/call_log") in new stack
Feb 5 16:10:17 WARNING[1762]: res_agi.c:210 launch_netscript: Connect to 'agi://127.0.0.1:4577/call_log' failed: Connection refused
== Spawn extension (default, 917275551213, 1) exited non-zero on 'Local/917275551213@default-ef8a,2'