From davidswalkabout at gmail.com Fri Jul 1 22:48:58 2022 From: davidswalkabout at gmail.com (David P) Date: Sat, 2 Jul 2022 10:48:58 +1200 Subject: [Freeswitch-users] Haven't received a msg in weeks Message-ID: Testing after fixing subscription weeks ago. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidswalkabout at gmail.com Sat Jul 2 23:05:51 2022 From: davidswalkabout at gmail.com (David P) Date: Sun, 3 Jul 2022 11:05:51 +1200 Subject: [Freeswitch-users] Trigger playback via network request Message-ID: I would like to trigger playback into a channel, and I'd like to do that using a networked request that indicates the filename. Is there a better way to do it than the following? I'm considering using ESL (in inbound mode). I already have a large dialplan, and rather than reimplement all of it as ESL commands, I thought I could add the uuid_park application into the dialplan at the spot where the inbound channel(s) should be fully configured and active. There would be a separate server running an ESL client, and once it gets an ESL CHANNEL_ANSWER event it would be able to invoke playback until it receives a CHANNEL_DESTROY event. I considered other programmatic ways of doing playback such as mod_python, but they don't address the networked requirement. -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin at pattersong.co.uk Mon Jul 4 10:49:36 2022 From: martin at pattersong.co.uk (Martin Paterson) Date: Mon, 4 Jul 2022 11:49:36 +0100 Subject: [Freeswitch-users] xml_cdr problem using sip_from_user In-Reply-To: References: <01000181b0312ae1-6339ad3f-b5b9-44f9-a612-7969b12d1485-000000@email.amazonses.com> Message-ID: I have seen this also (about 18 months ago - so v1.10.5). I noticed that about a minute into the call FreeSWITCH reinvites the A-leg, so my speculation at the time was that the reinvite caused the changing of the sip variables as the from address of the reinvite is the destination address of the original call. I never followed it up though, as we don't use that variable for anything in the CDRs. Martin. Martin Paterson, Pattersong Music Reduced orchestrations of G&S On Thu, 30 Jun 2022 at 09:48, Gregor Nanger wrote: > We had a same issue. It started with version 1.10.7. > > Also posted this question in mailing list. It was told that nothing > changed in source code. We solved it to change logic how we are processing > cdrs > > On Wed, 29 Jun 2022, 22:05 Jason Holden, > wrote: > >> All, >> >> Currently using fs 1.8.56 on a demo unit. >> >> I’ve noticed that on some CDRS the sip_from_user shows the dialed number >> that the extension placed when it should show the extension number. >> >> This is a speratic issue and I can’t narrow down why this may be >> happening. >> >> I am using a php script to post my CDRS. >> >> Does anyone have any suggestions? >> >> I do have set to record a / b legs of the call and to prefix the a leg. >> >> A snippit from the php script is below. >> >> >> >> $var = $cdr->variables; >> >> $sql = sprintf("INSERT INTO cdrClients >> (site_code,npa,call_direction,cac_call_type_id,call_uuid,direction,user,domain,from_user,from_host,to_user,to_host,req_user,req_host,bridge_channel,sip_term_status,sip_term_cause,sip_hangup_disposition,bridge_hangup_cause,hangup_cause,hangup_cause_q850,start_stamp,answer_stamp,end_stamp,duration,billsec) >> >> >> VALUES('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s');", >> >> >> $var->site,$var->NPA,$var->call_direction,$var->cac_call_type_id,$var->call_uuid,$var->direction,$var->user_name,$var->domain_name,$var->sip_from_user,$var->sip_from_host,$var->sip_to_user,$var->sip_to_host,$var->sip_req_user,$var->sip_req_host,rawurldecode($var->bridge_channel),$var->sip_term_status,$var->sip_term_cause,$var->sip_hangup_disposition,$var->bridge_hangup_cause,$var->hangup_cause,$var->hangup_cause_q850,rawurldecode($var->start_stamp),rawurldecode($var->answer_stamp),rawurldecode($var->end_stamp),$var->duration,$var->billsec); >> >> >> >> >> >> Jason Holden >> >> >> >> Phone: 1-866-836-9198 X405 >> >> Direct: 7868009949 >> >> www.thinksimplicity.com >> >> >> >> [image: Logo 2019 Email Final 250] >> >> >> _________________________________________________________________________ >> >> 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 lists at telium.io Mon Jul 11 01:47:02 2022 From: lists at telium.io (TTT) Date: Mon, 11 Jul 2022 01:47:02 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time Message-ID: <01000181eaf03ed7-191f6521-45f2-47c8-b89a-5de231ae22f8-000000@email.amazonses.com> Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). -------------- next part -------------- An HTML attachment was scrubbed... URL: From shaun at sysconfig.cloud Sat Jul 9 11:18:53 2022 From: shaun at sysconfig.cloud (Shaun Stokes) Date: Sat, 9 Jul 2022 11:18:53 +0000 Subject: [Freeswitch-users] Recording calls causes FS generated RTP packets with different timestamp on missed packets Message-ID: Hi All, We're having issues when recording calls, using either record_session or uuid_record. FreeSWITCH is generating RTP packets to fill in the gaps when there's missed RTP packets (packet loss), but the FreeSWITCH generated RTP packets use a different timestamp. This causes jitter and periods of silence on active calls. The only solution seems to be enabling RTP rewrite timestamps, but this causes audio delay\sync issues. [cid:cfdedbcf-5048-4f07-8fe1-1c761ffdfee6] [cid:768e2f51-801b-4411-aade-a77cecad6d45] We've tried with and with-out the following, but there's no change. * bridge_generate_comfort_noise * send_silence_when_idle * suppress_cng * suppress-cng (SIP profile param) Has anyone come across this before, and is there a solution? Thanks, Shaun -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 218830 bytes Desc: image.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 173658 bytes Desc: image.png URL: From avi at avimarcus.net Mon Jul 11 07:16:44 2022 From: avi at avimarcus.net (Avi Marcus) Date: Mon, 11 Jul 2022 07:16:44 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181eaf03ed7-191f6521-45f2-47c8-b89a-5de231ae22f8-000000@email.amazonses.com> References: <01000181eaf03ed7-191f6521-45f2-47c8-b89a-5de231ae22f8-000000@email.amazonses.com> Message-ID: <01000181ec1e1731-1726e6af-f7fe-4d55-901b-a49b2286c5ac-000000@email.amazonses.com> It's probably taking time to discover NAT. If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat -Avi Marcus On Mon, Jul 11, 2022 at 4:48 AM TTT wrote: > Is there a guide on how to speed FS loading times? FS takes 10+ seconds > to start which seems long (for a very simple configuration). > _________________________________________________________________________ > > 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 shaun at sysconfig.cloud Mon Jul 11 14:01:56 2022 From: shaun at sysconfig.cloud (Shaun Stokes) Date: Mon, 11 Jul 2022 14:01:56 +0000 Subject: [Freeswitch-users] Recording calls causes FS generated RTP packets with different timestamp on missed packets In-Reply-To: References: Message-ID: I've re-tested using version 1.10.1, FreeSWITCH still generates RTP packets to fill in the gaps when there's missed RTP packets, but the RTP timestamps are now correct which resolves the issue. I'll raise the issue on GitHub, as this appears to be a bug. ________________________________ From: FreeSWITCH-users on behalf of Shaun Stokes Sent: 09 July 2022 13:18 To: FreeSWITCH Users Help Subject: [Freeswitch-users] Recording calls causes FS generated RTP packets with different timestamp on missed packets Hi All, We're having issues when recording calls, using either record_session or uuid_record. FreeSWITCH is generating RTP packets to fill in the gaps when there's missed RTP packets (packet loss), but the FreeSWITCH generated RTP packets use a different timestamp. This causes jitter and periods of silence on active calls. The only solution seems to be enabling RTP rewrite timestamps, but this causes audio delay\sync issues. [cid:cfdedbcf-5048-4f07-8fe1-1c761ffdfee6] [cid:768e2f51-801b-4411-aade-a77cecad6d45] We've tried with and with-out the following, but there's no change. * bridge_generate_comfort_noise * send_silence_when_idle * suppress_cng * suppress-cng (SIP profile param) Has anyone come across this before, and is there a solution? Thanks, Shaun -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 218830 bytes Desc: image.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 173658 bytes Desc: image.png URL: From lists at telium.io Mon Jul 11 20:39:22 2022 From: lists at telium.io (TTT) Date: Mon, 11 Jul 2022 20:39:22 +0000 Subject: [Freeswitch-users] Recover queues after crash Message-ID: <01000181eefcee05-225b7f17-d519-442a-9eb9-95c17655d1f3-000000@email.amazonses.com> I have call recovery enabled, which is properly restoring active calls after a crash. But what about queues? Are they recovered too? Where is the information about call queues kept? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at telium.io Tue Jul 12 12:53:34 2022 From: lists at telium.io (TTT) Date: Tue, 12 Jul 2022 12:53:34 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181ec1e1731-1726e6af-f7fe-4d55-901b-a49b2286c5ac-000000@email.amazonses.com> References: <01000181eaf03ed7-191f6521-45f2-47c8-b89a-5de231ae22f8-000000@email.amazonses.com> <01000181ec1e1731-1726e6af-f7fe-4d55-901b-a49b2286c5ac-000000@email.amazonses.com> Message-ID: <01000181f278d667-1a2d55e3-0ff2-479f-91b8-88af83e9b2b0-000000@email.amazonses.com> I found that the FreeSWITCH systemd service file already contains a –nonat option. Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start? My experience is with Asterisk, which is less than half of that to start. If that’s normal, how can I diagnose what is consuming the start time? Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi Marcus Sent: Monday, July 11, 2022 3:17 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time It's probably taking time to discover NAT. If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat -Avi Marcus On Mon, Jul 11, 2022 at 4:48 AM TTT > wrote: Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). _________________________________________________________________________ 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 gregor at infomedia.si Tue Jul 12 12:57:34 2022 From: gregor at infomedia.si (Gregor Nanger) Date: Tue, 12 Jul 2022 14:57:34 +0200 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181f278d667-1a2d55e3-0ff2-479f-91b8-88af83e9b2b0-000000@email.amazonses.com> References: <01000181eaf03ed7-191f6521-45f2-47c8-b89a-5de231ae22f8-000000@email.amazonses.com> <01000181ec1e1731-1726e6af-f7fe-4d55-901b-a49b2286c5ac-000000@email.amazonses.com> <01000181f278d667-1a2d55e3-0ff2-479f-91b8-88af83e9b2b0-000000@email.amazonses.com> Message-ID: Just for info. Why is this a problem. On Tue, 12 Jul 2022, 14:54 TTT, wrote: > I found that the FreeSWITCH systemd service file already contains a –nonat > option. Maybe my expectations are out of line, should it take 10 seconds > for FreeSWITCH to fully start? My experience is with Asterisk, which is > less than half of that to start. > > > > If that’s normal, how can I diagnose what is consuming the start time? > > > > Thanks > > > > > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Avi Marcus > *Sent:* Monday, July 11, 2022 3:17 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > It's probably taking time to discover NAT. > > If you have a direct public IP and don't require NAT, you can instruct > freeswitch to skip this step: > > > > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > can use "-nonatmap". > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > > -Avi Marcus > > > > > > On Mon, Jul 11, 2022 at 4:48 AM TTT wrote: > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds > to start which seems long (for a very simple configuration). > > _________________________________________________________________________ > > 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 lists at telium.io Tue Jul 12 13:20:20 2022 From: lists at telium.io (TTT) Date: Tue, 12 Jul 2022 13:20:20 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: References: <01000181eaf03ed7-191f6521-45f2-47c8-b89a-5de231ae22f8-000000@email.amazonses.com> <01000181ec1e1731-1726e6af-f7fe-4d55-901b-a49b2286c5ac-000000@email.amazonses.com> <01000181f278d667-1a2d55e3-0ff2-479f-91b8-88af83e9b2b0-000000@email.amazonses.com> Message-ID: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> I’m looking at a crash recovery scenario, and during this startup period the calls in progress have no audio. (And input media bypass is not an option due to topology) From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor Nanger Sent: Tuesday, July 12, 2022 8:58 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time Just for info. Why is this a problem. On Tue, 12 Jul 2022, 14:54 TTT, > wrote: I found that the FreeSWITCH systemd service file already contains a –nonat option. Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start? My experience is with Asterisk, which is less than half of that to start. If that’s normal, how can I diagnose what is consuming the start time? Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Avi Marcus Sent: Monday, July 11, 2022 3:17 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time It's probably taking time to discover NAT. If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat -Avi Marcus On Mon, Jul 11, 2022 at 4:48 AM TTT > wrote: Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). _________________________________________________________________________ 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 krice at freeswitch.org Wed Jul 13 01:05:28 2022 From: krice at freeswitch.org (Ken Rice) Date: Tue, 12 Jul 2022 20:05:28 -0500 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> Message-ID: <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> are you sure -nonat is taking effect? thats about the only thing that would take any tome getting freeswitch startes up. without -nonat it takes many seconds for upnp/nat-pmp to timeout. the only other way to avoid media loss is to do a full HA setup with proper floating IP and fencing. theres agoos bit of info on this on the wiki and various places on the web Sent from my iPhone > On Jul 12, 2022, at 08:21, TTT wrote: > >  > I’m looking at a crash recovery scenario, and during this startup period the calls in progress have no audio. (And input media bypass is not an option due to topology) > > From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor Nanger > Sent: Tuesday, July 12, 2022 8:58 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > Just for info. Why is this a problem. > > On Tue, 12 Jul 2022, 14:54 TTT, wrote: > I found that the FreeSWITCH systemd service file already contains a –nonat option. Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start? My experience is with Asterisk, which is less than half of that to start. > > If that’s normal, how can I diagnose what is consuming the start time? > > Thanks > > > > From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Avi Marcus > Sent: Monday, July 11, 2022 3:17 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > It's probably taking time to discover NAT. > If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: > > >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > -Avi Marcus > > > > On Mon, Jul 11, 2022 at 4:48 AM TTT wrote: > Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). > _________________________________________________________________________ > > 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 patrickarton at hotmail.com Wed Jul 13 16:10:49 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Wed, 13 Jul 2022 16:10:49 +0000 Subject: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses Message-ID: i noticed that Freeswitch does not relay X-header in 401 or 407 response code !!! is there a way to enable it Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at telium.io Wed Jul 13 16:31:57 2022 From: lists at telium.io (TTT) Date: Wed, 13 Jul 2022 16:31:57 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> Message-ID: <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> I checked with “ps ax” and confirmed -nonat is running. But I’ll investigate further using strace, and reload of pieces of the config., to see where the time is going. I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, control, failover, syncing, IP movement, etc) and that works well, I just want to speed up the FreeSWITCH recovery speed. Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ken Rice Sent: Tuesday, July 12, 2022 9:05 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time are you sure -nonat is taking effect? thats about the only thing that would take any tome getting freeswitch startes up. without -nonat it takes many seconds for upnp/nat-pmp to timeout. the only other way to avoid media loss is to do a full HA setup with proper floating IP and fencing. theres agoos bit of info on this on the wiki and various places on the web Sent from my iPhone On Jul 12, 2022, at 08:21, TTT > wrote:  I’m looking at a crash recovery scenario, and during this startup period the calls in progress have no audio. (And input media bypass is not an option due to topology) From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor Nanger Sent: Tuesday, July 12, 2022 8:58 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time Just for info. Why is this a problem. On Tue, 12 Jul 2022, 14:54 TTT, > wrote: I found that the FreeSWITCH systemd service file already contains a –nonat option. Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start? My experience is with Asterisk, which is less than half of that to start. If that’s normal, how can I diagnose what is consuming the start time? Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Avi Marcus Sent: Monday, July 11, 2022 3:17 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time It's probably taking time to discover NAT. If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat -Avi Marcus On Mon, Jul 11, 2022 at 4:48 AM TTT > wrote: Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). _________________________________________________________________________ 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 avi at avimarcus.net Wed Jul 13 16:40:11 2022 From: avi at avimarcus.net (Avi Marcus) Date: Wed, 13 Jul 2022 16:40:11 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> Message-ID: <01000181f86ead11-f3aaef06-4f9d-4ac0-a253-76564ec0ec1b-000000@email.amazonses.com> You can first try looking at the logs at startup time to see what's taking so long, in freeswitch.log -Avi Marcus On Wed, Jul 13, 2022 at 7:33 PM TTT wrote: > I checked with “ps ax” and confirmed -nonat is running. But I’ll > investigate further using strace, and reload of pieces of the config., to > see where the time is going. > > > > I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, > control, failover, syncing, IP movement, etc) and that works well, I just > want to speed up the FreeSWITCH recovery speed. > > > > Thanks > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice > *Sent:* Tuesday, July 12, 2022 9:05 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > are you sure -nonat is taking effect? thats about the only thing that > would take any tome getting freeswitch startes up. without -nonat it takes > many seconds for upnp/nat-pmp to timeout. > > > > the only other way to avoid media loss is to do a full HA setup with > proper floating IP and fencing. theres agoos bit of info on this on the > wiki and various places on the web > > Sent from my iPhone > > > > On Jul 12, 2022, at 08:21, TTT wrote: > >  > > I’m looking at a crash recovery scenario, and during this startup period > the calls in progress have no audio. (And input media bypass is not an > option due to topology) > > > > *From:* FreeSWITCH-users [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Gregor > Nanger > *Sent:* Tuesday, July 12, 2022 8:58 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > Just for info. Why is this a problem. > > > > On Tue, 12 Jul 2022, 14:54 TTT, wrote: > > I found that the FreeSWITCH systemd service file already contains a –nonat > option. Maybe my expectations are out of line, should it take 10 seconds > for FreeSWITCH to fully start? My experience is with Asterisk, which is > less than half of that to start. > > > > If that’s normal, how can I diagnose what is consuming the start time? > > > > Thanks > > > > > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Avi Marcus > *Sent:* Monday, July 11, 2022 3:17 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > It's probably taking time to discover NAT. > > If you have a direct public IP and don't require NAT, you can instruct > freeswitch to skip this step: > > > > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > can use "-nonatmap". > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > > -Avi Marcus > > > > > > On Mon, Jul 11, 2022 at 4:48 AM TTT wrote: > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds > to start which seems long (for a very simple configuration). > > _________________________________________________________________________ > > 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 brian at freeswitch.com Wed Jul 13 17:56:01 2022 From: brian at freeswitch.com (Brian West) Date: Wed, 13 Jul 2022 12:56:01 -0500 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181f86ead11-f3aaef06-4f9d-4ac0-a253-76564ec0ec1b-000000@email.amazonses.com> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> <01000181f86ead11-f3aaef06-4f9d-4ac0-a253-76564ec0ec1b-000000@email.amazonses.com> Message-ID: We do a look up against a DNS server in the code to check, maybe double check that isn't causing an issue? On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus wrote: > You can first try looking at the logs at startup time to see what's taking > so long, in freeswitch.log > > -Avi Marcus > > > > On Wed, Jul 13, 2022 at 7:33 PM TTT wrote: > >> I checked with “ps ax” and confirmed -nonat is running. But I’ll >> investigate further using strace, and reload of pieces of the config., to >> see where the time is going. >> >> >> >> I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, >> control, failover, syncing, IP movement, etc) and that works well, I just >> want to speed up the FreeSWITCH recovery speed. >> >> >> >> Thanks >> >> >> >> *From:* FreeSWITCH-users [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice >> *Sent:* Tuesday, July 12, 2022 9:05 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time >> >> >> >> are you sure -nonat is taking effect? thats about the only thing that >> would take any tome getting freeswitch startes up. without -nonat it takes >> many seconds for upnp/nat-pmp to timeout. >> >> >> >> the only other way to avoid media loss is to do a full HA setup with >> proper floating IP and fencing. theres agoos bit of info on this on the >> wiki and various places on the web >> >> Sent from my iPhone >> >> >> >> On Jul 12, 2022, at 08:21, TTT wrote: >> >>  >> >> I’m looking at a crash recovery scenario, and during this startup period >> the calls in progress have no audio. (And input media bypass is not an >> option due to topology) >> >> >> >> *From:* FreeSWITCH-users [ >> mailto:freeswitch-users-bounces at lists.freeswitch.org >> ] *On Behalf Of *Gregor >> Nanger >> *Sent:* Tuesday, July 12, 2022 8:58 AM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time >> >> >> >> Just for info. Why is this a problem. >> >> >> >> On Tue, 12 Jul 2022, 14:54 TTT, wrote: >> >> I found that the FreeSWITCH systemd service file already contains a >> –nonat option. Maybe my expectations are out of line, should it take 10 >> seconds for FreeSWITCH to fully start? My experience is with Asterisk, >> which is less than half of that to start. >> >> >> >> If that’s normal, how can I diagnose what is consuming the start time? >> >> >> >> Thanks >> >> >> >> >> >> >> >> *From:* FreeSWITCH-users [mailto: >> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Avi Marcus >> *Sent:* Monday, July 11, 2022 3:17 AM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time >> >> >> >> It's probably taking time to discover NAT. >> >> If you have a direct public IP and don't require NAT, you can instruct >> freeswitch to skip this step: >> >> >> >> >To turn it off use "-nonat" to start freeswitch. If you still prefer to >> have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you >> can use "-nonatmap". >> >> via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat >> >> >> -Avi Marcus >> >> >> >> >> >> On Mon, Jul 11, 2022 at 4:48 AM TTT wrote: >> >> Is there a guide on how to speed FS loading times? FS takes 10+ seconds >> to start which seems long (for a very simple configuration). >> >> _________________________________________________________________________ >> >> 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 > > _________________________________________________________________________ > > 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 lists at telium.io Wed Jul 13 21:27:46 2022 From: lists at telium.io (TTT) Date: Wed, 13 Jul 2022 21:27:46 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> <01000181f86ead11-f3aaef06-4f9d-4ac0-a253-76564ec0ec1b-000000@email.amazonses.com> Message-ID: <01000181f975f73e-50969e37-3420-420b-85c6-535c4886ac4e-000000@email.amazonses.com> What domain name does the code do a lookup for? Perhaps it’s not resolving. But I’ll check general DNS lookups too., From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Wednesday, July 13, 2022 1:56 PM To: Avi Marcus Cc: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time We do a look up against a DNS server in the code to check, maybe double check that isn't causing an issue? On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus > wrote: You can first try looking at the logs at startup time to see what's taking so long, in freeswitch.log -Avi Marcus On Wed, Jul 13, 2022 at 7:33 PM TTT > wrote: I checked with “ps ax” and confirmed -nonat is running. But I’ll investigate further using strace, and reload of pieces of the config., to see where the time is going. I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, control, failover, syncing, IP movement, etc) and that works well, I just want to speed up the FreeSWITCH recovery speed. Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Ken Rice Sent: Tuesday, July 12, 2022 9:05 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time are you sure -nonat is taking effect? thats about the only thing that would take any tome getting freeswitch startes up. without -nonat it takes many seconds for upnp/nat-pmp to timeout. the only other way to avoid media loss is to do a full HA setup with proper floating IP and fencing. theres agoos bit of info on this on the wiki and various places on the web Sent from my iPhone On Jul 12, 2022, at 08:21, TTT > wrote:  I’m looking at a crash recovery scenario, and during this startup period the calls in progress have no audio. (And input media bypass is not an option due to topology) From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor Nanger Sent: Tuesday, July 12, 2022 8:58 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time Just for info. Why is this a problem. On Tue, 12 Jul 2022, 14:54 TTT, > wrote: I found that the FreeSWITCH systemd service file already contains a –nonat option. Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start? My experience is with Asterisk, which is less than half of that to start. If that’s normal, how can I diagnose what is consuming the start time? Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Avi Marcus Sent: Monday, July 11, 2022 3:17 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time It's probably taking time to discover NAT. If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat -Avi Marcus On Mon, Jul 11, 2022 at 4:48 AM TTT > wrote: Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). _________________________________________________________________________ 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 _________________________________________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 344 bytes Desc: not available URL: From brian at freeswitch.com Wed Jul 13 22:03:32 2022 From: brian at freeswitch.com (Brian West) Date: Wed, 13 Jul 2022 17:03:32 -0500 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181f975f73e-50969e37-3420-420b-85c6-535c4886ac4e-000000@email.amazonses.com> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> <01000181f86ead11-f3aaef06-4f9d-4ac0-a253-76564ec0ec1b-000000@email.amazonses.com> <01000181f975f73e-50969e37-3420-420b-85c6-535c4886ac4e-000000@email.amazonses.com> Message-ID: switch_find_local_ip in switch_utils.c It's trying to figure out which of your local ipv4 and ipv6 addresses can reach the internet. /b On Wed, Jul 13, 2022 at 4:59 PM TTT wrote: > What domain name does the code do a lookup for? Perhaps it’s not > resolving. But I’ll check general DNS lookups too., > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Brian West > *Sent:* Wednesday, July 13, 2022 1:56 PM > *To:* Avi Marcus > *Cc:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > We do a look up against a DNS server in the code to check, maybe double > check that isn't causing an issue? > > > > On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus wrote: > > You can first try looking at the logs at startup time to see what's taking > so long, in freeswitch.log > > > -Avi Marcus > > > > > > On Wed, Jul 13, 2022 at 7:33 PM TTT wrote: > > I checked with “ps ax” and confirmed -nonat is running. But I’ll > investigate further using strace, and reload of pieces of the config., to > see where the time is going. > > > > I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, > control, failover, syncing, IP movement, etc) and that works well, I just > want to speed up the FreeSWITCH recovery speed. > > > > Thanks > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Ken Rice > *Sent:* Tuesday, July 12, 2022 9:05 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > are you sure -nonat is taking effect? thats about the only thing that > would take any tome getting freeswitch startes up. without -nonat it takes > many seconds for upnp/nat-pmp to timeout. > > > > the only other way to avoid media loss is to do a full HA setup with > proper floating IP and fencing. theres agoos bit of info on this on the > wiki and various places on the web > > Sent from my iPhone > > > > On Jul 12, 2022, at 08:21, TTT wrote: > >  > > I’m looking at a crash recovery scenario, and during this startup period > the calls in progress have no audio. (And input media bypass is not an > option due to topology) > > > > *From:* FreeSWITCH-users [ > mailto:freeswitch-users-bounces at lists.freeswitch.org > ] *On Behalf Of *Gregor > Nanger > *Sent:* Tuesday, July 12, 2022 8:58 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > Just for info. Why is this a problem. > > > > On Tue, 12 Jul 2022, 14:54 TTT, wrote: > > I found that the FreeSWITCH systemd service file already contains a –nonat > option. Maybe my expectations are out of line, should it take 10 seconds > for FreeSWITCH to fully start? My experience is with Asterisk, which is > less than half of that to start. > > > > If that’s normal, how can I diagnose what is consuming the start time? > > > > Thanks > > > > > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Avi Marcus > *Sent:* Monday, July 11, 2022 3:17 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > It's probably taking time to discover NAT. > > If you have a direct public IP and don't require NAT, you can instruct > freeswitch to skip this step: > > > > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > can use "-nonatmap". > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > > -Avi Marcus > > > > > > On Mon, Jul 11, 2022 at 4:48 AM TTT wrote: > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds > to start which seems long (for a very simple configuration). > > _________________________________________________________________________ > > 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 > > _________________________________________________________________________ > > 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: Image removed by sender. > https://www.facebook.com/signalwireinc?src=email] > [image: Image removed by sender. > 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 -- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 344 bytes Desc: not available URL: From lists at telium.io Thu Jul 14 00:12:54 2022 From: lists at telium.io (TTT) Date: Thu, 14 Jul 2022 00:12:54 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <5CA61FDC-6493-46CD-A770-579394652911@freeswitch.org> <01000181f86720d9-f329866b-7247-4568-95a0-0b6a6e282405-000000@email.amazonses.com> <01000181f86ead11-f3aaef06-4f9d-4ac0-a253-76564ec0ec1b-000000@email.amazonses.com> <01000181f975f73e-50969e37-3420-420b-85c6-535c4886ac4e-000000@email.amazonses.com> Message-ID: <01000181fa0d267c-1003665e-bb95-4074-bc2f-02d9589e5913-000000@email.amazonses.com> That sounds like the cause; this machine has no route to the internet. Is there a way to skip this test? From: Brian West [mailto:brian at freeswitch.com] Sent: Wednesday, July 13, 2022 6:04 PM To: lists at telium.io Cc: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time switch_find_local_ip in switch_utils.c It's trying to figure out which of your local ipv4 and ipv6 addresses can reach the internet. /b On Wed, Jul 13, 2022 at 4:59 PM TTT > wrote: What domain name does the code do a lookup for? Perhaps it’s not resolving. But I’ll check general DNS lookups too., From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Brian West Sent: Wednesday, July 13, 2022 1:56 PM To: Avi Marcus > Cc: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time We do a look up against a DNS server in the code to check, maybe double check that isn't causing an issue? On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus > wrote: You can first try looking at the logs at startup time to see what's taking so long, in freeswitch.log -Avi Marcus On Wed, Jul 13, 2022 at 7:33 PM TTT > wrote: I checked with “ps ax” and confirmed -nonat is running. But I’ll investigate further using strace, and reload of pieces of the config., to see where the time is going. I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, control, failover, syncing, IP movement, etc) and that works well, I just want to speed up the FreeSWITCH recovery speed. Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Ken Rice Sent: Tuesday, July 12, 2022 9:05 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time are you sure -nonat is taking effect? thats about the only thing that would take any tome getting freeswitch startes up. without -nonat it takes many seconds for upnp/nat-pmp to timeout. the only other way to avoid media loss is to do a full HA setup with proper floating IP and fencing. theres agoos bit of info on this on the wiki and various places on the web Sent from my iPhone On Jul 12, 2022, at 08:21, TTT > wrote:  I’m looking at a crash recovery scenario, and during this startup period the calls in progress have no audio. (And input media bypass is not an option due to topology) From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor Nanger Sent: Tuesday, July 12, 2022 8:58 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time Just for info. Why is this a problem. On Tue, 12 Jul 2022, 14:54 TTT, > wrote: I found that the FreeSWITCH systemd service file already contains a –nonat option. Maybe my expectations are out of line, should it take 10 seconds for FreeSWITCH to fully start? My experience is with Asterisk, which is less than half of that to start. If that’s normal, how can I diagnose what is consuming the start time? Thanks From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Avi Marcus Sent: Monday, July 11, 2022 3:17 AM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time It's probably taking time to discover NAT. If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: >To turn it off use "-nonat" to start freeswitch. If you still prefer to have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you can use "-nonatmap". via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat -Avi Marcus On Mon, Jul 11, 2022 at 4:48 AM TTT > wrote: Is there a guide on how to speed FS loading times? FS takes 10+ seconds to start which seems long (for a very simple configuration). _________________________________________________________________________ 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 _________________________________________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 344 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 344 bytes Desc: not available URL: From Antony.Stone at freeswitch.open.source.it Thu Jul 14 10:17:23 2022 From: Antony.Stone at freeswitch.open.source.it (Antony Stone) Date: Thu, 14 Jul 2022 12:17:23 +0200 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181fa0d267c-1003665e-bb95-4074-bc2f-02d9589e5913-000000@email.amazonses.com> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <01000181fa0d267c-1003665e-bb95-4074-bc2f-02d9589e5913-000000@email.amazonses.com> Message-ID: <202207141217.24142.Antony.Stone@freeswitch.open.source.it> On Thursday 14 July 2022 at 02:12:54, TTT wrote: > That sounds like the cause; this machine has no route to the internet. > > Is there a way to skip this test? I, too, would very much like to see an option which can be passed to FreeSwitch to tell it not to try "anything fancy" involving uPnP, NATPMP, STUN etc, and simply accept the network addresses you've specified in the configuration file. This would speed up startup time, and also ensure that FreeSwitch did what you expected it to from the config file, not what it thinks it should do instead. Those who want it to be clever and work things out for itself can continue to use the current default mode of operation, of course. Antony. > From: Brian West [mailto:brian at freeswitch.com] > Sent: Wednesday, July 13, 2022 6:04 PM > To: lists at telium.io > Cc: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > switch_find_local_ip in switch_utils.c > > It's trying to figure out which of your local ipv4 and ipv6 addresses can > reach the internet. > On Wed, Jul 13, 2022 at 4:59 PM TTT > wrote: > > What domain name does the code do a lookup for? Perhaps it’s not > resolving. But I’ll check general DNS lookups too., > > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] On Behalf Of > Brian West Sent: Wednesday, July 13, 2022 1:56 PM > To: Avi Marcus > > Cc: FreeSWITCH Users Help > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > We do a look up against a DNS server in the code to check, maybe double > check that isn't causing an issue? > On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus > wrote: > > You can first try looking at the logs at startup time to see what's taking > so long, in freeswitch.log > On Wed, Jul 13, 2022 at 7:33 PM TTT > wrote: > > I checked with “ps ax” and confirmed -nonat is running. But I’ll > investigate further using strace, and reload of pieces of the config., to > see where the time is going. > > I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, > control, failover, syncing, IP movement, etc) and that works well, I just > want to speed up the FreeSWITCH recovery speed. > > Thanks > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] On Behalf Of Ken > Rice Sent: Tuesday, July 12, 2022 9:05 PM > To: FreeSWITCH Users Help > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > are you sure -nonat is taking effect? thats about the only thing that would > take any tome getting freeswitch startes up. without -nonat it takes many > seconds for upnp/nat-pmp to timeout. > > the only other way to avoid media loss is to do a full HA setup with proper > floating IP and fencing. theres agoos bit of info on this on the wiki and > various places on the web > On Jul 12, 2022, at 08:21, TTT > > wrote: > > I’m looking at a crash recovery scenario, and during this startup period > the calls in progress have no audio. (And input media bypass is not an > option due to topology) > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Gregor > Nanger Sent: Tuesday, July 12, 2022 8:58 AM > To: FreeSWITCH Users Help > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > Just for info. Why is this a problem. > On Tue, 12 Jul 2022, 14:54 TTT, > > wrote: > > I found that the FreeSWITCH systemd service file already contains a –nonat > option. Maybe my expectations are out of line, should it take 10 seconds > for FreeSWITCH to fully start? My experience is with Asterisk, which is > less than half of that to start. > > If that’s normal, how can I diagnose what is consuming the start time? > > > Thanks > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org > ] On Behalf Of Avi > Marcus Sent: Monday, July 11, 2022 3:17 AM > To: FreeSWITCH Users Help > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > It's probably taking time to discover NAT. > > If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > >have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > >can use "-nonatmap". > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > -Avi Marcus > > On Mon, Jul 11, 2022 at 4:48 AM TTT > wrote: > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds to > start which seems long (for a very simple configuration). > > _________________________________________________________________________ From brian at freeswitch.com Thu Jul 14 15:09:13 2022 From: brian at freeswitch.com (Brian West) Date: Thu, 14 Jul 2022 10:09:13 -0500 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <202207141217.24142.Antony.Stone@freeswitch.open.source.it> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <01000181fa0d267c-1003665e-bb95-4074-bc2f-02d9589e5913-000000@email.amazonses.com> <202207141217.24142.Antony.Stone@freeswitch.open.source.it> Message-ID: There is no way to disable that function currently. Pull requests are accepted, Stop by at the next office hours meeting next week and discuss it with us. /b On Thu, Jul 14, 2022 at 5:37 AM Antony Stone < Antony.Stone at freeswitch.open.source.it> wrote: > On Thursday 14 July 2022 at 02:12:54, TTT wrote: > > > That sounds like the cause; this machine has no route to the internet. > > > > Is there a way to skip this test? > > I, too, would very much like to see an option which can be passed to > FreeSwitch to tell it not to try "anything fancy" involving uPnP, NATPMP, > STUN > etc, and simply accept the network addresses you've specified in the > configuration file. > > This would speed up startup time, and also ensure that FreeSwitch did what > you > expected it to from the config file, not what it thinks it should do > instead. > > Those who want it to be clever and work things out for itself can continue > to > use the current default mode of operation, of course. > > > Antony. > > > From: Brian West [mailto:brian at freeswitch.com] > > Sent: Wednesday, July 13, 2022 6:04 PM > > To: lists at telium.io > > Cc: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > switch_find_local_ip in switch_utils.c > > > > It's trying to figure out which of your local ipv4 and ipv6 addresses can > > reach the internet. > > > On Wed, Jul 13, 2022 at 4:59 PM TTT > > wrote: > > > > What domain name does the code do a lookup for? Perhaps it’s not > > resolving. But I’ll check general DNS lookups too., > > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > > Brian West Sent: Wednesday, July 13, 2022 1:56 PM > > To: Avi Marcus > > > Cc: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > We do a look up against a DNS server in the code to check, maybe double > > check that isn't causing an issue? > > > On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus > > wrote: > > > > You can first try looking at the logs at startup time to see what's > taking > > so long, in freeswitch.log > > > On Wed, Jul 13, 2022 at 7:33 PM TTT > > wrote: > > > > I checked with “ps ax” and confirmed -nonat is running. But I’ll > > investigate further using strace, and reload of pieces of the config., to > > see where the time is going. > > > > I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, > > control, failover, syncing, IP movement, etc) and that works well, I just > > want to speed up the FreeSWITCH recovery speed. > > > > Thanks > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > Ken > > Rice Sent: Tuesday, July 12, 2022 9:05 PM > > To: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > are you sure -nonat is taking effect? thats about the only thing that > would > > take any tome getting freeswitch startes up. without -nonat it takes many > > seconds for upnp/nat-pmp to timeout. > > > > the only other way to avoid media loss is to do a full HA setup with > proper > > floating IP and fencing. theres agoos bit of info on this on the wiki > and > > various places on the web > > > On Jul 12, 2022, at 08:21, TTT > > > > wrote: > > > > I’m looking at a crash recovery scenario, and during this startup period > > the calls in progress have no audio. (And input media bypass is not an > > option due to topology) > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Gregor > > Nanger Sent: Tuesday, July 12, 2022 8:58 AM > > To: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > Just for info. Why is this a problem. > > > On Tue, 12 Jul 2022, 14:54 TTT, > > > > wrote: > > > > I found that the FreeSWITCH systemd service file already contains a > –nonat > > option. Maybe my expectations are out of line, should it take 10 seconds > > for FreeSWITCH to fully start? My experience is with Asterisk, which is > > less than half of that to start. > > > > If that’s normal, how can I diagnose what is consuming the start time? > > > > > > Thanks > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > Avi > > Marcus Sent: Monday, July 11, 2022 3:17 AM > > To: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > It's probably taking time to discover NAT. > > > > If you have a direct public IP and don't require NAT, you can instruct > freeswitch to skip this step: > > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > > >have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > > >can use "-nonatmap". > > > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > > > -Avi Marcus > > > > On Mon, Jul 11, 2022 at 4:48 AM TTT > > wrote: > > > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds > to > > start which seems long (for a very simple configuration). > > > > _________________________________________________________________________ > > > _________________________________________________________________________ > > 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 lists at telium.io Thu Jul 14 16:05:08 2022 From: lists at telium.io (TTT) Date: Thu, 14 Jul 2022 16:05:08 +0000 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <01000181fa0d267c-1003665e-bb95-4074-bc2f-02d9589e5913-000000@email.amazonses.com> <202207141217.24142.Antony.Stone@freeswitch.open.source.it> Message-ID: <01000181fd74efc4-557be66d-dd93-43ec-892b-f1556ebc28cc-000000@email.amazonses.com> I’m curious – what are the office hours, and how do you meet? Is this on Slack? From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West Sent: Thursday, July 14, 2022 11:09 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time There is no way to disable that function currently. Pull requests are accepted, Stop by at the next office hours meeting next week and discuss it with us. /b On Thu, Jul 14, 2022 at 5:37 AM Antony Stone > wrote: On Thursday 14 July 2022 at 02:12:54, TTT wrote: > That sounds like the cause; this machine has no route to the internet. > > Is there a way to skip this test? I, too, would very much like to see an option which can be passed to FreeSwitch to tell it not to try "anything fancy" involving uPnP, NATPMP, STUN etc, and simply accept the network addresses you've specified in the configuration file. This would speed up startup time, and also ensure that FreeSwitch did what you expected it to from the config file, not what it thinks it should do instead. Those who want it to be clever and work things out for itself can continue to use the current default mode of operation, of course. Antony. > From: Brian West [mailto:brian at freeswitch.com ] > Sent: Wednesday, July 13, 2022 6:04 PM > To: lists at telium.io > Cc: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > switch_find_local_ip in switch_utils.c > > It's trying to figure out which of your local ipv4 and ipv6 addresses can > reach the internet. > On Wed, Jul 13, 2022 at 4:59 PM TTT > > > wrote: > > What domain name does the code do a lookup for? Perhaps it’s not > resolving. But I’ll check general DNS lookups too., > > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > Brian West Sent: Wednesday, July 13, 2022 1:56 PM > To: Avi Marcus > > > Cc: FreeSWITCH Users Help > > > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > We do a look up against a DNS server in the code to check, maybe double > check that isn't causing an issue? > On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus > > > wrote: > > You can first try looking at the logs at startup time to see what's taking > so long, in freeswitch.log > On Wed, Jul 13, 2022 at 7:33 PM TTT > > > wrote: > > I checked with “ps ax” and confirmed -nonat is running. But I’ll > investigate further using strace, and reload of pieces of the config., to > see where the time is going. > > I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, > control, failover, syncing, IP movement, etc) and that works well, I just > want to speed up the FreeSWITCH recovery speed. > > Thanks > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of Ken > Rice Sent: Tuesday, July 12, 2022 9:05 PM > To: FreeSWITCH Users Help > > > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > are you sure -nonat is taking effect? thats about the only thing that would > take any tome getting freeswitch startes up. without -nonat it takes many > seconds for upnp/nat-pmp to timeout. > > the only other way to avoid media loss is to do a full HA setup with proper > floating IP and fencing. theres agoos bit of info on this on the wiki and > various places on the web > On Jul 12, 2022, at 08:21, TTT > > > wrote: > > I’m looking at a crash recovery scenario, and during this startup period > the calls in progress have no audio. (And input media bypass is not an > option due to topology) > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org ] On Behalf Of Gregor > Nanger Sent: Tuesday, July 12, 2022 8:58 AM > To: FreeSWITCH Users Help > > > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > Just for info. Why is this a problem. > On Tue, 12 Jul 2022, 14:54 TTT, > > > wrote: > > I found that the FreeSWITCH systemd service file already contains a –nonat > option. Maybe my expectations are out of line, should it take 10 seconds > for FreeSWITCH to fully start? My experience is with Asterisk, which is > less than half of that to start. > > If that’s normal, how can I diagnose what is consuming the start time? > > > Thanks > From: FreeSWITCH-users > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of Avi > Marcus Sent: Monday, July 11, 2022 3:17 AM > To: FreeSWITCH Users Help > > > Subject: Re: > [Freeswitch-users] Speeding up FreeSWITCH load time > > It's probably taking time to discover NAT. > > If you have a direct public IP and don't require NAT, you can instruct freeswitch to skip this step: > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > >have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > >can use "-nonatmap". > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > -Avi Marcus > > On Mon, Jul 11, 2022 at 4:48 AM TTT > > > wrote: > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds to > start which seems long (for a very simple configuration). > > _________________________________________________________________________ _________________________________________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 344 bytes Desc: not available URL: From brian at freeswitch.com Thu Jul 14 17:39:17 2022 From: brian at freeswitch.com (Brian West) Date: Thu, 14 Jul 2022 12:39:17 -0500 Subject: [Freeswitch-users] Speeding up FreeSWITCH load time In-Reply-To: <01000181fd74efc4-557be66d-dd93-43ec-892b-f1556ebc28cc-000000@email.amazonses.com> References: <01000181f2915740-81c89ab3-a95d-4e47-92a5-c709fc2029e3-000000@email.amazonses.com> <01000181fa0d267c-1003665e-bb95-4074-bc2f-02d9589e5913-000000@email.amazonses.com> <202207141217.24142.Antony.Stone@freeswitch.open.source.it> <01000181fd74efc4-557be66d-dd93-43ec-892b-f1556ebc28cc-000000@email.amazonses.com> Message-ID: First tuesday of each month currently, will probably increase to bi-weekly in the future. https://cluecon.cantina.video/rooms/FreeSWITCH%20Community 11am central. On Thu, Jul 14, 2022 at 11:32 AM TTT wrote: > I’m curious – what are the office hours, and how do you meet? Is this on > Slack? > > > > > > *From:* FreeSWITCH-users [mailto: > freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Brian West > *Sent:* Thursday, July 14, 2022 11:09 AM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > There is no way to disable that function currently. Pull requests are > accepted, Stop by at the next office hours meeting next week and discuss it > with us. > > > > /b > > > > On Thu, Jul 14, 2022 at 5:37 AM Antony Stone < > Antony.Stone at freeswitch.open.source.it> wrote: > > On Thursday 14 July 2022 at 02:12:54, TTT wrote: > > > That sounds like the cause; this machine has no route to the internet. > > > > Is there a way to skip this test? > > I, too, would very much like to see an option which can be passed to > FreeSwitch to tell it not to try "anything fancy" involving uPnP, NATPMP, > STUN > etc, and simply accept the network addresses you've specified in the > configuration file. > > This would speed up startup time, and also ensure that FreeSwitch did what > you > expected it to from the config file, not what it thinks it should do > instead. > > Those who want it to be clever and work things out for itself can continue > to > use the current default mode of operation, of course. > > > Antony. > > > From: Brian West [mailto:brian at freeswitch.com] > > Sent: Wednesday, July 13, 2022 6:04 PM > > To: lists at telium.io > > Cc: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] Speeding up FreeSWITCH load time > > > > switch_find_local_ip in switch_utils.c > > > > It's trying to figure out which of your local ipv4 and ipv6 addresses can > > reach the internet. > > > On Wed, Jul 13, 2022 at 4:59 PM TTT > > wrote: > > > > What domain name does the code do a lookup for? Perhaps it’s not > > resolving. But I’ll check general DNS lookups too., > > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > > Brian West Sent: Wednesday, July 13, 2022 1:56 PM > > To: Avi Marcus > > > Cc: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > We do a look up against a DNS server in the code to check, maybe double > > check that isn't causing an issue? > > > On Wed, Jul 13, 2022 at 12:07 PM Avi Marcus > > wrote: > > > > You can first try looking at the logs at startup time to see what's > taking > > so long, in freeswitch.log > > > On Wed, Jul 13, 2022 at 7:33 PM TTT > > wrote: > > > > I checked with “ps ax” and confirmed -nonat is running. But I’ll > > investigate further using strace, and reload of pieces of the config., to > > see where the time is going. > > > > I’m using HAfs (https://telium.io/hafs) to do the clustering (sensing, > > control, failover, syncing, IP movement, etc) and that works well, I just > > want to speed up the FreeSWITCH recovery speed. > > > > Thanks > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > Ken > > Rice Sent: Tuesday, July 12, 2022 9:05 PM > > To: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > are you sure -nonat is taking effect? thats about the only thing that > would > > take any tome getting freeswitch startes up. without -nonat it takes many > > seconds for upnp/nat-pmp to timeout. > > > > the only other way to avoid media loss is to do a full HA setup with > proper > > floating IP and fencing. theres agoos bit of info on this on the wiki > and > > various places on the web > > > On Jul 12, 2022, at 08:21, TTT > > > > wrote: > > > > I’m looking at a crash recovery scenario, and during this startup period > > the calls in progress have no audio. (And input media bypass is not an > > option due to topology) > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of > Gregor > > Nanger Sent: Tuesday, July 12, 2022 8:58 AM > > To: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > Just for info. Why is this a problem. > > > On Tue, 12 Jul 2022, 14:54 TTT, > > > > wrote: > > > > I found that the FreeSWITCH systemd service file already contains a > –nonat > > option. Maybe my expectations are out of line, should it take 10 seconds > > for FreeSWITCH to fully start? My experience is with Asterisk, which is > > less than half of that to start. > > > > If that’s normal, how can I diagnose what is consuming the start time? > > > > > > Thanks > > > From: FreeSWITCH-users > > [mailto:freeswitch-users-bounces at lists.freeswitch.org > > ] On Behalf Of > Avi > > Marcus Sent: Monday, July 11, 2022 3:17 AM > > To: FreeSWITCH Users Help > > Subject: Re: > > [Freeswitch-users] Speeding up FreeSWITCH load time > > > > It's probably taking time to discover NAT. > > > > If you have a direct public IP and don't require NAT, you can instruct > freeswitch to skip this step: > > >To turn it off use "-nonat" to start freeswitch. If you still prefer to > > >have NAT detection, but avoiding the port mapping using UPnP/NAT-PMP you > > >can use "-nonatmap". > > > > via: https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat > > > > -Avi Marcus > > > > On Mon, Jul 11, 2022 at 4:48 AM TTT > > wrote: > > > > Is there a guide on how to speed FS loading times? FS takes 10+ seconds > to > > start which seems long (for a very simple configuration). > > > > _________________________________________________________________________ > > > _________________________________________________________________________ > > 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: Image removed by sender. > https://www.facebook.com/signalwireinc?src=email] > [image: Image removed by sender. > 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 -- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 344 bytes Desc: not available URL: From mmeehan at djsequel.com Thu Jul 14 19:08:53 2022 From: mmeehan at djsequel.com (Michael Meehan) Date: Thu, 14 Jul 2022 19:08:53 +0000 Subject: [Freeswitch-users] Using Specific TLS Ciphers (1.10.7) In-Reply-To: References: Message-ID: For everyone else’s benefit, this was sorted. I’ve found that I needed something set in both vars.xml: and the sip_profile I wanted to restrict the ciphers for: Thanks From: Michael Meehan Date: Friday, June 24, 2022 at 9:09 AM To: freeswitch-users at lists.freeswitch.org Subject: Using Specific TLS Ciphers (1.10.7) We’ve been trying to prevent using specific ciphers, mainly Diffie-Hellman. According to the documentation I’ve seen and previous posts in this group, that should be accomplished by using something like this: This doesn’t work. This specific cipher is offered in the CLIENT HELLO and shown as also supported from the SERVER HELLO response amongst others, however, we continue to see DH as being agreed upon: tport_tls.c:974 tls_connect() tls_connect(0x7ff738006e70): events CONNECTING tport_tls.c:974 tls_connect() tls_connect(0x7ff738006e70): events NEGOTIATING tport_tls.c:974 tls_connect() tls_connect(0x7ff738006e70): events NEGOTIATING tport_tls.c:617 tls_post_connection_check() tls_post_connection_check(0x7ff738006e70): TLS cipher chosen (name): ECDHE-RSA-AES128-GCM-SHA256 tport_tls.c:619 tls_post_connection_check() tls_post_connection_check(0x7ff738006e70): TLS cipher chosen (version): TLSv1/SSLv3 tport_tls.c:622 tls_post_connection_check() tls_post_connection_check(0x7ff738006e70): TLS cipher chosen (bits/alg_bits): 128/128 tport_tls.c:625 tls_post_connection_check() tls_post_connection_check(0x7ff738006e70): TLS cipher chosen (description): ECDHE-RSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(128) Mac=AEAD Other attempts have been made using the following, which also doesn’t appear to function as expected. Any help is appreciated, thanks. FreeSWITCH Version 1.10.7-release.13~64bit (-release.13 64bit) CENTOS 7 3.10.0-1160.62.1.el7.x86_64 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrickarton at hotmail.com Fri Jul 15 12:09:38 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Fri, 15 Jul 2022 12:09:38 +0000 Subject: [Freeswitch-users] CONVERT 3XX to 603 Message-ID: Hello All, is there a way for freeswitch to convert receive response code to another code. i would like for example to convert 3xx received code to 603 code. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From csadi at hotmail.com Mon Jul 18 13:56:48 2022 From: csadi at hotmail.com (Adiseshu Channasamudhram) Date: Mon, 18 Jul 2022 13:56:48 +0000 Subject: [Freeswitch-users] Audio quality In-Reply-To: References: Message-ID: Hello FS experts, Resending the below - not sure what is causing the issue - there is sufficient system cpu and men Sent from my iPhone On Jun 28, 2022, at 10:06 PM, Adiseshu Channasamudhram wrote  Hello There, I'm having the below audio issue and would really appreciate any help Caller =======Carrier========FS SBC======IVR When i took a packet capture on the FS, I could observe that the audio stream quality from IVR to SBC is really good when compared to the audio quality stream between the SBC and the caller. Bad quality => first syllable of certain words lost, choppy ... Using PCMU 8K on both legs ... Between SBC and IVR - Max Delta is 96ms, max jitter is 22.5 Between sbc and caller - max delta is 120 and max jitter is 9.5 Any suggestion or help would be greatly appreciated Regards A -------------- next part -------------- An HTML attachment was scrubbed... URL: From abalashov at evaristesys.com Mon Jul 25 21:32:30 2022 From: abalashov at evaristesys.com (Alex Balashov) Date: Mon, 25 Jul 2022 17:32:30 -0400 Subject: [Freeswitch-users] CONVERT 3XX to 603 In-Reply-To: References: Message-ID: <5119D8CC-574B-4B58-9717-70FF969B515E@evaristesys.com> > On Jul 15, 2022, at 8:09 AM, Patrick Karton wrote: > > is there a way for freeswitch to convert receive response code to another code. > > i would like for example to convert 3xx received code to 603 code. Kind of. FreeSWITCH doesn’t expose low-level signalling anatomy on that level of granularity. You don’t handle individual SIP messages in the dial plan, right? You handle channel events and call flows. This is because FreeSWITCH generalises call events from all the signalling technologies it supports. However, some innards of the Sofia SIP driver are exposed; it’s by no means an airtight abstraction. You can exert some control over what FreeSWITCH does in certain scenarios. But, thinking of them on the level of a SIP message is unproductive and fruitless. This question really operates on a different level. But in terms of handling redirects per se: https://freeswitch.org/confluence/display/FREESWITCH/Handling+SIP+Redirect If you use ’sip_redirect_context’ to kick the call to a context which then contains: See this for more details: https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table Thus, in a roundabout way, you can do it, but it doesn’t mean you can handle any SIP request or reply any way you want at that level of granularity. — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From abalashov at evaristesys.com Mon Jul 25 21:35:48 2022 From: abalashov at evaristesys.com (Alex Balashov) Date: Mon, 25 Jul 2022 17:35:48 -0400 Subject: [Freeswitch-users] Audio quality In-Reply-To: References: Message-ID: I don’t think anyone can be sure of what is causing the issue. But you can make some effort to isolate it; does this happen with all callers? Does all your origination come from the same place (e.g. carrier)? Can you test a different origination provider and see if you get the same issue? That’s a good way to figure out if it seems to be related to the system itself or to the network path to the caller. — Alex > On Jul 18, 2022, at 9:56 AM, Adiseshu Channasamudhram wrote: > > Hello FS experts, > > Resending the below - not sure what is causing the issue - there is sufficient system cpu and men > > > > Sent from my iPhone > >> On Jun 28, 2022, at 10:06 PM, Adiseshu Channasamudhram wrote >> >>  >> Hello There, >> >> I'm having the below audio issue and would really appreciate any help >> >> Caller =======Carrier========FS SBC======IVR >> >> When i took a packet capture on the FS, I could observe that the audio stream quality from IVR to SBC is really >> good when compared to the audio quality stream between the SBC and the caller. >> >> Bad quality => first syllable of certain words lost, choppy ... >> >> Using PCMU 8K on both legs ... >> >> Between SBC and IVR - Max Delta is 96ms, max jitter is 22.5 >> Between sbc and caller - max delta is 120 and max jitter is 9.5 >> >> Any suggestion or help would be greatly appreciated >> >> Regards >> >> A >> > _________________________________________________________________________ > > 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 -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From abalashov at evaristesys.com Mon Jul 25 21:39:23 2022 From: abalashov at evaristesys.com (Alex Balashov) Date: Mon, 25 Jul 2022 17:39:23 -0400 Subject: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses In-Reply-To: References: Message-ID: <3DE6C006-2F39-491A-B771-36508CDCD31C@evaristesys.com> This gives rise to a crinkled brow, a nonplussed reaction, and a natural question: what are you trying to accomplish? Perhaps there is another way to accomplish it? — Alex > On Jul 13, 2022, at 12:10 PM, Patrick Karton wrote: > > i noticed that Freeswitch does not relay X-header in 401 or 407 response code !!! > > is there a way to enable it > > 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 -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From patrickarton at hotmail.com Mon Jul 25 22:32:09 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Mon, 25 Jul 2022 22:32:09 +0000 Subject: [Freeswitch-users] CONVERT 3XX to 603 In-Reply-To: <5119D8CC-574B-4B58-9717-70FF969B515E@evaristesys.com> References: <5119D8CC-574B-4B58-9717-70FF969B515E@evaristesys.com> Message-ID: Thanks a lot Alex. ________________________________ De : FreeSWITCH-users de la part de Alex Balashov Envoyé : lundi 25 juillet 2022 22:32 À : FreeSWITCH Users Help Objet : Re: [Freeswitch-users] CONVERT 3XX to 603 > On Jul 15, 2022, at 8:09 AM, Patrick Karton wrote: > > is there a way for freeswitch to convert receive response code to another code. > > i would like for example to convert 3xx received code to 603 code. Kind of. FreeSWITCH doesn’t expose low-level signalling anatomy on that level of granularity. You don’t handle individual SIP messages in the dial plan, right? You handle channel events and call flows. This is because FreeSWITCH generalises call events from all the signalling technologies it supports. However, some innards of the Sofia SIP driver are exposed; it’s by no means an airtight abstraction. You can exert some control over what FreeSWITCH does in certain scenarios. But, thinking of them on the level of a SIP message is unproductive and fruitless. This question really operates on a different level. But in terms of handling redirects per se: https://freeswitch.org/confluence/display/FREESWITCH/Handling+SIP+Redirect If you use ’sip_redirect_context’ to kick the call to a context which then contains: See this for more details: https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table Thus, in a roundabout way, you can do it, but it doesn’t mean you can handle any SIP request or reply any way you want at that level of granularity. — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.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 patrickarton at hotmail.com Mon Jul 25 22:40:18 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Mon, 25 Jul 2022 22:40:18 +0000 Subject: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses In-Reply-To: <3DE6C006-2F39-491A-B771-36508CDCD31C@evaristesys.com> References: <3DE6C006-2F39-491A-B771-36508CDCD31C@evaristesys.com> Message-ID: Hello Alex, in fact i want to relay another Q.850 through X- header because freeswitch always add Q.850 for all >=400 final responses. i have a setup like this Caller <-----> Freeswitch <---> Callee if callee send a final reply >=400 with a Q.850 code i want it to be relayed to caller on leg A and not the freeswitch One. ________________________________ De : FreeSWITCH-users de la part de Alex Balashov Envoyé : lundi 25 juillet 2022 22:39 À : FreeSWITCH Users Help Objet : Re: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses This gives rise to a crinkled brow, a nonplussed reaction, and a natural question: what are you trying to accomplish? Perhaps there is another way to accomplish it? — Alex > On Jul 13, 2022, at 12:10 PM, Patrick Karton wrote: > > i noticed that Freeswitch does not relay X-header in 401 or 407 response code !!! > > is there a way to enable it > > 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 -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.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 krice at freeswitch.org Mon Jul 25 23:42:44 2022 From: krice at freeswitch.org (Ken Rice) Date: Mon, 25 Jul 2022 18:42:44 -0500 Subject: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses In-Reply-To: References: Message-ID: <63A56751-C06D-4000-B9D7-B8BB3EBA60AA@freeswitch.org> FreeSwitch is not a proxy. Its a B2BUA. relaying such values is what a proxy does. 401 and 407 specifically are what you send for rejecting calls because the user/pass is not correct on things like the initial invite or a register request. and they also include additional headers for challenging auth. Freeswitch is not going to pass that back either. and this doesnt touch on the Q.850 which is not a SIP reason but an ISUP reason. You can put SIP data in the Reason header but then its now a Q.850 anymore Sent from my iPhone > On Jul 25, 2022, at 17:40, Patrick Karton wrote: > >  > Hello Alex, > > in fact i want to relay another Q.850 through X- header because freeswitch always add Q.850 for all >=400 final responses. > > i have a setup like this > > Caller <-----> Freeswitch <---> Callee > > if callee send a final reply >=400 with a Q.850 code i want it to be relayed to caller on leg A and not the freeswitch One. > > > De : FreeSWITCH-users de la part de Alex Balashov > Envoyé : lundi 25 juillet 2022 22:39 > À : FreeSWITCH Users Help > Objet : Re: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses > > This gives rise to a crinkled brow, a nonplussed reaction, and a natural question: what are you trying to accomplish? > > Perhaps there is another way to accomplish it? > > — Alex > > > On Jul 13, 2022, at 12:10 PM, Patrick Karton wrote: > > > > i noticed that Freeswitch does not relay X-header in 401 or 407 response code !!! > > > > is there a way to enable it > > > > 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 > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.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 abalashov at evaristesys.com Tue Jul 26 04:01:08 2022 From: abalashov at evaristesys.com (Alex Balashov) Date: Tue, 26 Jul 2022 00:01:08 -0400 Subject: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses In-Reply-To: References: <3DE6C006-2F39-491A-B771-36508CDCD31C@evaristesys.com> Message-ID: <29B0EAE7-E207-4A22-BD6B-4352E429E403@evaristesys.com> To Ken’s point, you seem to be in the market for a highly programmable SIP proxy, such as Kamailio or OpenSIPS. > On Jul 25, 2022, at 6:40 PM, Patrick Karton wrote: > > Hello Alex, > > in fact i want to relay another Q.850 through X- header because freeswitch always add Q.850 for all >=400 final responses. > > i have a setup like this > > Caller <-----> Freeswitch <---> Callee > > if callee send a final reply >=400 with a Q.850 code i want it to be relayed to caller on leg A and not the freeswitch One. > > > De : FreeSWITCH-users de la part de Alex Balashov > Envoyé : lundi 25 juillet 2022 22:39 > À : FreeSWITCH Users Help > Objet : Re: [Freeswitch-users] FS does not relay X-header in 401 and 407 responses > > This gives rise to a crinkled brow, a nonplussed reaction, and a natural question: what are you trying to accomplish? > > Perhaps there is another way to accomplish it? > > — Alex > > > On Jul 13, 2022, at 12:10 PM, Patrick Karton wrote: > > > > i noticed that Freeswitch does not relay X-header in 401 or 407 response code !!! > > > > is there a way to enable it > > > > 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 > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.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 -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From daveh at drachtio.org Tue Jul 26 09:00:14 2022 From: daveh at drachtio.org (Dave Horton) Date: Tue, 26 Jul 2022 10:00:14 +0100 Subject: [Freeswitch-users] CONVERT 3XX to 603 In-Reply-To: References: <5119D8CC-574B-4B58-9717-70FF969B515E@evaristesys.com> Message-ID: HI Alex Just to chime in with another solution here. I developed drachtio (https://drachtio.org/) as a solution to make it easy for developers coming from a web background to build sip apps. You can build both sip proxy and B2B apps. Doing things like changing headers is greatly simplified as well. If you want to learn more, feel free to join my slack channel to ask questions of me or the community at https://joinslack.jambonz.org Best Dave On Jul 25, 2022, at 11:32 PM, Patrick Karton wrote: Thanks a lot Alex. De : FreeSWITCH-users > de la part de Alex Balashov > Envoyé : lundi 25 juillet 2022 22:32 À : FreeSWITCH Users Help > Objet : Re: [Freeswitch-users] CONVERT 3XX to 603 > On Jul 15, 2022, at 8:09 AM, Patrick Karton > wrote: > > is there a way for freeswitch to convert receive response code to another code. > > i would like for example to convert 3xx received code to 603 code. Kind of. FreeSWITCH doesn’t expose low-level signalling anatomy on that level of granularity. You don’t handle individual SIP messages in the dial plan, right? You handle channel events and call flows. This is because FreeSWITCH generalises call events from all the signalling technologies it supports. However, some innards of the Sofia SIP driver are exposed; it’s by no means an airtight abstraction. You can exert some control over what FreeSWITCH does in certain scenarios. But, thinking of them on the level of a SIP message is unproductive and fruitless. This question really operates on a different level. But in terms of handling redirects per se: https://freeswitch.org/confluence/display/FREESWITCH/Handling+SIP+Redirect If you use ’sip_redirect_context’ to kick the call to a context which then contains: See this for more details: https://freeswitch.org/confluence/display/FREESWITCH/Hangup+Cause+Code+Table Thus, in a roundabout way, you can do it, but it doesn’t mean you can handle any SIP request or reply any way you want at that level of granularity. — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/ , http://www.csrpswitch.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 patrickarton at hotmail.com Tue Jul 26 17:06:18 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Tue, 26 Jul 2022 17:06:18 +0000 Subject: [Freeswitch-users] freeswitch 180 ringing retransmission interval update Message-ID: when b leg is in ringing state freeswitch retransmits 180 on a leg every 60 seconds even if b leg does not send 180. is there a param to increase that interval ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From abalashov at evaristesys.com Tue Jul 26 17:31:19 2022 From: abalashov at evaristesys.com (Alex Balashov) Date: Tue, 26 Jul 2022 13:31:19 -0400 Subject: [Freeswitch-users] freeswitch 180 ringing retransmission interval update In-Reply-To: References: Message-ID: In your zeal to coerce FreeSWITCH into 1:1 behaviour between A-leg and B-leg — something for which it is not designed — have you considered a SIP proxy instead? I say this merely because the theme of all your recent questions points in one direction: wrong tool for the job. You seem very consistent in what you want from FreeSWITCH, and there is an alternative mechanism which provides exactly what you’re looking for. > On Jul 26, 2022, at 1:06 PM, Patrick Karton wrote: > > when b leg is in ringing state freeswitch retransmits 180 on a leg every 60 seconds even if b leg does not send 180. > > is there a param to increase that interval ? > > 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 -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ From patrickarton at hotmail.com Tue Jul 26 18:43:43 2022 From: patrickarton at hotmail.com (Patrick Karton) Date: Tue, 26 Jul 2022 19:43:43 +0100 Subject: [Freeswitch-users] freeswitch 180 ringing retransmission interval update In-Reply-To: Message-ID: An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Jul 26 22:05:03 2022 From: brian at freeswitch.com (Brian West) Date: Tue, 26 Jul 2022 17:05:03 -0500 Subject: [Freeswitch-users] freeswitch 180 ringing retransmission interval update In-Reply-To: References: Message-ID: FreeSWITCH won't do a 180 for every ring, and doing so is wrong, you sure you're looking at the right place? On Tue, Jul 26, 2022 at 2:01 PM Patrick Karton wrote: > Hello Alex, > > Thanks for response. > > We already use kamailio as our proxy. > > We want to remove freeswitch further.but it was in our architecture for > long time. > > And now some of our clients just dont like some freeswitch behaviour. > > And i dont want to do many hacks on kamailio side. > > Thanks again. > That means we just need to redesign our architecturé. > > Le 26 juil. 2022 18:31, Alex Balashov a > écrit : > > In your zeal to coerce FreeSWITCH into 1:1 behaviour between A-leg and > B-leg — something for which it is not designed — have you considered a SIP > proxy instead? > > I say this merely because the theme of all your recent questions points in > one direction: wrong tool for the job. You seem very consistent in what you > want from FreeSWITCH, and there is an alternative mechanism which provides > exactly what you’re looking for. > > > On Jul 26, 2022, at 1:06 PM, Patrick Karton > wrote: > > > > when b leg is in ringing state freeswitch retransmits 180 on a leg every > 60 seconds even if b leg does not send 180. > > > > is there a param to increase that interval ? > > > > 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 > > -- > Alex Balashov | Principal | Evariste Systems LLC > > Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) > Web: http://www.evaristesys.com/, http://www.csrpswitch.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 abalashov at evaristesys.com Wed Jul 27 02:58:11 2022 From: abalashov at evaristesys.com (Alex Balashov) Date: Tue, 26 Jul 2022 22:58:11 -0400 Subject: [Freeswitch-users] freeswitch 180 ringing retransmission interval update In-Reply-To: References: Message-ID: <44CAD720-474A-42C0-9E55-E7ED3317CA17@evaristesys.com> > On Jul 26, 2022, at 2:43 PM, Patrick Karton wrote: > > That means we just need to redesign our architecturé. I take no pleasure in being the bearer of bad or unwieldy news, but I think that’s right. — Alex -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/