You didn’t say whether a2billing.php works from the shell.  Is it 755
permissioned?

 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of BERGANZ
François
Sent: Monday, March 09, 2009 8:53 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] problem with an agi in PHP

 

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 : [email protected]
[mailto:[email protected]] 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: [email protected]
[mailto:[email protected]] On Behalf Of BERGANZ
François
Sent: Monday, March 09, 2009 8:30 AM
To: [email protected]
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 [0170725...@mnupprx1:1] Answer("SIP/33179977999-b6c18478",
"") in new stack

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

    -- Goto (mnupprx1,0170725000,3)

    -- Executing [0170725...@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 [0170725...@mnupprx1:4] Wait("SIP/33179977999-b6c18478",
"2") in new stack

    -- Executing [0170725...@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.

 

_______________________________________________
-- 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

Reply via email to