[Freeswitch-users] Alternatives to Loopback

Support from NetworkedAudio LLC support at naud.io
Sat Mar 26 19:02:28 UTC 2022


Agreed. I set up a gateway pointing to 127.0.0.1. This ended up giving me an outbound call which came back to an inbound call, so just loopback with extra steps.

Set up Icecast via local_stream and that sounds fine. Conference members can talk and get mixed with the stream, so far, so good.

Unless there are any tricks I'm going to need to modify the source to add a new conference member flag called noperpetual - when an endpoint with this flag set enters the conference, it stops the perpetual-audio.

My use case via Icecast is ALMOST just the default moh stream when using wait-mod:

> When one endpoint joins an empty conference, they get music-on-hold. When a second endpoint joins, they both get moh but can't hear or talk to the first endpoint. When a moderator arrives, moh goes away and everyone can talk and listen.

In my Icecast setup what I need is:

> When one endpoint joins an empty conference, they get music-on-hold. When a second endpoint joins, they both get moh and can hear or talk to the first endpoint. When a moderator arrives, moh goes away and everyone can talk and listen.

I don't think there's a configuration change to allow conference members to talk/hear over moh, and I don't think there's a configuration change to stop perpetual-audio when a certain user flag arrives, but if either of those exist, I'd be grateful to hear about them.

________________________________
From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> on behalf of Bote Man <botelist at gmail.com>
Sent: Friday, March 25, 2022 1:22 AM
To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Alternatives to Loopback


Each sofia profile mimics a line key on a traditional key phone. I don’t think that will get you what you want, though.



The playing sound part is doable, but when you throw in the requirement that the audio follows them all over the switch as they transition to different call states…that’s just weird. It’s like music on hold that never goes away, and who wants that?



Try the Shoutcast/Icecast thing, that is designed for one-to-many sound distribution.



Best wishes.



Bote





From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> On Behalf Of Support from NetworkedAudio LLC
Sent: Thursday, 24 March, 2022 21:57
To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Alternatives to Loopback



I like it. Having a hard time using one channel out of 128 PortAudio streams for a different application. Will do some research.



I'm trying to set up 127.0.0.1 as a new SOFIA gateway and loop it that way but that feels wrong.



Seems like I'm missing something - was assuming that adding audio to a whole load of non-user endpoints was possible.



Thank you for taking the time to suggest.

________________________________

From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> on behalf of Bote Man <botelist at gmail.com<mailto:botelist at gmail.com>>
Sent: Thursday, March 24, 2022 8:10 PM
To: 'FreeSWITCH Users Help' <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: Re: [Freeswitch-users] Alternatives to Loopback



I wonder if you could send a Shoutcast stream from the target conference and use that as the "perpetual-sound" for the listen-only conference?



>From ${conf_dir}/autoload_configs/conference.conf.xml

      <!-- <param name="perpetual-sound" value="perpetual.wav"/> -->



You could set up Icecast server on the first machine and just listen to localhost/conference-mount-point.



Crazy idea that just might work.



John Boteler

Bote Communications









From: FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> On Behalf Of Support from NetworkedAudio LLC
Sent: Thursday, 24 March, 2022 17:12
To: Brian West <brian at freeswitch.com<mailto:brian at freeswitch.com>>; FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: Re: [Freeswitch-users] Alternatives to Loopback



I want to dial into one conference from another conference.



I followed https://lists.freeswitch.org/pipermail/freeswitch-dev/2011-March/004754.html in which Michael Collins suggested loopback to join two conferences when none of the other suggestions worked.







Depends, what are you trying to do that requires you to use loopback in the first place?



On Thu, Mar 24, 2022 at 11:25 AM Support from NetworkedAudio LLC <support at naud.io<mailto:support at naud.io>> wrote:

I'm trying to avoid using loopback in my dialplan - I'm getting calls which are hard to clear and track.



I'm doing conference dial loopback/99997 where 99997 in the default dialplan joins a second conference.



Has anyone had any success with alternatives to loopback? I want to listen to one conference from another.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com




--



Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com<mailto:brian at freeswitch.com>

Mobile: 918-424-9378<tel:918-424-9378>

Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>

[https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch>



________________________________

From: Brian West <brian at freeswitch.com<mailto:brian at freeswitch.com>>
Sent: Thursday, March 24, 2022 3:16 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: Re: [Freeswitch-users] Alternatives to Loopback



Depends, what are you trying to do that requires you to use loopback in the first place?



On Thu, Mar 24, 2022 at 11:25 AM Support from NetworkedAudio LLC <support at naud.io<mailto:support at naud.io>> wrote:

I'm trying to avoid using loopback in my dialplan - I'm getting calls which are hard to clear and track.



I'm doing conference dial loopback/99997 where 99997 in the default dialplan joins a second conference.



Has anyone had any success with alternatives to loopback? I want to listen to one conference from another.

_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales at freeswitch.com<mailto:sales at freeswitch.com>
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com




--



Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com<mailto:brian at freeswitch.com>

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>

[https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg]<https://www.facebook.com/freeswitch>[https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa]<https://twitter.com/freeswitch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20220326/257042c2/attachment-0001.html>


More information about the FreeSWITCH-users mailing list