[Freeswitch-users] Socket outbound: How to bridge two calls?

Anthony Minessale anthony.minessale at gmail.com
Mon Nov 10 09:47:40 PST 2008


you must read the reply to the commands when you send them or you will block
the tcp socket.


On Mon, Nov 10, 2008 at 9:48 AM, Dennis <odermann at googlemail.com> wrote:

> you are right, the shown script is very simple. we shortened it a lot
> just to show the problem.
>
> in these tests we do not need any events, because we just answer and
> originate - for these actions we do not need any events, filters and
> so on.
> the rest we do in the cli. in the cli we do show channels and
> uuid_bridge. but the uuid_bridge is only done, when we kill the
> process of the socket script.
> there must be a problem, how we handle the inbound or something like this.
>
> every alse we want to do with any call and uuid works, so i can't
> imagine, that our php script does everything so wrong.
> what makes uuid_bridge or intercept so different to other api commands?
>
> isn't it possible to see something in the logfiles? perhaps, that the
> inbound is in a wrong state or stuck somewhere in the socket?
>
>
>
>
> 2008/11/10 Anthony Minessale <anthony.minessale at gmail.com>:
> > The way your script is parsing appears too simple.
> > The event socket has a specific protocol.
> >
> > Every command has a reply and you must read it and take into account the
> > content len etc.
> >
> > all replies, events etc have a content-type and content-len.
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081110/70a50cd8/attachment-0002.html 


More information about the FreeSWITCH-users mailing list