[Freeswitch-users] Using FreeSWITCH as a proxy

Oleg Stolyar ostolyar at netflix.com
Wed May 22 22:52:06 MSD 2013


One correction.

Michael, I apologize - you were right "fsctl shutdown now" does indeed
leave the call active.  The reason it did not work for me is because I just
used "shutdown now" and did not see the warning in the documentation that
it ignores the arguments in this case.

Thank you
*Oleg*


On Wed, May 22, 2013 at 8:31 AM, Oleg Stolyar <ostolyar at netflix.com> wrote:

> Clive, Michael, Brian,
> thank you so much for replying.  Please see my answers below.
>
> I don't want to shut it down but I need to deploy the system in the cloud
> where I cannot guarantee that any single instance will stay up.
> *Clive*, what do you mean by "FreeSWITCH remains in control"?  I
> understand that it remains in control of SIP messages but in the middle of
> a call there should not be any SIP messages being passed through, so if the
> proxy server goes down the RTP between the endpoints should keep going.
>
> *Michael*, I tried "shutdown now"  - it does not seem to work.  The
> documentation says that it will still clean up the current traffic, so it
> hangs up the call before shutting down.  *That being said - if I simply
> disconnect the proxy machine from the network, the call continues as
> expected, so in this case it works as I need it to!*
>
> *Brian*, we are definitely considering OpenSIPS and other proxies but I'd
> like to try to set up a system with a single stack to simplify deployment,
> maintenance, upgrades and such.
>
> Thanks again guys!
>
> Thank you
> *Oleg*
>
>
> On Tue, May 21, 2013 at 11:21 AM, Brian Foster <bdfoster at davri.com> wrote:
>
>> I'd almost be looking at something like OpenSIPS as FS is a back2back UA,
>> not a proxy.
>> On May 21, 2013 2:17 PM, "clive engelberg" <clive18 at webmail.co.za> wrote:
>>
>>> Hi
>>>
>>> You can get help in exchange for some netflix movies:)
>>>
>>> jk :)
>>>
>>> Freeswitch will act as a stateful proxy, meaning it will remain in
>>> control of the call, even though RTP goes point to point.
>>>
>>> Why would you want to be able to shut down FS anyways?
>>>
>>> Clive
>>>
>>> On Mon, 20 May 2013 19:10:09 -0700 Oleg Stolyar <ostolyar at netflix.com>
>>> wrote
>>>
>>>  Hi,
>>>
>>> I am trying to use FreeSWITCH as a SIP proxy. I have the dialplan below
>>> which simply sets bypass_media to true and then bridges to another
>>> FreeSWITCH server.
>>>
>>> However, when during the call I shut down the proxy FS, the call is
>>> immediately dropped. Why is that? Is there a way to keep it going? I
>>> understand that in this case I won't be able to properly send the BYE
>>> signal when one of the parties hangs up and that's OK.
>>>
>>> I tried using redirect and deflect instead of the bridge but those don't
>>> seem to work at all - probably because my UAs don't know how to handle
>>> redirects.
>>>
>>>  <extension name="proxy_test">
>>> <condition field="destination_number" expression="^(p\w+)$">
>>> <action application="set" data="bypass_media=true"/>
>>> <action application="bridge" data="sofia/external/1000 at 10.2.182.243"/>
>>> </condition>
>>> </extension>
>>>
>>>
>>> ------------------------------
>>> South Africa premier free email service - webmail.co.za<http://www.webmail.co.za/>
>>> <http://b.wm.co.za/click.pwm?cid=20050844&loc=N-MT&seq=519bb874>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> 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
>>>
>>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> 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/20130522/900e8dc6/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list