<div dir="ltr">Hi,<div><br></div><div>&nbsp;&nbsp;I am trying to get thru a PHP file but i get the output as ,</div><div><br></div><div><div><span class="Apple-style-span" style="font-weight: bold;">authMessage sent, got response:</span></div>
<div><span class="Apple-style-span" style="font-weight: bold;">Content-Type: command/reply Reply-Text: +OK accepted</span></div><div><span class="Apple-style-span" style="font-weight: bold;">command is api originate sofia/default/<a href="mailto:9894929942@172.20.176.254">9894929942@172.20.176.254</a> 1001 command sent, got response:</span></div>
<div><span class="Apple-style-span" style="font-weight: bold;">Content-Type: api/response Content-Length: 41</span></div><div><span class="Apple-style-span" style="font-weight: bold;">command sent, got response:</span></div>
<div><span class="Apple-style-span" style="font-weight: bold;">+OK c5df1f4c-02ae-4353-b709-ad791ca332a1</span></div><div><span class="Apple-style-span" style="font-weight: bold;">command is bgapi originate sofia/default/<a href="mailto:1001@172.20.176.254">1001@172.20.176.254</a> 1001 &amp;park command sent, got response:</span></div>
<div><span class="Apple-style-span" style="font-weight: bold;">Content-Type: command/reply Reply-Text: +OK Job-UUID: d5270c3d-872e-46b6-b556-74bc373b1fe4 Job-UUID: d5270c3d-872e-46b6-b556-74bc373b1fe4</span></div><div><span class="Apple-style-span" style="font-weight: bold;">command is event channel_answer command sent, got response:</span></div>
<div><span class="Apple-style-span" style="font-weight: bold;">Content-Type: command/reply Reply-Text: +OK event listener enabled plain&nbsp;</span></div><div><br></div><div><span class="Apple-style-span" style="color: rgb(255, 0, 0);">So I need to run the event channel_answer as a&nbsp;separate&nbsp;program with autorefreshing?</span></div>
<br><div class="gmail_quote">On Fri, Oct 3, 2008 at 10:49 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Yes if you parse the event using something like perl, ruby, php and get it...<div><br></div><font color="#888888"><div>/b</div></font><div class="Ih2E3d"><div><br><div><div>On Oct 3, 2008, at 12:10 PM, Gopal krishnan wrote:</div>
<br><blockquote type="cite"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">File attached<br>
<br><div class="gmail_quote">On Fri, Oct 3, 2008 at 10:36 PM, Gopal krishnan<span>&nbsp;</span><span dir="ltr">&lt;<a href="mailto:saigop@gmail.com" target="_blank">saigop@gmail.com</a>&gt;</span><span>&nbsp;</span>wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>&nbsp;&nbsp;By giving event channel_answer in telnet console I get lots of variables, I am attaching it as a text file with this email. And my query is for example If I want to pickup only Answer state from that output, &nbsp;is that possible?<div>
<div></div><br></div></div></div></blockquote></div></span></blockquote></div><br></div></div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Thank you &nbsp;with regards,<br>Gopal,<br><br>
</div></div>