<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta name=Generator content="Microsoft Word 12 (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>
<!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
p.textedebulles, li.textedebulles, div.textedebulles
        {mso-style-name:textedebulles;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.textedebullescar0
        {mso-style-name:textedebullescar;
        mso-style-priority:99;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        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=FR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>I have the same thing
with AGI in the dialplan<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>And php is install<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Cordialement,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>BERGANZ François<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:16.0pt;font-family:Webdings;
color:#377C17'>P</span><span style='font-size:16.0pt;color:#377C17'> </span><span
style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:#377C17'>Pensez
à l'Environnement, n'imprimez ce mail que si nécessaire.</span><span
style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>De la part de</b> Danny
Nicholas<br>
<b>Envoyé :</b> lundi 9 mars 2009 14:36<br>
<b>À :</b> 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>
<b>Objet :</b> Re: [asterisk-users] problem with an agi in PHP<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
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></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p> </o:p></span></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>
<hr size=2 width="100%" align=center>
</span></div>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b>On Behalf Of </b>BERGANZ
François<br>
<b>Sent:</b> Monday, March 09, 2009 8:30 AM<br>
<b>To:</b> asterisk-users@lists.digium.com<br>
<b>Subject:</b> [asterisk-users] problem with an agi in PHP</span><span
lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>I need to execute an agi in php.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I have that:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><i><span lang=EN-US> == Using SIP RTP CoS mark 5<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Executing
[0170725000@mnupprx1:1] Answer("SIP/33179977999-b6c18478",
"") in new stack<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Executing
[0170725000@mnupprx1:2] GotoIf("SIP/33179977999-b6c18478",
"0?6:3)") in new stack<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Goto
(mnupprx1,0170725000,3)<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Executing
[0170725000@mnupprx1:3] DeadAGI("SIP/33179977999-b6c18478",
"a2billing.php") in new stack<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US>[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></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Launched AGI
Script /var/lib/asterisk/agi-bin/a2billing.php<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> --
<SIP/33179977999-b6c18478>AGI Script a2billing.php completed, returning 0<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Executing
[0170725000@mnupprx1:4] Wait("SIP/33179977999-b6c18478",
"2") in new stack<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> -- Executing
[0170725000@mnupprx1:5] Hangup("SIP/33179977999-b6c18478",
"") in new stack<o:p></o:p></span></i></p>
<p class=MsoNormal><i><span lang=EN-US> </span>== Spawn extension
(mnupprx1, 0170725000, 5) exited non-zero on 'SIP/33179977999-b6c18478'<o:p></o:p></i></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>I
dont know why it dont exec it !<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif"'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>Cordialement,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas'>BERGANZ
François<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:16.0pt;font-family:Webdings;
color:#377C17'>P</span><span style='font-size:16.0pt;color:#377C17'> </span><span
style='font-size:8.5pt;font-family:"Verdana","sans-serif";color:#377C17'>Pensez
à l'Environnement, n'imprimez ce mail que si nécessaire.</span><span
style='font-size:9.0pt;font-family:"Helvetica","sans-serif";color:black'><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>