[Freeswitch-users] is loopback really 'evil'?

Adam Kelloway adam.kelloway at newpace.ca
Tue Mar 20 20:16:41 MSK 2012


Understood, thanks.

I have two esl applications I connect calls between. In my testing with 
loopback, it gave me much better audio quality then if I bridged the 
call to another instance of freeswitch, as my freeswitch instances run 
on virtual machines (see my previous thread "Dialplan bridge results in 
choppy audio"). Of course, the difference is that I ran my two esl 
applications on the same freeswitch instance instead of different ones. 
It would not mind running them on the same one if I needed to, but I 
wanted to make sure that loopback was ok to use.

Adam

On 3:59 PM, François Delawarde wrote:
> It is quite evil, but also a great tool in some cases. Use it only if
> you feel comfortable enough with FS to workaround strange issues.
>
> François.
>
>
> On Tue, 2012-03-20 at 08:44 -0700, Michael Collins wrote:
>> Always ask this question: WHY do you need loopback? What does loopback
>> give you that you can't get elsewhere?
>> For example, in the default dialplan we use loopback for voicemail so
>> that people can do an attended transfer to send a call into the
>> target's voicemail.
>>
>> My recommendation is this: if you are tempted to use loopback but
>> aren't sure if it's the only way to accomplish what you want, then ask
>> here or on IRC. In many cases you can use loopback w/o any drama.
>> However, some people abuse loopback by doing crazy things that Tony
>> never dreamed of when he created mod_loopback. That's the primary
>> reason that loopback is "evil."
>>
>> So... ask away!
>> -MC
>>
>> On Mon, Mar 19, 2012 at 9:46 AM, Mitch Capper<mitch.capper at gmail.com>
>> wrote:
>>          I think its best to look at loopback as something of a hack,
>>          in most
>>          situations there is almost always another way to do what
>>          loopback
>>          does.   As long as loopback behaves in your situation how it
>>          should
>>          you should be fine, but if when you go to use it you find
>>          oddities or
>>          issues generally taking loopback out of the equation will
>>          solve the
>>          problems.
>>
>>          ~Mitch
>> _________________________________________________________________________
>> 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/20120320/eadc3393/attachment.html 


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