From davidswalkabout at gmail.com Wed Sep 1 02:32:42 2021 From: davidswalkabout at gmail.com (David P) Date: Wed, 1 Sep 2021 14:32:42 +1200 Subject: [Freeswitch-users] Why doesn't verto use iceServers when reattaching? Message-ID: Thank you, Mike. I'm looking into another occurrence of the problem now. Here's what happened: 1. Verto caller gets STUN and TURN candidates from our paid provider, and negotiates media with our FS v10.5 2. Just after negotiation for the conference attendees finishes, the FS log shows New connection for session ... dropping previous connection.Then it sends verto.punt, then verto.bye, and the caller's verto logs-in again. 3. We're using the same sessId and callId as for the first attempt, which should be fine I think. But in the offer SDP, there are only private host candidates. Is it expected that verto (or the browser?) would not use our iceServers settings when reattaching? > ---------- Forwarded message ---------- > From: Mike Jerris > To: FreeSWITCH Users Help > Cc: > Bcc: > Date: Sun, 8 Aug 2021 23:28:32 -0500 > Subject: Re: [Freeswitch-users] Can calls be rejected if they are missing > EITHER audio or video USABLE ice candidates? > You have the full sdp in the dial plan you can carve up, its probably the > only way right now without going and writing some c code > > On Jul 25, 2021, at 9:40 PM, David P wrote: > > We're evaluating a paid TURN service, and we've found that sometimes it > provides only a STUN candidate for audio and neither STUN nor TURN for > video. The user's host candidates are all private IPv4. FS 10.5 allows such > a call, but we'd like to reject any call *lacking* usable ICE candidates > for *either* audio or video. > > I see at > https://freeswitch.org/confluence/display/FREESWITCH/Channel+Variables > that there is channel var "variable_remote_media_ip", so if this is empty > for both audio and video, we could set our dialplan to reject the call. But > is this var set independently for audio and video so we can check that both > are present? > > Or is there a better way? > _________________________________________________________________________ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Wed Sep 1 02:36:11 2021 From: davidswalkabout at gmail.com (David P) Date: Wed, 1 Sep 2021 14:36:11 +1200 Subject: [Freeswitch-users] Why doesn't verto use iceServers when reattaching? In-Reply-To: References: Message-ID: Please ignore my question. I misread the log. On Wed, Sep 1, 2021 at 2:32 PM David P wrote: > Thank you, Mike. > >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 1 15:53:22 2021 From: brian at freeswitch.com (Brian West) Date: Wed, 1 Sep 2021 10:53:22 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: I you do sessions from your lua, I need to see how you do that. On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: > Yes, it bridges the inbound call to an outbound one. > > (ProxyOutbound.luac)https://pastebin.com/RDUMy473 > > > On Tue, Aug 31, 2021 at 8:39 PM Brian West wrote: > >> Guessing you create sessions in lua? ProxyOutbound.luac? >> >> On Tue, Aug 31, 2021 at 3:33 PM Brian West wrote: >> >>> and to make sure when you uuid kill one it says it didn't exist but show >>> channels had it still listed correct? >>> >>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>> >>>> Hello, >>>> >>>> We have got the logs for a few calls that were stuck. >>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>> https://pastebin.com/NTnte7J7 >>>> >>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>> https://pastebin.com/sAhFiGjY >>>> >>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>> https://pastebin.com/bmcdjzAr >>>> >>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>> https://pastebin.com/aGyY3m9F >>>> >>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>> https://pastebin.com/0cnQaRhC >>>> >>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>> https://pastebin.com/atX0VXdZ >>>> >>>> Please let us know if there is anything else we can provide that would >>>> be useful. Thank you. >>>> >>>> >>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>> wrote: >>>> >>>>> Check the UUID of the session in question, and extract its logs, and >>>>> let's diagnose it >>>>> >>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse wrote: >>>>> >>>>>> Yes, that is what we are seeing when running uuid_kill. We cannot >>>>>> "replicate" the issue, but it happens multiple times a day for us across >>>>>> our servers. We have looked through logs across multiple systems, >>>>>> taken SIP traces to see if that showed anything. Last we got a Core >>>>>> dump of the running process after the failure. Nothing seems to stand out >>>>>> as the cause. >>>>>> >>>>>> >>>>>> >>>>>> Are there any other debug steps you can think of or what other >>>>>> information to look at? We could capture all traffic on the server, or >>>>>> recompile with special debug flags whatever it is that might help. >>>>>> >>>>>> >>>>>> >>>>>> Steps we have taken: >>>>>> >>>>>> sofia loglevel all 9 >>>>>> >>>>>> sofia global siptrace on >>>>>> >>>>>> fsctl loglevel 7 >>>>>> >>>>>> # Set environment variable >>>>>> TPORT_LOG=1 >>>>>> >>>>>> >>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West >>>>>> wrote: >>>>>> >>>>>>> It's an issue we've been searching for, if you uuid_kill it, and it >>>>>>> says no session, it only means the record was NOT removed from the sqlite >>>>>>> database. >>>>>>> >>>>>>> Nobody can seem to replicate the steps required to get into that >>>>>>> condition, maybe you could look thru the logs and see if you can replicate >>>>>>> what ever happened on that lingering UUID >>>>>>> >>>>>>> /b >>>>>>> >>>>>>> >>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse wrote: >>>>>>> >>>>>>>> We recently started having a problem with our FreeSWITCH servers >>>>>>>> where calls are working well, with about 200 calls operating sometimes for >>>>>>>> a couple of days, and then something happens and all call progress stops. >>>>>>>> Then any new inbound calls that come into the server get stuck in initial >>>>>>>> status, new inbound get stuck at RINGING. This happens until the max >>>>>>>> sessions are hit and of course nothing else works from there. Our thought >>>>>>>> is something is creating a lock and stopping anything else from progressing. >>>>>>>> We are seeing the stuck sessions using "show channels". Doing a >>>>>>>> uuid_kill on the calls seems to make no difference to the output of "show >>>>>>>> channels", but we have noticed in the logs that some events do happen to >>>>>>>> some of the calls. >>>>>>>> We had ran into a similar issue when writing a custom C module and >>>>>>>> made some mistakes with session_rwlock etc. But in this case, all of this >>>>>>>> is using LUA. >>>>>>>> Some general information: >>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>> Modules used: >>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>> >>>>>>>> Most of this is just application playing audio files and or >>>>>>>> creating a new call to bridge to. >>>>>>>> >>>>>>>> Really looking for some help on what debugging we can enable to >>>>>>>> help identify what is getting stuck to identify where a bug might be on our >>>>>>>> usage or possible issue with FreeSWITCH. >>>>>>>> >>>>>>>> We have captured a core dump of the running process when it got >>>>>>>> into the bad state as well, if that is helpful, we can send it in. >>>>>>>> >>>>>>>> Thank you for your help. >>>>>>>> >>>>>>>> _________________________________________________________________________ >>>>>>>> >>>>>>>> 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 >>>>>>>> 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 >>>>>>>> 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 >>>>>>> >>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>> >>>>>>> >>>>>>> Email: brian at freeswitch.com >>>>>>> >>>>>>> Mobile: 918-424-9378 >>>>>>> >>>>>>> Website: https://www.FreeSWITCH.com >>>>>>> >>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>> [image: >>>>>>> https://twitter.com/freeswitch] >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> Brian West | Co-founder and Developer >>>>> >>>>> Need Commercial support? email sales at freeswitch.com >>>>> >>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>> >>>>> >>>>> Email: brian at freeswitch.com >>>>> >>>>> Mobile: 918-424-9378 >>>>> >>>>> Website: https://www.FreeSWITCH.com >>>>> >>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>> [image: >>>>> https://twitter.com/freeswitch] >>>>> >>>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 1 20:00:45 2021 From: brian at freeswitch.com (Brian West) Date: Wed, 1 Sep 2021 15:00:45 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: Can you try to create one where this happens without all this mess? On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: > Here is the LUA code regarding creating sessions and bridging. It is > broken up into 5 sections. > The top part is the common functions, and the 4 sections below are > different call scenarios. > https://pastebin.com/qqGw3tms > > > On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: > >> I you do sessions from your lua, I need to see how you do that. >> >> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >> >>> Yes, it bridges the inbound call to an outbound one. >>> >>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>> >>> >>> On Tue, Aug 31, 2021 at 8:39 PM Brian West wrote: >>> >>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>> >>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>> wrote: >>>> >>>>> and to make sure when you uuid kill one it says it didn't exist but >>>>> show channels had it still listed correct? >>>>> >>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> We have got the logs for a few calls that were stuck. >>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>> https://pastebin.com/NTnte7J7 >>>>>> >>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>> https://pastebin.com/sAhFiGjY >>>>>> >>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>> https://pastebin.com/bmcdjzAr >>>>>> >>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>> https://pastebin.com/aGyY3m9F >>>>>> >>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>> https://pastebin.com/0cnQaRhC >>>>>> >>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>> https://pastebin.com/atX0VXdZ >>>>>> >>>>>> Please let us know if there is anything else we can provide that >>>>>> would be useful. Thank you. >>>>>> >>>>>> >>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>> wrote: >>>>>> >>>>>>> Check the UUID of the session in question, and extract its logs, and >>>>>>> let's diagnose it >>>>>>> >>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse wrote: >>>>>>> >>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>> across our servers. We have looked through logs across multiple >>>>>>>> systems, taken SIP traces to see if that showed anything. Last we >>>>>>>> got a Core dump of the running process after the failure. Nothing seems to >>>>>>>> stand out as the cause. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Are there any other debug steps you can think of or what other >>>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Steps we have taken: >>>>>>>> >>>>>>>> sofia loglevel all 9 >>>>>>>> >>>>>>>> sofia global siptrace on >>>>>>>> >>>>>>>> fsctl loglevel 7 >>>>>>>> >>>>>>>> # Set environment variable >>>>>>>> TPORT_LOG=1 >>>>>>>> >>>>>>>> >>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, and >>>>>>>>> it says no session, it only means the record was NOT removed from the >>>>>>>>> sqlite database. >>>>>>>>> >>>>>>>>> Nobody can seem to replicate the steps required to get into that >>>>>>>>> condition, maybe you could look thru the logs and see if you can replicate >>>>>>>>> what ever happened on that lingering UUID >>>>>>>>> >>>>>>>>> /b >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse wrote: >>>>>>>>> >>>>>>>>>> We recently started having a problem with our FreeSWITCH servers >>>>>>>>>> where calls are working well, with about 200 calls operating sometimes for >>>>>>>>>> a couple of days, and then something happens and all call progress stops. >>>>>>>>>> Then any new inbound calls that come into the server get stuck in initial >>>>>>>>>> status, new inbound get stuck at RINGING. This happens until the max >>>>>>>>>> sessions are hit and of course nothing else works from there. Our thought >>>>>>>>>> is something is creating a lock and stopping anything else from progressing. >>>>>>>>>> We are seeing the stuck sessions using "show channels". Doing a >>>>>>>>>> uuid_kill on the calls seems to make no difference to the output of "show >>>>>>>>>> channels", but we have noticed in the logs that some events do happen to >>>>>>>>>> some of the calls. >>>>>>>>>> We had ran into a similar issue when writing a custom C module >>>>>>>>>> and made some mistakes with session_rwlock etc. But in this case, all of >>>>>>>>>> this is using LUA. >>>>>>>>>> Some general information: >>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>> Modules used: >>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>> >>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>> creating a new call to bridge to. >>>>>>>>>> >>>>>>>>>> Really looking for some help on what debugging we can enable to >>>>>>>>>> help identify what is getting stuck to identify where a bug might be on our >>>>>>>>>> usage or possible issue with FreeSWITCH. >>>>>>>>>> >>>>>>>>>> We have captured a core dump of the running process when it got >>>>>>>>>> into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>> >>>>>>>>>> Thank you for your help. >>>>>>>>>> >>>>>>>>>> _________________________________________________________________________ >>>>>>>>>> >>>>>>>>>> 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 >>>>>>>>>> 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 >>>>>>>>>> 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 >>>>>>>>> >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>> 53045 >>>>>>>>> >>>>>>>>> >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>> [image: >>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Brian West | Co-founder and Developer >>>>>>> >>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>> >>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>> >>>>>>> >>>>>>> Email: brian at freeswitch.com >>>>>>> >>>>>>> Mobile: 918-424-9378 >>>>>>> >>>>>>> Website: https://www.FreeSWITCH.com >>>>>>> >>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>> [image: >>>>>>> https://twitter.com/freeswitch] >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> Brian West | Co-founder and Developer >>>>> >>>>> Need Commercial support? email sales at freeswitch.com >>>>> >>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>> >>>>> >>>>> Email: brian at freeswitch.com >>>>> >>>>> Mobile: 918-424-9378 >>>>> >>>>> Website: https://www.FreeSWITCH.com >>>>> >>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>> [image: >>>>> https://twitter.com/freeswitch] >>>>> >>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From cary at ytel.com Wed Sep 1 19:40:38 2021 From: cary at ytel.com (Cary Shouse) Date: Wed, 1 Sep 2021 19:40:38 +0000 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: Here is the LUA code regarding creating sessions and bridging. It is broken up into 5 sections. The top part is the common functions, and the 4 sections below are different call scenarios. https://pastebin.com/qqGw3tms On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: > I you do sessions from your lua, I need to see how you do that. > > On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: > >> Yes, it bridges the inbound call to an outbound one. >> >> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >> >> >> On Tue, Aug 31, 2021 at 8:39 PM Brian West wrote: >> >>> Guessing you create sessions in lua? ProxyOutbound.luac? >>> >>> On Tue, Aug 31, 2021 at 3:33 PM Brian West wrote: >>> >>>> and to make sure when you uuid kill one it says it didn't exist but >>>> show channels had it still listed correct? >>>> >>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>> >>>>> Hello, >>>>> >>>>> We have got the logs for a few calls that were stuck. >>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>> https://pastebin.com/NTnte7J7 >>>>> >>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>> https://pastebin.com/sAhFiGjY >>>>> >>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>> https://pastebin.com/bmcdjzAr >>>>> >>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>> https://pastebin.com/aGyY3m9F >>>>> >>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>> https://pastebin.com/0cnQaRhC >>>>> >>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>> https://pastebin.com/atX0VXdZ >>>>> >>>>> Please let us know if there is anything else we can provide that would >>>>> be useful. Thank you. >>>>> >>>>> >>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>> wrote: >>>>> >>>>>> Check the UUID of the session in question, and extract its logs, and >>>>>> let's diagnose it >>>>>> >>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse wrote: >>>>>> >>>>>>> Yes, that is what we are seeing when running uuid_kill. We cannot >>>>>>> "replicate" the issue, but it happens multiple times a day for us across >>>>>>> our servers. We have looked through logs across multiple systems, >>>>>>> taken SIP traces to see if that showed anything. Last we got a >>>>>>> Core dump of the running process after the failure. Nothing seems to stand >>>>>>> out as the cause. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Are there any other debug steps you can think of or what other >>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>> >>>>>>> >>>>>>> >>>>>>> Steps we have taken: >>>>>>> >>>>>>> sofia loglevel all 9 >>>>>>> >>>>>>> sofia global siptrace on >>>>>>> >>>>>>> fsctl loglevel 7 >>>>>>> >>>>>>> # Set environment variable >>>>>>> TPORT_LOG=1 >>>>>>> >>>>>>> >>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> It's an issue we've been searching for, if you uuid_kill it, and it >>>>>>>> says no session, it only means the record was NOT removed from the sqlite >>>>>>>> database. >>>>>>>> >>>>>>>> Nobody can seem to replicate the steps required to get into that >>>>>>>> condition, maybe you could look thru the logs and see if you can replicate >>>>>>>> what ever happened on that lingering UUID >>>>>>>> >>>>>>>> /b >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse wrote: >>>>>>>> >>>>>>>>> We recently started having a problem with our FreeSWITCH servers >>>>>>>>> where calls are working well, with about 200 calls operating sometimes for >>>>>>>>> a couple of days, and then something happens and all call progress stops. >>>>>>>>> Then any new inbound calls that come into the server get stuck in initial >>>>>>>>> status, new inbound get stuck at RINGING. This happens until the max >>>>>>>>> sessions are hit and of course nothing else works from there. Our thought >>>>>>>>> is something is creating a lock and stopping anything else from progressing. >>>>>>>>> We are seeing the stuck sessions using "show channels". Doing a >>>>>>>>> uuid_kill on the calls seems to make no difference to the output of "show >>>>>>>>> channels", but we have noticed in the logs that some events do happen to >>>>>>>>> some of the calls. >>>>>>>>> We had ran into a similar issue when writing a custom C module >>>>>>>>> and made some mistakes with session_rwlock etc. But in this case, all of >>>>>>>>> this is using LUA. >>>>>>>>> Some general information: >>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>> Modules used: >>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>> >>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>> creating a new call to bridge to. >>>>>>>>> >>>>>>>>> Really looking for some help on what debugging we can enable to >>>>>>>>> help identify what is getting stuck to identify where a bug might be on our >>>>>>>>> usage or possible issue with FreeSWITCH. >>>>>>>>> >>>>>>>>> We have captured a core dump of the running process when it got >>>>>>>>> into the bad state as well, if that is helpful, we can send it in. >>>>>>>>> >>>>>>>>> Thank you for your help. >>>>>>>>> >>>>>>>>> _________________________________________________________________________ >>>>>>>>> >>>>>>>>> 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 >>>>>>>>> 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 >>>>>>>>> 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 >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >> > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From im2dano at yahoo.com Wed Sep 1 16:10:33 2021 From: im2dano at yahoo.com (Daniel Ohaniuc) Date: Wed, 1 Sep 2021 16:10:33 +0000 (UTC) Subject: mux conference video latency References: <1793971550.899508.1630512633448.ref@mail.yahoo.com> Message-ID: <1793971550.899508.1630512633448@mail.yahoo.com> We notice high media latency for mux conferences with Verto clients, all muxed and displayed on the canvas. It works OK, but the latency makes is very difficult to have a real-time dialogue. This is not load related, even with only 1 caller watching himself on the canvas (the mux conference output), it takes almost 1 second to see a local move being reflected on the screen (e.g. if I raise my hand I can see it happening on the screen after almost 1 second ). This is obviously the roundtrip delay, but after discarding the intrinsic network latency (measured to be about 100 ms roundtrip) there seem to be around 800-900 ms added latency. It seems this is being introduced along the buffering/ transcoding/ muxing pipeline.Any suggestions please about what can be the cause and what we should try to reduce the latency? What sort of latency should we expect, what's your experience, has anyone deployed a video conferencing with acceptable latency for bidirectional, real time conversations? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From cary at ytel.com Wed Sep 1 22:05:35 2021 From: cary at ytel.com (Cary Shouse) Date: Wed, 1 Sep 2021 22:05:35 +0000 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: Here are two originate samples. https://pastebin.com/YKRKrJLu https://pastebin.com/TEX3yfX6 On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: > Can you try to create one where this happens without all this mess? > > On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: > >> Here is the LUA code regarding creating sessions and bridging. It is >> broken up into 5 sections. >> The top part is the common functions, and the 4 sections below are >> different call scenarios. >> https://pastebin.com/qqGw3tms >> >> >> On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: >> >>> I you do sessions from your lua, I need to see how you do that. >>> >>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>> >>>> Yes, it bridges the inbound call to an outbound one. >>>> >>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>> >>>> >>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>> wrote: >>>> >>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>> >>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>> wrote: >>>>> >>>>>> and to make sure when you uuid kill one it says it didn't exist but >>>>>> show channels had it still listed correct? >>>>>> >>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> We have got the logs for a few calls that were stuck. >>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>> https://pastebin.com/NTnte7J7 >>>>>>> >>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>> https://pastebin.com/sAhFiGjY >>>>>>> >>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>> https://pastebin.com/bmcdjzAr >>>>>>> >>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>> https://pastebin.com/aGyY3m9F >>>>>>> >>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>> https://pastebin.com/0cnQaRhC >>>>>>> >>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>> https://pastebin.com/atX0VXdZ >>>>>>> >>>>>>> Please let us know if there is anything else we can provide that >>>>>>> would be useful. Thank you. >>>>>>> >>>>>>> >>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> Check the UUID of the session in question, and extract its logs, >>>>>>>> and let's diagnose it >>>>>>>> >>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse wrote: >>>>>>>> >>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>> across our servers. We have looked through logs across multiple >>>>>>>>> systems, taken SIP traces to see if that showed anything. Last >>>>>>>>> we got a Core dump of the running process after the failure. Nothing seems >>>>>>>>> to stand out as the cause. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Are there any other debug steps you can think of or what other >>>>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Steps we have taken: >>>>>>>>> >>>>>>>>> sofia loglevel all 9 >>>>>>>>> >>>>>>>>> sofia global siptrace on >>>>>>>>> >>>>>>>>> fsctl loglevel 7 >>>>>>>>> >>>>>>>>> # Set environment variable >>>>>>>>> TPORT_LOG=1 >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, and >>>>>>>>>> it says no session, it only means the record was NOT removed from the >>>>>>>>>> sqlite database. >>>>>>>>>> >>>>>>>>>> Nobody can seem to replicate the steps required to get into that >>>>>>>>>> condition, maybe you could look thru the logs and see if you can replicate >>>>>>>>>> what ever happened on that lingering UUID >>>>>>>>>> >>>>>>>>>> /b >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>> progressing. >>>>>>>>>>> We are seeing the stuck sessions using "show channels". Doing a >>>>>>>>>>> uuid_kill on the calls seems to make no difference to the output of "show >>>>>>>>>>> channels", but we have noticed in the logs that some events do happen to >>>>>>>>>>> some of the calls. >>>>>>>>>>> We had ran into a similar issue when writing a custom C module >>>>>>>>>>> and made some mistakes with session_rwlock etc. But in this case, all of >>>>>>>>>>> this is using LUA. >>>>>>>>>>> Some general information: >>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>> Modules used: >>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>> >>>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>>> creating a new call to bridge to. >>>>>>>>>>> >>>>>>>>>>> Really looking for some help on what debugging we can enable to >>>>>>>>>>> help identify what is getting stuck to identify where a bug might be on our >>>>>>>>>>> usage or possible issue with FreeSWITCH. >>>>>>>>>>> >>>>>>>>>>> We have captured a core dump of the running process when it got >>>>>>>>>>> into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>> >>>>>>>>>>> Thank you for your help. >>>>>>>>>>> >>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>> >>>>>>>>>>> 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 >>>>>>>>>>> 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 >>>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>> 53045 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>> >>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>> >>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>> >>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>> [image: >>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Brian West | Co-founder and Developer >>>>> >>>>> Need Commercial support? email sales at freeswitch.com >>>>> >>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>> >>>>> >>>>> Email: brian at freeswitch.com >>>>> >>>>> Mobile: 918-424-9378 >>>>> >>>>> Website: https://www.FreeSWITCH.com >>>>> >>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>> [image: >>>>> https://twitter.com/freeswitch] >>>>> >>>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >> > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Thu Sep 2 19:24:42 2021 From: brian at freeswitch.com (Brian West) Date: Thu, 2 Sep 2021 14:24:42 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: And these exhibit the issue on command? On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: > Here are two originate samples. > > https://pastebin.com/YKRKrJLu > > https://pastebin.com/TEX3yfX6 > > > > On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: > >> Can you try to create one where this happens without all this mess? >> >> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >> >>> Here is the LUA code regarding creating sessions and bridging. It is >>> broken up into 5 sections. >>> The top part is the common functions, and the 4 sections below are >>> different call scenarios. >>> https://pastebin.com/qqGw3tms >>> >>> >>> On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: >>> >>>> I you do sessions from your lua, I need to see how you do that. >>>> >>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>> >>>>> Yes, it bridges the inbound call to an outbound one. >>>>> >>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>> >>>>> >>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>> wrote: >>>>> >>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>> >>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>> wrote: >>>>>> >>>>>>> and to make sure when you uuid kill one it says it didn't exist but >>>>>>> show channels had it still listed correct? >>>>>>> >>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>> >>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>> >>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>> >>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>> >>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>> >>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>> >>>>>>>> Please let us know if there is anything else we can provide that >>>>>>>> would be useful. Thank you. >>>>>>>> >>>>>>>> >>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Check the UUID of the session in question, and extract its logs, >>>>>>>>> and let's diagnose it >>>>>>>>> >>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>> Last we got a Core dump of the running process after the failure. >>>>>>>>>> Nothing seems to stand out as the cause. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Are there any other debug steps you can think of or what other >>>>>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Steps we have taken: >>>>>>>>>> >>>>>>>>>> sofia loglevel all 9 >>>>>>>>>> >>>>>>>>>> sofia global siptrace on >>>>>>>>>> >>>>>>>>>> fsctl loglevel 7 >>>>>>>>>> >>>>>>>>>> # Set environment variable >>>>>>>>>> TPORT_LOG=1 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, and >>>>>>>>>>> it says no session, it only means the record was NOT removed from the >>>>>>>>>>> sqlite database. >>>>>>>>>>> >>>>>>>>>>> Nobody can seem to replicate the steps required to get into that >>>>>>>>>>> condition, maybe you could look thru the logs and see if you can replicate >>>>>>>>>>> what ever happened on that lingering UUID >>>>>>>>>>> >>>>>>>>>>> /b >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>> progressing. >>>>>>>>>>>> We are seeing the stuck sessions using "show channels". Doing >>>>>>>>>>>> a uuid_kill on the calls seems to make no difference to the output of "show >>>>>>>>>>>> channels", but we have noticed in the logs that some events do happen to >>>>>>>>>>>> some of the calls. >>>>>>>>>>>> We had ran into a similar issue when writing a custom C module >>>>>>>>>>>> and made some mistakes with session_rwlock etc. But in this case, all of >>>>>>>>>>>> this is using LUA. >>>>>>>>>>>> Some general information: >>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>> Modules used: >>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>> >>>>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>>>> creating a new call to bridge to. >>>>>>>>>>>> >>>>>>>>>>>> Really looking for some help on what debugging we can enable >>>>>>>>>>>> to help identify what is getting stuck to identify where a bug might be on >>>>>>>>>>>> our usage or possible issue with FreeSWITCH. >>>>>>>>>>>> >>>>>>>>>>>> We have captured a core dump of the running process when it >>>>>>>>>>>> got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>> >>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>> >>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>>>>>>> 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 >>>>>>>>>>>> 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 >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>> 53045 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>> [image: >>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>> >>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>> >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>> 53045 >>>>>>>>> >>>>>>>>> >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>> [image: >>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Brian West | Co-founder and Developer >>>>>>> >>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>> >>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>> >>>>>>> >>>>>>> Email: brian at freeswitch.com >>>>>>> >>>>>>> Mobile: 918-424-9378 >>>>>>> >>>>>>> Website: https://www.FreeSWITCH.com >>>>>>> >>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>> [image: >>>>>>> https://twitter.com/freeswitch] >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Thu Sep 2 21:15:03 2021 From: brian at freeswitch.com (Brian West) Date: Thu, 2 Sep 2021 16:15:03 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: Gotta get it replicated somehow. On Thu, Sep 2, 2021 at 3:40 PM Cary Shouse wrote: > We have not been able to reproduce this in testing. It only happens in our production environment. > Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. > Server Details: > Gentoo-5.10.27 > RAM: 15GB > CPU: 4 > FreeSWITCH-1-.10.6 > Sqlite-3.34.1 > > > On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: > >> And these exhibit the issue on command? >> >> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >> >>> Here are two originate samples. >>> >>> https://pastebin.com/YKRKrJLu >>> >>> https://pastebin.com/TEX3yfX6 >>> >>> >>> >>> On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: >>> >>>> Can you try to create one where this happens without all this mess? >>>> >>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>> >>>>> Here is the LUA code regarding creating sessions and bridging. It is >>>>> broken up into 5 sections. >>>>> The top part is the common functions, and the 4 sections below are >>>>> different call scenarios. >>>>> https://pastebin.com/qqGw3tms >>>>> >>>>> >>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West >>>>> wrote: >>>>> >>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>> >>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>> >>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>> >>>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>>> >>>>>>> >>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> and to make sure when you uuid kill one it says it didn't exist >>>>>>>>> but show channels had it still listed correct? >>>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>> >>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>> >>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>> >>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>> >>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>> >>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>> >>>>>>>>>> Please let us know if there is anything else we can provide that >>>>>>>>>> would be useful. Thank you. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Check the UUID of the session in question, and extract its logs, >>>>>>>>>>> and let's diagnose it >>>>>>>>>>> >>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Are there any other debug steps you can think of or what other >>>>>>>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>> >>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>> >>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>> >>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>> >>>>>>>>>>>> # Set environment variable >>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, >>>>>>>>>>>>> and it says no session, it only means the record was NOT removed from the >>>>>>>>>>>>> sqlite database. >>>>>>>>>>>>> >>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>>> >>>>>>>>>>>>> /b >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>>> progressing. >>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". >>>>>>>>>>>>>> Doing a uuid_kill on the calls seems to make no difference to the output of >>>>>>>>>>>>>> "show channels", but we have noticed in the logs that some events do happen >>>>>>>>>>>>>> to some of the calls. >>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>>>>>> creating a new call to bridge to. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Really looking for some help on what debugging we can enable >>>>>>>>>>>>>> to help identify what is getting stuck to identify where a bug might be on >>>>>>>>>>>>>> our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>> >>>>>>>>>>>>>> We have captured a core dump of the running process when it >>>>>>>>>>>>>> got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>> >>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>> >>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 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 >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>>> 53045 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>> >>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>> >>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>> [image: >>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>> 53045 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>> [image: >>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>> >>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>> >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>> 53045 >>>>>>>>> >>>>>>>>> >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>> [image: >>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From cary at ytel.com Thu Sep 2 20:39:46 2021 From: cary at ytel.com (Cary Shouse) Date: Thu, 2 Sep 2021 20:39:46 +0000 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: We have not been able to reproduce this in testing. It only happens in our production environment. Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. Server Details: Gentoo-5.10.27 RAM: 15GB CPU: 4 FreeSWITCH-1-.10.6 Sqlite-3.34.1 On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: > And these exhibit the issue on command? > > On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: > >> Here are two originate samples. >> >> https://pastebin.com/YKRKrJLu >> >> https://pastebin.com/TEX3yfX6 >> >> >> >> On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: >> >>> Can you try to create one where this happens without all this mess? >>> >>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>> >>>> Here is the LUA code regarding creating sessions and bridging. It is >>>> broken up into 5 sections. >>>> The top part is the common functions, and the 4 sections below are >>>> different call scenarios. >>>> https://pastebin.com/qqGw3tms >>>> >>>> >>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: >>>> >>>>> I you do sessions from your lua, I need to see how you do that. >>>>> >>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>> >>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>> >>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>> >>>>>> >>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>> wrote: >>>>>> >>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>> >>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> and to make sure when you uuid kill one it says it didn't exist but >>>>>>>> show channels had it still listed correct? >>>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>>>> >>>>>>>>> Hello, >>>>>>>>> >>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>> >>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>> >>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>> >>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>> >>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>> >>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>> >>>>>>>>> Please let us know if there is anything else we can provide that >>>>>>>>> would be useful. Thank you. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Check the UUID of the session in question, and extract its logs, >>>>>>>>>> and let's diagnose it >>>>>>>>>> >>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Are there any other debug steps you can think of or what other >>>>>>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Steps we have taken: >>>>>>>>>>> >>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>> >>>>>>>>>>> sofia global siptrace on >>>>>>>>>>> >>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>> >>>>>>>>>>> # Set environment variable >>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, >>>>>>>>>>>> and it says no session, it only means the record was NOT removed from the >>>>>>>>>>>> sqlite database. >>>>>>>>>>>> >>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>> >>>>>>>>>>>> /b >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>> progressing. >>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". Doing >>>>>>>>>>>>> a uuid_kill on the calls seems to make no difference to the output of "show >>>>>>>>>>>>> channels", but we have noticed in the logs that some events do happen to >>>>>>>>>>>>> some of the calls. >>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>> Some general information: >>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>> Modules used: >>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>> >>>>>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>>>>> creating a new call to bridge to. >>>>>>>>>>>>> >>>>>>>>>>>>> Really looking for some help on what debugging we can enable >>>>>>>>>>>>> to help identify what is getting stuck to identify where a bug might be on >>>>>>>>>>>>> our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>> >>>>>>>>>>>>> We have captured a core dump of the running process when it >>>>>>>>>>>>> got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>> >>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>> >>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>> >>>>>>>>>>>>> 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 >>>>>>>>>>>>> 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 >>>>>>>>>>>>> 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 >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>> 53045 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>> >>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>> >>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>> [image: >>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>> >>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>> 53045 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>> >>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>> >>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>> >>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>> [image: >>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Brian West | Co-founder and Developer >>>>>>> >>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>> >>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>> >>>>>>> >>>>>>> Email: brian at freeswitch.com >>>>>>> >>>>>>> Mobile: 918-424-9378 >>>>>>> >>>>>>> Website: https://www.FreeSWITCH.com >>>>>>> >>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>> [image: >>>>>>> https://twitter.com/freeswitch] >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> Brian West | Co-founder and Developer >>>>> >>>>> Need Commercial support? email sales at freeswitch.com >>>>> >>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>> >>>>> >>>>> Email: brian at freeswitch.com >>>>> >>>>> Mobile: 918-424-9378 >>>>> >>>>> Website: https://www.FreeSWITCH.com >>>>> >>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>> [image: >>>>> https://twitter.com/freeswitch] >>>>> >>>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >> > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Fri Sep 3 22:43:50 2021 From: krice at freeswitch.org (Ken Rice) Date: Fri, 3 Sep 2021 17:43:50 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: <56CF1835-9882-480C-8A09-ADF94C5178C6@freeswitch.org> Having massive experience here, you might try replacing your linux distro. (Yes i know some people are going to take this as brushing off the problem or trying to start a distro war. If this starts a distro war I will moderate you and only allow replies are not headed to a flame war.) However, as someone who has ran an extremely large Gentoo based cluster, we had to abandon gentoo due to random crashes, unexplainable bugs that could not be reproduced or explained. If you can not replace the distro I VERY HiGHLY recommend running vanilla libc and other libs without the gentoo portage included patches. (hint the use flag: vanilla) Ken Sent from my iPhone > On Sep 3, 2021, at 14:49, Cary Shouse wrote: > >  > We have not been able to reproduce this in testing. It only happens in our production environment. > Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. > Server Details: > Gentoo-5.10.27 > RAM: 15GB > CPU: 4 > FreeSWITCH-1-.10.6 > Sqlite-3.34.1 > >> On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: >> And these exhibit the issue on command? >> >>> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >>> Here are two originate samples. >>> >>> https://pastebin.com/YKRKrJLu >>> >>> https://pastebin.com/TEX3yfX6 >>> >>> >>> >>>> On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: >>>> Can you try to create one where this happens without all this mess? >>>> >>>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>>> Here is the LUA code regarding creating sessions and bridging. It is broken up into 5 sections. >>>>> The top part is the common functions, and the 4 sections below are different call scenarios. >>>>> https://pastebin.com/qqGw3tms >>>>> >>>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: >>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>> >>>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>> >>>>>>> (ProxyOutbound.luac) >>>>>>> https://pastebin.com/RDUMy473 >>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West wrote: >>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West wrote: >>>>>>>>> and to make sure when you uuid kill one it says it didn't exist but show channels had it still listed correct? >>>>>>>>> >>>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>> >>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>> >>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>> >>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>> >>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>> >>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>> >>>>>>>>>> Please let us know if there is anything else we can provide that would be useful. Thank you. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West wrote: >>>>>>>>>>> Check the UUID of the session in question, and extract its logs, and let's diagnose it >>>>>>>>>>> >>>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse wrote: >>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We cannot "replicate" the issue, but it happens multiple times a day for us across our servers. We have looked through logs across multiple systems, taken SIP traces to see if that showed anything. Last we got a Core dump of the running process after the failure. Nothing seems to stand out as the cause. >>>>>>>>>>>> >>>>>>>>>>>> Are there any other debug steps you can think of or what other information to look at? We could capture all traffic on the server, or recompile with special debug flags whatever it is that might help. >>>>>>>>>>>> >>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>> # Set environment variable >>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West wrote: >>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, and it says no session, it only means the record was NOT removed from the sqlite database. >>>>>>>>>>>>> >>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into that condition, maybe you could look thru the logs and see if you can replicate what ever happened on that lingering UUID >>>>>>>>>>>>> >>>>>>>>>>>>> /b >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse wrote: >>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH servers where calls are working well, with about 200 calls operating sometimes for a couple of days, and then something happens and all call progress stops. Then any new inbound calls that come into the server get stuck in initial status, new inbound get stuck at RINGING. This happens until the max sessions are hit and of course nothing else works from there. Our thought is something is creating a lock and stopping anything else from progressing. >>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". Doing a uuid_kill on the calls seems to make no difference to the output of "show channels", but we have noticed in the logs that some events do happen to some of the calls. >>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C module and made some mistakes with session_rwlock etc. But in this case, all of this is using LUA. >>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Most of this is just application playing audio files and or creating a new call to bridge to. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Really looking for some help on what debugging we can enable to help identify what is getting stuck to identify where a bug might be on our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>> >>>>>>>>>>>>>> We have captured a core dump of the running process when it got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>> >>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 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 >>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> Email: brian at freeswitch.com >>>>>>>> Mobile: 918-424-9378 >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> Email: brian at freeswitch.com >>>>>> Mobile: 918-424-9378 >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> Need Commercial support? email sales at freeswitch.com >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> Email: brian at freeswitch.com >>>> Mobile: 918-424-9378 >>>> Website: https://www.FreeSWITCH.com >>>> >> >> >> -- >> >> Brian West | Co-founder and Developer >> Need Commercial support? email sales at freeswitch.com >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> Email: brian at freeswitch.com >> Mobile: 918-424-9378 >> Website: https://www.FreeSWITCH.com >> > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Sat Sep 4 10:21:09 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sat, 4 Sep 2021 11:21:09 +0100 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: <56CF1835-9882-480C-8A09-ADF94C5178C6@freeswitch.org> References: <56CF1835-9882-480C-8A09-ADF94C5178C6@freeswitch.org> Message-ID: Hello all, Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve been living this issue (about those “stuck channels”, not a frozen FS, that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, Ubuntu, etc. In my experience this became an issue with the rise of VM. Back in the day you would see this every now and then, like months apart (this, or a crashed MySQL database), but wasn’t big enough to be a critical problem. Today day it’s basically an everyday thing if you have enough nodes. On Sat, 4 Sep 2021 at 00:15, Ken Rice wrote: > Having massive experience here, you might try replacing your linux distro. > > (Yes i know some people are going to take this as brushing off the > problem or trying to start a distro war. If this starts a distro war I will > moderate you and only allow replies are not headed to a flame war.) > > However, as someone who has ran an extremely large Gentoo based cluster, > we had to abandon gentoo due to random crashes, unexplainable bugs that > could not be reproduced or explained. > > If you can not replace the distro I VERY HiGHLY recommend running vanilla > libc and other libs without the gentoo portage included patches. (hint the > use flag: vanilla) > > Ken > Sent from my iPhone > > On Sep 3, 2021, at 14:49, Cary Shouse wrote: > >  > > We have not been able to reproduce this in testing. It only happens in our production environment. > Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. > Server Details: > Gentoo-5.10.27 > RAM: 15GB > CPU: 4 > FreeSWITCH-1-.10.6 > Sqlite-3.34.1 > > > On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: > >> And these exhibit the issue on command? >> >> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >> >>> Here are two originate samples. >>> >>> https://pastebin.com/YKRKrJLu >>> >>> https://pastebin.com/TEX3yfX6 >>> >>> >>> >>> On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: >>> >>>> Can you try to create one where this happens without all this mess? >>>> >>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>> >>>>> Here is the LUA code regarding creating sessions and bridging. It is >>>>> broken up into 5 sections. >>>>> The top part is the common functions, and the 4 sections below are >>>>> different call scenarios. >>>>> https://pastebin.com/qqGw3tms >>>>> >>>>> >>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West >>>>> wrote: >>>>> >>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>> >>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>> >>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>> >>>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>>> >>>>>>> >>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> and to make sure when you uuid kill one it says it didn't exist >>>>>>>>> but show channels had it still listed correct? >>>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>> >>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>> >>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>> >>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>> >>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>> >>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>> >>>>>>>>>> Please let us know if there is anything else we can provide that >>>>>>>>>> would be useful. Thank you. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Check the UUID of the session in question, and extract its logs, >>>>>>>>>>> and let's diagnose it >>>>>>>>>>> >>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Are there any other debug steps you can think of or what other >>>>>>>>>>>> information to look at? We could capture all traffic on the server, or >>>>>>>>>>>> recompile with special debug flags whatever it is that might help. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>> >>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>> >>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>> >>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>> >>>>>>>>>>>> # Set environment variable >>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, >>>>>>>>>>>>> and it says no session, it only means the record was NOT removed from the >>>>>>>>>>>>> sqlite database. >>>>>>>>>>>>> >>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>>> >>>>>>>>>>>>> /b >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>>> progressing. >>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". >>>>>>>>>>>>>> Doing a uuid_kill on the calls seems to make no difference to the output of >>>>>>>>>>>>>> "show channels", but we have noticed in the logs that some events do happen >>>>>>>>>>>>>> to some of the calls. >>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>>>>>> creating a new call to bridge to. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Really looking for some help on what debugging we can enable >>>>>>>>>>>>>> to help identify what is getting stuck to identify where a bug might be on >>>>>>>>>>>>>> our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>> >>>>>>>>>>>>>> We have captured a core dump of the running process when it >>>>>>>>>>>>>> got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>> >>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>> >>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> 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 >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>>> 53045 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>> >>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>> >>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>> [image: >>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>> 53045 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>> [image: >>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>> >>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>> >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>> 53045 >>>>>>>>> >>>>>>>>> >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>> [image: >>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Sat Sep 4 16:02:47 2021 From: krice at freeswitch.org (Ken Rice) Date: Sat, 4 Sep 2021 11:02:47 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: “stuck channels” usually arent stuck once you realize things like “show calls” and “show channels” are selects against the coredb. this usually happens on busy systems timing put waiting for db delete’s to run that fail or get skipped. Sent from my iPhone > On Sep 4, 2021, at 05:22, David Villasmil wrote: > >  > Hello all, > > Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve been living this issue (about those “stuck channels”, not a frozen FS, that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, Ubuntu, etc. > > In my experience this became an issue with the rise of VM. Back in the day you would see this every now and then, like months apart (this, or a crashed MySQL database), but wasn’t big enough to be a critical problem. Today day it’s basically an everyday thing if you have enough nodes. > > >> On Sat, 4 Sep 2021 at 00:15, Ken Rice wrote: >> Having massive experience here, you might try replacing your linux distro. >> >> (Yes i know some people are going to take this as brushing off the problem or trying to start a distro war. If this starts a distro war I will moderate you and only allow replies are not headed to a flame war.) >> >> However, as someone who has ran an extremely large Gentoo based cluster, we had to abandon gentoo due to random crashes, unexplainable bugs that could not be reproduced or explained. >> >> If you can not replace the distro I VERY HiGHLY recommend running vanilla libc and other libs without the gentoo portage included patches. (hint the use flag: vanilla) >> >> Ken >> Sent from my iPhone >> >>>> On Sep 3, 2021, at 14:49, Cary Shouse wrote: >>>> >>>  >> >>> We have not been able to reproduce this in testing. It only happens in our production environment. >>> Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. >>> Server Details: >>> Gentoo-5.10.27 >>> RAM: 15GB >>> CPU: 4 >>> FreeSWITCH-1-.10.6 >>> Sqlite-3.34.1 >>> >>>> On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: >>>> And these exhibit the issue on command? >>>> >>>>> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >>>>> Here are two originate samples. >>>>> >>>>> https://pastebin.com/YKRKrJLu >>>>> >>>>> https://pastebin.com/TEX3yfX6 >>>>> >>>>> >>>>> >>>>>> On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: >>>>>> Can you try to create one where this happens without all this mess? >>>>>> >>>>>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>>>>> Here is the LUA code regarding creating sessions and bridging. It is broken up into 5 sections. >>>>>>> The top part is the common functions, and the 4 sections below are different call scenarios. >>>>>>> https://pastebin.com/qqGw3tms >>>>>>> >>>>>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West wrote: >>>>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>>>> >>>>>>>>> (ProxyOutbound.luac) >>>>>>>>> https://pastebin.com/RDUMy473 >>>>>>>>> >>>>>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West wrote: >>>>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>>>> >>>>>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West wrote: >>>>>>>>>>> and to make sure when you uuid kill one it says it didn't exist but show channels had it still listed correct? >>>>>>>>>>> >>>>>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse wrote: >>>>>>>>>>>> Hello, >>>>>>>>>>>> >>>>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>>>> >>>>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>>>> >>>>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>>>> >>>>>>>>>>>> Please let us know if there is anything else we can provide that would be useful. Thank you. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West wrote: >>>>>>>>>>>>> Check the UUID of the session in question, and extract its logs, and let's diagnose it >>>>>>>>>>>>> >>>>>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse wrote: >>>>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We cannot "replicate" the issue, but it happens multiple times a day for us across our servers. We have looked through logs across multiple systems, taken SIP traces to see if that showed anything. Last we got a Core dump of the running process after the failure. Nothing seems to stand out as the cause. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Are there any other debug steps you can think of or what other information to look at? We could capture all traffic on the server, or recompile with special debug flags whatever it is that might help. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>>>> # Set environment variable >>>>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West wrote: >>>>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, and it says no session, it only means the record was NOT removed from the sqlite database. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into that condition, maybe you could look thru the logs and see if you can replicate what ever happened on that lingering UUID >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> /b >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse wrote: >>>>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH servers where calls are working well, with about 200 calls operating sometimes for a couple of days, and then something happens and all call progress stops. Then any new inbound calls that come into the server get stuck in initial status, new inbound get stuck at RINGING. This happens until the max sessions are hit and of course nothing else works from there. Our thought is something is creating a lock and stopping anything else from progressing. >>>>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". Doing a uuid_kill on the calls seems to make no difference to the output of "show channels", but we have noticed in the logs that some events do happen to some of the calls. >>>>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C module and made some mistakes with session_rwlock etc. But in this case, all of this is using LUA. >>>>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Most of this is just application playing audio files and or creating a new call to bridge to. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Really looking for some help on what debugging we can enable to help identify what is getting stuck to identify where a bug might be on our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> We have captured a core dump of the running process when it got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> >>>>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> Email: brian at freeswitch.com >>>>>>>> Mobile: 918-424-9378 >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> Email: brian at freeswitch.com >>>>>> Mobile: 918-424-9378 >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> Need Commercial support? email sales at freeswitch.com >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> Email: brian at freeswitch.com >>>> Mobile: 918-424-9378 >>>> Website: https://www.FreeSWITCH.com >>>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Sat Sep 4 17:30:15 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sat, 4 Sep 2021 18:30:15 +0100 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: That is correct. But we who have worked with FS since around 2002 know this, newer people get all worked up until they’re told this :) It’s a learning thing.. On Sat, 4 Sep 2021 at 17:31, Ken Rice wrote: > “stuck channels” usually arent stuck once you realize things like “show > calls” and “show channels” are selects against the coredb. this usually > happens on busy systems timing put waiting for db delete’s to run that fail > or get skipped. > > Sent from my iPhone > > On Sep 4, 2021, at 05:22, David Villasmil > wrote: > >  > > Hello all, > > Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve > been living this issue (about those “stuck channels”, not a frozen FS, > that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, > Ubuntu, etc. > > In my experience this became an issue with the rise of VM. Back in the day > you would see this every now and then, like months apart (this, or a > crashed MySQL database), but wasn’t big enough to be a critical problem. > Today day it’s basically an everyday thing if you have enough nodes. > > > On Sat, 4 Sep 2021 at 00:15, Ken Rice wrote: > >> Having massive experience here, you might try replacing your linux distro. >> >> (Yes i know some people are going to take this as brushing off the >> problem or trying to start a distro war. If this starts a distro war I will >> moderate you and only allow replies are not headed to a flame war.) >> >> However, as someone who has ran an extremely large Gentoo based cluster, >> we had to abandon gentoo due to random crashes, unexplainable bugs that >> could not be reproduced or explained. >> >> If you can not replace the distro I VERY HiGHLY recommend running vanilla >> libc and other libs without the gentoo portage included patches. (hint the >> use flag: vanilla) >> >> Ken >> Sent from my iPhone >> >> On Sep 3, 2021, at 14:49, Cary Shouse wrote: >> >>  >> >> We have not been able to reproduce this in testing. It only happens in our production environment. >> Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. >> Server Details: >> Gentoo-5.10.27 >> RAM: 15GB >> CPU: 4 >> FreeSWITCH-1-.10.6 >> Sqlite-3.34.1 >> >> >> On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: >> >>> And these exhibit the issue on command? >>> >>> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >>> >>>> Here are two originate samples. >>>> >>>> https://pastebin.com/YKRKrJLu >>>> >>>> https://pastebin.com/TEX3yfX6 >>>> >>>> >>>> >>>> On Wed, Sep 1, 2021 at 8:00 PM Brian West wrote: >>>> >>>>> Can you try to create one where this happens without all this mess? >>>>> >>>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>>> >>>>>> Here is the LUA code regarding creating sessions and bridging. It is >>>>>> broken up into 5 sections. >>>>>> The top part is the common functions, and the 4 sections below are >>>>>> different call scenarios. >>>>>> https://pastebin.com/qqGw3tms >>>>>> >>>>>> >>>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West >>>>>> wrote: >>>>>> >>>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>>> >>>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>>> >>>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>>> >>>>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> and to make sure when you uuid kill one it says it didn't exist >>>>>>>>>> but show channels had it still listed correct? >>>>>>>>>> >>>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Hello, >>>>>>>>>>> >>>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>>> >>>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>>> >>>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>>> >>>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>>> >>>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>>> >>>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>>> >>>>>>>>>>> Please let us know if there is anything else we can provide that >>>>>>>>>>> would be useful. Thank you. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Check the UUID of the session in question, and extract its >>>>>>>>>>>> logs, and let's diagnose it >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Are there any other debug steps you can think of or what >>>>>>>>>>>>> other information to look at? We could capture all traffic on the server, >>>>>>>>>>>>> or recompile with special debug flags whatever it is that might help. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>>> >>>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>>> >>>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>>> >>>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>>> >>>>>>>>>>>>> # Set environment variable >>>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, >>>>>>>>>>>>>> and it says no session, it only means the record was NOT removed from the >>>>>>>>>>>>>> sqlite database. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>>>> >>>>>>>>>>>>>> /b >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>>>> progressing. >>>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". >>>>>>>>>>>>>>> Doing a uuid_kill on the calls seems to make no difference to the output of >>>>>>>>>>>>>>> "show channels", but we have noticed in the logs that some events do happen >>>>>>>>>>>>>>> to some of the calls. >>>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Most of this is just application playing audio files and or >>>>>>>>>>>>>>> creating a new call to bridge to. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Really looking for some help on what debugging we can >>>>>>>>>>>>>>> enable to help identify what is getting stuck to identify where a bug might >>>>>>>>>>>>>>> be on our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> We have captured a core dump of the running process when it >>>>>>>>>>>>>>> got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>> >>>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, >>>>>>>>>>>>>> WI 53045 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>>> >>>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>>> [image: >>>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> >>>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>>> >>>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>> 53045 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>> >>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>> >>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>> [image: >>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>> >>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>> 53045 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>> >>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>> >>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>> >>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>> [image: >>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>> >>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>> >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>> 53045 >>>>>>>>> >>>>>>>>> >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>> [image: >>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Brian West | Co-founder and Developer >>>>>>> >>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>> >>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>> >>>>>>> >>>>>>> Email: brian at freeswitch.com >>>>>>> >>>>>>> Mobile: 918-424-9378 >>>>>>> >>>>>>> Website: https://www.FreeSWITCH.com >>>>>>> >>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>> [image: >>>>>>> https://twitter.com/freeswitch] >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> Brian West | Co-founder and Developer >>>>> >>>>> Need Commercial support? email sales at freeswitch.com >>>>> >>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>> >>>>> >>>>> Email: brian at freeswitch.com >>>>> >>>>> Mobile: 918-424-9378 >>>>> >>>>> Website: https://www.FreeSWITCH.com >>>>> >>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>> [image: >>>>> https://twitter.com/freeswitch] >>>>> >>>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sat Sep 4 20:51:41 2021 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sat, 4 Sep 2021 22:51:41 +0200 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: "son, there was a time when we had to deal with Asterisk's DeadLocks..." On Sat, Sep 4, 2021 at 7:53 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > That is correct. But we who have worked with FS since around 2002 know > this, newer people get all worked up until they’re told this :) > > It’s a learning thing.. > > On Sat, 4 Sep 2021 at 17:31, Ken Rice wrote: > >> “stuck channels” usually arent stuck once you realize things like “show >> calls” and “show channels” are selects against the coredb. this usually >> happens on busy systems timing put waiting for db delete’s to run that fail >> or get skipped. >> >> Sent from my iPhone >> >> On Sep 4, 2021, at 05:22, David Villasmil >> wrote: >> >>  >> >> Hello all, >> >> Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve >> been living this issue (about those “stuck channels”, not a frozen FS, >> that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, >> Ubuntu, etc. >> >> In my experience this became an issue with the rise of VM. Back in the >> day you would see this every now and then, like months apart (this, or a >> crashed MySQL database), but wasn’t big enough to be a critical problem. >> Today day it’s basically an everyday thing if you have enough nodes. >> >> >> On Sat, 4 Sep 2021 at 00:15, Ken Rice wrote: >> >>> Having massive experience here, you might try replacing your linux >>> distro. >>> >>> (Yes i know some people are going to take this as brushing off the >>> problem or trying to start a distro war. If this starts a distro war I will >>> moderate you and only allow replies are not headed to a flame war.) >>> >>> However, as someone who has ran an extremely large Gentoo based cluster, >>> we had to abandon gentoo due to random crashes, unexplainable bugs that >>> could not be reproduced or explained. >>> >>> If you can not replace the distro I VERY HiGHLY recommend running >>> vanilla libc and other libs without the gentoo portage included patches. >>> (hint the use flag: vanilla) >>> >>> Ken >>> Sent from my iPhone >>> >>> On Sep 3, 2021, at 14:49, Cary Shouse wrote: >>> >>>  >>> >>> We have not been able to reproduce this in testing. It only happens in our production environment. >>> Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. >>> Server Details: >>> Gentoo-5.10.27 >>> RAM: 15GB >>> CPU: 4 >>> FreeSWITCH-1-.10.6 >>> Sqlite-3.34.1 >>> >>> >>> On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: >>> >>>> And these exhibit the issue on command? >>>> >>>> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >>>> >>>>> Here are two originate samples. >>>>> >>>>> https://pastebin.com/YKRKrJLu >>>>> >>>>> https://pastebin.com/TEX3yfX6 >>>>> >>>>> >>>>> >>>>> On Wed, Sep 1, 2021 at 8:00 PM Brian West >>>>> wrote: >>>>> >>>>>> Can you try to create one where this happens without all this mess? >>>>>> >>>>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>>>> >>>>>>> Here is the LUA code regarding creating sessions and bridging. It is >>>>>>> broken up into 5 sections. >>>>>>> The top part is the common functions, and the 4 sections below are >>>>>>> different call scenarios. >>>>>>> https://pastebin.com/qqGw3tms >>>>>>> >>>>>>> >>>>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>>>> >>>>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>>>> >>>>>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>>>> >>>>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> and to make sure when you uuid kill one it says it didn't exist >>>>>>>>>>> but show channels had it still listed correct? >>>>>>>>>>> >>>>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hello, >>>>>>>>>>>> >>>>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>>>> >>>>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>>>> >>>>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>>>> >>>>>>>>>>>> Please let us know if there is anything else we can provide >>>>>>>>>>>> that would be useful. Thank you. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West < >>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Check the UUID of the session in question, and extract its >>>>>>>>>>>>> logs, and let's diagnose it >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Are there any other debug steps you can think of or what >>>>>>>>>>>>>> other information to look at? We could capture all traffic on the server, >>>>>>>>>>>>>> or recompile with special debug flags whatever it is that might help. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>>>> >>>>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>>>> >>>>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>>>> >>>>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Set environment variable >>>>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, >>>>>>>>>>>>>>> and it says no session, it only means the record was NOT removed from the >>>>>>>>>>>>>>> sqlite database. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> /b >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>>>>> progressing. >>>>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". >>>>>>>>>>>>>>>> Doing a uuid_kill on the calls seems to make no difference to the output of >>>>>>>>>>>>>>>> "show channels", but we have noticed in the logs that some events do happen >>>>>>>>>>>>>>>> to some of the calls. >>>>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Most of this is just application playing audio files and >>>>>>>>>>>>>>>> or creating a new call to bridge to. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Really looking for some help on what debugging we can >>>>>>>>>>>>>>>> enable to help identify what is getting stuck to identify where a bug might >>>>>>>>>>>>>>>> be on our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> We have captured a core dump of the running process when >>>>>>>>>>>>>>>> it got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, >>>>>>>>>>>>>>> WI 53045 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>>>> [image: >>>>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> >>>>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>>>> >>>>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>>> 53045 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>> >>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>> >>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>> [image: >>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>> 53045 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>> [image: >>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>> >>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>> 53045 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>> >>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>> >>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>> >>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>> [image: >>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Sun Sep 5 17:34:49 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sun, 5 Sep 2021 18:34:49 +0100 Subject: [Freeswitch-users] load mod_voicemail results in "Couldn't register subclass vm::maintenance! " Message-ID: Hello all, It's long been a while since i've used mod_voicemail, and when trying to load it now i'm getting: Couldn't register subclass vm::maintenance! I _can_ load mod_voicemail_ivr, tho. I copied the default config from github. I do not want the users registered on freeswitch. Help is appreciated! Thanks all. David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Sun Sep 5 19:47:31 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sun, 5 Sep 2021 20:47:31 +0100 Subject: [Freeswitch-users] load mod_voicemail results in "Couldn't register subclass vm::maintenance! " In-Reply-To: References: Message-ID: Hello all, Nevermind, loading on startup now. Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Sun, Sep 5, 2021 at 6:34 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello all, > > It's long been a while since i've used mod_voicemail, and when trying to > load it now i'm getting: > > Couldn't register subclass vm::maintenance! > > I _can_ load mod_voicemail_ivr, tho. > I copied the default config from github. > I do not want the users registered on freeswitch. > Help is appreciated! > > Thanks all. > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nneul at mst.edu Tue Sep 7 14:48:16 2021 From: nneul at mst.edu (Nathan Neulinger) Date: Tue, 7 Sep 2021 09:48:16 -0500 Subject: [Freeswitch-users] Any way to specify multiple audio files for hold_music? Message-ID: <71e25b46-9bdd-88de-97e0-1db80fba28fc@mst.edu> I am aware of using the local_stream option, but unfortunately with the content I'm being provided (voice messages, not just music), starting in the middle of a stream just sounds weird -- hence prefer to specify directly. It'd potentially be fine to start randomly at any wav file in a rotated (not shuffled) set, but starting in middle of single file doesn't work. Related question, if specifying hold_music directly to path to wav, is there any way to still retain the 'pick the best sample rate automatically' functionality? Worst case I just splice the wav files as part of the deployment process, but would be nice to allow for individual replacement. -- Nathan ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System Infrastructure Team Manager -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Sep 7 15:27:35 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 10:27:35 -0500 Subject: [Freeswitch-users] Any way to specify multiple audio files for hold_music? In-Reply-To: <71e25b46-9bdd-88de-97e0-1db80fba28fc@mst.edu> References: <71e25b46-9bdd-88de-97e0-1db80fba28fc@mst.edu> Message-ID: Use a local stream with a chime list. On Tue, Sep 7, 2021 at 10:19 AM Nathan Neulinger wrote: > I am aware of using the local_stream option, but unfortunately with the > content I'm being provided (voice messages, not just music), starting in > the middle of a stream just sounds weird -- hence prefer to specify > directly. It'd potentially be fine to start randomly at any wav file in a > rotated (not shuffled) set, but starting in middle of single file doesn't > work. > > Related question, if specifying hold_music directly to path to wav, is > there any way to still retain the 'pick the best sample rate automatically' > functionality? > > > Worst case I just splice the wav files as part of the deployment process, > but would be nice to allow for individual replacement. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulinger nneul at mst.edu > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Architect (573) 612-1412 > System Infrastructure Team Manager > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From nneul at mst.edu Tue Sep 7 15:49:27 2021 From: nneul at mst.edu (Nathan Neulinger) Date: Tue, 7 Sep 2021 10:49:27 -0500 Subject: [Freeswitch-users] Any way to specify multiple audio files for hold_music? In-Reply-To: References: <71e25b46-9bdd-88de-97e0-1db80fba28fc@mst.edu> Message-ID: The chimes are handled per-user and not per-stream? i.e. It's not going to just do the same thing where another call coming in could come in right in the middle of a chime? -- Nathan On 9/7/21 10:27 AM, Brian West wrote: > WARNING: This message has originated from an External Source. This may be a phishing expedition that can result in > unauthorized access to our IT System. Please use proper judgment and caution when opening attachments, clicking links, > or responding to this email. > Use a local stream with a chime list. > > On Tue, Sep 7, 2021 at 10:19 AM Nathan Neulinger > wrote: > > I am aware of using the local_stream option, but unfortunately with the content I'm being provided (voice > messages, not just music), starting in the middle of a stream just sounds weird -- hence prefer to specify > directly. It'd potentially be fine to start randomly at any wav file in a rotated (not shuffled) set, but starting > in middle of single file doesn't work. > > Related question, if specifying hold_music directly to path to wav, is there any way to still retain the 'pick the > best sample rate automatically' functionality? > > > Worst case I just splice the wav files as part of the deployment process, but would be nice to allow for > individual replacement. > > -- Nathan > > ------------------------------------------------------------ > Nathan Neulingernneul at mst.edu > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Architect (573) 612-1412 > System Infrastructure Team Manager > > _________________________________________________________________________ > > 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 > 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 > 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 > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > > https://www.facebook.com/signalwireinc?src=email > > https://twitter.com/freeswitch > > -- ------------------------------------------------------------ Nathan Neulinger nneul at mst.edu Missouri S&T Information Technology (573) 341-6679 System Administrator - Architect (573) 612-1412 System Infrastructure Team Manager -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaun at sysconfig.cloud Tue Sep 7 06:43:09 2021 From: shaun at sysconfig.cloud (Shaun Stokes) Date: Tue, 7 Sep 2021 06:43:09 +0000 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: The following patch fixed an issue for us that we had with stuck calls\channels. https://github.com/signalwire/freeswitch/pull/1256 We also used to get stuck call centre queue calls from time to time until implementing the below patch. ## FS Patch https://freeswitch.org/jira/projects/FS/issues/FS-11938 - mod_callcenter members not removed under certain conditions (calls stuck in queue) # This can be triggered at the point the agent leg ANSWERS and immediately sends NORMAL_CLEARING, the member leg ends shortly after. In all instances this line has been encountered the member leg is ended shortly after the agent leg but remains stuck in the database, we need treat this as an ended call. # Update member state to 'Waiting' is removed, set the correct channel variables to indicate the call was not bridged and end the call. sed -i /usr/src/freeswitch/src/mod/applications/mod_callcenter/mod_callcenter.c -z -e s~'\d115\d113\d108\d32\d61\d32\d115\d119\d105\d116\d99\d104\d95\d109\d112\d114\d105\d110\d116\d102\d40\d34\d85\d80\d68\d65\d84\d69\d32\d109\d101\d109\d98\d101\d114\d115\d32\d83\d69\d84\d32\d115\d116\d97\d116\d101\d32\d61\d32\d39\d87\d97\d105\d116\d105\d110\d103\d39\d32\d87\d72\d69\d82\d69\d32\d117\d117\d105\d100\d32\d61\d32\d39\d37\d113\d39\d32\d65\d78\d68\d32\d105\d110\d115\d116\d97\d110\d99\d101\d95\d105\d100\d32\d61\d32\d39\d37\d113\d39\d34\d44\d32\d104\d45\d62\d109\d101\d109\d98\d101\d114\d95\d117\d117\d105\d100\d44\d32\d103\d108\d111\d98\d97\d108\d115\d46\d99\d99\d95\d105\d110\d115\d116\d97\d110\d99\d101\d95\d105\d100\d41\d59\d10\d9\d9\d9\d99\d99\d95\d101\d120\d101\d99\d117\d116\d101\d95\d115\d113\d108\d40\d78\d85\d76\d76\d44\d32\d115\d113\d108\d44\d32\d78\d85\d76\d76\d41\d59\d10\d9\d9\d9\d115\d119\d105\d116\d99\d104\d95\d115\d97\d102\d101\d95\d102\d114\d101\d101\d40\d115\d113\d108\d41\d59~\d115\d119\d105\d116\d99\d104\d95\d99\d104\d97\d110\d110\d101\d108\d95\d115\d101\d116\d95\d118\d97\d114\d105\d97\d98\d108\d101\d40\d97\d103\d101\d110\d116\d95\d99\d104\d97\d110\d110\d101\d108\d44\d32\d34\d99\d99\d95\d97\d103\d101\d110\d116\d95\d98\d114\d105\d100\d103\d101\d100\d34\d44\d32\d34\d102\d97\d108\d115\d101\d34\d41\d59\d10\d9\d9\d9\d115\d119\d105\d116\d99\d104\d95\d99\d104\d97\d110\d110\d101\d108\d95\d115\d101\d116\d95\d118\d97\d114\d105\d97\d98\d108\d101\d40\d109\d101\d109\d98\d101\d114\d95\d99\d104\d97\d110\d110\d101\d108\d44\d32\d34\d99\d99\d95\d97\d103\d101\d110\d116\d95\d98\d114\d105\d100\d103\d101\d100\d34\d44\d32\d34\d102\d97\d108\d115\d101\d34\d41\d59\d10\d9\d9\d9\d10\d9\d9\d9\d105\d102\d32\d40\d33\d115\d116\d114\d99\d97\d115\d101\d99\d109\d112\d40\d104\d45\d62\d97\d103\d101\d110\d116\d95\d116\d121\d112\d101\d44\d32\d67\d67\d95\d65\d71\d69\d78\d84\d95\d84\d89\d80\d69\d95\d67\d65\d76\d76\d66\d65\d67\d75\d41\d41\d32\d123\d10\d9\d9\d9\d9\d115\d119\d105\d116\d99\d104\d95\d99\d104\d97\d110\d110\d101\d108\d95\d104\d97\d110\d103\d117\d112\d40\d109\d101\d109\d98\d101\d114\d95\d99\d104\d97\d110\d110\d101\d108\d44\d32\d83\d87\d73\d84\d67\d72\d95\d67\d65\d85\d83\d69\d95\d68\d69\d83\d84\d73\d78\d65\d84\d73\d79\d78\d95\d79\d85\d84\d95\d79\d70\d95\d79\d82\d68\d69\d82\d41\d59\d10\d9\d9\d9\d125~' # All legs have ended at this point, this needs to apply to both non-bridged and bridged calls to ensure the correct actions are completed and the member doesn't remain stuck in the database after the call has ended. # If statement is removed and line indentation is corrected. sed -i /usr/src/freeswitch/src/mod/applications/mod_callcenter/mod_callcenter.c -z -e s~'\d125\d10\d9\d9\d105\d102\d32\d40\d98\d114\d105\d100\d103\d101\d100\d41\d32\d123~\d125\d10\d9\d9\d105\d102\d32\d40\d98\d114\d105\d100\d103\d101\d100\d32\d124\d124\d32\d33\d98\d114\d105\d100\d103\d101\d100\d41\d32\d123~' We have experienced more stuck calls\channels when using PostgreSQL for the coredb which we believe may have been a DB timing issue as David and Ken have suggested, using SQLite on a RAM disk is usually sufficient. ________________________________ From: FreeSWITCH-users on behalf of David Villasmil Sent: 04 September 2021 19:30 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] FreeSWITCH Stops Responding That is correct. But we who have worked with FS since around 2002 know this, newer people get all worked up until they’re told this :) It’s a learning thing.. On Sat, 4 Sep 2021 at 17:31, Ken Rice > wrote: “stuck channels” usually arent stuck once you realize things like “show calls” and “show channels” are selects against the coredb. this usually happens on busy systems timing put waiting for db delete’s to run that fail or get skipped. Sent from my iPhone On Sep 4, 2021, at 05:22, David Villasmil > wrote:  Hello all, Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve been living this issue (about those “stuck channels”, not a frozen FS, that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, Ubuntu, etc. In my experience this became an issue with the rise of VM. Back in the day you would see this every now and then, like months apart (this, or a crashed MySQL database), but wasn’t big enough to be a critical problem. Today day it’s basically an everyday thing if you have enough nodes. On Sat, 4 Sep 2021 at 00:15, Ken Rice > wrote: Having massive experience here, you might try replacing your linux distro. (Yes i know some people are going to take this as brushing off the problem or trying to start a distro war. If this starts a distro war I will moderate you and only allow replies are not headed to a flame war.) However, as someone who has ran an extremely large Gentoo based cluster, we had to abandon gentoo due to random crashes, unexplainable bugs that could not be reproduced or explained. If you can not replace the distro I VERY HiGHLY recommend running vanilla libc and other libs without the gentoo portage included patches. (hint the use flag: vanilla) Ken Sent from my iPhone On Sep 3, 2021, at 14:49, Cary Shouse > wrote:  We have not been able to reproduce this in testing. It only happens in our production environment. Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. Server Details: Gentoo-5.10.27 RAM: 15GB CPU: 4 FreeSWITCH-1-.10.6 Sqlite-3.34.1 On Thu, Sep 2, 2021 at 7:24 PM Brian West > wrote: And these exhibit the issue on command? On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse > wrote: Here are two originate samples. https://pastebin.com/YKRKrJLu https://pastebin.com/TEX3yfX6 On Wed, Sep 1, 2021 at 8:00 PM Brian West > wrote: Can you try to create one where this happens without all this mess? On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse > wrote: Here is the LUA code regarding creating sessions and bridging. It is broken up into 5 sections. The top part is the common functions, and the 4 sections below are different call scenarios. https://pastebin.com/qqGw3tms On Wed, Sep 1, 2021 at 3:53 PM Brian West > wrote: I you do sessions from your lua, I need to see how you do that. On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse > wrote: Yes, it bridges the inbound call to an outbound one. (ProxyOutbound.luac) https://pastebin.com/RDUMy473 On Tue, Aug 31, 2021 at 8:39 PM Brian West > wrote: Guessing you create sessions in lua? ProxyOutbound.luac? On Tue, Aug 31, 2021 at 3:33 PM Brian West > wrote: and to make sure when you uuid kill one it says it didn't exist but show channels had it still listed correct? On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse > wrote: Hello, We have got the logs for a few calls that were stuck. (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) https://pastebin.com/NTnte7J7 (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) https://pastebin.com/sAhFiGjY (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) https://pastebin.com/bmcdjzAr (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) https://pastebin.com/aGyY3m9F (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) https://pastebin.com/0cnQaRhC (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) https://pastebin.com/atX0VXdZ Please let us know if there is anything else we can provide that would be useful. Thank you. On Mon, Aug 30, 2021 at 8:20 PM Brian West > wrote: Check the UUID of the session in question, and extract its logs, and let's diagnose it On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse > wrote: Yes, that is what we are seeing when running uuid_kill. We cannot "replicate" the issue, but it happens multiple times a day for us across our servers. We have looked through logs across multiple systems, taken SIP traces to see if that showed anything. Last we got a Core dump of the running process after the failure. Nothing seems to stand out as the cause. Are there any other debug steps you can think of or what other information to look at? We could capture all traffic on the server, or recompile with special debug flags whatever it is that might help. Steps we have taken: sofia loglevel all 9 sofia global siptrace on fsctl loglevel 7 # Set environment variable TPORT_LOG=1 On Sat, Aug 28, 2021 at 12:54 AM Brian West > wrote: It's an issue we've been searching for, if you uuid_kill it, and it says no session, it only means the record was NOT removed from the sqlite database. Nobody can seem to replicate the steps required to get into that condition, maybe you could look thru the logs and see if you can replicate what ever happened on that lingering UUID /b On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse > wrote: We recently started having a problem with our FreeSWITCH servers where calls are working well, with about 200 calls operating sometimes for a couple of days, and then something happens and all call progress stops. Then any new inbound calls that come into the server get stuck in initial status, new inbound get stuck at RINGING. This happens until the max sessions are hit and of course nothing else works from there. Our thought is something is creating a lock and stopping anything else from progressing. We are seeing the stuck sessions using "show channels". Doing a uuid_kill on the calls seems to make no difference to the output of "show channels", but we have noticed in the logs that some events do happen to some of the calls. We had ran into a similar issue when writing a custom C module and made some mistakes with session_rwlock etc. But in this case, all of this is using LUA. Some general information: FreeSWITCH Versions 1.10.6 and 1.10.1 Modules used: LUA, xml_curl(dialplan), event_socket, Most of this is just application playing audio files and or creating a new call to bridge to. Really looking for some help on what debugging we can enable to help identify what is getting stuck to identify where a bug might be on our usage or possible issue with FreeSWITCH. We have captured a core dump of the running process when it got into the bad state as well, if that is helpful, we can send it in. Thank you for your help. _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email] [https://twitter.com/freeswitch] _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.martin at alphalink.fr Tue Sep 7 13:54:25 2021 From: a.martin at alphalink.fr (Adrien Martin) Date: Tue, 7 Sep 2021 15:54:25 +0200 Subject: [Freeswitch-users] Identify and configure inbound equipments Message-ID: <48b1756d-89c7-3785-7494-05ca87cd32bf@alphalink.fr> Hello, I currently have a sofia profile with some inbound acl, and try to differentiate inbound calls with more info than just acl. The goal would be to have different SIP/RTP settings and different dialplan processing for several inbound equipment while only having one IP/port for FreeSWITCH (one profile). The variables variable_sip_received_ip and variable_sip_received_port can be used to handle this with an outbound event_socket program, but copying gateways configuration into another program does not look like a good solution. https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files says gateways can have inbound variables but i do not manage to make the profile use the gateways settings. When the INVITE is received, FreeSWITCH only logs about acl and not about gateways. How to use the inbound variables of the gateways/how to match inbound gateways? Or is there another way to achieve this? From matthew at brightfire.net Tue Sep 7 16:50:50 2021 From: matthew at brightfire.net (Matthew Grooms) Date: Tue, 7 Sep 2021 11:50:50 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? Message-ID: I'm trying to use a commercial AMD license I just acquired for a server and it doesn't work. Both freeswitch and the license server are running but freeswitch complains about not being able to contact the license server when I run amd_info ... root     25644  0.5  0.7 1256492 29580 ?       S amd_info Can't contact licence server. If I kill the freeswitch_licence_server and launch it manually, I get this message instead ... freeswitch at ...> amd_info Unrecognised resource AMD/0 Can't contact licence server. [root at ... mgrooms]# uname -a Linux voip-dev.cn.bf 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [root at ... mgrooms]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) I'm running this host with both both selinux and firewall disabled. I also contacted supprt@ signalwire but no one is responding. Is the product I just purchased still supported? -Matthew From brian at freeswitch.com Tue Sep 7 18:21:18 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 13:21:18 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: Message-ID: Matthew, Have you downloaded the latest binary and done a reactivation? /b On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms wrote: > I'm trying to use a commercial AMD license I just acquired for a server > and it doesn't work. Both freeswitch and the license server are running > but freeswitch complains about not being able to contact the license > server when I run amd_info ... > > root 25644 0.5 0.7 1256492 29580 ? S /usr/local/freeswitch/bin/freeswitch -nc > freeswi+ 25733 0.0 0.0 11056 1060 ? S freeswitch_licence_server > > freeswitch at ...> amd_info > Can't contact licence server. > > If I kill the freeswitch_licence_server and launch it manually, I get > this message instead ... > > freeswitch at ...> amd_info > Unrecognised resource AMD/0 > Can't contact licence server. > > [root at ... mgrooms]# uname -a > Linux voip-dev.cn.bf 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 > 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux > > [root at ... mgrooms]# cat /etc/redhat-release > CentOS Linux release 7.9.2009 (Core) > > I'm running this host with both both selinux and firewall disabled. I > also contacted supprt@ signalwire but no one is responding. Is the > product I just purchased still supported? > > -Matthew > > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Sep 7 18:33:35 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 13:33:35 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: Message-ID: What distro are you on? if you upgrade and start the license server and you see it NOT say it found licenses chances are you need to re-activate your license as they'll be signed with a new key, which took place almost three years ago at this point. /b On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms wrote: > I installed the most recent version of the commercial modules that I could > find. Can you please point me to the location that I should be using? Also, > can you point me at documentation that discusses the reactivation procedure? > > -Matthew > On 9/7/2021 1:21 PM, Brian West wrote: > > Matthew, > > Have you downloaded the latest binary and done a reactivation? > > /b > > > On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms > wrote: > >> I'm trying to use a commercial AMD license I just acquired for a server >> and it doesn't work. Both freeswitch and the license server are running >> but freeswitch complains about not being able to contact the license >> server when I run amd_info ... >> >> root 25644 0.5 0.7 1256492 29580 ? S> /usr/local/freeswitch/bin/freeswitch -nc >> freeswi+ 25733 0.0 0.0 11056 1060 ? S> freeswitch_licence_server >> >> freeswitch at ...> amd_info >> Can't contact licence server. >> >> If I kill the freeswitch_licence_server and launch it manually, I get >> this message instead ... >> >> freeswitch at ...> amd_info >> Unrecognised resource AMD/0 >> Can't contact licence server. >> >> [root at ... mgrooms]# uname -a >> Linux voip-dev.cn.bf 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >> >> [root at ... mgrooms]# cat /etc/redhat-release >> CentOS Linux release 7.9.2009 (Core) >> >> I'm running this host with both both selinux and firewall disabled. I >> also contacted supprt@ signalwire but no one is responding. Is the >> product I just purchased still supported? >> >> -Matthew >> >> >> _________________________________________________________________________ >> >> 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 >> 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 >> 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 > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Sep 7 18:37:26 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 13:37:26 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: Message-ID: Where did you download the binary from? On Tue, Sep 7, 2021 at 1:36 PM Matthew Grooms wrote: > As I mentioned in the orginal email, I'm on ... > > CentOS Linux release 7.9.2009 (Core) > > 3 years ago? The license I'm trying to use was purchased and activated 5 > days ago on Sept 2nd 2021. > > -Matthew > On 9/7/2021 1:33 PM, Brian West wrote: > > What distro are you on? if you upgrade and start the license server and > you see it NOT say it found licenses chances are you need to re-activate > your license as they'll be signed with a new key, which took place almost > three years ago at this point. > > /b > > > On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms > wrote: > >> I installed the most recent version of the commercial modules that I >> could find. Can you please point me to the location that I should be using? >> Also, can you point me at documentation that discusses the reactivation >> procedure? >> >> -Matthew >> On 9/7/2021 1:21 PM, Brian West wrote: >> >> Matthew, >> >> Have you downloaded the latest binary and done a reactivation? >> >> /b >> >> >> On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms >> wrote: >> >>> I'm trying to use a commercial AMD license I just acquired for a server >>> and it doesn't work. Both freeswitch and the license server are running >>> but freeswitch complains about not being able to contact the license >>> server when I run amd_info ... >>> >>> root 25644 0.5 0.7 1256492 29580 ? S>> /usr/local/freeswitch/bin/freeswitch -nc >>> freeswi+ 25733 0.0 0.0 11056 1060 ? S>> freeswitch_licence_server >>> >>> freeswitch at ...> amd_info >>> Can't contact licence server. >>> >>> If I kill the freeswitch_licence_server and launch it manually, I get >>> this message instead ... >>> >>> freeswitch at ...> amd_info >>> Unrecognised resource AMD/0 >>> Can't contact licence server. >>> >>> [root at ... mgrooms]# uname -a >>> Linux voip-dev.cn.bf 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >>> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >>> >>> [root at ... mgrooms]# cat /etc/redhat-release >>> CentOS Linux release 7.9.2009 (Core) >>> >>> I'm running this host with both both selinux and firewall disabled. I >>> also contacted supprt@ signalwire but no one is responding. Is the >>> product I just purchased still supported? >>> >>> -Matthew >>> >>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> 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 >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> >> > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Sep 7 18:42:56 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 13:42:56 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: <13015919-89b7-d5e5-9c23-88330df63df0@brightfire.net> References: <13015919-89b7-d5e5-9c23-88330df63df0@brightfire.net> Message-ID: Yep, those are all wrong. On Tue, Sep 7, 2021 at 1:40 PM Matthew Grooms wrote: > [root at ... ~]# history | grep wget | grep free > 501 wget https://files.freeswitch.org/g729/fs-latest-installer > > [root at ... ~]# ls -la /usr/sbin/freeswitch_licence_server > -rwxr-xr-x 1 root root 780216 Sep 2 18:20 > /usr/sbin/freeswitch_licence_server > > [root at ... ~]# md5sum /usr/sbin/freeswitch_licence_server > ec7df64ed56a68436b5570d3a3ea8164 /usr/sbin/freeswitch_licence_server > > -Matthew > On 9/7/2021 1:37 PM, Brian West wrote: > > Where did you download the binary from? > > > On Tue, Sep 7, 2021 at 1:36 PM Matthew Grooms > wrote: > >> As I mentioned in the orginal email, I'm on ... >> >> CentOS Linux release 7.9.2009 (Core) >> >> 3 years ago? The license I'm trying to use was purchased and activated 5 >> days ago on Sept 2nd 2021. >> >> -Matthew >> On 9/7/2021 1:33 PM, Brian West wrote: >> >> What distro are you on? if you upgrade and start the license server and >> you see it NOT say it found licenses chances are you need to re-activate >> your license as they'll be signed with a new key, which took place almost >> three years ago at this point. >> >> /b >> >> >> On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms >> wrote: >> >>> I installed the most recent version of the commercial modules that I >>> could find. Can you please point me to the location that I should be using? >>> Also, can you point me at documentation that discusses the reactivation >>> procedure? >>> >>> -Matthew >>> On 9/7/2021 1:21 PM, Brian West wrote: >>> >>> Matthew, >>> >>> Have you downloaded the latest binary and done a reactivation? >>> >>> /b >>> >>> >>> On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms >>> wrote: >>> >>>> I'm trying to use a commercial AMD license I just acquired for a server >>>> and it doesn't work. Both freeswitch and the license server are running >>>> but freeswitch complains about not being able to contact the license >>>> server when I run amd_info ... >>>> >>>> root 25644 0.5 0.7 1256492 29580 ? S>>> /usr/local/freeswitch/bin/freeswitch -nc >>>> freeswi+ 25733 0.0 0.0 11056 1060 ? S>>> freeswitch_licence_server >>>> >>>> freeswitch at ...> amd_info >>>> Can't contact licence server. >>>> >>>> If I kill the freeswitch_licence_server and launch it manually, I get >>>> this message instead ... >>>> >>>> freeswitch at ...> amd_info >>>> Unrecognised resource AMD/0 >>>> Can't contact licence server. >>>> >>>> [root at ... mgrooms]# uname -a >>>> Linux voip-dev.cn.bf 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >>>> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >>>> >>>> [root at ... mgrooms]# cat /etc/redhat-release >>>> CentOS Linux release 7.9.2009 (Core) >>>> >>>> I'm running this host with both both selinux and firewall disabled. I >>>> also contacted supprt@ signalwire but no one is responding. Is the >>>> product I just purchased still supported? >>>> >>>> -Matthew >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> 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 >>>> 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 >>>> 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 >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >>> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> >> > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Sep 7 18:43:45 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 13:43:45 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: <13015919-89b7-d5e5-9c23-88330df63df0@brightfire.net> Message-ID: https://files.freeswitch.org/g729/fs-latest-installer Install this please. Those should have dashes in the binary names, I did that when we changed the keys. /b' On Tue, Sep 7, 2021 at 1:42 PM Brian West wrote: > Yep, those are all wrong. > > On Tue, Sep 7, 2021 at 1:40 PM Matthew Grooms > wrote: > >> [root at ... ~]# history | grep wget | grep free >> 501 wget https://files.freeswitch.org/g729/fs-latest-installer >> >> [root at ... ~]# ls -la /usr/sbin/freeswitch_licence_server >> -rwxr-xr-x 1 root root 780216 Sep 2 18:20 >> /usr/sbin/freeswitch_licence_server >> >> [root at ... ~]# md5sum /usr/sbin/freeswitch_licence_server >> ec7df64ed56a68436b5570d3a3ea8164 /usr/sbin/freeswitch_licence_server >> >> -Matthew >> On 9/7/2021 1:37 PM, Brian West wrote: >> >> Where did you download the binary from? >> >> >> On Tue, Sep 7, 2021 at 1:36 PM Matthew Grooms >> wrote: >> >>> As I mentioned in the orginal email, I'm on ... >>> >>> CentOS Linux release 7.9.2009 (Core) >>> >>> 3 years ago? The license I'm trying to use was purchased and activated 5 >>> days ago on Sept 2nd 2021. >>> >>> -Matthew >>> On 9/7/2021 1:33 PM, Brian West wrote: >>> >>> What distro are you on? if you upgrade and start the license server and >>> you see it NOT say it found licenses chances are you need to re-activate >>> your license as they'll be signed with a new key, which took place almost >>> three years ago at this point. >>> >>> /b >>> >>> >>> On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms >>> wrote: >>> >>>> I installed the most recent version of the commercial modules that I >>>> could find. Can you please point me to the location that I should be using? >>>> Also, can you point me at documentation that discusses the reactivation >>>> procedure? >>>> >>>> -Matthew >>>> On 9/7/2021 1:21 PM, Brian West wrote: >>>> >>>> Matthew, >>>> >>>> Have you downloaded the latest binary and done a reactivation? >>>> >>>> /b >>>> >>>> >>>> On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms >>>> wrote: >>>> >>>>> I'm trying to use a commercial AMD license I just acquired for a >>>>> server >>>>> and it doesn't work. Both freeswitch and the license server are >>>>> running >>>>> but freeswitch complains about not being able to contact the license >>>>> server when I run amd_info ... >>>>> >>>>> root 25644 0.5 0.7 1256492 29580 ? S>>>> /usr/local/freeswitch/bin/freeswitch -nc >>>>> freeswi+ 25733 0.0 0.0 11056 1060 ? S>>>> freeswitch_licence_server >>>>> >>>>> freeswitch at ...> amd_info >>>>> Can't contact licence server. >>>>> >>>>> If I kill the freeswitch_licence_server and launch it manually, I get >>>>> this message instead ... >>>>> >>>>> freeswitch at ...> amd_info >>>>> Unrecognised resource AMD/0 >>>>> Can't contact licence server. >>>>> >>>>> [root at ... mgrooms]# uname -a >>>>> Linux voip-dev.cn.bf 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >>>>> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >>>>> >>>>> [root at ... mgrooms]# cat /etc/redhat-release >>>>> CentOS Linux release 7.9.2009 (Core) >>>>> >>>>> I'm running this host with both both selinux and firewall disabled. I >>>>> also contacted supprt@ signalwire but no one is responding. Is the >>>>> product I just purchased still supported? >>>>> >>>>> -Matthew >>>>> >>>>> >>>>> >>>>> _________________________________________________________________________ >>>>> >>>>> 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 >>>>> 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 >>>>> 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 >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> [image: https://www.facebook.com/signalwireinc?src=email] >>> [image: >>> https://twitter.com/freeswitch] >>> >>> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> [image: https://www.facebook.com/signalwireinc?src=email] >> [image: >> https://twitter.com/freeswitch] >> >> > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathan at robotics.net Tue Sep 7 23:46:41 2021 From: nathan at robotics.net (Nathan Stratton) Date: Tue, 7 Sep 2021 19:46:41 -0400 Subject: [Freeswitch-users] One way video for ~2 min, after that works fine for the rest of the call. Message-ID: I hope someone is able to help me with this, I have been pounding my head for a few days. I am using mod callcenter with video. End user call's into a queue and sees waiting video Agents tryit.jssip.net client rings and agent picks up Both endpoints get two-way audio. End user gets video from agent after about 3 - 4 seconds Agent does not get video from until about ~2 minutes passes After that the call will say up forever, I have tried all the settings I know, but it always takes about ~2 min for the call center agent to see the end user. Running FreeSWITCH-mod_sofia/1.10.6-release-18-1ff9d0a60e~64bit ><> nathan stratton -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 8 00:32:21 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 7 Sep 2021 19:32:21 -0500 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: Ya'll are too funny... but I'd love to replicate and fix this issue. On Sat, Sep 4, 2021 at 4:12 PM Giovanni Maruzzelli wrote: > "son, there was a time when we had to deal with Asterisk's DeadLocks..." > > > > On Sat, Sep 4, 2021 at 7:53 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> That is correct. But we who have worked with FS since around 2002 know >> this, newer people get all worked up until they’re told this :) >> >> It’s a learning thing.. >> >> On Sat, 4 Sep 2021 at 17:31, Ken Rice wrote: >> >>> “stuck channels” usually arent stuck once you realize things like “show >>> calls” and “show channels” are selects against the coredb. this usually >>> happens on busy systems timing put waiting for db delete’s to run that fail >>> or get skipped. >>> >>> Sent from my iPhone >>> >>> On Sep 4, 2021, at 05:22, David Villasmil < >>> david.villasmil.work at gmail.com> wrote: >>> >>>  >>> >>> Hello all, >>> >>> Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve >>> been living this issue (about those “stuck channels”, not a frozen FS, >>> that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, >>> Ubuntu, etc. >>> >>> In my experience this became an issue with the rise of VM. Back in the >>> day you would see this every now and then, like months apart (this, or a >>> crashed MySQL database), but wasn’t big enough to be a critical problem. >>> Today day it’s basically an everyday thing if you have enough nodes. >>> >>> >>> On Sat, 4 Sep 2021 at 00:15, Ken Rice wrote: >>> >>>> Having massive experience here, you might try replacing your linux >>>> distro. >>>> >>>> (Yes i know some people are going to take this as brushing off the >>>> problem or trying to start a distro war. If this starts a distro war I will >>>> moderate you and only allow replies are not headed to a flame war.) >>>> >>>> However, as someone who has ran an extremely large Gentoo based >>>> cluster, we had to abandon gentoo due to random crashes, unexplainable bugs >>>> that could not be reproduced or explained. >>>> >>>> If you can not replace the distro I VERY HiGHLY recommend running >>>> vanilla libc and other libs without the gentoo portage included patches. >>>> (hint the use flag: vanilla) >>>> >>>> Ken >>>> Sent from my iPhone >>>> >>>> On Sep 3, 2021, at 14:49, Cary Shouse wrote: >>>> >>>>  >>>> >>>> We have not been able to reproduce this in testing. It only happens in our production environment. >>>> Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. >>>> Server Details: >>>> Gentoo-5.10.27 >>>> RAM: 15GB >>>> CPU: 4 >>>> FreeSWITCH-1-.10.6 >>>> Sqlite-3.34.1 >>>> >>>> >>>> On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: >>>> >>>>> And these exhibit the issue on command? >>>>> >>>>> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >>>>> >>>>>> Here are two originate samples. >>>>>> >>>>>> https://pastebin.com/YKRKrJLu >>>>>> >>>>>> https://pastebin.com/TEX3yfX6 >>>>>> >>>>>> >>>>>> >>>>>> On Wed, Sep 1, 2021 at 8:00 PM Brian West >>>>>> wrote: >>>>>> >>>>>>> Can you try to create one where this happens without all this mess? >>>>>>> >>>>>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>>>>> >>>>>>>> Here is the LUA code regarding creating sessions and bridging. It >>>>>>>> is broken up into 5 sections. >>>>>>>> The top part is the common functions, and the 4 sections below are >>>>>>>> different call scenarios. >>>>>>>> https://pastebin.com/qqGw3tms >>>>>>>> >>>>>>>> >>>>>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West >>>>>>>> wrote: >>>>>>>> >>>>>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>>>>> >>>>>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>>>>> >>>>>>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>>>>> >>>>>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> and to make sure when you uuid kill one it says it didn't exist >>>>>>>>>>>> but show channels had it still listed correct? >>>>>>>>>>>> >>>>>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse >>>>>>>>>>>> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hello, >>>>>>>>>>>>> >>>>>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>>>>> >>>>>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>>>>> >>>>>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>>>>> >>>>>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>>>>> >>>>>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>>>>> >>>>>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>>>>> >>>>>>>>>>>>> Please let us know if there is anything else we can provide >>>>>>>>>>>>> that would be useful. Thank you. >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West < >>>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Check the UUID of the session in question, and extract its >>>>>>>>>>>>>> logs, and let's diagnose it >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Are there any other debug steps you can think of or what >>>>>>>>>>>>>>> other information to look at? We could capture all traffic on the server, >>>>>>>>>>>>>>> or recompile with special debug flags whatever it is that might help. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> # Set environment variable >>>>>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill >>>>>>>>>>>>>>>> it, and it says no session, it only means the record was NOT removed from >>>>>>>>>>>>>>>> the sqlite database. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> /b >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>>>>>> progressing. >>>>>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". >>>>>>>>>>>>>>>>> Doing a uuid_kill on the calls seems to make no difference to the output of >>>>>>>>>>>>>>>>> "show channels", but we have noticed in the logs that some events do happen >>>>>>>>>>>>>>>>> to some of the calls. >>>>>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Most of this is just application playing audio files and >>>>>>>>>>>>>>>>> or creating a new call to bridge to. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Really looking for some help on what debugging we can >>>>>>>>>>>>>>>>> enable to help identify what is getting stuck to identify where a bug might >>>>>>>>>>>>>>>>> be on our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> We have captured a core dump of the running process when >>>>>>>>>>>>>>>>> it got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, >>>>>>>>>>>>>>>> WI 53045 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>>>>> [image: >>>>>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> >>>>>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>>>>> >>>>>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, >>>>>>>>>>>>>> WI 53045 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>>> >>>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>>> [image: >>>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> >>>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>>> >>>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>>> >>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>> 53045 >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>> >>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>> >>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>> [image: >>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>> 53045 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>> [image: >>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>> >>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>> >>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>> 53045 >>>>>>>>> >>>>>>>>> >>>>>>>>> Email: brian at freeswitch.com >>>>>>>>> >>>>>>>>> Mobile: 918-424-9378 >>>>>>>>> >>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>> >>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>> [image: >>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> Brian West | Co-founder and Developer >>>>>>> >>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>> >>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>> >>>>>>> >>>>>>> Email: brian at freeswitch.com >>>>>>> >>>>>>> Mobile: 918-424-9378 >>>>>>> >>>>>>> Website: https://www.FreeSWITCH.com >>>>>>> >>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>> [image: >>>>>>> https://twitter.com/freeswitch] >>>>>>> >>>>>> >>>>> >>>>> -- >>>>> >>>>> Brian West | Co-founder and Developer >>>>> >>>>> Need Commercial support? email sales at freeswitch.com >>>>> >>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>> >>>>> >>>>> Email: brian at freeswitch.com >>>>> >>>>> Mobile: 918-424-9378 >>>>> >>>>> Website: https://www.FreeSWITCH.com >>>>> >>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>> [image: >>>>> https://twitter.com/freeswitch] >>>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> 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 >>>> 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 >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> 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 >>>> 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 >>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>>> UNSUBSCRIBE: >>>> http://lists.freeswitch.org/mailman/options/freeswitch-users >>>> https://freeswitch.com >>> >>> -- >>> Regards, >>> >>> David Villasmil >>> email: david.villasmil.work at gmail.com >>> phone: +34669448337 >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From im2dano at yahoo.com Tue Sep 7 19:33:45 2021 From: im2dano at yahoo.com (DanO) Date: Tue, 7 Sep 2021 19:33:45 +0000 (UTC) Subject: mux conference video latency In-Reply-To: <1793971550.899508.1630512633448@mail.yahoo.com> References: <1793971550.899508.1630512633448.ref@mail.yahoo.com> <1793971550.899508.1630512633448@mail.yahoo.com> Message-ID: <1469403338.1731460.1631043225731@mail.yahoo.com> Forgot to add that there's no TURN relaying involved. Basically I'm  trying to understand if Freeswitch can be used for real time video conversation (Zoom like).  Has anyone else built such a solution based on Freeswitch or I should give up look for something else. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew at brightfire.net Tue Sep 7 18:40:41 2021 From: matthew at brightfire.net (Matthew Grooms) Date: Tue, 7 Sep 2021 13:40:41 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: Message-ID: <13015919-89b7-d5e5-9c23-88330df63df0@brightfire.net> [root at ... ~]# history | grep wget | grep free   501  wget https://files.freeswitch.org/g729/fs-latest-installer [root at ... ~]# ls -la /usr/sbin/freeswitch_licence_server -rwxr-xr-x 1 root root 780216 Sep  2 18:20 /usr/sbin/freeswitch_licence_server [root at ... ~]# md5sum /usr/sbin/freeswitch_licence_server ec7df64ed56a68436b5570d3a3ea8164 /usr/sbin/freeswitch_licence_server -Matthew On 9/7/2021 1:37 PM, Brian West wrote: > Where did you download the binary from? > > > On Tue, Sep 7, 2021 at 1:36 PM Matthew Grooms > wrote: > > As I mentioned in the orginal email, I'm on ... > > CentOS Linux release 7.9.2009 (Core) > > 3 years ago? The license I'm trying to use was purchased and > activated 5 days ago on Sept 2nd 2021. > > -Matthew > > On 9/7/2021 1:33 PM, Brian West wrote: >> What distro are you on? if you upgrade and start the license >> server and you see it NOT say it found licenses chances are you >> need to re-activate your license as they'll be signed with a new >> key, which took place almost three years ago at this point. >> >> /b >> >> >> On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms >> > wrote: >> >> I installed the most recent version of the commercial modules >> that I could find. Can you please point me to the location >> that I should be using? Also, can you point me at >> documentation that discusses the reactivation procedure? >> >> -Matthew >> >> On 9/7/2021 1:21 PM, Brian West wrote: >>> Matthew, >>> >>> Have you downloaded the latest binary and done a reactivation? >>> >>> /b >>> >>> >>> On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms >>> > wrote: >>> >>> I'm trying to use a commercial AMD license I just >>> acquired for a server >>> and it doesn't work. Both freeswitch and the license >>> server are running >>> but freeswitch complains about not being able to contact >>> the license >>> server when I run amd_info ... >>> >>> root     25644  0.5  0.7 1256492 29580 ? S>> /usr/local/freeswitch/bin/freeswitch -nc >>> freeswi+ 25733  0.0  0.0  11056  1060 ? S>> freeswitch_licence_server >>> >>> freeswitch at ...> amd_info >>> Can't contact licence server. >>> >>> If I kill the freeswitch_licence_server and launch it >>> manually, I get >>> this message instead ... >>> >>> freeswitch at ...> amd_info >>> Unrecognised resource AMD/0 >>> Can't contact licence server. >>> >>> [root at ... mgrooms]# uname -a >>> Linux voip-dev.cn.bf >>> 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >>> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >>> >>> [root at ... mgrooms]# cat /etc/redhat-release >>> CentOS Linux release 7.9.2009 (Core) >>> >>> I'm running this host with both both selinux and >>> firewall disabled. I >>> also contacted supprt@ signalwire but no one is >>> responding. Is the >>> product I just purchased still supported? >>> >>> -Matthew >>> >>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> >>> 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 >>> >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, >>> WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> >>> https://www.facebook.com/signalwireinc?src=email >>> >>> https://twitter.com/freeswitch >>> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >> 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> https://www.facebook.com/signalwireinc?src=email >> >> https://twitter.com/freeswitch >> > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > https://www.facebook.com/signalwireinc?src=email > https://twitter.com/freeswitch > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew at brightfire.net Tue Sep 7 18:29:45 2021 From: matthew at brightfire.net (Matthew Grooms) Date: Tue, 7 Sep 2021 13:29:45 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: Message-ID: I installed the most recent version of the commercial modules that I could find. Can you please point me to the location that I should be using? Also, can you point me at documentation that discusses the reactivation procedure? -Matthew On 9/7/2021 1:21 PM, Brian West wrote: > Matthew, > > Have you downloaded the latest binary and done a reactivation? > > /b > > > On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms > wrote: > > I'm trying to use a commercial AMD license I just acquired for a > server > and it doesn't work. Both freeswitch and the license server are > running > but freeswitch complains about not being able to contact the license > server when I run amd_info ... > > root     25644  0.5  0.7 1256492 29580 ?       S /usr/local/freeswitch/bin/freeswitch -nc > freeswi+ 25733  0.0  0.0  11056  1060 ?        S freeswitch_licence_server > > freeswitch at ...> amd_info > Can't contact licence server. > > If I kill the freeswitch_licence_server and launch it manually, I get > this message instead ... > > freeswitch at ...> amd_info > Unrecognised resource AMD/0 > Can't contact licence server. > > [root at ... mgrooms]# uname -a > Linux voip-dev.cn.bf > 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 > 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux > > [root at ... mgrooms]# cat /etc/redhat-release > CentOS Linux release 7.9.2009 (Core) > > I'm running this host with both both selinux and firewall disabled. I > also contacted supprt@ signalwire but no one is responding. Is the > product I just purchased still supported? > > -Matthew > > > _________________________________________________________________________ > > 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 > 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 > > 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 > > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > https://www.facebook.com/signalwireinc?src=email > https://twitter.com/freeswitch > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew at brightfire.net Tue Sep 7 18:36:46 2021 From: matthew at brightfire.net (Matthew Grooms) Date: Tue, 7 Sep 2021 13:36:46 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: Message-ID: As I mentioned in the orginal email, I'm on ... CentOS Linux release 7.9.2009 (Core) 3 years ago? The license I'm trying to use was purchased and activated 5 days ago on Sept 2nd 2021. -Matthew On 9/7/2021 1:33 PM, Brian West wrote: > What distro are you on? if you upgrade and start the license server > and you see it NOT say it found licenses chances are you need to > re-activate your license as they'll be signed with a new key, which > took place almost three years ago at this point. > > /b > > > On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms > wrote: > > I installed the most recent version of the commercial modules that > I could find. Can you please point me to the location that I > should be using? Also, can you point me at documentation that > discusses the reactivation procedure? > > -Matthew > > On 9/7/2021 1:21 PM, Brian West wrote: >> Matthew, >> >> Have you downloaded the latest binary and done a reactivation? >> >> /b >> >> >> On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms >> > wrote: >> >> I'm trying to use a commercial AMD license I just acquired >> for a server >> and it doesn't work. Both freeswitch and the license server >> are running >> but freeswitch complains about not being able to contact the >> license >> server when I run amd_info ... >> >> root     25644  0.5  0.7 1256492 29580 ?       S> /usr/local/freeswitch/bin/freeswitch -nc >> freeswi+ 25733  0.0  0.0  11056  1060 ?        S> freeswitch_licence_server >> >> freeswitch at ...> amd_info >> Can't contact licence server. >> >> If I kill the freeswitch_licence_server and launch it >> manually, I get >> this message instead ... >> >> freeswitch at ...> amd_info >> Unrecognised resource AMD/0 >> Can't contact licence server. >> >> [root at ... mgrooms]# uname -a >> Linux voip-dev.cn.bf >> 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >> >> [root at ... mgrooms]# cat /etc/redhat-release >> CentOS Linux release 7.9.2009 (Core) >> >> I'm running this host with both both selinux and firewall >> disabled. I >> also contacted supprt@ signalwire but no one is responding. >> Is the >> product I just purchased still supported? >> >> -Matthew >> >> >> _________________________________________________________________________ >> >> 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 >> 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 >> >> 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 >> >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >> 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> https://www.facebook.com/signalwireinc?src=email >> >> https://twitter.com/freeswitch >> > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > https://www.facebook.com/signalwireinc?src=email > https://twitter.com/freeswitch > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew at brightfire.net Tue Sep 7 18:58:26 2021 From: matthew at brightfire.net (Matthew Grooms) Date: Tue, 7 Sep 2021 13:58:26 -0500 Subject: [Freeswitch-users] freeswitch_licence_server broken? In-Reply-To: References: <13015919-89b7-d5e5-9c23-88330df63df0@brightfire.net> Message-ID: Interesting. That's the same URL as I had in the history output I pasted into my previous email ... [root at ... ~]# history | grep wget | grep free   501  wget https://files.freeswitch.org/g729/fs-latest-installer It's possible that the underscore version was copied in from an older freeswitch commercial binary. Doesn't explain why freeswitch was starting the old copy vs the new copy with dashes in it's name. In any case, my AMD license count appears correct now ... freeswitch at ...> amd_info AMD license available => 4 AMD license allocated => 0 Feel free to close case #00020604 that I was never contacted about. Thanks, -Matthew On 9/7/2021 1:43 PM, Brian West wrote: > https://files.freeswitch.org/g729/fs-latest-installer > > > Install this please.  Those should have dashes in the binary names, I > did that when we changed the keys. > > /b' > > On Tue, Sep 7, 2021 at 1:42 PM Brian West > wrote: > > Yep, those are all wrong. > > On Tue, Sep 7, 2021 at 1:40 PM Matthew Grooms > > wrote: > > [root at ... ~]# history | grep wget | grep free >   501  wget > https://files.freeswitch.org/g729/fs-latest-installer > > > [root at ... ~]# ls -la /usr/sbin/freeswitch_licence_server > -rwxr-xr-x 1 root root 780216 Sep  2 18:20 > /usr/sbin/freeswitch_licence_server > > [root at ... ~]# md5sum /usr/sbin/freeswitch_licence_server > ec7df64ed56a68436b5570d3a3ea8164 > /usr/sbin/freeswitch_licence_server > > -Matthew > > On 9/7/2021 1:37 PM, Brian West wrote: >> Where did you download the binary from? >> >> >> On Tue, Sep 7, 2021 at 1:36 PM Matthew Grooms >> > wrote: >> >> As I mentioned in the orginal email, I'm on ... >> >> CentOS Linux release 7.9.2009 (Core) >> >> 3 years ago? The license I'm trying to use was purchased >> and activated 5 days ago on Sept 2nd 2021. >> >> -Matthew >> >> On 9/7/2021 1:33 PM, Brian West wrote: >>> What distro are you on? if you upgrade and start the >>> license server and you see it NOT say it found licenses >>> chances are you need to re-activate your license as >>> they'll be signed with a new key, which took >>> place almost three years ago at this point. >>> >>> /b >>> >>> >>> On Tue, Sep 7, 2021 at 1:29 PM Matthew Grooms >>> > >>> wrote: >>> >>> I installed the most recent version of the >>> commercial modules that I could find. Can you please >>> point me to the location that I should be using? >>> Also, can you point me at documentation that >>> discusses the reactivation procedure? >>> >>> -Matthew >>> >>> On 9/7/2021 1:21 PM, Brian West wrote: >>>> Matthew, >>>> >>>> Have you downloaded the latest binary and done a >>>> reactivation? >>>> >>>> /b >>>> >>>> >>>> On Tue, Sep 7, 2021 at 1:13 PM Matthew Grooms >>>> >>> > wrote: >>>> >>>> I'm trying to use a commercial AMD license I >>>> just acquired for a server >>>> and it doesn't work. Both freeswitch and the >>>> license server are running >>>> but freeswitch complains about not being able >>>> to contact the license >>>> server when I run amd_info ... >>>> >>>> root     25644  0.5  0.7 1256492 29580 ?       >>>> S>>> /usr/local/freeswitch/bin/freeswitch -nc >>>> freeswi+ 25733  0.0  0.0  11056 1060 ?        >>>> S>>> freeswitch_licence_server >>>> >>>> freeswitch at ...> amd_info >>>> Can't contact licence server. >>>> >>>> If I kill the freeswitch_licence_server and >>>> launch it manually, I get >>>> this message instead ... >>>> >>>> freeswitch at ...> amd_info >>>> Unrecognised resource AMD/0 >>>> Can't contact licence server. >>>> >>>> [root at ... mgrooms]# uname -a >>>> Linux voip-dev.cn.bf >>>> 3.10.0-1160.36.2.el7.x86_64 #1 SMP Wed Jul 21 >>>> 11:57:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux >>>> >>>> [root at ... mgrooms]# cat /etc/redhat-release >>>> CentOS Linux release 7.9.2009 (Core) >>>> >>>> I'm running this host with both both selinux >>>> and firewall disabled. I >>>> also contacted supprt@ signalwire but no one is >>>> responding. Is the >>>> product I just purchased still supported? >>>> >>>> -Matthew >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> 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 >>>> 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 >>>> >>>> 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 >>>> >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 >>>> Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> >>>> https://www.facebook.com/signalwireinc?src=email >>>> >>>> https://twitter.com/freeswitch >>>> >>>> >>> >>> >>> -- >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 >>> Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> >>> https://www.facebook.com/signalwireinc?src=email >>> >>> https://twitter.com/freeswitch >>> >>> >> >> >> -- >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >> 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> https://www.facebook.com/signalwireinc?src=email >> >> https://twitter.com/freeswitch >> > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI > 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > https://www.facebook.com/signalwireinc?src=email > > https://twitter.com/freeswitch > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > https://www.facebook.com/signalwireinc?src=email > https://twitter.com/freeswitch > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cary at ytel.com Thu Sep 9 01:37:55 2021 From: cary at ytel.com (Cary Shouse) Date: Thu, 9 Sep 2021 01:37:55 +0000 Subject: [Freeswitch-users] FreeSWITCH Stops Responding In-Reply-To: References: Message-ID: We have set up a Debian 10 FreeSWITCH-1.10.6 server for testing/debugging. On Sat, Sep 4, 2021 at 5:51 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > That is correct. But we who have worked with FS since around 2002 know > this, newer people get all worked up until they’re told this :) > > It’s a learning thing.. > > On Sat, 4 Sep 2021 at 17:31, Ken Rice wrote: > >> “stuck channels” usually arent stuck once you realize things like “show >> calls” and “show channels” are selects against the coredb. this usually >> happens on busy systems timing put waiting for db delete’s to run that fail >> or get skipped. >> >> Sent from my iPhone >> >> On Sep 4, 2021, at 05:22, David Villasmil >> wrote: >> >>  >> >> Hello all, >> >> Interesting point about Gentoo, but I highly doubt it’s OS related. I’ve >> been living this issue (about those “stuck channels”, not a frozen FS, >> that’s indeed weird) for year and years. I’ve seen in on CentOS, Debian, >> Ubuntu, etc. >> >> In my experience this became an issue with the rise of VM. Back in the >> day you would see this every now and then, like months apart (this, or a >> crashed MySQL database), but wasn’t big enough to be a critical problem. >> Today day it’s basically an everyday thing if you have enough nodes. >> >> >> On Sat, 4 Sep 2021 at 00:15, Ken Rice wrote: >> >>> Having massive experience here, you might try replacing your linux >>> distro. >>> >>> (Yes i know some people are going to take this as brushing off the >>> problem or trying to start a distro war. If this starts a distro war I will >>> moderate you and only allow replies are not headed to a flame war.) >>> >>> However, as someone who has ran an extremely large Gentoo based cluster, >>> we had to abandon gentoo due to random crashes, unexplainable bugs that >>> could not be reproduced or explained. >>> >>> If you can not replace the distro I VERY HiGHLY recommend running >>> vanilla libc and other libs without the gentoo portage included patches. >>> (hint the use flag: vanilla) >>> >>> Ken >>> Sent from my iPhone >>> >>> On Sep 3, 2021, at 14:49, Cary Shouse wrote: >>> >>>  >>> >>> We have not been able to reproduce this in testing. It only happens in our production environment. >>> Are there any other debug options that could be enabled, or is there any code in FreeSWITCH that you think may be causing this that we could look into. We could get you access to a server if that would help. >>> Server Details: >>> Gentoo-5.10.27 >>> RAM: 15GB >>> CPU: 4 >>> FreeSWITCH-1-.10.6 >>> Sqlite-3.34.1 >>> >>> >>> On Thu, Sep 2, 2021 at 7:24 PM Brian West wrote: >>> >>>> And these exhibit the issue on command? >>>> >>>> On Wed, Sep 1, 2021 at 5:06 PM Cary Shouse wrote: >>>> >>>>> Here are two originate samples. >>>>> >>>>> https://pastebin.com/YKRKrJLu >>>>> >>>>> https://pastebin.com/TEX3yfX6 >>>>> >>>>> >>>>> >>>>> On Wed, Sep 1, 2021 at 8:00 PM Brian West >>>>> wrote: >>>>> >>>>>> Can you try to create one where this happens without all this mess? >>>>>> >>>>>> On Wed, Sep 1, 2021 at 2:41 PM Cary Shouse wrote: >>>>>> >>>>>>> Here is the LUA code regarding creating sessions and bridging. It is >>>>>>> broken up into 5 sections. >>>>>>> The top part is the common functions, and the 4 sections below are >>>>>>> different call scenarios. >>>>>>> https://pastebin.com/qqGw3tms >>>>>>> >>>>>>> >>>>>>> On Wed, Sep 1, 2021 at 3:53 PM Brian West >>>>>>> wrote: >>>>>>> >>>>>>>> I you do sessions from your lua, I need to see how you do that. >>>>>>>> >>>>>>>> On Tue, Aug 31, 2021 at 4:20 PM Cary Shouse wrote: >>>>>>>> >>>>>>>>> Yes, it bridges the inbound call to an outbound one. >>>>>>>>> >>>>>>>>> (ProxyOutbound.luac)https://pastebin.com/RDUMy473 >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Aug 31, 2021 at 8:39 PM Brian West >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Guessing you create sessions in lua? ProxyOutbound.luac? >>>>>>>>>> >>>>>>>>>> On Tue, Aug 31, 2021 at 3:33 PM Brian West >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> and to make sure when you uuid kill one it says it didn't exist >>>>>>>>>>> but show channels had it still listed correct? >>>>>>>>>>> >>>>>>>>>>> On Tue, Aug 31, 2021 at 2:58 PM Cary Shouse >>>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hello, >>>>>>>>>>>> >>>>>>>>>>>> We have got the logs for a few calls that were stuck. >>>>>>>>>>>> (Show channels fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>> https://pastebin.com/NTnte7J7 >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs fe8f206c-2bd9-4af2-b329-35f53228a38a) >>>>>>>>>>>> https://pastebin.com/sAhFiGjY >>>>>>>>>>>> >>>>>>>>>>>> (Show channels 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>> https://pastebin.com/bmcdjzAr >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs 46c6e04b-a58e-4b82-9968-fb0e9c2c0fb3) >>>>>>>>>>>> https://pastebin.com/aGyY3m9F >>>>>>>>>>>> >>>>>>>>>>>> (Show channels 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>> https://pastebin.com/0cnQaRhC >>>>>>>>>>>> >>>>>>>>>>>> (Extracted from logs 624cac90-0a7b-11ec-b7d0-6f543a588268) >>>>>>>>>>>> https://pastebin.com/atX0VXdZ >>>>>>>>>>>> >>>>>>>>>>>> Please let us know if there is anything else we can provide >>>>>>>>>>>> that would be useful. Thank you. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Aug 30, 2021 at 8:20 PM Brian West < >>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Check the UUID of the session in question, and extract its >>>>>>>>>>>>> logs, and let's diagnose it >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Aug 30, 2021 at 12:39 PM Cary Shouse >>>>>>>>>>>>> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Yes, that is what we are seeing when running uuid_kill. We >>>>>>>>>>>>>> cannot "replicate" the issue, but it happens multiple times a day for us >>>>>>>>>>>>>> across our servers. We have looked through logs across >>>>>>>>>>>>>> multiple systems, taken SIP traces to see if that showed anything. >>>>>>>>>>>>>> Last we got a Core dump of the running process after the >>>>>>>>>>>>>> failure. Nothing seems to stand out as the cause. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Are there any other debug steps you can think of or what >>>>>>>>>>>>>> other information to look at? We could capture all traffic on the server, >>>>>>>>>>>>>> or recompile with special debug flags whatever it is that might help. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> Steps we have taken: >>>>>>>>>>>>>> >>>>>>>>>>>>>> sofia loglevel all 9 >>>>>>>>>>>>>> >>>>>>>>>>>>>> sofia global siptrace on >>>>>>>>>>>>>> >>>>>>>>>>>>>> fsctl loglevel 7 >>>>>>>>>>>>>> >>>>>>>>>>>>>> # Set environment variable >>>>>>>>>>>>>> TPORT_LOG=1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Sat, Aug 28, 2021 at 12:54 AM Brian West < >>>>>>>>>>>>>> brian at freeswitch.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> It's an issue we've been searching for, if you uuid_kill it, >>>>>>>>>>>>>>> and it says no session, it only means the record was NOT removed from the >>>>>>>>>>>>>>> sqlite database. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Nobody can seem to replicate the steps required to get into >>>>>>>>>>>>>>> that condition, maybe you could look thru the logs and see if you can >>>>>>>>>>>>>>> replicate what ever happened on that lingering UUID >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> /b >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Fri, Aug 27, 2021 at 5:40 PM Cary Shouse >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> We recently started having a problem with our FreeSWITCH >>>>>>>>>>>>>>>> servers where calls are working well, with about 200 calls operating >>>>>>>>>>>>>>>> sometimes for a couple of days, and then something happens and all call >>>>>>>>>>>>>>>> progress stops. Then any new inbound calls that come into the server get >>>>>>>>>>>>>>>> stuck in initial status, new inbound get stuck at RINGING. This happens >>>>>>>>>>>>>>>> until the max sessions are hit and of course nothing else works from there. >>>>>>>>>>>>>>>> Our thought is something is creating a lock and stopping anything else from >>>>>>>>>>>>>>>> progressing. >>>>>>>>>>>>>>>> We are seeing the stuck sessions using "show channels". >>>>>>>>>>>>>>>> Doing a uuid_kill on the calls seems to make no difference to the output of >>>>>>>>>>>>>>>> "show channels", but we have noticed in the logs that some events do happen >>>>>>>>>>>>>>>> to some of the calls. >>>>>>>>>>>>>>>> We had ran into a similar issue when writing a custom C >>>>>>>>>>>>>>>> module and made some mistakes with session_rwlock etc. But in this case, >>>>>>>>>>>>>>>> all of this is using LUA. >>>>>>>>>>>>>>>> Some general information: >>>>>>>>>>>>>>>> FreeSWITCH Versions 1.10.6 and 1.10.1 >>>>>>>>>>>>>>>> Modules used: >>>>>>>>>>>>>>>> LUA, xml_curl(dialplan), event_socket, >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Most of this is just application playing audio files and >>>>>>>>>>>>>>>> or creating a new call to bridge to. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Really looking for some help on what debugging we can >>>>>>>>>>>>>>>> enable to help identify what is getting stuck to identify where a bug might >>>>>>>>>>>>>>>> be on our usage or possible issue with FreeSWITCH. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> We have captured a core dump of the running process when >>>>>>>>>>>>>>>> it got into the bad state as well, if that is helpful, we can send it in. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thank you for your help. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> _________________________________________________________________________ >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 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 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, >>>>>>>>>>>>>>> WI 53045 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>>>> [image: >>>>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> >>>>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>>>> >>>>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>>>> >>>>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>>>> 53045 >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>>>> >>>>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>>>> >>>>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>>>> [image: >>>>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>>> >>>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>>> 53045 >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>>> >>>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>>> >>>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>>> [image: >>>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> >>>>>>>>>> Brian West | Co-founder and Developer >>>>>>>>>> >>>>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>>>> >>>>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI >>>>>>>>>> 53045 >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Email: brian at freeswitch.com >>>>>>>>>> >>>>>>>>>> Mobile: 918-424-9378 >>>>>>>>>> >>>>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>>>> >>>>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>>>> [image: >>>>>>>>>> https://twitter.com/freeswitch] >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> >>>>>>>> Brian West | Co-founder and Developer >>>>>>>> >>>>>>>> Need Commercial support? email sales at freeswitch.com >>>>>>>> >>>>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>>>> >>>>>>>> >>>>>>>> Email: brian at freeswitch.com >>>>>>>> >>>>>>>> Mobile: 918-424-9378 >>>>>>>> >>>>>>>> Website: https://www.FreeSWITCH.com >>>>>>>> >>>>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>>>> [image: >>>>>>>> https://twitter.com/freeswitch] >>>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Brian West | Co-founder and Developer >>>>>> >>>>>> Need Commercial support? email sales at freeswitch.com >>>>>> >>>>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>>>> >>>>>> >>>>>> Email: brian at freeswitch.com >>>>>> >>>>>> Mobile: 918-424-9378 >>>>>> >>>>>> Website: https://www.FreeSWITCH.com >>>>>> >>>>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>>>> [image: >>>>>> https://twitter.com/freeswitch] >>>>>> >>>>> >>>> >>>> -- >>>> >>>> Brian West | Co-founder and Developer >>>> >>>> Need Commercial support? email sales at freeswitch.com >>>> >>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>>> >>>> >>>> Email: brian at freeswitch.com >>>> >>>> Mobile: 918-424-9378 >>>> >>>> Website: https://www.FreeSWITCH.com >>>> >>>> [image: https://www.facebook.com/signalwireinc?src=email] >>>> [image: >>>> https://twitter.com/freeswitch] >>>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Antony.Stone at freeswitch.open.source.it Thu Sep 9 16:16:32 2021 From: Antony.Stone at freeswitch.open.source.it (Antony Stone) Date: Thu, 9 Sep 2021 18:16:32 +0200 Subject: [Freeswitch-users] Default configuration? Message-ID: <202109091816.32995.Antony.Stone@freeswitch.open.source.it> Hi. Doing a standard package-managed installation of Freeswitch under Debian using https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster I see that there are 20 internal extensions 1000 - 1019 already defined, and I've successfully registered a couple of phones to 1000 and 1001. Am I right in thinking that the default dialplan is supposed to allow calls between internal extensions, or do I have to configure something else for this to work? My setup is: - FreeSwitch installed under Debian 10 Buster on my home network 192.168.78.0/24 - two telephones configured manually to register to the FreeSwitch server, also on the same network 192.168.78.0/24 Result: - both telephones register to FreeSwitch successfully - dialling from one extension to the other causes the second extension to ring, and can be answered, but the SDP contents of the Invite requests from FreeSwitch to each telephone tell them both to send audio to the *external address* of my Internet router, not either the internal address of my FreeSwitch server, or the internal address of the other telephone. Obviously this doesn't work. This happens whether or not I start FreeSwitch with the "-nonat" option. So, I'm thinking there must be something simple that I'm failing to understand about the default configuration of FreeSwitch, because I thought that calling from one internal extension to the other was about the simplest test I could perform. Can anyone point me at "how to get started" for a simple scenario such as this? Thanks, Antony. -- Schrödinger's rule of data integrity: the condition of any backup is unknown until a restore is attempted. Please reply to the list; please *don't* CC me. From brian at freeswitch.com Thu Sep 9 17:06:12 2021 From: brian at freeswitch.com (Brian West) Date: Thu, 9 Sep 2021 12:06:12 -0500 Subject: [Freeswitch-users] Default configuration? In-Reply-To: <202109091816.32995.Antony.Stone@freeswitch.open.source.it> References: <202109091816.32995.Antony.Stone@freeswitch.open.source.it> Message-ID: Did you change your default password? On Thu, Sep 9, 2021 at 11:59 AM Antony Stone < Antony.Stone at freeswitch.open.source.it> wrote: > Hi. > > Doing a standard package-managed installation of Freeswitch under Debian > using > https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster I > see > that there are 20 internal extensions 1000 - 1019 already defined, and > I've > successfully registered a couple of phones to 1000 and 1001. > > Am I right in thinking that the default dialplan is supposed to allow > calls > between internal extensions, or do I have to configure something else for > this > to work? > > My setup is: > > - FreeSwitch installed under Debian 10 Buster on my home network > 192.168.78.0/24 > > - two telephones configured manually to register to the FreeSwitch > server, > also on the same network 192.168.78.0/24 > > Result: > > - both telephones register to FreeSwitch successfully > > - dialling from one extension to the other causes the second extension to > ring, and can be answered, but the SDP contents of the Invite requests > from > FreeSwitch to each telephone tell them both to send audio to the *external > address* of my Internet router, not either the internal address of my > FreeSwitch server, or the internal address of the other telephone. > > Obviously this doesn't work. > > This happens whether or not I start FreeSwitch with the "-nonat" option. > > So, I'm thinking there must be something simple that I'm failing to > understand > about the default configuration of FreeSwitch, because I thought that > calling > from one internal extension to the other was about the simplest test I > could > perform. > > > Can anyone point me at "how to get started" for a simple scenario such as > this? > > > Thanks, > > > Antony. > > -- > Schrödinger's rule of data integrity: the condition of any backup is > unknown > until a restore is attempted. > > Please reply to the > list; > please *don't* CC > me. > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From Antony.Stone at freeswitch.open.source.it Thu Sep 9 17:36:17 2021 From: Antony.Stone at freeswitch.open.source.it (Antony Stone) Date: Thu, 9 Sep 2021 19:36:17 +0200 Subject: [Freeswitch-users] Default configuration? In-Reply-To: References: <202109091816.32995.Antony.Stone@freeswitch.open.source.it> Message-ID: <202109091936.17400.Antony.Stone@freeswitch.open.source.it> On Thursday 09 September 2021 at 19:06:12, Brian West wrote: > Did you change your default password? Sorry, should have put that detail in - yes I did :) > On Thu, Sep 9, 2021 at 11:59 AM Antony Stone wrote: > > Hi. > > > > Doing a standard package-managed installation of Freeswitch under Debian > > using > > https://freeswitch.org/confluence/display/FREESWITCH/Debian+10+Buster I > > see that there are 20 internal extensions 1000 - 1019 already defined, and > > I've successfully registered a couple of phones to 1000 and 1001. > > > > Am I right in thinking that the default dialplan is supposed to allow > > calls between internal extensions, or do I have to configure something else > > for this to work? > > > > My setup is: > > - FreeSwitch installed under Debian 10 Buster on my home network > > 192.168.78.0/24 > > > > - two telephones configured manually to register to the FreeSwitch > > server, also on the same network 192.168.78.0/24 > > > > Result: > > - both telephones register to FreeSwitch successfully > > > > - dialling from one extension to the other causes the second extension > > to ring, and can be answered, but the SDP contents of the Invite requests > > from FreeSwitch to each telephone tell them both to send audio to the > > *external address* of my Internet router, not either the internal > > address of my FreeSwitch server, or the internal address of the other > > telephone. > > > > Obviously this doesn't work. > > > > This happens whether or not I start FreeSwitch with the "-nonat" option. > > > > So, I'm thinking there must be something simple that I'm failing to > > understand about the default configuration of FreeSwitch, because I thought > > that calling from one internal extension to the other was about the > > simplest test I could perform. > > > > > > Can anyone point me at "how to get started" for a simple scenario such as > > this? > > > > > > Thanks, > > > > > > Antony. -- BASIC is to computer languages what Roman numerals are to arithmetic. Please reply to the list; please *don't* CC me. From davidswalkabout at gmail.com Fri Sep 10 01:18:34 2021 From: davidswalkabout at gmail.com (David P) Date: Fri, 10 Sep 2021 13:18:34 +1200 Subject: [Freeswitch-users] How to detect close of verto tab? Message-ID: Our config of FS 10.5 doesn't detect when a verto user closes the tab (or directs the tab to a different url, etc) and the session runs on the server for many minutes (while our virtual agent tries to engage the user, thus defeating our media timeout). Is there a best practice for detecting this per-channel so it can be used to end the conference? Note that browser event beforeunload cannot be relied upon, especially in mobile browsers, as a trigger for hanging-up on the verto end. -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Fri Sep 10 03:27:38 2021 From: krice at freeswitch.org (Ken Rice) Date: Thu, 9 Sep 2021 22:27:38 -0500 Subject: [Freeswitch-users] How to detect close of verto tab? In-Reply-To: References: Message-ID: <7CF67FBE-C88A-460B-9DF7-24BFAFDFC718@freeswitch.org> Thats actually a design feature, the whole intent os of someone accidentally navigates away they can come right back and resume their call. there may be some timers you can adjust. Sent from my iPhone > On Sep 9, 2021, at 20:19, David P wrote: > >  > Our config of FS 10.5 doesn't detect when a verto user closes the tab (or directs the tab to a different url, etc) and the session runs on the server for many minutes (while our virtual agent tries to engage the user, thus defeating our media timeout). > > Is there a best practice for detecting this per-channel so it can be used to end the conference? > > Note that browser event beforeunload cannot be relied upon, especially in mobile browsers, as a trigger for hanging-up on the verto end. > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From david.villasmil.work at gmail.com Sat Sep 11 00:53:33 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sat, 11 Sep 2021 01:53:33 +0100 Subject: [Freeswitch-users] info not being executed? Message-ID: Hello all, I'm facing a weird symptom... I have a dialplan something like so: ... Everything is getting executed BUT "info"... i've never seen this, anyone has any ideas why this might happen? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Sat Sep 11 03:02:02 2021 From: krice at freeswitch.org (Ken Rice) Date: Fri, 10 Sep 2021 22:02:02 -0500 Subject: [Freeswitch-users] info not being executed? In-Reply-To: References: Message-ID: <0E3E70F2-B53D-4888-B05C-6630C39DE0C4@freeswitch.org> log level set too high? Sent from my iPhone > On Sep 10, 2021, at 19:54, David Villasmil wrote: > >  > Hello all, > > I'm facing a weird symptom... I have a dialplan something like so: > > > > > > ... > > Everything is getting executed BUT "info"... i've never seen this, anyone has any ideas why this might happen? > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Sat Sep 11 23:30:51 2021 From: davidswalkabout at gmail.com (David P) Date: Sun, 12 Sep 2021 11:30:51 +1200 Subject: [Freeswitch-users] How to detect close of verto tab? Message-ID: > > Thanks, Ken. I'd like to know about any such timers to handle cases where > users don't try to re-enter the conference and only the virtual agent's > channel has media. > > > From: Ken Rice > To: FreeSWITCH Users Help > Cc: > Bcc: > Date: Thu, 9 Sep 2021 22:27:38 -0500 > Subject: Re: [Freeswitch-users] How to detect close of verto tab? > Thats actually a design feature, the whole intent os of someone > accidentally navigates away they can come right back and resume their call. > > there may be some timers you can adjust. > > Sent from my iPhone > > > On Sep 9, 2021, at 20:19, David P wrote: > > > >  > > Our config of FS 10.5 doesn't detect when a verto user closes the tab > (or directs the tab to a different url, etc) and the session runs on the > server for many minutes (while our virtual agent tries to engage the user, > thus defeating our media timeout). > > > > Is there a best practice for detecting this per-channel so it can be > used to end the conference? > > > > Note that browser event beforeunload cannot be relied upon, especially > in mobile browsers, as a trigger for hanging-up on the verto end. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From asilva at wirelessmundi.com Mon Sep 13 17:05:33 2021 From: asilva at wirelessmundi.com (=?utf-8?Q?Ant=C3=B3nio_Silva?=) Date: Mon, 13 Sep 2021 18:05:33 +0100 Subject: [Freeswitch-users] Reload TLS certificate In-Reply-To: References: Message-ID: <50810DCD-E3CA-4922-83FA-D075B23078D4@wirelessmundi.com> Hi, I think is not posible.. you need to drop all the tls connections and have them use the new cert. What I’m doing is creating a tls only profile this way I can restart only that profile without dropping the calls in other profiles. -- Saludos / Regards / Cumprimentos António Silva > On 12 Aug 2021, at 11:36, Andrew Cassidy wrote: > > Hi guys, > > Is there a way to reload a TLS certificate without restarting the whole service? > > Kind regards, > > -- > Andrew Cassidy BSc (Hons) MBCS > Managing Director > > 0330 44 55 960 andrew at cassidyweb.co.uk www.cassidyweb.co.uk _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jerry.Kendall at BishopHosting.com Sun Sep 12 04:59:59 2021 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Sun, 12 Sep 2021 00:59:59 -0400 Subject: [Freeswitch-users] BLF for database flag Message-ID: Hello..... Does anyone know if there is a way to have a BLF (presence monitor) for an object that is NOT a device. I would like to have the BLF lamp toggle red/green based on a status of a variable that is a field in the database... For example: A user dials *85x If the use dials *850, this can mean turn the light OFF If the use dials *85n, this can mean turn the light ON Then the device (x301) has a BLF set for *851. The sip_subscriptions table will have the following: *************************** 1. row ***************************          proto: sip       sip_user: 301       sip_host: domain    sub_to_user: *851    sub_to_host: domain presence_hosts:          event: dialog        contact: "user"        call_id:508931318-14314-3 at BA.CEG.HG.ED      full_from:;tag=673185170       full_via: SIP/2.0/UDP ip:port;branch=z9hG4bK1903845623;rport=...;received=.....        expires: 1631421776     user_agent: xyz         accept: application/dialog-info+xml, multipart/related, application/rlmi+xml   profile_name: customer       hostname: host   network_port: ...     network_ip: a.b.c.d        version: 121     orig_proto:        full_to:;tag=HQrMabwmsTlX *************************** 1. row *************************** Thanks, any help would be great... From s.safarov at gmail.com Tue Sep 14 05:48:40 2021 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 14 Sep 2021 08:48:40 +0300 Subject: [Freeswitch-users] Reload TLS certificate In-Reply-To: References: Message-ID: You can place the Kamailio server as frontend. Kamailio supports TLS certificate reload without dropping current connections. On Mon, Sep 13, 2021 at 8:21 PM António Silva via FreeSWITCH-users < freeswitch-users at lists.freeswitch.org> wrote: > > > > ---------- Forwarded message ---------- > From: "António Silva" > To: FreeSWITCH Users Help > Cc: > Bcc: > Date: Mon, 13 Sep 2021 18:05:33 +0100 > Subject: Re: [Freeswitch-users] Reload TLS certificate > Hi, > > I think is not posible.. you need to drop all the tls connections and have > them use the new cert. > > What I’m doing is creating a tls only profile this way I can restart only > that profile without dropping the calls in other profiles. > > -- > Saludos / Regards / Cumprimentos > António Silva > > > > > On 12 Aug 2021, at 11:36, Andrew Cassidy > wrote: > > Hi guys, > > Is there a way to reload a TLS certificate without restarting the whole > service? > > Kind regards, > > -- > *Andrew Cassidy BSc (Hons) MBCS* > Managing Director > > 0330 44 55 960 <+443304455960> andrew at cassidyweb.co.uk > www.cassidyweb.co.uk > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > > ---------- Forwarded message ---------- > From: "António Silva via FreeSWITCH-users" < > freeswitch-users at lists.freeswitch.org> > To: FreeSWITCH Users Help > Cc: > Bcc: > Date: Mon, 13 Sep 2021 10:21:22 -0700 (PDT) > Subject: Re: [Freeswitch-users] Reload TLS certificate > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.kainz at wnt.at Tue Sep 14 08:37:48 2021 From: s.kainz at wnt.at (Stefan Kainz) Date: Tue, 14 Sep 2021 08:37:48 +0000 Subject: [Freeswitch-users] BLF for database flag In-Reply-To: References: Message-ID: Hi Jerry, yes there is a way. We use a BLF Key to determine if we're in or out of office hours, which changes depending on time and/or other parameters. There is a hook-setting in conf/autoload_configs/lua.conf.xml. In that file there are a few event-paramters, which you can get with for example event:getHeader("Event-Name"). Which gives you the event name/type. I think you are looking for the PRESENCE_PROBE Event. Regards, Stefan -----Ursprüngliche Nachricht----- Von: FreeSWITCH-users Im Auftrag von Jerry Kendall Gesendet: Sonntag, 12. September 2021 07:00 An: freeswitch-users at lists.freeswitch.org Betreff: [Freeswitch-users] BLF for database flag Hello..... Does anyone know if there is a way to have a BLF (presence monitor) for an object that is NOT a device. I would like to have the BLF lamp toggle red/green based on a status of a variable that is a field in the database... For example: A user dials *85x If the use dials *850, this can mean turn the light OFF If the use dials *85n, this can mean turn the light ON Then the device (x301) has a BLF set for *851. The sip_subscriptions table will have the following: *************************** 1. row ***************************          proto: sip       sip_user: 301       sip_host: domain    sub_to_user: *851    sub_to_host: domain presence_hosts:          event: dialog        contact: "user"        call_id:508931318-14314-3 at BA.CEG.HG.ED      full_from:;tag=673185170       full_via: SIP/2.0/UDP ip:port;branch=z9hG4bK1903845623;rport=...;received=.....        expires: 1631421776     user_agent: xyz         accept: application/dialog-info+xml, multipart/related, application/rlmi+xml   profile_name: customer       hostname: host   network_port: ...     network_ip: a.b.c.d        version: 121     orig_proto:        full_to:;tag=HQrMabwmsTlX *************************** 1. row *************************** Thanks, any help would be great... _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com From s.kainz at wnt.at Tue Sep 14 08:41:41 2021 From: s.kainz at wnt.at (Stefan Kainz) Date: Tue, 14 Sep 2021 08:41:41 +0000 Subject: [Freeswitch-users] BLF for database flag In-Reply-To: References: Message-ID: Of course if the lamp depends on a session-state of a call, you can just set the presence_id field in your dialplan. The other method I described in my last mail is for things that don’t get triggered/changed by a session-state or a call. This will automatically trigger the presence events. https://freeswitch.org/confluence/display/FREESWITCH/presence_id Regards, -----Ursprüngliche Nachricht----- Von: FreeSWITCH-users Im Auftrag von Jerry Kendall Gesendet: Sonntag, 12. September 2021 07:00 An: freeswitch-users at lists.freeswitch.org Betreff: [Freeswitch-users] BLF for database flag Hello..... Does anyone know if there is a way to have a BLF (presence monitor) for an object that is NOT a device. I would like to have the BLF lamp toggle red/green based on a status of a variable that is a field in the database... For example: A user dials *85x If the use dials *850, this can mean turn the light OFF If the use dials *85n, this can mean turn the light ON Then the device (x301) has a BLF set for *851. The sip_subscriptions table will have the following: *************************** 1. row ***************************          proto: sip       sip_user: 301       sip_host: domain    sub_to_user: *851    sub_to_host: domain presence_hosts:          event: dialog        contact: "user"        call_id:508931318-14314-3 at BA.CEG.HG.ED      full_from:;tag=673185170       full_via: SIP/2.0/UDP ip:port;branch=z9hG4bK1903845623;rport=...;received=.....        expires: 1631421776     user_agent: xyz         accept: application/dialog-info+xml, multipart/related, application/rlmi+xml   profile_name: customer       hostname: host   network_port: ...     network_ip: a.b.c.d        version: 121     orig_proto:        full_to:;tag=HQrMabwmsTlX *************************** 1. row *************************** Thanks, any help would be great... _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com From david.villasmil.work at gmail.com Tue Sep 14 19:32:36 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 14 Sep 2021 20:32:36 +0100 Subject: [Freeswitch-users] Escape variable content when used as a field in a condition Message-ID: Hello all, I'm trying to compare 2 variables in a condition, something like But it looks like FS expands the variable, and does the comparison. The problem with this is, those 2 phone numbers are in e.164, i.e.: sip_from_user = +18885551212 some_other_phone_number = +18005551212 and so the condition ends up being: which of course won't work.... Is there any way of escaping the variables automatically when comparing? I haven't found a way. Thanks! David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Wed Sep 15 00:43:51 2021 From: krice at freeswitch.org (Ken Rice) Date: Tue, 14 Sep 2021 19:43:51 -0500 Subject: [Freeswitch-users] Escape variable content when used as a field in a condition In-Reply-To: References: Message-ID: <5571933F-55A4-4A6E-A84D-65EC745F6206@freeswitch.org> put a slash right after the ^ In the expression or you have to feed it a proper regex in that chanvar. Sent from my iPhone > On Sep 14, 2021, at 14:33, David Villasmil wrote: > >  > Hello all, > > I'm trying to compare 2 variables in a condition, something like > > > > But it looks like FS expands the variable, and does the comparison. The problem with this is, those 2 phone numbers are in e.164, i.e.: > > sip_from_user = +18885551212 > some_other_phone_number = +18005551212 > > and so the condition ends up being: > > > > which of course won't work.... > > Is there any way of escaping the variables automatically when comparing? > I haven't found a way. > > Thanks! > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Wed Sep 15 11:54:57 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 15 Sep 2021 12:54:57 +0100 Subject: [Freeswitch-users] Escape variable content when used as a field in a condition In-Reply-To: <5571933F-55A4-4A6E-A84D-65EC745F6206@freeswitch.org> References: <5571933F-55A4-4A6E-A84D-65EC745F6206@freeswitch.org> Message-ID: Thanks Ken, I tried that but it was just escaping the $ from ${variable} I ended up using a cond function. Thanks again David On Wed, 15 Sep 2021 at 02:08, Ken Rice wrote: > put a slash right after the ^ In the expression or you have to feed it a > proper regex in that chanvar. > > > > Sent from my iPhone > > On Sep 14, 2021, at 14:33, David Villasmil > wrote: > >  > > Hello all, > > I'm trying to compare 2 variables in a condition, something like > > expression="^${some_other_phone_number}$" inline="true"> > > But it looks like FS expands the variable, and does the comparison. The > problem with this is, those 2 phone numbers are in e.164, i.e.: > > sip_from_user = +18885551212 > some_other_phone_number = +18005551212 > > and so the condition ends up being: > > > > which of course won't work.... > > Is there any way of escaping the variables automatically when comparing? > I haven't found a way. > > Thanks! > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Thu Sep 16 22:08:00 2021 From: davidswalkabout at gmail.com (David P) Date: Fri, 17 Sep 2021 10:08:00 +1200 Subject: [Freeswitch-users] How to avoid verto logout during call due to BAD READ? Message-ID: We occasionally see that a verto user loses access to a conference for ~15 seconds. Here's an example from our FS v10.5 / Debian-Buster logging. Note the BAD READ which seems to be the cause: --------------------------------------------------------- 82133cbd-8d22-4be4-a52a-e77f6e9a52ca 2021-09-11 21:13:55.592864 [DEBUG] switch_rtp.c:7793 Correct audio ip/port confirmed. 2021-09-11 21:14:30.792863 [WARNING] mod_verto.c:1904 77.23.137.51:37076 BAD READ -1 9c2dccee-3d82-2451-c81d-ca6bd51c6788 2021-09-11 21:14:30.792863 [DEBUG] switch_rtp.c:1923 rtcp_stats_init: audio ssrc[3520184631] base_seq[9119] 9c2dccee-3d82-2451-c81d-ca6bd51c6788 2021-09-11 21:14:30.792863 [DEBUG] switch_rtp.c:1923 rtcp_stats_init: video ssrc[2887449749] base_seq[13858] 2021-09-11 21:14:30.792863 [DEBUG] mod_verto.c:2045 77.23.137.51:37076 Ending client thread. --------------------------------------------------------- My understanding of BAD READ is that it usually indicates an incorrectly-created or expired cert, but this BAD READ is happening after the DTLS handshake was completed. Do you have any recommendation for how we can avoid such BAD READ's? -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexanderhenryperkins at gmail.com Sat Sep 18 19:25:04 2021 From: alexanderhenryperkins at gmail.com (Alexander Perkins) Date: Sat, 18 Sep 2021 15:25:04 -0400 Subject: [Freeswitch-users] Media Question Message-ID: Hi All. We have a unique requirement (I think)... We need to stream the media to another server for analysis while the call is taking place. So, basically, real-time analysis. Can somebody point me in the right direction? Thank you, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From jurijs.ivolga at gmail.com Sat Sep 18 20:02:27 2021 From: jurijs.ivolga at gmail.com (Jurijs Ivolga) Date: Sat, 18 Sep 2021 23:02:27 +0300 Subject: [Freeswitch-users] Media Question In-Reply-To: References: Message-ID: mod_unimrcp? On Sat, 18. Sep 2021 at 22:47, Alexander Perkins < alexanderhenryperkins at gmail.com> wrote: > Hi All. We have a unique requirement (I think)... We need to stream the > media to another server for analysis while the call is taking place. So, > basically, real-time analysis. Can somebody point me in the right > direction? > > Thank you, > Alex > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Jurijs -------------- next part -------------- An HTML attachment was scrubbed... URL: From avi at avimarcus.net Sat Sep 18 20:14:13 2021 From: avi at avimarcus.net (Avi Marcus) Date: Sat, 18 Sep 2021 20:14:13 +0000 Subject: [Freeswitch-users] Media Question In-Reply-To: References: Message-ID: <0100017bfa8b8632-23a399cb-51a4-408e-8517-d76f47054159-000000@email.amazonses.com> Check the homer project: https://github.com/sipcapture/homer/wiki/Examples%3A-FreeSwitch On Sat, Sep 18, 2021, 10:26 PM Alexander Perkins < alexanderhenryperkins at gmail.com> wrote: > Hi All. We have a unique requirement (I think)... We need to stream the > media to another server for analysis while the call is taking place. So, > basically, real-time analysis. Can somebody point me in the right > direction? > > Thank you, > Alex > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mayamatakeshi at gmail.com Sat Sep 18 22:19:34 2021 From: mayamatakeshi at gmail.com (mayamatakeshi) Date: Sun, 19 Sep 2021 07:19:34 +0900 Subject: [Freeswitch-users] Media Question In-Reply-To: References: Message-ID: On Sun, Sep 19, 2021 at 4:36 AM Alexander Perkins < alexanderhenryperkins at gmail.com> wrote: > Hi All. We have a unique requirement (I think)... We need to stream the > media to another server for analysis while the call is taking place. So, > basically, real-time analysis. Can somebody point me in the right > direction? > You could try mod_audio_fork: https://github.com/drachtio/drachtio-freeswitch-modules/blob/main/modules/mod_audio_fork/README.md you will need to build a custom freeswitch version with libwebsockets support (https://github.com/drachtio/drachtio-freeswitch-modules). But if you are stuck with an existing version of freeswitch, you could use mod_shout record_session as explained here: https://github.com/MayamaTakeshi/shout_to_gsr However, shoutcast protocol uses mp3 for data transfer so there is a performance penalty (mod_audio_fork sends the data as Linear16 which is the format used by the FS internally so there is no transcoding penalty). -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Sat Sep 18 22:37:56 2021 From: krice at freeswitch.org (Ken Rice) Date: Sat, 18 Sep 2021 17:37:56 -0500 Subject: [Freeswitch-users] Media Question In-Reply-To: References: Message-ID: <5D684E5F-132E-4442-8764-798874778522@freeswitch.org> record it to an rtmp stream? or you could have a sip call fired with it in the eavsedrop app if you need sip Sent from my iPhone > On Sep 18, 2021, at 14:25, Alexander Perkins wrote: > >  > Hi All. We have a unique requirement (I think)... We need to stream the media to another server for analysis while the call is taking place. So, basically, real-time analysis. Can somebody point me in the right direction? > > Thank you, > Alex > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From alberto.rinaudo at gmail.com Sat Sep 18 22:03:32 2021 From: alberto.rinaudo at gmail.com (Alberto) Date: Sun, 19 Sep 2021 00:03:32 +0200 Subject: [Freeswitch-users] Media Question In-Reply-To: <0100017bfa8b8632-23a399cb-51a4-408e-8517-d76f47054159-000000@email.amazonses.com> References: <0100017bfa8b8632-23a399cb-51a4-408e-8517-d76f47054159-000000@email.amazonses.com> Message-ID: The most reliable solution is to replicate the physical port on the switch. We do this for voipmonitor. On Sat, 18 Sep 2021, 22:50 Avi Marcus, wrote: > Check the homer project: > https://github.com/sipcapture/homer/wiki/Examples%3A-FreeSwitch > > On Sat, Sep 18, 2021, 10:26 PM Alexander Perkins < > alexanderhenryperkins at gmail.com> wrote: > >> Hi All. We have a unique requirement (I think)... We need to stream the >> media to another server for analysis while the call is taking place. So, >> basically, real-time analysis. Can somebody point me in the right >> direction? >> >> Thank you, >> Alex >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From grcamauer at gmail.com Mon Sep 20 14:16:09 2021 From: grcamauer at gmail.com (Guillermo Ruiz Camauer) Date: Mon, 20 Sep 2021 11:16:09 -0300 Subject: [Freeswitch-users] Media Question In-Reply-To: References: <0100017bfa8b8632-23a399cb-51a4-408e-8517-d76f47054159-000000@email.amazonses.com> Message-ID: You don't specify exactly what type of analysis you need to perform on the media stream. It would help if you did. Google mod_vosk. It's what Vosk uses to perform voice recognition on the media stream. It might fit most of your needs, or serve as a good launching point. Guillermo On Sun, Sep 19, 2021 at 8:36 PM Alberto wrote: > The most reliable solution is to replicate the physical port on the switch. > We do this for voipmonitor. > > On Sat, 18 Sep 2021, 22:50 Avi Marcus, wrote: > >> Check the homer project: >> https://github.com/sipcapture/homer/wiki/Examples%3A-FreeSwitch >> >> On Sat, Sep 18, 2021, 10:26 PM Alexander Perkins < >> alexanderhenryperkins at gmail.com> wrote: >> >>> Hi All. We have a unique requirement (I think)... We need to stream >>> the media to another server for analysis while the call is taking place. >>> So, basically, real-time analysis. Can somebody point me in the right >>> direction? >>> >>> Thank you, >>> Alex >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Guillermo Ruiz Camauer -------------- next part -------------- An HTML attachment was scrubbed... URL: From shahnawaj.khan1990 at gmail.com Mon Sep 20 17:01:16 2021 From: shahnawaj.khan1990 at gmail.com (Shahnawaj Khan) Date: Mon, 20 Sep 2021 22:31:16 +0530 Subject: [Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec Message-ID: Hi All, I am working on a use case where we don't want freeswitch to transcode and the codec negotiated with the B leg's answer should be passed to the A leg so it also uses the same codec. I have followed the following link https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation and added following flags in sip profiles But freeswitch is itself doing the transcoding. Scenario looks like the following. 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice 3) Alice ---(200 OK with PCMU)---> Freeswitch 4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU Please let me know if I have some understanding gaps and point me in the right direction. Thanks & Regards, Shahnawaz From brian at freeswitch.com Mon Sep 20 17:39:22 2021 From: brian at freeswitch.com (Brian West) Date: Mon, 20 Sep 2021 12:39:22 -0500 Subject: [Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec In-Reply-To: References: Message-ID: More to it than just setting those params, review the confluence pages again and make sure you didn't miss a step. On Mon, Sep 20, 2021 at 12:09 PM Shahnawaj Khan < shahnawaj.khan1990 at gmail.com> wrote: > Hi All, > > I am working on a use case where we don't want freeswitch to transcode > and the codec negotiated with the B leg's answer should be passed to > the A leg so it also uses the same codec. > I have followed the following link > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation > and added following flags in sip profiles > > > But freeswitch is itself doing the transcoding. Scenario looks like > the following. > > 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch > 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice > 3) Alice ---(200 OK with PCMU)---> Freeswitch > 4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU > > Please let me know if I have some understanding gaps and point me in > the right direction. > > Thanks & Regards, > Shahnawaz > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From rehfjo at gmail.com Mon Sep 20 19:15:58 2021 From: rehfjo at gmail.com (Robert Fitzjohn) Date: Mon, 20 Sep 2021 20:15:58 +0100 Subject: [Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec In-Reply-To: References: Message-ID: I needed an "inherit_codec = true" before the bridge for this to work. For some reason, setting ringback also trips this up in some cases, but it's been a while since I looked at this so YMMV. On Mon, 20 Sept 2021 at 18:02, Shahnawaj Khan wrote: > Hi All, > > I am working on a use case where we don't want freeswitch to transcode > and the codec negotiated with the B leg's answer should be passed to > the A leg so it also uses the same codec. > I have followed the following link > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation > and added following flags in sip profiles > > > But freeswitch is itself doing the transcoding. Scenario looks like > the following. > > 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch > 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice > 3) Alice ---(200 OK with PCMU)---> Freeswitch > 4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU > > Please let me know if I have some understanding gaps and point me in > the right direction. > > Thanks & Regards, > Shahnawaz > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mustafa.pk at gmail.com Mon Sep 20 17:45:17 2021 From: mustafa.pk at gmail.com (Ghulam Mustafa) Date: Mon, 20 Sep 2021 22:45:17 +0500 Subject: [Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec In-Reply-To: References: Message-ID: You may try setting "disable-transcoding" to "true" in your sip profile Regards, -m On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan wrote: > Hi All, > > I am working on a use case where we don't want freeswitch to transcode > and the codec negotiated with the B leg's answer should be passed to > the A leg so it also uses the same codec. > I have followed the following link > https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation > and added following flags in sip profiles > > > But freeswitch is itself doing the transcoding. Scenario looks like > the following. > > 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch > 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice > 3) Alice ---(200 OK with PCMU)---> Freeswitch > 4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU > > Please let me know if I have some understanding gaps and point me in > the right direction. > > Thanks & Regards, > Shahnawaz > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Prometheus001 at gmx.net Tue Sep 21 08:53:43 2021 From: Prometheus001 at gmx.net (Peter P GMX) Date: Tue, 21 Sep 2021 10:53:43 +0200 Subject: [Freeswitch-users] BLF for database flag In-Reply-To: References: Message-ID: <6455bf3f-9059-d9bc-1187-3f474a81a209@gmx.net> Hello Jerry, here is some minimal ruby code, we use to send presence data via ESL interface   # Send BLF presence event   def self.send_presence(presence_id,status,hostname,direction=nil)     uuid=UUID.new.generate     if status==:up       answer_state='confirmed'     elsif status==:down       answer_state='terminated'     elsif status==:ringing       answer_state='early'     end direction="outbound" if !direction msg=< Hello..... > > Does anyone know if there is a way to have a BLF (presence monitor) > for an object that is NOT a device. > > I would like to have the BLF lamp toggle red/green based on a status > of a variable that is a field in the database... > > For example: > > A user dials *85x > > If the use dials *850, this can mean turn the light OFF > > If the use dials *85n, this can mean turn the light ON > > Then the device (x301) has a BLF set for *851. > > The sip_subscriptions table will have the following: > > *************************** 1. row *************************** >          proto: sip >       sip_user: 301 >       sip_host: domain >    sub_to_user: *851 >    sub_to_host: domain > presence_hosts: >          event: dialog >        contact: > "user" >        call_id:508931318-14314-3 at BA.CEG.HG.ED >      full_from:;tag=673185170 >       full_via: SIP/2.0/UDP > ip:port;branch=z9hG4bK1903845623;rport=...;received=..... >        expires: 1631421776 >     user_agent: xyz >         accept: application/dialog-info+xml, multipart/related, > application/rlmi+xml >   profile_name: customer >       hostname: host >   network_port: ... >     network_ip: a.b.c.d >        version: 121 >     orig_proto: >        full_to:;tag=HQrMabwmsTlX > *************************** 1. row *************************** > > > Thanks, any help would be great... > > > > >   > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From dragos at freeswitch.org Tue Sep 21 11:17:48 2021 From: dragos at freeswitch.org (Dragos Oancea) Date: Tue, 21 Sep 2021 14:17:48 +0300 Subject: [Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec In-Reply-To: References: Message-ID: you may get some more information from this recent github issue: https://github.com/signalwire/freeswitch/issues/1340 . On Tue, Sep 21, 2021 at 12:00 AM Ghulam Mustafa wrote: > You may try setting "disable-transcoding" to "true" in your sip profile > > Regards, > -m > > On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan < > shahnawaj.khan1990 at gmail.com> wrote: > >> Hi All, >> >> I am working on a use case where we don't want freeswitch to transcode >> and the codec negotiated with the B leg's answer should be passed to >> the A leg so it also uses the same codec. >> I have followed the following link >> https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation >> and added following flags in sip profiles >> >> >> But freeswitch is itself doing the transcoding. Scenario looks like >> the following. >> >> 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch >> 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice >> 3) Alice ---(200 OK with PCMU)---> Freeswitch >> 4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU >> >> Please let me know if I have some understanding gaps and point me in >> the right direction. >> >> Thanks & Regards, >> Shahnawaz >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Tue Sep 21 15:17:43 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 21 Sep 2021 16:17:43 +0100 Subject: [Freeswitch-users] Set conference moderator dynamically by uuid Message-ID: Hello All, I can’t find a way of setting an ongoing conference’s moderator dynamically via uuid, can anyone point me in the right direction? Many thanks! David -------------- next part -------------- An HTML attachment was scrubbed... URL: From shahnawaj.khan1990 at gmail.com Tue Sep 21 17:04:02 2021 From: shahnawaj.khan1990 at gmail.com (Shahnawaj Khan) Date: Tue, 21 Sep 2021 10:04:02 -0700 Subject: [Freeswitch-users] Freeswitch transcoding even after Late Negotiation with inherit_codec In-Reply-To: References: Message-ID: Hi, Thanks for the quick responses. we moved "inherit_codec = true" from profile to dialplan. It's working fine as expected. it may be associated with the issue https://github.com/signalwire/freeswitch/issues/1340 as we are using different profile to bridge the call. Thanks & Regards, Shahnawaz On Tue, Sep 21, 2021 at 4:48 AM Dragos Oancea wrote: > > you may get some more information from this recent github issue: https://github.com/signalwire/freeswitch/issues/1340 . > > > On Tue, Sep 21, 2021 at 12:00 AM Ghulam Mustafa wrote: >> >> You may try setting "disable-transcoding" to "true" in your sip profile >> >> Regards, >> -m >> >> On Mon, Sep 20, 2021, 10:17 PM Shahnawaj Khan wrote: >>> >>> Hi All, >>> >>> I am working on a use case where we don't want freeswitch to transcode >>> and the codec negotiated with the B leg's answer should be passed to >>> the A leg so it also uses the same codec. >>> I have followed the following link >>> https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation >>> and added following flags in sip profiles >>> >>> >>> But freeswitch is itself doing the transcoding. Scenario looks like >>> the following. >>> >>> 1) Bob---(Invite with OPUS,PCMU codec)---->Freeswitch >>> 2) Freeswitch---(Invite with OPUS,PCMU codec)-->Alice >>> 3) Alice ---(200 OK with PCMU)---> Freeswitch >>> 4) Freeswitch---(200 OK with OPUS)--->Bob //OPUS instead of PCMU >>> >>> Please let me know if I have some understanding gaps and point me in >>> the right direction. >>> >>> Thanks & Regards, >>> Shahnawaz >>> >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From david.villasmil.work at gmail.com Tue Sep 21 17:07:32 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 21 Sep 2021 18:07:32 +0100 Subject: [Freeswitch-users] Set conference moderator dynamically by uuid In-Reply-To: References: Message-ID: I'm answering my own question: There's no way, but i can do: uuid_transfer[channel-uuid] [conference-name]@default+flags{dist-dtmf|endconf|moderator} and that would do it. Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Tue, Sep 21, 2021 at 4:17 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > Hello All, > > I can’t find a way of setting an ongoing conference’s moderator > dynamically via uuid, can anyone point me in the right direction? > > Many thanks! > > David > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rawat.anshuman at gmail.com Tue Sep 21 18:17:21 2021 From: rawat.anshuman at gmail.com (Anshuman Rawat) Date: Tue, 21 Sep 2021 14:17:21 -0400 Subject: [Freeswitch-users] Set conference moderator dynamically by uuid In-Reply-To: References: Message-ID: Thanks for that. Seems quite useful On Tue, Sep 21, 2021 at 2:07 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > I'm answering my own question: > > There's no way, but i can do: > > uuid_transfer[channel-uuid] > [conference-name]@default+flags{dist-dtmf|endconf|moderator} > > and that would do it. > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > > On Tue, Sep 21, 2021 at 4:17 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Hello All, >> >> I can’t find a way of setting an ongoing conference’s moderator >> dynamically via uuid, can anyone point me in the right direction? >> >> Many thanks! >> >> David >> > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Tue Sep 21 18:50:32 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 21 Sep 2021 19:50:32 +0100 Subject: [Freeswitch-users] Dialplan not matching Message-ID: Hello all, I have the following condition: The log properly prints both variables: mod_dptools.c:1879 UUID: 7d736b08-212b-4ac2-abb3-a5e738306fb5 = 7d736b08-212b-4ac2-abb3-a5e738306fb5 they're exactly the same, and still condition function fails: Regex (FAIL) [conf_destination_recur_1] ${cond(${uuid} == ${conference_name} ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false I also tried a simple condition like and still no match... Ideas? Thanks guys David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Tue Sep 21 21:03:13 2021 From: krice at freeswitch.org (krice at freeswitch.org) Date: Tue, 21 Sep 2021 16:03:13 -0500 Subject: [Freeswitch-users] Dialplan not matching In-Reply-To: References: Message-ID: <152101d7af2c$1799b490$46cd1db0$@freeswitch.org> David, Don’t forget variables are expanded before the dialplan processing beings. So for example This will fail as ${somevar} wasn’t set yet to be expanded. You can kinda shortcut this with setting inline=”true” where the vars are set or after all your vars are set to make things reset and re-expand all the vars. Not sure if that’s whats happening here, but the lack of a complete dialplan or extension makes me wonder. K From: FreeSWITCH-users On Behalf Of David Villasmil Sent: Tuesday, September 21, 2021 1:51 PM To: FreeSWITCH Users Help Subject: [Freeswitch-users] Dialplan not matching Hello all, I have the following condition: The log properly prints both variables: mod_dptools.c:1879 UUID: 7d736b08-212b-4ac2-abb3-a5e738306fb5 = 7d736b08-212b-4ac2-abb3-a5e738306fb5 they're exactly the same, and still condition function fails: Regex (FAIL) [conf_destination_recur_1] ${cond(${uuid} == ${conference_name} ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false I also tried a simple condition like and still no match... Ideas? Thanks guys David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Wed Sep 22 00:18:20 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 22 Sep 2021 01:18:20 +0100 Subject: [Freeswitch-users] Dialplan not matching In-Reply-To: <152101d7af2c$1799b490$46cd1db0$@freeswitch.org> References: <152101d7af2c$1799b490$46cd1db0$@freeswitch.org> Message-ID: Thanks Ken; I already tried inline’ning it, but I’ve tried so many different thing I might’ve done it wrong somehow, will try that again. That’s a good trick transferring it to the same extension after all the cars are set, I’ve never thought of that, will also see what that does. Thanks! David On Tue, 21 Sep 2021 at 22:12, wrote: > David, > > Don’t forget variables are expanded before the dialplan processing beings. > > > > So for example > > > > > > > > > > This will fail as ${somevar} wasn’t set yet to be expanded. You can kinda > shortcut this with setting inline=”true” where the vars are set or after > all your vars are set data=”extension_number XML context”/> to make things reset and re-expand > all the vars. > > > > Not sure if that’s whats happening here, but the lack of a complete > dialplan or extension makes me wonder. > > > > K > > > > *From:* FreeSWITCH-users *On > Behalf Of *David Villasmil > *Sent:* Tuesday, September 21, 2021 1:51 PM > *To:* FreeSWITCH Users Help > *Subject:* [Freeswitch-users] Dialplan not matching > > > > Hello all, > > > > I have the following condition: > > > > > expression="^YES$"> > > > > The log properly prints both variables: > > > > mod_dptools.c:1879 UUID: 7d736b08-212b-4ac2-abb3-a5e738306fb5 = > 7d736b08-212b-4ac2-abb3-a5e738306fb5 > > > > they're exactly the same, and still condition function fails: > > > > Regex (FAIL) [conf_destination_recur_1] ${cond(${uuid} == > ${conference_name} ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false > > > > I also tried a simple condition like > > > > > > > > and still no match... > > > Ideas? > > > > Thanks guys > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Wed Sep 22 00:49:40 2021 From: davidswalkabout at gmail.com (David P) Date: Wed, 22 Sep 2021 12:49:40 +1200 Subject: [Freeswitch-users] How to detect close of verto tab? In-Reply-To: References: Message-ID: We don't currently use a moderator in our conference, but is there a way to configure a conference so that if the moderator isn't sending media for some timeout that the conference hangs-up? If so, then we'd want to make leg A (the verto user) the moderator (without PIN, etc). I couldn't find an answer at https://freeswitch.org/confluence/display/FREESWITCH/mod_conference > ---------- Forwarded message ---------- > > Thanks, Ken. I'd like to know about any such timers to handle cases where >> users don't try to re-enter the conference and only the virtual agent's >> channel has media. > > >> >> >> From: Ken Rice >> To: FreeSWITCH Users Help >> Cc: >> Bcc: >> Date: Thu, 9 Sep 2021 22:27:38 -0500 >> Subject: Re: [Freeswitch-users] How to detect close of verto tab? >> Thats actually a design feature, the whole intent os of someone >> accidentally navigates away they can come right back and resume their call. >> >> there may be some timers you can adjust. >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 22 01:15:55 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 21 Sep 2021 20:15:55 -0500 Subject: [Freeswitch-users] Dialplan not matching In-Reply-To: References: <152101d7af2c$1799b490$46cd1db0$@freeswitch.org> Message-ID: Your cond usage is wrong, notice -ERR, try it at fs_cli till it works.. you're going to have to quote those responses at the end If I recall correctly. /b On Tue, Sep 21, 2021 at 7:45 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > Thanks Ken; > > I already tried inline’ning it, but I’ve tried so many different thing I > might’ve done it wrong somehow, will try that again. > That’s a good trick transferring it to the same extension after all the > cars are set, I’ve never thought of that, will also see what that does. > > Thanks! > > David > > On Tue, 21 Sep 2021 at 22:12, wrote: > >> David, >> >> Don’t forget variables are expanded before the dialplan processing beings. >> >> >> >> So for example >> >> >> >> >> >> >> >> >> >> This will fail as ${somevar} wasn’t set yet to be expanded. You can kinda >> shortcut this with setting inline=”true” where the vars are set or after >> all your vars are set > data=”extension_number XML context”/> to make things reset and re-expand >> all the vars. >> >> >> >> Not sure if that’s whats happening here, but the lack of a complete >> dialplan or extension makes me wonder. >> >> >> >> K >> >> >> >> *From:* FreeSWITCH-users *On >> Behalf Of *David Villasmil >> *Sent:* Tuesday, September 21, 2021 1:51 PM >> *To:* FreeSWITCH Users Help >> *Subject:* [Freeswitch-users] Dialplan not matching >> >> >> >> Hello all, >> >> >> >> I have the following condition: >> >> >> >> >> > expression="^YES$"> >> >> >> >> The log properly prints both variables: >> >> >> >> mod_dptools.c:1879 UUID: 7d736b08-212b-4ac2-abb3-a5e738306fb5 = >> 7d736b08-212b-4ac2-abb3-a5e738306fb5 >> >> >> >> they're exactly the same, and still condition function fails: >> >> >> >> Regex (FAIL) [conf_destination_recur_1] ${cond(${uuid} == >> ${conference_name} ? YES : NO)}(-ERR) =~ /^YES$/ break=on-false >> >> >> >> I also tried a simple condition like >> >> >> >> >> >> >> >> and still no match... >> >> >> Ideas? >> >> >> >> Thanks guys >> >> >> >> David Villasmil >> >> email: david.villasmil.work at gmail.com >> >> phone: +34669448337 >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From avi at avimarcus.net Wed Sep 22 03:44:31 2021 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 22 Sep 2021 03:44:31 +0000 Subject: [Freeswitch-users] How to detect close of verto tab? In-Reply-To: References: Message-ID: <0100017c0b9adea6-6c59a391-caf5-4577-9131-02c24d5cb110-000000@email.amazonses.com> Search for the endconf flag, that you can apply to any user. On Wed, Sep 22, 2021, 3:50 AM David P wrote: > We don't currently use a moderator in our conference, but is there a way > to configure a conference so that if the moderator isn't sending media for > some timeout that the conference hangs-up? > > If so, then we'd want to make leg A (the verto user) the moderator > (without PIN, etc). > > I couldn't find an answer at > https://freeswitch.org/confluence/display/FREESWITCH/mod_conference > > >> ---------- Forwarded message ---------- >> >> Thanks, Ken. I'd like to know about any such timers to handle cases where >>> users don't try to re-enter the conference and only the virtual agent's >>> channel has media. >> >> >>> >>> >>> From: Ken Rice >>> To: FreeSWITCH Users Help >>> Cc: >>> Bcc: >>> Date: Thu, 9 Sep 2021 22:27:38 -0500 >>> Subject: Re: [Freeswitch-users] How to detect close of verto tab? >>> Thats actually a design feature, the whole intent os of someone >>> accidentally navigates away they can come right back and resume their call. >>> >>> there may be some timers you can adjust. >>> >>> _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Sep 22 15:20:35 2021 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 22 Sep 2021 15:20:35 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway Message-ID: Hi All, I have searched for an answer and can't find anything to explain my problem. Underlying request/problem: The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server. I did a test with this bridge and it works fine: > And this one works: /> But I can't do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 22 16:15:09 2021 From: brian at freeswitch.com (Brian West) Date: Wed, 22 Sep 2021 11:15:09 -0500 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this: sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone gets tricky with sofia_contact unless you use xml_curl to dynamically build the url. /b On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy wrote: > Hi All, > > I have searched for an answer and can’t find anything to explain my > problem. > > > > Underlying request/problem: The user wants to ring their desk and after 5 > second leg delay (not shown) add their cell phone, then voicemail on the FS > server. > > > > I did a test with this bridge and it works fine: > > {sip_from_uri=${outbound_caller_id_number}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/ > > > > > > And this one works: > > {presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)} > <%7bpresence_id=220 at fs.bizfocused.com%7d$%7bsofia_contact(220 at fs2.bizfocused.com)%7d,> > /> > > > > But I can’t do both to work. Is it possible to bridge to internal and > external phones? > > > > Thanks, > > Sean > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Sep 22 16:20:19 2021 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 22 Sep 2021 16:20:19 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: Thanks, I have leg_delay working in other places. I am trying without it for now. I just can’t bridge to an internal phone and an external gateway phone in a single bridge. Anything special there? From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this: sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone gets tricky with sofia_contact unless you use xml_curl to dynamically build the url. /b On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy > wrote: Hi All, I have searched for an answer and can’t find anything to explain my problem. Underlying request/problem: The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server. I did a test with this bridge and it works fine: > And this one works: /> But I can’t do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg][https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa] -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 22 17:10:10 2021 From: brian at freeswitch.com (Brian West) Date: Wed, 22 Sep 2021 12:10:10 -0500 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy wrote: > Thanks, I have leg_delay working in other places. I am trying without it > for now. I just can’t bridge to an internal phone and an external gateway > phone in a single bridge. > > Anything special there? > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, September 22, 2021 12:15 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] bridge to internal phone and cell > through a gateway > > > > You're looking for leg_delay, set it inside [] on the legs you want to > delay originate on, so you can originate like this: > > > > sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone > > > > gets tricky with sofia_contact unless you use xml_curl to dynamically > build the url. > > > > /b > > > > > > On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy wrote: > > Hi All, > > I have searched for an answer and can’t find anything to explain my > problem. > > > > Underlying request/problem: The user wants to ring their desk and after 5 > second leg delay (not shown) add their cell phone, then voicemail on the FS > server. > > > > I did a test with this bridge and it works fine: > > {sip_from_uri=${outbound_caller_id_number}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/ > > > > > > And this one works: > > {presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)} > <%7bpresence_id=220 at fs.bizfocused.com%7d$%7bsofia_contact(220 at fs2.bizfocused.com)%7d,> > /> > > > > But I can’t do both to work. Is it possible to bridge to internal and > external phones? > > > > Thanks, > > Sean > > _________________________________________________________________________ > > 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 > 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 > 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 > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From avi at avimarcus.net Wed Sep 22 17:24:15 2021 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 22 Sep 2021 17:24:15 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: <0100017c0e895be0-bc624f99-45b9-406d-9e11-1fcea34919b1-000000@email.amazonses.com> It should work fine to bridge to user/ or Sofia/internal and Sofia/external. A trick you can try is enterprise originate with :_: between endpoints to put each dial out in its own thread. I think it introduces UUID connection difficulties though, for linking the channels together in the CDRs. On Wed, Sep 22, 2021, 7:21 PM Sean Devoy wrote: > Thanks, I have leg_delay working in other places. I am trying without it > for now. I just can’t bridge to an internal phone and an external gateway > phone in a single bridge. > > Anything special there? > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, September 22, 2021 12:15 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] bridge to internal phone and cell > through a gateway > > > > You're looking for leg_delay, set it inside [] on the legs you want to > delay originate on, so you can originate like this: > > > > sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone > > > > gets tricky with sofia_contact unless you use xml_curl to dynamically > build the url. > > > > /b > > > > > > On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy wrote: > > Hi All, > > I have searched for an answer and can’t find anything to explain my > problem. > > > > Underlying request/problem: The user wants to ring their desk and after 5 > second leg delay (not shown) add their cell phone, then voicemail on the FS > server. > > > > I did a test with this bridge and it works fine: > > {sip_from_uri=${outbound_caller_id_number}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/ > > > > > > And this one works: > > {presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)} > <%7bpresence_id=220 at fs.bizfocused.com%7d$%7bsofia_contact(220 at fs2.bizfocused.com)%7d,> > /> > > > > But I can’t do both to work. Is it possible to bridge to internal and > external phones? > > > > Thanks, > > Sean > > _________________________________________________________________________ > > 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 > 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 > 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 > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 22 18:03:18 2021 From: brian at freeswitch.com (Brian West) Date: Wed, 22 Sep 2021 13:03:18 -0500 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: <0100017c0e895be0-bc624f99-45b9-406d-9e11-1fcea34919b1-000000@email.amazonses.com> References: <0100017c0e895be0-bc624f99-45b9-406d-9e11-1fcea34919b1-000000@email.amazonses.com> Message-ID: That gets four dimensional and confusing for many... just pay close attention to each thing being in its own world :) /b On Wed, Sep 22, 2021 at 12:59 PM Avi Marcus wrote: > It should work fine to bridge to user/ or Sofia/internal and > Sofia/external. > > A trick you can try is enterprise originate with :_: between endpoints to > put each dial out in its own thread. I think it introduces UUID connection > difficulties though, for linking the channels together in the CDRs. > > On Wed, Sep 22, 2021, 7:21 PM Sean Devoy wrote: > >> Thanks, I have leg_delay working in other places. I am trying without it >> for now. I just can’t bridge to an internal phone and an external gateway >> phone in a single bridge. >> >> Anything special there? >> >> >> >> *From:* FreeSWITCH-users *On >> Behalf Of *Brian West >> *Sent:* Wednesday, September 22, 2021 12:15 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] bridge to internal phone and cell >> through a gateway >> >> >> >> You're looking for leg_delay, set it inside [] on the legs you want to >> delay originate on, so you can originate like this: >> >> >> >> sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone >> >> >> >> gets tricky with sofia_contact unless you use xml_curl to dynamically >> build the url. >> >> >> >> /b >> >> >> >> >> >> On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy >> wrote: >> >> Hi All, >> >> I have searched for an answer and can’t find anything to explain my >> problem. >> >> >> >> Underlying request/problem: The user wants to ring their desk and after >> 5 second leg delay (not shown) add their cell phone, then voicemail on the >> FS server. >> >> >> >> I did a test with this bridge and it works fine: >> >> > {sip_from_uri=${outbound_caller_id_number}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/ >> > >> >> >> >> And this one works: >> >> > {presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)} >> <%7bpresence_id=220 at fs.bizfocused.com%7d$%7bsofia_contact(220 at fs2.bizfocused.com)%7d,> >> /> >> >> >> >> But I can’t do both to work. Is it possible to bridge to internal and >> external phones? >> >> >> >> Thanks, >> >> Sean >> >> _________________________________________________________________________ >> >> 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 >> 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 >> 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 >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Sep 22 19:46:09 2021 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 22 Sep 2021 19:46:09 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: ”/> but either half does works fine. From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy > wrote: Thanks, I have leg_delay working in other places. I am trying without it for now. I just can’t bridge to an internal phone and an external gateway phone in a single bridge. Anything special there? From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this: sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone gets tricky with sofia_contact unless you use xml_curl to dynamically build the url. /b On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy > wrote: Hi All, I have searched for an answer and can’t find anything to explain my problem. Underlying request/problem: The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server. I did a test with this bridge and it works fine: > And this one works: /> But I can’t do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg][https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa] _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg][https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa] -------------- next part -------------- An HTML attachment was scrubbed... URL: From avi at avimarcus.net Wed Sep 22 20:10:06 2021 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 22 Sep 2021 20:10:06 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: <0100017c0f213387-823dcf23-8841-42b5-a374-091cd7c734fc-000000@email.amazonses.com> I was going to suggest seeing what ${sofia_contact(220 at fs.bizfocused.com)} expands to, but it looks like {} is a problem - it's {variable_scope=thread_global} so I think you can't have multiple ones, and definitely not in the middle of the dial string. Rewrite it with local variables [] like this: -Avi Marcus BestFone On Wed, Sep 22, 2021 at 10:46 PM Sean Devoy wrote: > I am confused. There is nothing dynamic. I want to dial internal extension > 220 and out to my VSP to a cell number. > > > > Why does this *not* work: > > {sip_from_uri=4104207777 at 64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/14105551212 > <%7bpresence_id=220 at fs-bfis2.bizfocused.com%7d$%7bsofia_contact(220 at fs-bfis2.bizfocused.com)%7d,%20%7bsip_from_uri=4104207777 at 64.136.173.30,sip_from_user=4104207777,sip_from_host=64.136.173.30%7dsofia/gateway/voip-innovations-outbound/14105551212> > ”/> > > > > but either half does works fine. > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, September 22, 2021 1:10 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] bridge to internal phone and cell > through a gateway > > > > Use XML Curl to dynamically build your dial strings ? > > > > On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy wrote: > > Thanks, I have leg_delay working in other places. I am trying without it > for now. I just can’t bridge to an internal phone and an external gateway > phone in a single bridge. > > Anything special there? > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Wednesday, September 22, 2021 12:15 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] bridge to internal phone and cell > through a gateway > > > > You're looking for leg_delay, set it inside [] on the legs you want to > delay originate on, so you can originate like this: > > > > sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone > > > > gets tricky with sofia_contact unless you use xml_curl to dynamically > build the url. > > > > /b > > > > > > On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy wrote: > > Hi All, > > I have searched for an answer and can’t find anything to explain my > problem. > > > > Underlying request/problem: The user wants to ring their desk and after 5 > second leg delay (not shown) add their cell phone, then voicemail on the FS > server. > > > > I did a test with this bridge and it works fine: > > {sip_from_uri=${outbound_caller_id_number}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/ > > > > > > And this one works: > > {presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)} > <%7bpresence_id=220 at fs.bizfocused.com%7d$%7bsofia_contact(220 at fs2.bizfocused.com)%7d,> > /> > > > > But I can’t do both to work. Is it possible to bridge to internal and > external phones? > > > > Thanks, > > Sean > > _________________________________________________________________________ > > 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 > 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 > 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 > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > > > _________________________________________________________________________ > > 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 > 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 > 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 > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From botelist at gmail.com Wed Sep 22 21:57:49 2021 From: botelist at gmail.com (Bote Man) Date: Wed, 22 Sep 2021 17:57:49 -0400 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: References: Message-ID: <008601d7affc$e2daabc0$a8900340$@gmail.com> Perhaps it would help if you specify what “doesn’t work” expands to? The call to the cell phone “steals” the supervision because of early media? It doesn’t place the call at all? John Boteler Bote Communications From: FreeSWITCH-users On Behalf Of Sean Devoy Sent: Wednesday, 22 September, 2021 15:46 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: ”/> but either half does works fine. From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy > wrote: Thanks, I have leg_delay working in other places. I am trying without it for now. I just can’t bridge to an internal phone and an external gateway phone in a single bridge. Anything special there? From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this: sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone gets tricky with sofia_contact unless you use xml_curl to dynamically build the url. /b On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy > wrote: Hi All, I have searched for an answer and can’t find anything to explain my problem. Underlying request/problem: The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server. I did a test with this bridge and it works fine: {sip_from_uri=${outbound_caller_id_number}@64.136.173.30,sip_from_user=${outbound_caller_id_number},sip_from_host=64.136.173.30}sofia/gateway/voip-innovations-outbound/141nnnnnn99”/> And this one works: {presence_id=220 at fs.bizfocused.com}${sofia_contact(220 at fs2.bizfocused.com)} /> But I can’t do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Thu Sep 23 19:08:52 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Thu, 23 Sep 2021 20:08:52 +0100 Subject: [Freeswitch-users] Candidate switching mid-call Message-ID: Hello all, Is there any reason freeswitch can request to switch ICE candidates in the middle of a call? Thanks David -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From len at freeswitch.org Fri Sep 24 00:26:15 2021 From: len at freeswitch.org (Len Graham) Date: Thu, 23 Sep 2021 20:26:15 -0400 Subject: [Freeswitch-users] EOL Community FreeSWITCH Debian 8 Message-ID: Hello, This is a notice about FreeSWITCH (Community) Debian 8 Jessie Packages. As you know, Debian 8 is well past EOL(June 30, 2020 ). FreeSWITCH (Community) Debian 8 "Jessie" packages will be removed from our public repo to promote Debian 11 "Bullseye". Removal date: Repo packages for FreeSWITCH (Community) Debian 8 Jessie packages will be September 29th 2021. Thank you for choosing FreeSWITCH! Sincerely, FreeSWITCH -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel at textplus.com Fri Sep 24 01:04:42 2021 From: joel at textplus.com (Joel Serrano) Date: Thu, 23 Sep 2021 18:04:42 -0700 Subject: [Freeswitch-users] EOL Community FreeSWITCH Debian 8 In-Reply-To: References: Message-ID: Hi Len, Will Debian 11 "Bullseye" packages be available anytime soon or will we have to wait until after ClueCon? :-) Thanks, Joel. On Thu, Sep 23, 2021 at 5:27 PM Len Graham wrote: > Hello, > > This is a notice about FreeSWITCH (Community) Debian 8 Jessie Packages. > > As you know, Debian 8 is well past EOL(June 30, 2020 > ). FreeSWITCH (Community) > Debian 8 "Jessie" packages will be removed from our public repo to promote > Debian 11 "Bullseye". > > > Removal date: > > Repo packages for FreeSWITCH (Community) Debian 8 Jessie packages will be > September 29th 2021. > > > Thank you for choosing FreeSWITCH! > > Sincerely, > > FreeSWITCH > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Fri Sep 24 23:52:38 2021 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sat, 25 Sep 2021 00:52:38 +0100 Subject: [Freeswitch-users] Call migration from box A to box B behind a proxy. Message-ID: Hello all, Call migration (or recovery) is usually done with floating IPs, but i understand it is possible without any floating IPs. Can Sofia recover do that? in theory it already has all the info it needs to move the call from another box (i.e. the recovery table), it would just need to not try to bind the ip from the A-box, and simply send out a reINVITE to the client (via the proxt) is this possible? Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Sat Sep 25 03:48:19 2021 From: davidswalkabout at gmail.com (David P) Date: Sat, 25 Sep 2021 15:48:19 +1200 Subject: [Freeswitch-users] How can verto tell FS to end the connection? Message-ID: I had always assumed that verto's hangup method sent a msg to FS that its leg should be terminated, but when I looked in the verto source today I found that this method only changes local state. Should verto's unsubscribe method be used for this, or is there something like verto.sendMethod("verto.bye") ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jerry.Kendall at BishopHosting.com Fri Sep 24 23:32:00 2021 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Fri, 24 Sep 2021 19:32:00 -0400 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: <35d5ded3-4314-bf0a-698c-9a91d039c10b@gmail.com> References: <35d5ded3-4314-bf0a-698c-9a91d039c10b@gmail.com> Message-ID: <4b408d3c-22d9-d6ef-13a9-0af6afbcb6da@BishopHosting.com> Hello all, I'm having some interesting problems with our Freeswitch system. I have found Tim's posting athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html It seems very similar but does not help me... Wish it did. Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM Network: Dual 10Gig Fiber to 40Gig fabric Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY We have 2 different FS systems 1) One acting as an SBC of sorts - process SIP/RTP 2) One acting as a PBX - process SIP/RTP Providers are connected to SBC (public - context) PBX (sbc - context) connects to SBC (internal - context) End Points connect to PBX (device - context) picographically: ITSP --- SBC --- PBX --- EndPoints The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons Registration period is maxed to 60 minutes and most devices use the default of 60 minutes Typically, We see only a few CPS, maybe 5 if it's really busy All our trunks are SIP. Only using PCMU/8000 codec. We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. I keep hearing about FS systems handling thousands of users on one box. I'm nowhere near that and it seems to be maxed out. Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit So... The problem The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running The audio seems fine - no complaints reported.. There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up for example, for testing this, I have programmed a BLF on one phone. I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red then after a few seconds, I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. They change the state of the subscribe target Here is the LUA script to turn the light ON(RED) ############################################################## #!/lua local random = math.random math.randomseed(os.time()) local function uuid() local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' return string.gsub(template, '[xy]', function (c) local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) return string.format('%x', v) end) end local function SendCallDirectorBLFevent() Uuid = uuid() local event = freeswitch.Event("PRESENCE_IN") event:addHeader("proto", "sip") event:addHeader("event_type", "presence") event:addHeader("alt_event_type", "dialog") event:addHeader("Presence-Call-Direction", "outbound") event:addHeader("from", argv[1]) event:addHeader("login", argv[1]) event:addHeader("unique-id", Uuid ) event:addHeader("answer-state", "confirmed") event:fire(); end SendCallDirectorBLFevent() ############################################################## The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. SO..... I have been trying to resolve this for about a month - looking everywhere I could. I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. I have confirmed 2 things today: 1) it's not using mod_mariadb as I put back the ODBC and not help 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... Any information that would be helpful? Thanks, Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jerry.Kendall at BishopHosting.com Sat Sep 25 00:19:19 2021 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Fri, 24 Sep 2021 20:19:19 -0400 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: <35d5ded3-4314-bf0a-698c-9a91d039c10b@gmail.com> References: <35d5ded3-4314-bf0a-698c-9a91d039c10b@gmail.com> Message-ID: <8f9cf607-be81-369c-4fbc-be1a1abdf175@BishopHosting.com> Hello all, I'm having some interesting problems with our Freeswitch system. I have found Tim's posting athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html It seems very similar but does not help me... Wish it did. Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM Network: Dual 10Gig Fiber to 40Gig fabric Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY We have 2 different FS systems 1) One acting as an SBC of sorts - process SIP/RTP 2) One acting as a PBX - process SIP/RTP Providers are connected to SBC (public - context) PBX (sbc - context) connects to SBC (internal - context) End Points connect to PBX (device - context) picographically: ITSP --- SBC --- PBX --- EndPoints The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons Registration period is maxed to 60 minutes and most devices use the default of 60 minutes Typically, We see only a few CPS, maybe 5 if it's really busy All our trunks are SIP. Only using PCMU/8000 codec. We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. I keep hearing about FS systems handling thousands of users on one box. I'm nowhere near that and it seems to be maxed out. Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit So... The problem The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running The audio seems fine - no complaints reported.. There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up for example, for testing this, I have programmed a BLF on one phone. I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red then after a few seconds, I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. They change the state of the subscribe target Here is the LUA script to turn the light ON(RED) ############################################################## #!/lua local random = math.random math.randomseed(os.time()) local function uuid() local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' return string.gsub(template, '[xy]', function (c) local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) return string.format('%x', v) end) end local function SendCallDirectorBLFevent() Uuid = uuid() local event = freeswitch.Event("PRESENCE_IN") event:addHeader("proto", "sip") event:addHeader("event_type", "presence") event:addHeader("alt_event_type", "dialog") event:addHeader("Presence-Call-Direction", "outbound") event:addHeader("from", argv[1]) event:addHeader("login", argv[1]) event:addHeader("unique-id", Uuid ) event:addHeader("answer-state", "confirmed") event:fire(); end SendCallDirectorBLFevent() ############################################################## The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. SO..... I have been trying to resolve this for about a month - looking everywhere I could. I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. I have confirmed 2 things today: 1) it's not using mod_mariadb as I put back the ODBC and not help 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... Any information that would be helpful? Thanks, Jerry From ak at hejdu.dk Sun Sep 26 20:23:19 2021 From: ak at hejdu.dk (Allan Kristensen) Date: Sun, 26 Sep 2021 22:23:19 +0200 Subject: [Freeswitch-users] Confused about codecs? Message-ID: Hello, We are getting these weird log messages from FS and I'm a little uncertain what they are (there are thousands being logged), can someone clarify? September 23rd 2021, 10:35:40.849 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.844181 [WARNING] switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). September 23rd 2021, 10:35:40.749 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.744202 [WARNING] switch_core_media.c:3305 Changing current codec to PCMA (payload type 8). September 23rd 2021, 10:35:40.669 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.664168 [WARNING] switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). September 23rd 2021, 10:35:40.569 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.564190 [WARNING] switch_core_media.c:3305 Changing current codec to PCMA (payload type 8). September 23rd 2021, 10:35:40.489 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.484194 [WARNING] switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). September 23rd 2021, 10:35:40.389 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.384180 [WARNING] switch_core_media.c:3305 Changing current codec to PCMA (payload type 8). September 23rd 2021, 10:35:40.309 ms-euc1-1a 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.304190 [WARNING] switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). I'm thinking it's because we are receiving RTP packets with both types from remote? It only happens for a specific provider, so I'm thinking it's them, I just need to tell them the problem is. During codec negotiations we offered PCMA + PCMU and the SDP response from them also had PCMA + PCMU, that means we can choose what we want right? not that they should send us both? ;-) Thank you... Allan -------------- next part -------------- An HTML attachment was scrubbed... URL: From krice at freeswitch.org Sun Sep 26 20:25:57 2021 From: krice at freeswitch.org (Ken Rice) Date: Sun, 26 Sep 2021 15:25:57 -0500 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: <4b408d3c-22d9-d6ef-13a9-0af6afbcb6da@BishopHosting.com> References: <4b408d3c-22d9-d6ef-13a9-0af6afbcb6da@BishopHosting.com> Message-ID: just keep in mind registration and blf subs etc count as CPS (sip calls/sec) why not offload that stuff to opensips? Sent from my iPhone > On Sep 26, 2021, at 09:18, Jerry Kendall wrote: > >  > Hello all, > > I'm having some interesting problems with our Freeswitch system. > > I have found Tim's posting at https://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html > > It seems very similar but does not help me... Wish it did. > > > Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM > Network: Dual 10Gig Fiber to 40Gig fabric > > Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY > > > > We have 2 different FS systems > 1) One acting as an SBC of sorts - process SIP/RTP > 2) One acting as a PBX - process SIP/RTP > > Providers are connected to SBC (public - context) > PBX (sbc - context) connects to SBC (internal - context) > End Points connect to PBX (device - context) > > picographically: > > ITSP --- SBC --- PBX --- EndPoints > > The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT > > About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons > Registration period is maxed to 60 minutes and most devices use the default of 60 minutes > > Typically, We see only a few CPS, maybe 5 if it's really busy > > All our trunks are SIP. Only using PCMU/8000 codec. > > We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. > > Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. > > I keep hearing about FS systems handling thousands of users on one box. > I'm nowhere near that and it seems to be maxed out. > > Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit > > So... The problem > > The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). > > Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running > > The audio seems fine - no complaints reported.. > There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up > > for example, for testing this, I have programmed a BLF on one phone. > > I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red > then after a few seconds, > I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green > Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. > > > They change the state of the subscribe target > Here is the LUA script to turn the light ON(RED) > > ############################################################## > #!/lua > > local random = math.random > math.randomseed(os.time()) > > local function uuid() > local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' > return string.gsub(template, '[xy]', function (c) > local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) > return string.format('%x', v) > end) > end > > local function SendCallDirectorBLFevent() > > Uuid = uuid() > > local event = freeswitch.Event("PRESENCE_IN") > event:addHeader("proto", "sip") > event:addHeader("event_type", "presence") > event:addHeader("alt_event_type", "dialog") > event:addHeader("Presence-Call-Direction", "outbound") > event:addHeader("from", argv[1]) > event:addHeader("login", argv[1]) > event:addHeader("unique-id", Uuid ) > event:addHeader("answer-state", "confirmed") > event:fire(); > end > > SendCallDirectorBLFevent() > ############################################################## > > The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. > > SO..... > > I have been trying to resolve this for about a month - looking everywhere I could. > I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... > > > I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. > > I have confirmed 2 things today: > 1) it's not using mod_mariadb as I put back the ODBC and not help > 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... > > > Any information that would be helpful? > > > Thanks, > Jerry > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jerry.Kendall at BishopHosting.com Sun Sep 26 17:15:16 2021 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Sun, 26 Sep 2021 13:15:16 -0400 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: <8f9cf607-be81-369c-4fbc-be1a1abdf175@BishopHosting.com> References: <35d5ded3-4314-bf0a-698c-9a91d039c10b@gmail.com> <8f9cf607-be81-369c-4fbc-be1a1abdf175@BishopHosting.com> Message-ID: So, after 3 weeks of trying to get to the bottom of the problem, it turns out that it was my LUA scripts... Kill the LUA scripts and the problems all vanished (ran SIPp at 30cps for an hour and no issues). The lua scripts are very simple, they are used to log selected events in the DB... So, the next question: why would launching a lua script to save event data in the DB cause such problems.... The lua script is basically: ===================================== local function CallBack_1(row) end local function SaveEventInfo() local EventName = getSIPHeader("Event-Name") local EventSubClass = getSIPHeader("Event-Subclass") local CoreUUID = getSIPHeader("Core-UUID") local Switchname = getSIPHeader("FreeSWITCH-Switchname") local Sequence = getSIPHeader("Event-Sequence") local State = getSIPHeader("Channel-State") //get a few more headers Build SQL statement = ...... ConnectDB() dbh:query(SQL, CallBack_1) DisconnectDB() end if ( EventName == "CHANNEL_CREATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_DESTROY" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_STATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_CALLSTATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_ANSWER" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_HANGUP" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_EXECUTE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_HOLD" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UNHOLD" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_BRIDGE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UNBRIDGE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_PROGRESS" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_PROGRESS_MEDIA" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_OUTGOING" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_PARK" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UNPARK" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_APPLICATION" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_ORIGINATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UUID" ) then SaveEventInfo() elseif ( EventName == "CUSTOM" ) then SaveEventInfo() end =============================================== Any thoughts? On 9/24/2021 8:19 PM, Jerry Kendall wrote: > Hello all, > > I'm having some interesting problems with our Freeswitch system. > > I have found Tim's posting athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html > > It seems very similar but does not help me... Wish it did. > > > Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM > Network: Dual 10Gig Fiber to 40Gig fabric > > Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY > > > > We have 2 different FS systems > 1) One acting as an SBC of sorts - process SIP/RTP > 2) One acting as a PBX - process SIP/RTP > > Providers are connected to SBC (public - context) > PBX (sbc - context) connects to SBC (internal - context) > End Points connect to PBX (device - context) > > picographically: > > ITSP --- SBC --- PBX --- EndPoints > > The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT > > About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons > Registration period is maxed to 60 minutes and most devices use the default of 60 minutes > > Typically, We see only a few CPS, maybe 5 if it's really busy > > All our trunks are SIP.  Only using PCMU/8000 codec. > > We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. > > Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. > > I keep hearing about FS systems handling thousands of users on one box. > I'm nowhere near that and it seems to be maxed out. > > Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit > > So... The problem > > The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). > > Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running > > The audio seems fine - no complaints reported.. > There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up > > for example, for testing this, I have programmed a BLF on one phone. > > I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red > then after a few seconds, > I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green > Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. > > > They change the state of the subscribe target > Here is the LUA script to turn the light ON(RED) > > ############################################################## > #!/lua > > local random = math.random > math.randomseed(os.time()) > > local function uuid() >     local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' >     return string.gsub(template, '[xy]', function (c) >         local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) >         return string.format('%x', v) >     end) > end > > local function SendCallDirectorBLFevent() > >         Uuid = uuid() > >         local event = freeswitch.Event("PRESENCE_IN") >         event:addHeader("proto", "sip") >         event:addHeader("event_type", "presence") >         event:addHeader("alt_event_type", "dialog") >         event:addHeader("Presence-Call-Direction", "outbound") >         event:addHeader("from", argv[1]) >         event:addHeader("login", argv[1]) >         event:addHeader("unique-id", Uuid ) >         event:addHeader("answer-state", "confirmed") >         event:fire(); > end > > SendCallDirectorBLFevent() > ############################################################## > > The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. > > SO..... > > I have been trying to resolve this for about a month - looking everywhere I could. > I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... > > > I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. > > I have confirmed 2 things today: > 1) it's not using mod_mariadb as I put back the ODBC and not help > 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... > > > Any information that would be helpful? > > > Thanks, > Jerry > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From Jerry.Kendall at BishopHosting.com Sun Sep 26 21:16:50 2021 From: Jerry.Kendall at BishopHosting.com (Jerry Kendall) Date: Sun, 26 Sep 2021 17:16:50 -0400 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: References: <4b408d3c-22d9-d6ef-13a9-0af6afbcb6da@BishopHosting.com> Message-ID: Thanks Ken, I have actually played with putting Kamailio in between the End Devices and FS but could not get Kamailio to do the REG/SUB and let all other things hit FS... I could'nt even get the SUBs to work of Kamailio.. I get the REG working but that was all. Do you have a cfg file that can get me started ? Does anyone ? Thanks, Jerry On 9/26/2021 4:25 PM, Ken Rice wrote: > just keep in mind registration and blf subs etc count as CPS (sip calls/sec) why not offload that stuff to opensips? > > Sent from my iPhone > >> On Sep 26, 2021, at 09:18, Jerry Kendall wrote: >> >>  >> Hello all, >> >> I'm having some interesting problems with our Freeswitch system. >> >> I have found Tim's posting athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html >> >> It seems very similar but does not help me... Wish it did. >> >> >> Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM >> Network: Dual 10Gig Fiber to 40Gig fabric >> >> Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY >> >> >> >> We have 2 different FS systems >> 1) One acting as an SBC of sorts - process SIP/RTP >> 2) One acting as a PBX - process SIP/RTP >> >> Providers are connected to SBC (public - context) >> PBX (sbc - context) connects to SBC (internal - context) >> End Points connect to PBX (device - context) >> >> picographically: >> >> ITSP --- SBC --- PBX --- EndPoints >> >> The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT >> >> About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons >> Registration period is maxed to 60 minutes and most devices use the default of 60 minutes >> >> Typically, We see only a few CPS, maybe 5 if it's really busy >> >> All our trunks are SIP. Only using PCMU/8000 codec. >> >> We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. >> >> Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. >> >> I keep hearing about FS systems handling thousands of users on one box. >> I'm nowhere near that and it seems to be maxed out. >> >> Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit >> >> So... The problem >> >> The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). >> >> Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running >> >> The audio seems fine - no complaints reported.. >> There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up >> >> for example, for testing this, I have programmed a BLF on one phone. >> >> I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red >> then after a few seconds, >> I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green >> Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. >> >> >> They change the state of the subscribe target >> Here is the LUA script to turn the light ON(RED) >> >> ############################################################## >> #!/lua >> >> local random = math.random >> math.randomseed(os.time()) >> >> local function uuid() >> local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' >> return string.gsub(template, '[xy]', function (c) >> local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) >> return string.format('%x', v) >> end) >> end >> >> local function SendCallDirectorBLFevent() >> >> Uuid = uuid() >> >> local event = freeswitch.Event("PRESENCE_IN") >> event:addHeader("proto", "sip") >> event:addHeader("event_type", "presence") >> event:addHeader("alt_event_type", "dialog") >> event:addHeader("Presence-Call-Direction", "outbound") >> event:addHeader("from", argv[1]) >> event:addHeader("login", argv[1]) >> event:addHeader("unique-id", Uuid ) >> event:addHeader("answer-state", "confirmed") >> event:fire(); >> end >> >> SendCallDirectorBLFevent() >> ############################################################## >> >> The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. >> >> SO..... >> >> I have been trying to resolve this for about a month - looking everywhere I could. >> I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... >> >> >> I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. >> >> I have confirmed 2 things today: >> 1) it's not using mod_mariadb as I put back the ODBC and not help >> 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... >> >> >> Any information that would be helpful? >> >> >> Thanks, >> Jerry >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From krice at freeswitch.org Mon Sep 27 01:26:13 2021 From: krice at freeswitch.org (Ken Rice) Date: Sun, 26 Sep 2021 20:26:13 -0500 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: References: Message-ID: Sorry i dont have a config. However with OpenSips they have this midregister proxy option that eats a lot of the registration load for nat busting. you might read up on that and see if that helps any Sent from my iPhone > On Sep 26, 2021, at 20:01, Jerry Kendall wrote: > > Thanks Ken, > > I have actually played with putting Kamailio in between the End Devices and FS but could not get Kamailio to do the REG/SUB and let all other things hit FS... > I could'nt even get the SUBs to work of Kamailio.. > > I get the REG working but that was all. > > Do you have a cfg file that can get me started ? Does anyone ? > > Thanks, > Jerry > >> On 9/26/2021 4:25 PM, Ken Rice wrote: >> just keep in mind registration and blf subs etc count as CPS (sip calls/sec) why not offload that stuff to opensips? >> >> Sent from my iPhone >> >>>> On Sep 26, 2021, at 09:18, Jerry Kendall wrote: >>> >>>  >>> Hello all, >>> >>> I'm having some interesting problems with our Freeswitch system. >>> >>> I have found Tim's posting athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html >>> >>> It seems very similar but does not help me... Wish it did. >>> >>> >>> Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM >>> Network: Dual 10Gig Fiber to 40Gig fabric >>> >>> Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY >>> >>> >>> >>> We have 2 different FS systems >>> 1) One acting as an SBC of sorts - process SIP/RTP >>> 2) One acting as a PBX - process SIP/RTP >>> >>> Providers are connected to SBC (public - context) >>> PBX (sbc - context) connects to SBC (internal - context) >>> End Points connect to PBX (device - context) >>> >>> picographically: >>> >>> ITSP --- SBC --- PBX --- EndPoints >>> >>> The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT >>> >>> About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons >>> Registration period is maxed to 60 minutes and most devices use the default of 60 minutes >>> >>> Typically, We see only a few CPS, maybe 5 if it's really busy >>> >>> All our trunks are SIP. Only using PCMU/8000 codec. >>> >>> We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. >>> >>> Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. >>> >>> I keep hearing about FS systems handling thousands of users on one box. >>> I'm nowhere near that and it seems to be maxed out. >>> >>> Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit >>> >>> So... The problem >>> >>> The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). >>> >>> Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running >>> >>> The audio seems fine - no complaints reported.. >>> There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up >>> >>> for example, for testing this, I have programmed a BLF on one phone. >>> >>> I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red >>> then after a few seconds, >>> I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green >>> Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. >>> >>> >>> They change the state of the subscribe target >>> Here is the LUA script to turn the light ON(RED) >>> >>> ############################################################## >>> #!/lua >>> >>> local random = math.random >>> math.randomseed(os.time()) >>> >>> local function uuid() >>> local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' >>> return string.gsub(template, '[xy]', function (c) >>> local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) >>> return string.format('%x', v) >>> end) >>> end >>> >>> local function SendCallDirectorBLFevent() >>> >>> Uuid = uuid() >>> >>> local event = freeswitch.Event("PRESENCE_IN") >>> event:addHeader("proto", "sip") >>> event:addHeader("event_type", "presence") >>> event:addHeader("alt_event_type", "dialog") >>> event:addHeader("Presence-Call-Direction", "outbound") >>> event:addHeader("from", argv[1]) >>> event:addHeader("login", argv[1]) >>> event:addHeader("unique-id", Uuid ) >>> event:addHeader("answer-state", "confirmed") >>> event:fire(); >>> end >>> >>> SendCallDirectorBLFevent() >>> ############################################################## >>> >>> The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. >>> >>> SO..... >>> >>> I have been trying to resolve this for about a month - looking everywhere I could. >>> I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... >>> >>> >>> I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. >>> >>> I have confirmed 2 things today: >>> 1) it's not using mod_mariadb as I put back the ODBC and not help >>> 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... >>> >>> >>> Any information that would be helpful? >>> >>> >>> Thanks, >>> Jerry >>> _________________________________________________________________________ >>> >>> 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 >>> 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 >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From krice at freeswitch.org Mon Sep 27 01:28:01 2021 From: krice at freeswitch.org (Ken Rice) Date: Sun, 26 Sep 2021 20:28:01 -0500 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: References: Message-ID: <7448E267-B536-41A9-8B2A-9210D99B3AA7@freeswitch.org> Interesting, one thing you might try is just sryup something to listen for these events right from ESL externally. then you dont have to take the fork and spawn a new process for each event. Sent from my iPhone > On Sep 26, 2021, at 20:01, Jerry Kendall wrote: > > So, after 3 weeks of trying to get to the bottom of the problem, > > > it turns out that it was my LUA scripts... > > > Kill the LUA scripts and the problems all vanished (ran SIPp at 30cps for an hour and no issues). > > > The lua scripts are very simple, they are used to log selected events in the DB... > > > So, the next question: why would launching a lua script to save event data in the DB cause such problems.... > > The lua script is basically: > > ===================================== > > local function CallBack_1(row) > end > > > local function SaveEventInfo() > > local EventName = getSIPHeader("Event-Name") > local EventSubClass = getSIPHeader("Event-Subclass") > local CoreUUID = getSIPHeader("Core-UUID") > local Switchname = getSIPHeader("FreeSWITCH-Switchname") > local Sequence = getSIPHeader("Event-Sequence") > local State = getSIPHeader("Channel-State") > //get a few more headers > > Build SQL statement = ...... > > ConnectDB() > dbh:query(SQL, CallBack_1) > DisconnectDB() > > end > > > if ( EventName == "CHANNEL_CREATE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_DESTROY" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_STATE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_CALLSTATE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_ANSWER" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_HANGUP" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_EXECUTE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_HOLD" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_UNHOLD" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_BRIDGE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_UNBRIDGE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_PROGRESS" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_PROGRESS_MEDIA" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_OUTGOING" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_PARK" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_UNPARK" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_APPLICATION" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_ORIGINATE" ) then SaveEventInfo() > elseif ( EventName == "CHANNEL_UUID" ) then SaveEventInfo() > elseif ( EventName == "CUSTOM" ) then SaveEventInfo() > end > =============================================== > > > Any thoughts? > > > > >> On 9/24/2021 8:19 PM, Jerry Kendall wrote: >> Hello all, >> >> I'm having some interesting problems with our Freeswitch system. >> >> I have found Tim's posting athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html >> >> It seems very similar but does not help me... Wish it did. >> >> >> Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM >> Network: Dual 10Gig Fiber to 40Gig fabric >> >> Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES - VERY FAST - ULTRA LOW LATENCY >> >> >> >> We have 2 different FS systems >> 1) One acting as an SBC of sorts - process SIP/RTP >> 2) One acting as a PBX - process SIP/RTP >> >> Providers are connected to SBC (public - context) >> PBX (sbc - context) connects to SBC (internal - context) >> End Points connect to PBX (device - context) >> >> picographically: >> >> ITSP --- SBC --- PBX --- EndPoints >> >> The machine running FreeSWITCH as an SBC is fine - 50 calls (100 sessions) and near zero load average - CPU idle 98% - ALL GREAT >> >> About 100 devices registered, all NAT'd, approx 50 subscription via BLF buttons >> Registration period is maxed to 60 minutes and most devices use the default of 60 minutes >> >> Typically, We see only a few CPS, maybe 5 if it's really busy >> >> All our trunks are SIP. Only using PCMU/8000 codec. >> >> We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. >> >> Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. >> >> I keep hearing about FS systems handling thousands of users on one box. >> I'm nowhere near that and it seems to be maxed out. >> >> Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a 2021-03-25 13:16:09Z 64bit >> >> So... The problem >> >> The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). >> >> Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions active - 315 sessions since startup - 45 threads - 8 hours running >> >> The audio seems fine - no complaints reported.. >> There is a very noticable chocking on the BLFs though... Every few minutes, the BLFs just freeze - yes - freeze... Then they catch up >> >> for example, for testing this, I have programmed a BLF on one phone. >> >> I run manually "luarun /etc/freeswitch/scripts/on.lua *8896 at domain.com" - the lights turns red >> then after a few seconds, >> I run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" - the light turns green >> Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. >> >> >> They change the state of the subscribe target >> Here is the LUA script to turn the light ON(RED) >> >> ############################################################## >> #!/lua >> >> local random = math.random >> math.randomseed(os.time()) >> >> local function uuid() >> local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' >> return string.gsub(template, '[xy]', function (c) >> local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) >> return string.format('%x', v) >> end) >> end >> >> local function SendCallDirectorBLFevent() >> >> Uuid = uuid() >> >> local event = freeswitch.Event("PRESENCE_IN") >> event:addHeader("proto", "sip") >> event:addHeader("event_type", "presence") >> event:addHeader("alt_event_type", "dialog") >> event:addHeader("Presence-Call-Direction", "outbound") >> event:addHeader("from", argv[1]) >> event:addHeader("login", argv[1]) >> event:addHeader("unique-id", Uuid ) >> event:addHeader("answer-state", "confirmed") >> event:fire(); >> end >> >> SendCallDirectorBLFevent() >> ############################################################## >> >> The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. >> >> SO..... >> >> I have been trying to resolve this for about a month - looking everywhere I could. >> I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... >> >> >> I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. >> >> I have confirmed 2 things today: >> 1) it's not using mod_mariadb as I put back the ODBC and not help >> 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... >> >> >> Any information that would be helpful? >> >> >> Thanks, >> Jerry >> >> >> _________________________________________________________________________ >> >> 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 >> 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 >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From s.safarov at gmail.com Mon Sep 27 05:47:37 2021 From: s.safarov at gmail.com (Sergey Safarov) Date: Mon, 27 Sep 2021 08:47:37 +0300 Subject: [Freeswitch-users] Confused about codecs? In-Reply-To: References: Message-ID: Look like on the other side used Asterisk. In such a case, I offer only one codec and from another side, I receive a response with only one code. Sergey On Sun, Sep 26, 2021 at 11:40 PM Allan Kristensen wrote: > Hello, > > We are getting these weird log messages from FS and I'm a little uncertain > what they are (there are thousands being logged), can someone clarify? > > September 23rd 2021, 10:35:40.849 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.844181 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). > September 23rd 2021, 10:35:40.749 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.744202 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMA (payload type 8). > September 23rd 2021, 10:35:40.669 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.664168 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). > September 23rd 2021, 10:35:40.569 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.564190 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMA (payload type 8). > September 23rd 2021, 10:35:40.489 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.484194 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). > September 23rd 2021, 10:35:40.389 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.384180 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMA (payload type 8). > September 23rd 2021, 10:35:40.309 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.304190 [WARNING] > switch_core_media.c:3305 Changing current codec to PCMU (payload type 0). > > I'm thinking it's because we are receiving RTP packets with both types > from remote? > > It only happens for a specific provider, so I'm thinking it's them, I just > need to tell them the problem is. > During codec negotiations we offered PCMA + PCMU and the SDP response from > them also had PCMA + PCMU, that means we can choose what we want right? not > that they should send us both? ;-) > > Thank you... > Allan > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.berger at foncloud.net Mon Sep 27 07:58:51 2021 From: christian.berger at foncloud.net (Christian Berger) Date: Mon, 27 Sep 2021 09:58:51 +0200 Subject: [Freeswitch-users] Confused about codecs? In-Reply-To: References: Message-ID: <98e8cac7-5caf-8e2a-093b-663fe165a951@foncloud.net> Hi Allan, this is a very simple logical bug which exists in Asterisk (and apparently in FreeSwitch). If you allow for multiple codecs, Asterisk will just start with one, but once it gets a frame from the other side with a different codec, it will switch to that codec. If both sides do that, they start with different codecs and the latency is high enough, they'll get semi-stuck in a codec switching loop until one frame gets lost. The proper bugfix would be to keep the codec choice "sticky" and not to change the codec on every packet. (e.g. wait for n packets with a new codec before you change to that codec) One side doing that should solve the problem. The workaround, as mentioned before, is to limit the codecs you speak, but that will likely give you other slight problems regarding voice quality. Bye Christian Berger Am 26.09.21 um 22:23 schrieb Allan Kristensen: > Hello, > > We are getting these weird log messages from FS and I'm a little > uncertain what they are (there are thousands being logged), can someone > clarify? > > September 23rd 2021, 10:35:40.849 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.844181 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > (payload type 0). > September 23rd 2021, 10:35:40.749 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.744202 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMA > (payload type 8). > September 23rd 2021, 10:35:40.669 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.664168 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > (payload type 0). > September 23rd 2021, 10:35:40.569 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.564190 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMA > (payload type 8). > September 23rd 2021, 10:35:40.489 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.484194 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > (payload type 0). > September 23rd 2021, 10:35:40.389 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.384180 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMA > (payload type 8). > September 23rd 2021, 10:35:40.309 ms-euc1-1a > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.304190 > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > (payload type 0). > > I'm thinking it's because we are receiving RTP packets with both types > from remote? > > It only happens for a specific provider, so I'm thinking it's them, I > just need to tell them the problem is. > During codec negotiations we offered PCMA + PCMU and the SDP response > from them also had PCMA + PCMU, that means we can choose what we want > right? not that they should send us both? ;-) > > Thank you... >    Allan > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > Christian Berger   foncloud GmbH & Co KG Hahlweg 2a 36093 Künzell Tel: / Fax: +49 661 968990-99 Email: Christian.Berger at foncloud.net Web: www.foncloud.net P.S.: Wussten Sie schon?  Unter https://www.foncloud.net/wissen  finden Sie zahlreiche Informationen und hilfreiche Artikel rund um unsere Produkte und Services.   Registergericht: Amtsgericht Fulda, Persönlich haftende Gesellschafterin der foncloud GmbH&Co.KG: Global Brain Network GmbHGeschäftsführer der Global Brain Network GmbH: Peter Krug Sitz der Gesellschaft: Künzell. Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0eb5f48c.e33a6fec.jpg Type: image/jpeg Size: 56822 bytes Desc: not available URL: From sdevoy at bizfocused.com Mon Sep 27 15:03:13 2021 From: sdevoy at bizfocused.com (Sean Devoy) Date: Mon, 27 Sep 2021 15:03:13 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: <008601d7affc$e2daabc0$a8900340$@gmail.com> References: <008601d7affc$e2daabc0$a8900340$@gmail.com> Message-ID: Wow I can’t believe I did that. I hate when I support people who report “it didn’t work.” I apologize for my lapse in sensibility. I will gather more info and update this. But first, I think Avi may have provided a fix. From: FreeSWITCH-users On Behalf Of Bote Man Sent: Wednesday, September 22, 2021 5:58 PM To: 'FreeSWITCH Users Help' Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Perhaps it would help if you specify what “doesn’t work” expands to? The call to the cell phone “steals” the supervision because of early media? It doesn’t place the call at all? John Boteler Bote Communications From: FreeSWITCH-users > On Behalf Of Sean Devoy Sent: Wednesday, 22 September, 2021 15:46 To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: ”/> but either half does works fine. From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy > wrote: Thanks, I have leg_delay working in other places. I am trying without it for now. I just can’t bridge to an internal phone and an external gateway phone in a single bridge. Anything special there? From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this: sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone gets tricky with sofia_contact unless you use xml_curl to dynamically build the url. /b On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy > wrote: Hi All, I have searched for an answer and can’t find anything to explain my problem. Underlying request/problem: The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server. I did a test with this bridge and it works fine: > And this one works: /> But I can’t do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg][https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa] _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg][https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa] -------------- next part -------------- An HTML attachment was scrubbed... URL: From ak at hejdu.dk Mon Sep 27 15:32:53 2021 From: ak at hejdu.dk (Allan Kristensen) Date: Mon, 27 Sep 2021 17:32:53 +0200 Subject: [Freeswitch-users] Confused about codecs? In-Reply-To: <98e8cac7-5caf-8e2a-093b-663fe165a951@foncloud.net> References: <98e8cac7-5caf-8e2a-093b-663fe165a951@foncloud.net> Message-ID: Hello, Thank you for your help. It's an interesting problem. Since we are transcoding from OPUS, we could try to just offer them one codec, but I'm not sure if US calls will work. There isn't any way to tell Freeswitch to keep the codec "sticky" for a short interval of time / packet count? On Mon, Sep 27, 2021 at 10:06 AM Christian Berger < christian.berger at foncloud.net> wrote: > Hi Allan, > > this is a very simple logical bug which exists in Asterisk (and > apparently in FreeSwitch). > If you allow for multiple codecs, Asterisk will just start with one, but > once it gets a frame from the other side with a different codec, it will > switch to that codec. If both sides do that, they start with different > codecs and the latency is high enough, they'll get semi-stuck in a codec > switching loop until one frame gets lost. > > The proper bugfix would be to keep the codec choice "sticky" and not to > change the codec on every packet. (e.g. wait for n packets with a new > codec before you change to that codec) One side doing that should solve > the problem. > > The workaround, as mentioned before, is to limit the codecs you speak, > but that will likely give you other slight problems regarding voice > quality. > > Bye > Christian Berger > > > Am 26.09.21 um 22:23 schrieb Allan Kristensen: > > Hello, > > > > We are getting these weird log messages from FS and I'm a little > > uncertain what they are (there are thousands being logged), can someone > > clarify? > > > > September 23rd 2021, 10:35:40.849 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.844181 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > > (payload type 0). > > September 23rd 2021, 10:35:40.749 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.744202 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMA > > (payload type 8). > > September 23rd 2021, 10:35:40.669 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.664168 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > > (payload type 0). > > September 23rd 2021, 10:35:40.569 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.564190 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMA > > (payload type 8). > > September 23rd 2021, 10:35:40.489 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.484194 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > > (payload type 0). > > September 23rd 2021, 10:35:40.389 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.384180 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMA > > (payload type 8). > > September 23rd 2021, 10:35:40.309 ms-euc1-1a > > 28423364-1c49-11ec-b0ec-e3438dde9495 2021-09-23 08:35:40.304190 > > [WARNING] switch_core_media.c:3305 Changing current codec to PCMU > > (payload type 0). > > > > I'm thinking it's because we are receiving RTP packets with both types > > from remote? > > > > It only happens for a specific provider, so I'm thinking it's them, I > > just need to tell them the problem is. > > During codec negotiations we offered PCMA + PCMU and the SDP response > > from them also had PCMA + PCMU, that means we can choose what we want > > right? not that they should send us both? ;-) > > > > Thank you... > > Allan > > > > > _________________________________________________________________________ > > > > 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 > > 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 > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > > Christian Berger > > > > > foncloud GmbH & Co KG > Hahlweg 2a > 36093 Künzell > > Tel: / > Fax: +49 661 968990-99 > > Email: Christian.Berger at foncloud.net > Web: www.foncloud.net > > > *P.S.: Wussten Sie schon? * > > *Unter https://www.foncloud.net/wissen > finden Sie zahlreiche Informationen und hilfreiche Artikel rund um unsere > Produkte und Services.* > > > > Registergericht: Amtsgericht Fulda, Persönlich haftende Gesellschafterin > der foncloud GmbH&Co.KG: Global Brain Network GmbH > Geschäftsführer der Global Brain Network GmbH: Peter Krug Sitz der > Gesellschaft: Künzell. > > Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorised copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0eb5f48c.e33a6fec.jpg Type: image/jpeg Size: 56822 bytes Desc: not available URL: From botelist at gmail.com Mon Sep 27 15:43:30 2021 From: botelist at gmail.com (Bote Man) Date: Mon, 27 Sep 2021 11:43:30 -0400 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: References: <35d5ded3-4314-bf0a-698c-9a91d039c10b@gmail.com> <8f9cf607-be81-369c-4fbc-be1a1abdf175@BishopHosting.com> Message-ID: <003e01d7b3b6$6c067020$44135060$@gmail.com> It's possible that it is not the script itself causing the problem, but rather the choice of how to execute it. I'm just throwing stuff at the wall to see if it sticks, but running scripts within the channel/telephony session usually causes problems of various sorts. Ken's idea of monitoring ESL events eliminates this possibility, if it's doable. Alternatively, if you could kick off the script in a separate thread/run space that might help. Let the telephony session do its thing and do accounting and other work elsewhere. This is just generalized advice. --- John Boteler Bote Communications -----Original Message----- From: FreeSWITCH-users On Behalf Of Jerry Kendall Sent: Sunday, 26 September, 2021 13:15 To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? So, after 3 weeks of trying to get to the bottom of the problem, it turns out that it was my LUA scripts... Kill the LUA scripts and the problems all vanished (ran SIPp at 30cps for an hour and no issues). The lua scripts are very simple, they are used to log selected events in the DB... So, the next question: why would launching a lua script to save event data in the DB cause such problems.... The lua script is basically: ===================================== local function CallBack_1(row) end local function SaveEventInfo() local EventName = getSIPHeader("Event-Name") local EventSubClass = getSIPHeader("Event-Subclass") local CoreUUID = getSIPHeader("Core-UUID") local Switchname = getSIPHeader("FreeSWITCH-Switchname") local Sequence = getSIPHeader("Event-Sequence") local State = getSIPHeader("Channel-State") //get a few more headers Build SQL statement = ...... ConnectDB() dbh:query(SQL, CallBack_1) DisconnectDB() end if ( EventName == "CHANNEL_CREATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_DESTROY" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_STATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_CALLSTATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_ANSWER" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_HANGUP" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_EXECUTE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_HOLD" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UNHOLD" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_BRIDGE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UNBRIDGE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_PROGRESS" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_PROGRESS_MEDIA" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_OUTGOING" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_PARK" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UNPARK" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_APPLICATION" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_ORIGINATE" ) then SaveEventInfo() elseif ( EventName == "CHANNEL_UUID" ) then SaveEventInfo() elseif ( EventName == "CUSTOM" ) then SaveEventInfo() end =============================================== Any thoughts? On 9/24/2021 8:19 PM, Jerry Kendall wrote: > Hello all, > > I'm having some interesting problems with our Freeswitch system. > > I have found Tim's posting > athttps://lists.freeswitch.org/pipermail/freeswitch-users/2012-Februar > y/080422.html > > It seems very similar but does not help me... Wish it did. > > > Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of > RAM > Network: Dual 10Gig Fiber to 40Gig fabric > > Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES > - VERY FAST - ULTRA LOW LATENCY > > > > We have 2 different FS systems > 1) One acting as an SBC of sorts - process SIP/RTP > 2) One acting as a PBX - process SIP/RTP > > Providers are connected to SBC (public - context) PBX (sbc - context) > connects to SBC (internal - context) End Points connect to PBX (device > - context) > > picographically: > > ITSP --- SBC --- PBX --- EndPoints > > The machine running FreeSWITCH as an SBC is fine - 50 calls (100 > sessions) and near zero load average - CPU idle 98% - ALL GREAT > > About 100 devices registered, all NAT'd, approx 50 subscription via > BLF buttons Registration period is maxed to 60 minutes and most > devices use the default of 60 minutes > > Typically, We see only a few CPS, maybe 5 if it's really busy > > All our trunks are SIP. Only using PCMU/8000 codec. > > We use MARIADB in the core - as well as for sofia, voicemail, and anything else that can use it. > > Config, Directory and dialplan are done using CURL and handled via apache2 on the same server over 127.0.0.1. > > I keep hearing about FS systems handling thousands of users on one box. > I'm nowhere near that and it seems to be maxed out. > > Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a > 2021-03-25 13:16:09Z 64bit > > So... The problem > > The machine running FreeSWITCH as a PBX seems to be struggling during periods of any usage - even only 1 call (2 channels). > > Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions > active - 315 sessions since startup - 45 threads - 8 hours running > > The audio seems fine - no complaints reported.. > There is a very noticable chocking on the BLFs though... Every few > minutes, the BLFs just freeze - yes - freeze... Then they catch up > > for example, for testing this, I have programmed a BLF on one phone. > > I run manually "luarun /etc/freeswitch/scripts/on.lua > *8896 at domain.com" - the lights turns red then after a few seconds, I > run manually "luarun /etc/freeswitch/scripts/off.lua *8896 at domain.com" > - the light turns green Sometimes, when I run these manually, the lights take 30 seconds to change - sometimes - usually, under a second. > > > They change the state of the subscribe target Here is the LUA script > to turn the light ON(RED) > > ############################################################## > #!/lua > > local random = math.random > math.randomseed(os.time()) > > local function uuid() > local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' > return string.gsub(template, '[xy]', function (c) > local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) > return string.format('%x', v) > end) > end > > local function SendCallDirectorBLFevent() > > Uuid = uuid() > > local event = freeswitch.Event("PRESENCE_IN") > event:addHeader("proto", "sip") > event:addHeader("event_type", "presence") > event:addHeader("alt_event_type", "dialog") > event:addHeader("Presence-Call-Direction", "outbound") > event:addHeader("from", argv[1]) > event:addHeader("login", argv[1]) > event:addHeader("unique-id", Uuid ) > event:addHeader("answer-state", "confirmed") > event:fire(); > end > > SendCallDirectorBLFevent() > ############################################################## > > The issue is the choking on the BLFs and the HIGH load avg for such small amounts of calls on the PBX - the SBC seems fine. > > SO..... > > I have been trying to resolve this for about a month - looking everywhere I could. > I have monitored the network stats, disk IO stats, cpu usage, processes, etc.... I don't see anything different between the SBC and PBX stats... > > > I would like the BLFs to show the correct state a little faster (more like half a second, not 10-60 seconds after the event) and would I like to know how to fix the high CPU load on the PBX. > > I have confirmed 2 things today: > 1) it's not using mod_mariadb as I put back the ODBC and not help > 2) this is seems most noticeable when new calls come in. The BLFs pause to 5-8 seconds and continue - there is a noticeable spike in load avg when calls keep coming in for 5 minutes... > > > Any information that would be helpful? > > > Thanks, > Jerry > > > ______________________________________________________________________ > ___ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use > rs > https://freeswitch.com _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com From a.martin at alphalink.fr Mon Sep 27 13:41:51 2021 From: a.martin at alphalink.fr (Adrien Martin) Date: Mon, 27 Sep 2021 15:41:51 +0200 Subject: [Freeswitch-users] Outbound event_socket memory usage Message-ID: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> Hello, I'm currently benchmarking an ESL program that use both outbound and inbound mode and notice a quite large memory usage for the FreeSWITCH process compared to a dialplan that has similar actions (8 set (half multiset), 1 sched_hangup, 1 bridge). The FreeSWITCH process use about 2 Mo per call and about 180 Ko without ESL. This does not look like a leak, the memory usage is stable and proportional to the current calls, Valgrind does not show anything special either. What was tested: - Pure dialplan while running only the inbound ESL subscribing to some events (CHANNEL_HANGUP, CHANNEL_HANGUP_COMPLETE, CHANNEL_EXECUTE_COMPLETE, SESSION_HEARTBEAT) for all channels, inbound ESL does not increase memory consumption, - Outbound ESL that just close the connection at the beginning of the dialplan, same memory usage as a complete ESL program, - Outbound ESL linger set/not set, no change, - Outbound ESL parameters async/full present or not, no change, - Versions 1.10.5~release~17 and 1.10.6~release~18, no change. Does this kind of resource penalty is to be expected? What could cause these differences? For those using outbound ESL, how much memory does your FreeSWITCH use per call? From brian at freeswitch.com Mon Sep 27 19:06:27 2021 From: brian at freeswitch.com (Brian West) Date: Mon, 27 Sep 2021 14:06:27 -0500 Subject: [Freeswitch-users] Outbound event_socket memory usage In-Reply-To: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> References: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> Message-ID: What is the memory usage attributed to? Your process or FreeSWITCH? On Mon, Sep 27, 2021 at 1:16 PM Adrien Martin wrote: > Hello, > > I'm currently benchmarking an ESL program that use both outbound and > inbound mode and notice a quite large memory usage for the FreeSWITCH > process compared to a dialplan that has similar actions (8 set (half > multiset), 1 sched_hangup, 1 bridge). > The FreeSWITCH process use about 2 Mo per call and about 180 Ko without > ESL. > > This does not look like a leak, the memory usage is stable and > proportional to the current calls, Valgrind does not show anything special > either. > > What was tested: > - Pure dialplan while running only the inbound ESL subscribing to some > events (CHANNEL_HANGUP, CHANNEL_HANGUP_COMPLETE, CHANNEL_EXECUTE_COMPLETE, > SESSION_HEARTBEAT) for all channels, inbound ESL does not increase memory > consumption, > - Outbound ESL that just close the connection at the beginning of the > dialplan, same memory usage as a complete ESL program, > - Outbound ESL linger set/not set, no change, > - Outbound ESL parameters async/full present or not, no change, > - Versions 1.10.5~release~17 and 1.10.6~release~18, no change. > > Does this kind of resource penalty is to be expected? > What could cause these differences? > For those using outbound ESL, how much memory does your FreeSWITCH use per > call? > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From khorsmann at gmail.com Mon Sep 27 19:36:05 2021 From: khorsmann at gmail.com (Karsten Horsmann) Date: Mon, 27 Sep 2021 21:36:05 +0200 Subject: [Freeswitch-users] High CPU usage and Slow BLFs with only 8 channels? In-Reply-To: References: Message-ID: Hi List, the sip proxy Kamailio can also act as mid register you can stack the pieces together, there is not a separate module. Here is Fred Posner example: https://github.com/fredposner/scripts/blob/master/kamailio/mid-registrar.cfg Kind regards Karsten Horsmann Ken Rice schrieb am Mo., 27. Sept. 2021, 03:40: > Sorry i dont have a config. However with OpenSips they have this > midregister proxy option that eats a lot of the registration load for nat > busting. you might read up on that and see if that helps any > > Sent from my iPhone > > > On Sep 26, 2021, at 20:01, Jerry Kendall < > Jerry.Kendall at bishophosting.com> wrote: > > > > Thanks Ken, > > > > I have actually played with putting Kamailio in between the End Devices > and FS but could not get Kamailio to do the REG/SUB and let all other > things hit FS... > > I could'nt even get the SUBs to work of Kamailio.. > > > > I get the REG working but that was all. > > > > Do you have a cfg file that can get me started ? Does anyone ? > > > > Thanks, > > Jerry > > > >> On 9/26/2021 4:25 PM, Ken Rice wrote: > >> just keep in mind registration and blf subs etc count as CPS (sip > calls/sec) why not offload that stuff to opensips? > >> > >> Sent from my iPhone > >> > >>>> On Sep 26, 2021, at 09:18, Jerry Kendall < > Jerry.Kendall at bishophosting.com> wrote: > >>> > >>>  > >>> Hello all, > >>> > >>> I'm having some interesting problems with our Freeswitch system. > >>> > >>> I have found Tim's posting athttps:// > lists.freeswitch.org/pipermail/freeswitch-users/2012-February/080422.html > >>> > >>> It seems very similar but does not help me... Wish it did. > >>> > >>> > >>> Hardware: Dell R610, dual 6 core Xeon X5680 @ 3.3GHz with 10 Gig of RAM > >>> Network: Dual 10Gig Fiber to 40Gig fabric > >>> > >>> Databases: also Dell R610 with dual 10Gig and Mariadb 10.5.9 NO ISSUES > - VERY FAST - ULTRA LOW LATENCY > >>> > >>> > >>> > >>> We have 2 different FS systems > >>> 1) One acting as an SBC of sorts - process SIP/RTP > >>> 2) One acting as a PBX - process SIP/RTP > >>> > >>> Providers are connected to SBC (public - context) > >>> PBX (sbc - context) connects to SBC (internal - context) > >>> End Points connect to PBX (device - context) > >>> > >>> picographically: > >>> > >>> ITSP --- SBC --- PBX --- EndPoints > >>> > >>> The machine running FreeSWITCH as an SBC is fine - 50 calls (100 > sessions) and near zero load average - CPU idle 98% - ALL GREAT > >>> > >>> About 100 devices registered, all NAT'd, approx 50 subscription via > BLF buttons > >>> Registration period is maxed to 60 minutes and most devices use the > default of 60 minutes > >>> > >>> Typically, We see only a few CPS, maybe 5 if it's really busy > >>> > >>> All our trunks are SIP. Only using PCMU/8000 codec. > >>> > >>> We use MARIADB in the core - as well as for sofia, voicemail, and > anything else that can use it. > >>> > >>> Config, Directory and dialplan are done using CURL and handled via > apache2 on the same server over 127.0.0.1. > >>> > >>> I keep hearing about FS systems handling thousands of users on one box. > >>> I'm nowhere near that and it seems to be maxed out. > >>> > >>> Freeswitch on both systems is Version 1.10.6-release git 1ff9d0a > 2021-03-25 13:16:09Z 64bit > >>> > >>> So... The problem > >>> > >>> The machine running FreeSWITCH as a PBX seems to be struggling during > periods of any usage - even only 1 call (2 channels). > >>> > >>> Just a moment ago, load average is 4.5 - CPU Idle is 65% - 8 sessions > active - 315 sessions since startup - 45 threads - 8 hours running > >>> > >>> The audio seems fine - no complaints reported.. > >>> There is a very noticable chocking on the BLFs though... Every few > minutes, the BLFs just freeze - yes - freeze... Then they catch up > >>> > >>> for example, for testing this, I have programmed a BLF on one phone. > >>> > >>> I run manually "luarun /etc/freeswitch/scripts/on.lua * > 8896 at domain.com" - the lights turns red > >>> then after a few seconds, > >>> I run manually "luarun /etc/freeswitch/scripts/off.lua * > 8896 at domain.com" - the light turns green > >>> Sometimes, when I run these manually, the lights take 30 seconds to > change - sometimes - usually, under a second. > >>> > >>> > >>> They change the state of the subscribe target > >>> Here is the LUA script to turn the light ON(RED) > >>> > >>> ############################################################## > >>> #!/lua > >>> > >>> local random = math.random > >>> math.randomseed(os.time()) > >>> > >>> local function uuid() > >>> local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' > >>> return string.gsub(template, '[xy]', function (c) > >>> local v = (c == 'x') and random(0, 0xf) or random(8, 0xb) > >>> return string.format('%x', v) > >>> end) > >>> end > >>> > >>> local function SendCallDirectorBLFevent() > >>> > >>> Uuid = uuid() > >>> > >>> local event = freeswitch.Event("PRESENCE_IN") > >>> event:addHeader("proto", "sip") > >>> event:addHeader("event_type", "presence") > >>> event:addHeader("alt_event_type", "dialog") > >>> event:addHeader("Presence-Call-Direction", "outbound") > >>> event:addHeader("from", argv[1]) > >>> event:addHeader("login", argv[1]) > >>> event:addHeader("unique-id", Uuid ) > >>> event:addHeader("answer-state", "confirmed") > >>> event:fire(); > >>> end > >>> > >>> SendCallDirectorBLFevent() > >>> ############################################################## > >>> > >>> The issue is the choking on the BLFs and the HIGH load avg for such > small amounts of calls on the PBX - the SBC seems fine. > >>> > >>> SO..... > >>> > >>> I have been trying to resolve this for about a month - looking > everywhere I could. > >>> I have monitored the network stats, disk IO stats, cpu usage, > processes, etc.... I don't see anything different between the SBC and PBX > stats... > >>> > >>> > >>> I would like the BLFs to show the correct state a little faster (more > like half a second, not 10-60 seconds after the event) and would I like to > know how to fix the high CPU load on the PBX. > >>> > >>> I have confirmed 2 things today: > >>> 1) it's not using mod_mariadb as I put back the ODBC and not help > >>> 2) this is seems most noticeable when new calls come in. The BLFs > pause to 5-8 seconds and continue - there is a noticeable spike in load avg > when calls keep coming in for 5 minutes... > >>> > >>> > >>> Any information that would be helpful? > >>> > >>> > >>> Thanks, > >>> Jerry > >>> > _________________________________________________________________________ > >>> > >>> 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 > >>> 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 > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> https://freeswitch.com > >> > >> > _________________________________________________________________________ > >> > >> 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 > >> 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 > >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >> https://freeswitch.com > > > > > > > > _________________________________________________________________________ > > > > 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 > > 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 > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From prokunal.dev at gmail.com Tue Sep 28 14:22:55 2021 From: prokunal.dev at gmail.com (kunal kumar) Date: Tue, 28 Sep 2021 19:52:55 +0530 Subject: [Freeswitch-users] how to queue multiple audio file to play in conference(for all members and for specific member ) Message-ID: Hi All, I am trying to play audio files into the conference for the following cases using freeswitch api. 1) play to all member in conference command = "conference play async" 2) play to specific member command = "conference play nomux" Current Behaviour :- 1) if i play an audio file to all members in the conference it is getting played. Meanwhile I tried to play a new audio file to the specific member it was getting played without muxing. mean previous audio got stopped and then new audio file got played and after that when new audio file stopped and if previous audio file is still streaming then it will also play to this member. 2) If i play an audio file to a conference member and then if i try to play a new audio file to all members it is getting played to all members except the member who is already streaming another file. Expected Behaviour:- I don't want to miss any audio files. So is there any way to queue the audio files so that it would not miss any important notification audio in above cases. Any suggestion would be highly appreciated. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.martin at alphalink.fr Tue Sep 28 07:01:07 2021 From: a.martin at alphalink.fr (Adrien Martin) Date: Tue, 28 Sep 2021 09:01:07 +0200 Subject: [Freeswitch-users] Outbound event_socket memory usage In-Reply-To: References: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> Message-ID: <414292a6-b31d-041b-a86f-eac1293cfe4c@alphalink.fr> The memory usage is attributed to FreeSWITCH. From brian at freeswitch.com Tue Sep 28 18:48:21 2021 From: brian at freeswitch.com (Brian West) Date: Tue, 28 Sep 2021 13:48:21 -0500 Subject: [Freeswitch-users] Outbound event_socket memory usage In-Reply-To: <414292a6-b31d-041b-a86f-eac1293cfe4c@alphalink.fr> References: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> <414292a6-b31d-041b-a86f-eac1293cfe4c@alphalink.fr> Message-ID: When you disconnect does it go away? On Tue, Sep 28, 2021 at 11:56 AM Adrien Martin wrote: > The memory usage is attributed to FreeSWITCH. > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.rinaudo at gmail.com Wed Sep 29 14:54:16 2021 From: alberto.rinaudo at gmail.com (Alberto) Date: Wed, 29 Sep 2021 15:54:16 +0100 Subject: [Freeswitch-users] SRTP negotiation on reinvite Message-ID: Hi, I have 2 end users, connected to freeswitch and configured with optional SRTP. Both users can make and receive encrypted calls, but when one of them sends a reinvite to make a transfer, freeswitch replies with a 488. I've spotted these lines in the logs: 2021-09-15 14:37:45.880223 [WARNING] switch_core_media.c:4331 Declining invite with only SAVP because secure media is administratively disabled 2021-09-15 14:37:45.880223 [DEBUG] sofia.c:8007 Reinvite resulted in codec negotiation failure. What seems strange to me is that users are configured to use PCMA only, and are both able to use SRTP, so why would the codec negotiation fail? How do I enable optional SRTP for re-invites? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.martin at alphalink.fr Wed Sep 29 08:14:08 2021 From: a.martin at alphalink.fr (Adrien Martin) Date: Wed, 29 Sep 2021 10:14:08 +0200 Subject: [Freeswitch-users] Outbound event_socket memory usage In-Reply-To: References: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> <414292a6-b31d-041b-a86f-eac1293cfe4c@alphalink.fr> Message-ID: When closing the socket from outbound ESL program the memory is still in use by FreeSWITH. But when the calls end the memory is released. On 28/09/2021 20:48, Brian West wrote: > When you disconnect does it go away? From sdevoy at bizfocused.com Wed Sep 29 18:53:53 2021 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 29 Sep 2021 18:53:53 +0000 Subject: [Freeswitch-users] bridge to internal phone and cell through a gateway In-Reply-To: <0100017c0f213387-823dcf23-8841-42b5-a374-091cd7c734fc-000000@email.amazonses.com> References: <0100017c0f213387-823dcf23-8841-42b5-a374-091cd7c734fc-000000@email.amazonses.com> Message-ID: Thank you Avi. That fixed the problem. Now both calls get placed. From: FreeSWITCH-users On Behalf Of Avi Marcus Sent: Wednesday, September 22, 2021 4:10 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway I was going to suggest seeing what ${sofia_contact(220 at fs.bizfocused.com)} expands to, but it looks like {} is a problem - it's {variable_scope=thread_global} so I think you can't have multiple ones, and definitely not in the middle of the dial string. Rewrite it with local variables [] like this: -Avi Marcus BestFone On Wed, Sep 22, 2021 at 10:46 PM Sean Devoy > wrote: I am confused. There is nothing dynamic. I want to dial internal extension 220 and out to my VSP to a cell number. Why does this not work: ”/> but either half does works fine. From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 1:10 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway Use XML Curl to dynamically build your dial strings ? On Wed, Sep 22, 2021 at 12:03 PM Sean Devoy > wrote: Thanks, I have leg_delay working in other places. I am trying without it for now. I just can’t bridge to an internal phone and an external gateway phone in a single bridge. Anything special there? From: FreeSWITCH-users > On Behalf Of Brian West Sent: Wednesday, September 22, 2021 12:15 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] bridge to internal phone and cell through a gateway You're looking for leg_delay, set it inside [] on the legs you want to delay originate on, so you can originate like this: sofia/blah/mydeskphone,[leg_delay=5]sofia/blah/mycellphone gets tricky with sofia_contact unless you use xml_curl to dynamically build the url. /b On Wed, Sep 22, 2021 at 10:45 AM Sean Devoy > wrote: Hi All, I have searched for an answer and can’t find anything to explain my problem. Underlying request/problem: The user wants to ring their desk and after 5 second leg delay (not shown) add their cell phone, then voicemail on the FS server. I did a test with this bridge and it works fine: > And this one works: /> But I can’t do both to work. Is it possible to bridge to internal and external phones? Thanks, Sean _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com _________________________________________________________________________ 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 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 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com _________________________________________________________________________ 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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Sep 29 20:42:30 2021 From: brian at freeswitch.com (Brian West) Date: Wed, 29 Sep 2021 15:42:30 -0500 Subject: [Freeswitch-users] Outbound event_socket memory usage In-Reply-To: References: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> <414292a6-b31d-041b-a86f-eac1293cfe4c@alphalink.fr> Message-ID: What is the call doing? On Wed, Sep 29, 2021 at 2:38 PM Adrien Martin wrote: > When closing the socket from outbound ESL program the memory is still in > use by FreeSWITH. > But when the calls end the memory is released. > > On 28/09/2021 20:48, Brian West wrote: > > When you disconnect does it go away? > > _________________________________________________________________________ > > 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 > 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 > 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 FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Thu Sep 30 01:48:38 2021 From: davidswalkabout at gmail.com (David P) Date: Thu, 30 Sep 2021 14:48:38 +1300 Subject: [Freeswitch-users] iOS 15 blocking WSS login on port 8082 Message-ID: When testing with an iPhone running iOS 14.8, there is no problem with verto logging-into FS 10.5 via WSS to port 8082. But when the same device is upgraded to iOS 15 and used in the same wifi network hours later, verto repeatedly gets "Socket is not connected" and there is no sign of the request in the FS log at debug level. This happens even with a phone that is not enrolled in the new "Private Relay" feature of iOS 15. Anyone else seeing this? I don't see any mention on tech sites, and I suspect it involves the port which is a default for verto. -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.safarov at gmail.com Thu Sep 30 04:16:40 2021 From: s.safarov at gmail.com (Sergey Safarov) Date: Thu, 30 Sep 2021 07:16:40 +0300 Subject: [Freeswitch-users] SRTP negotiation on reinvite In-Reply-To: References: Message-ID: Declining invite with only SAVP because secure media is administratively disabled You need to check FS log and channels vars. On Wed, Sep 29, 2021, 10:35 PM Alberto wrote: > Hi, > > I have 2 end users, connected to freeswitch and configured with optional > SRTP. > Both users can make and receive encrypted calls, but when one of them > sends a reinvite to make a transfer, freeswitch replies with a 488. > > I've spotted these lines in the logs: > 2021-09-15 14:37:45.880223 [WARNING] switch_core_media.c:4331 Declining > invite with only SAVP because secure media is administratively disabled > 2021-09-15 14:37:45.880223 [DEBUG] sofia.c:8007 Reinvite resulted in codec > negotiation failure. > > What seems strange to me is that users are configured to use PCMA only, > and are both able to use SRTP, so why would the codec negotiation fail? > How do I enable optional SRTP for re-invites? > > Thanks > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmrienzo at gmail.com Thu Sep 30 11:28:07 2021 From: cmrienzo at gmail.com (cmrienzo at gmail.com) Date: Thu, 30 Sep 2021 07:28:07 -0400 Subject: [Freeswitch-users] iOS 15 blocking WSS login on port 8082 In-Reply-To: References: Message-ID: This is fixed in latest mod_verto. Chris > On Sep 29, 2021, at 22:16, David P wrote: > >  > When testing with an iPhone running iOS 14.8, there is no problem with verto logging-into FS 10.5 via WSS to port 8082. > > But when the same device is upgraded to iOS 15 and used in the same wifi network hours later, verto repeatedly gets "Socket is not connected" and there is no sign of the request in the FS log at debug level. This happens even with a phone that is not enrolled in the new "Private Relay" feature of iOS 15. > > Anyone else seeing this? I don't see any mention on tech sites, and I suspect it involves the port which is a default for verto. > _________________________________________________________________________ > > 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 > 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 > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From a.martin at alphalink.fr Thu Sep 30 07:51:13 2021 From: a.martin at alphalink.fr (Adrien Martin) Date: Thu, 30 Sep 2021 09:51:13 +0200 Subject: [Freeswitch-users] Outbound event_socket memory usage In-Reply-To: References: <16c441eb-b04c-47ee-3854-8718d00ed35c@alphalink.fr> <414292a6-b31d-041b-a86f-eac1293cfe4c@alphalink.fr> Message-ID: <5fae690a-d93e-43c1-0526-1204c7075be3@alphalink.fr> These are test calls from Sipp clients toward Sipp servers, the RTP does not goes through FreeSWITCH with bypass_media=true. The SIP flow is quite simple: INVITE,180,200,ACK,BYE,200. There is no DTMF, re-INVITE, OPTIONS. The calls duration is set to have 1k to 10k simultaneous calls and 5 to 15 calls per second. About the ESL program or the dialplan: Some headers are set (caller number/name, Privacy). A maximum duration is set with sched_hangup. A maximum ringing duration is set with call_timeout. Some special variables are configured (hangup_after_bridge=false, continue_on_fail=true, sip_ignore_remote_cause=true, bypass_media=true). Then a bridge is used to forward the calls to several gateways (round-robin in the ESL program or with mod_distributor in the dialplan). Both inbound and outbound use Sofia. On 29/09/2021 22:42, Brian West wrote: > What is the call doing?