[Freeswitch-users] Two bridged FreeSWITCH servers - both in bypass_media mode - possible?
Vitalii Colosov
vetali100 at gmail.com
Mon Jun 14 07:05:27 PDT 2010
Hi Michael,
Thanks for important note.
Why can't we name FreeSWITCH in Bypass Media mode as PROXY? Which thing it
is missing?
Regarding the script, I don't think it is incorrect. Most probably the
FreeSWITCH is not able to handle such crazy scenario.
Because the first reinvite occurs right after the call was answered.
So when the second reinvite should happen? Right after the first re-invite?
Without any delay?
Or maybe it tries to execute both reinvites after the call was answered, and
selects the first one?
Vitalie
2010/6/14 Michael Jerris <mike at jerris.com>
>
> On Jun 9, 2010, at 9:36 AM, Vitalii Colosov wrote:
>
> Hi,
>
> I am trying to make 2 freeswitches (bridged) to work both in bypass media
> mode - currently with no luck.
> Would appreciate your advice.
>
> Let say I have 2 FreeSWITCH servers - one acts as PROXY (in
> bypass_media_after_bridge mode) and second processes media.
>
>
> In bypass mode or not, FreeSWITCH is never a proxy, it is always a B2BUA.
> Processing media or not is your only choice in regards to this.
>
>
> I make a call from one sip client to another via these 2 servers (let's say
> G711 is used everywhere).
> SIP CLIENT1 -> FS1 (proxy) -> FS2 (media) -> SIP CLIENT2
>
> Proxy server (FS1) sends a re-INVITE and excludes itself from the media
> path after the call was answered (I am using bypass_media_after_bridge).
>
> So, the media goes like this: SIP CLIENT1 <-> FS2 <-> SIP CLIENT2
>
> Now, I want to try to exclude the media server (FS2) as well (just
> experimenting, but if both clients use same codec, I suppose this can be
> legitimately done?).
> I put bypass_media_after_bridge=true on the media server (I did it in few
> places in Lua script).
>
> *But as per sip trace, it does not sends any reinvite after the call was
> answered.*
> *Only FS1 sends reINVITE.*
>
>
> There is something wrong in your script?
>
> So, looks like I cannot remove FS2 from media path like this.
>
> Do you think it is not possible to acheive this kind of configuration so
> both servers will work in bypass media?
>
>
> There is nothing different here than the first box as far as your
> explanation goes. This should work fine, and as you showed with FS1, it
> does.
>
> Mike
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100614/8f8866e2/attachment.html
More information about the FreeSWITCH-users
mailing list