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 <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> 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. Which are you trying to<br>
do? 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>
> Hi,<br>
> first of all, congratulations to the FS team.<br>
> I am trying to control FreeSwitch with a telnet client<br>
> using the API.<br>
> I can't find some way to pre-Answer (code 180) a<br>
> channel in this interface,<br>
> like the preAnswer method found in the session object.<br>
><br>
> Another idea is calling an js script with the API,<br>
> for example: bgapi jsrun preanswr.js ..., but there is<br>
> another problem:<br>
> the default session object is not created and I can't<br>
> find how to get the session object from the uid of the<br>
> channel (or from another channel variable).<br>
> So, is there any way to get one session object from<br>
> some channel variable ?<br>
> Or, is there any way to pre-answer (generate the 180<br>
> code) the channel with the API ?<br>
> Could you help me about that?<br>
><br>
> Thanks in advance.<br>
><br>
> Daniel.<br>
><br>
><br>
> __________________________________________________<br>
> Do You Yahoo!?<br>
> Tired of spam? Yahoo! Mail has the best spam protection around<br>
> <a href="http://mail.yahoo.com" target="_blank">http://mail.yahoo.com</a><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>
<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