[asterisk-users] problem with an agi in PHP

Danny Nicholas danny at debsinc.com
Mon Mar 9 08:35:52 CDT 2009


The message “indicates” that DEADAGI will not work and that you should use
AGI instead.  Are you sure PHP is installed on your machine and functioning
properly (from $, php a2billing.php works)?

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of BERGANZ
François
Sent: Monday, March 09, 2009 8:30 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] problem with an agi in PHP

 

Hello,

 

I need to execute an agi in php.

I have that:

 

 

  == Using SIP RTP CoS mark 5

    -- Executing [0170725000 at mnupprx1:1] Answer("SIP/33179977999-b6c18478",
"") in new stack

    -- Executing [0170725000 at mnupprx1:2] GotoIf("SIP/33179977999-b6c18478",
"0?6:3)") in new stack

    -- Goto (mnupprx1,0170725000,3)

    -- Executing [0170725000 at mnupprx1:3] DeadAGI("SIP/33179977999-b6c18478",
"a2billing.php") in new stack

[Mar  9 14:25:08] WARNING[7518]: res_agi.c:3064 deadagi_exec: DeadAGI has
been deprecated, please use AGI in all cases!

    -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php

    -- <SIP/33179977999-b6c18478>AGI Script a2billing.php completed,
returning 0

    -- Executing [0170725000 at mnupprx1:4] Wait("SIP/33179977999-b6c18478",
"2") in new stack

    -- Executing [0170725000 at mnupprx1:5] Hangup("SIP/33179977999-b6c18478",
"") in new stack

  == Spawn extension (mnupprx1, 0170725000, 5) exited non-zero on
'SIP/33179977999-b6c18478'

 

 

I dont know why it dont exec it !

 

 

Cordialement,

BERGANZ François

P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090309/33220801/attachment.htm 


More information about the asterisk-users mailing list