Hello is my idea or this is a bug? The thing is that I have in my
asterisk.conf this:
[directories]
astetcdir => /usr/local/etc/asterisk
astmoddir => /usr/local/lib/asterisk/modules
astvarlibdir => /usr/local/share/asterisk
astdatadir => /usr/local/share/asterisk
astagidir => /usr/local/share/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
where the dir of agi-bin is in /usr/local/share/asterisk/agi-bin and inside
agi-bin directory I have a file called a2billing.php and in my
extesions.conf i have:
[a2billing]
exten => 11111,1,answer
exten => 11111,2,Wait,2
exten => 11111,3,DeadAgi,a2billing.php
exten => 11111,4,Wait,2
exten => 11111,5,Hangup
and then in my softphone I call to 11111 the asterisk log say this:
-- Launched AGI Script /usr/local/share/asterisk/agi-bin/a2billing.php
== a2billing.php: Failed to execute
'/usr/local/share/asterisk/agi-bin/a2billing.php': No such file or directory
-- Executing [EMAIL PROTECTED]:4] Wait("SIP/abel-28c18000", "2") in new
stack
== Spawn extension (default, 11111, 4) exited non-zero on
'SIP/abel-28c18000'
So, i change the file a2billing.php to another place and I change this new
place in asterisk.conf:
[directories]
astetcdir => /usr/local/etc/asterisk
astmoddir => /usr/local/lib/asterisk/modules
astvarlibdir => /usr/local/share/asterisk
astdatadir => /usr/local/share/asterisk
astagidir => /new/place/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk
I reload the asterisk server and the asterisk log still say me the same
place before:
-- Launched AGI Script /usr/local/share/asterisk/agi-bin/a2billing.php
== a2billing.php: Failed to execute
'/usr/local/share/asterisk/agi-bin/a2billing.php': No such file or directory
-- Executing [EMAIL PROTECTED]:4] Wait("SIP/abel-28c18000", "2") in new
stack
== Spawn extension (default, 11111, 4) exited non-zero on
'SIP/abel-28c18000'
Why is that? Any suggest?
Thanks for all,
Abel
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users