if you want to send a 180, use the ring_ready application.

On Wed, Apr 9, 2008 at 10:14 AM, Michael Jerris <mike@jerris.com> wrote:
Pre-answer will generate a 183, not a 180.  Which are you trying to
do?  This is just a single call leg to the socket app or what is the
call flow?


Mike

On Apr 9, 2008, at 8:29 AM, Daniel Eli wrote:

> Hi,
> first of all, congratulations to the FS team.
> I am trying to control FreeSwitch with a telnet client
> using the API.
> I can't find some way to pre-Answer (code 180) a
> channel in this interface,
> like the preAnswer method found in the session object.
>
> Another idea is calling an js script with the API,
> for example: bgapi jsrun preanswr.js ..., but there is
> another problem:
> the default session object is not created and I can't
> find how to get the session object from the uid of the
> channel (or from another channel variable).
> So, is there any way to get one session object from
> some channel variable ?
> Or, is there any way to pre-answer (generate the 180
> code) the channel with the API ?
> Could you help me about that?
>
> Thanks in advance.
>
> Daniel.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org


_______________________________________________
Freeswitch-dev mailing list
Freeswitch-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400