if you want to send a 180, use the ring_ready application.<br><br><div class="gmail_quote">On Wed, Apr 9, 2008 at 10:14 AM, Michael Jerris &lt;<a href="mailto:mike@jerris.com">mike@jerris.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Pre-answer will generate a 183, not a 180. &nbsp;Which are you trying to<br>
do? &nbsp;This is just a single call leg to the socket app or what is the<br>
call flow?<br>
<br>
<br>
Mike<br>
<div><div></div><div class="Wj3C7c"><br>
On Apr 9, 2008, at 8:29 AM, Daniel Eli wrote:<br>
<br>
&gt; Hi,<br>
&gt; first of all, congratulations to the FS team.<br>
&gt; I am trying to control FreeSwitch with a telnet client<br>
&gt; using the API.<br>
&gt; I can&#39;t find some way to pre-Answer (code 180) a<br>
&gt; channel in this interface,<br>
&gt; like the preAnswer method found in the session object.<br>
&gt;<br>
&gt; Another idea is calling an js script with the API,<br>
&gt; for example: bgapi jsrun preanswr.js ..., but there is<br>
&gt; another problem:<br>
&gt; the default session object is not created and I can&#39;t<br>
&gt; find how to get the session object from the uid of the<br>
&gt; channel (or from another channel variable).<br>
&gt; So, is there any way to get one session object from<br>
&gt; some channel variable ?<br>
&gt; Or, is there any way to pre-answer (generate the 180<br>
&gt; code) the channel with the API ?<br>
&gt; Could you help me about that?<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt; Daniel.<br>
&gt;<br>
&gt;<br>
&gt; __________________________________________________<br>
&gt; Do You Yahoo!?<br>
&gt; Tired of spam? &nbsp;Yahoo! Mail has the best spam protection around<br>
&gt; <a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Freeswitch-dev mailing list<br>
&gt; <a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400