[asterisk-users] problem with an agi in PHP

BERGANZ François francois at acropolistelecom.net
Mon Mar 9 08:53:05 CDT 2009


I have the same thing with AGI in the dialplan

And php is install

 

 

 

 

Cordialement,

BERGANZ François

 

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

 

De : asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] De la part de Danny
Nicholas
Envoyé : lundi 9 mars 2009 14:36
À : 'Asterisk Users Mailing List - Non-Commercial Discussion'
Objet : Re: [asterisk-users] problem with an agi in PHP

 

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/698ee785/attachment.htm 


More information about the asterisk-users mailing list