<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
p.MSOACETATE
        {mso-style-priority:99;}
li.MSOACETATE
        {mso-style-priority:99;}
div.MSOACETATE
        {mso-style-priority:99;}
span.TEXTEDEBULLESCAR
        {mso-style-priority:99;}
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:Tahoma;}
span.TextedebullesCar
        {font-family:Tahoma;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
p.Textedebulles, li.Textedebulles, div.Textedebulles
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>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)?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>BERGANZ François<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, March 09, 2009 8:30
AM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] problem
with an agi in PHP</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=FR style='font-size:
11.0pt'>Hello,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=FR style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>I
need to execute an agi in php.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>I
have that:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> == Using SIP RTP CoS mark 5<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Executing [0170725000@mnupprx1:1]
Answer("SIP/33179977999-b6c18478", "") in new stack<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Executing [0170725000@mnupprx1:2]
GotoIf("SIP/33179977999-b6c18478", "0?6:3)") in new stack<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Goto (mnupprx1,0170725000,3)<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Executing [0170725000@mnupprx1:3]
DeadAGI("SIP/33179977999-b6c18478", "a2billing.php") in new
stack<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'>[Mar 9 14:25:08] WARNING[7518]: res_agi.c:3064
deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Launched AGI Script
/var/lib/asterisk/agi-bin/a2billing.php<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- <SIP/33179977999-b6c18478>AGI
Script a2billing.php completed, returning 0<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Executing [0170725000@mnupprx1:4]
Wait("SIP/33179977999-b6c18478", "2") in new stack<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> -- Executing [0170725000@mnupprx1:5]
Hangup("SIP/33179977999-b6c18478", "") in new stack<o:p></o:p></span></font></i></p>
<p class=MsoNormal><i><font size=2 face=Calibri><span style='font-size:11.0pt;
font-style:italic'> </span></font></i><i><span lang=FR style='font-style:
italic'>== Spawn extension (mnupprx1, 0170725000, 5) exited non-zero on
'SIP/33179977999-b6c18478'<o:p></o:p></span></i></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=FR style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span lang=FR style='font-size:
10.0pt;font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'>I dont know why it dont exec it !<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt;
font-family:Verdana'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span lang=FR style='font-size:
10.5pt;font-family:Consolas'>Cordialement,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Consolas><span lang=FR style='font-size:
10.5pt;font-family:Consolas'>BERGANZ François<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=5 color="#377c17" face=Webdings><span lang=FR
style='font-size:16.0pt;font-family:Webdings;color:#377C17'>P</span></font><font
size=5 color="#377c17"><span lang=FR style='font-size:16.0pt;color:#377C17'> </span></font><font
size=1 color="#377c17" face=Verdana><span lang=FR style='font-size:8.5pt;
font-family:Verdana;color:#377C17'>Pensez à l'Environnement, n'imprimez ce
mail que si nécessaire.</span></font><font size=1 color=black face=Helvetica><span
lang=FR style='font-size:9.0pt;font-family:Helvetica;color:black'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span lang=FR style='font-size:
11.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>