From bipin at xbipin.com Sat Jun 1 09:10:01 2019 From: bipin at xbipin.com (Bipin Patel) Date: Sat, 01 Jun 2019 13:10:01 +0400 Subject: Run script that calls exts and plays recording Message-ID: <16b124d8e28.279b.b07ebdf329620b8089087c7205b03f01@xbipin.com> Hi, I have a requirement where one phone calls the number 55 which fs answers and asks user to record his message and hangup when complete which works fine but after he hangs up I want to run a lua script which can take this recorded message and call multiple phones and play it to them but this part doesn't work even when using api_hangup_hook because fs replies not session available. Is there any way to keep the b leg which is fs itself answering active and run the script? It's fs answering and recording the message so not able to use other commands related to bridge like continue on fail or hang up after bridge or transfer etc. Any pointers will be helpful Regards, Bipin From bipin at xbipin.com Sat Jun 1 10:34:19 2019 From: bipin at xbipin.com (Bipin Patel) Date: Sat, 01 Jun 2019 14:34:19 +0400 Subject: [Freeswitch-users] Run script that calls exts and plays recording In-Reply-To: References: Message-ID: <16b129abbf8.279b.b07ebdf329620b8089087c7205b03f01@xbipin.com> Hi, I have a requirement where one phone calls the number 55 which fs answers and asks user to record his message and hangup when complete which works fine but after he hangs up I want to run a lua script which can take this recorded message and call multiple phones and play it to them but this part doesn't work even when using api_hangup_hook because fs replies not session available. Is there any way to keep the b leg which is fs itself answering active and run the script? It's fs answering and recording the message so not able to use other commands related to bridge like continue on fail or hang up after bridge or transfer etc. Any pointers will be helpful Regards, Bipin On June 1, 2019 1:51:09 PM Bipin Patel via FreeSWITCH-users wrote: > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From vma at vallimamod.org Sat Jun 1 12:40:16 2019 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Sat, 1 Jun 2019 14:40:16 +0200 Subject: [Freeswitch-users] Run script that calls exts and plays recording In-Reply-To: References: Message-ID: <67FB0C3E-7CD7-46DB-84FA-8AD291449E30@vallimamod.org> Hi, There is no b-leg when the call is answered by freeswitch. You need to create new sessions for your subsequent calls in your lua script. Best Regards, -- Vallimamod Abdullah SIP Solutions vma at sip.solutions linkedin.com/in/vallimamod . > On 1 Jun 2019, at 13:54, Bipin Patel via FreeSWITCH-users wrote: > > > From: Bipin Patel > > Subject: Re: [Freeswitch-users] Run script that calls exts and plays recording > Date: 1 June 2019 at 12:34:19 CEST > To: > > > Hi, > > I have a requirement where one phone calls the number 55 which fs answers and asks user to record his message and hangup when complete which works fine but after he hangs up I want to run a lua script which can take this recorded message and call multiple phones and play it to them but this part doesn't work even when using api_hangup_hook because fs replies not session available. > > Is there any way to keep the b leg which is fs itself answering active and run the script? It's fs answering and recording the message so not able to use other commands related to bridge like continue on fail or hang up after bridge or transfer etc. > > Any pointers will be helpful > > > > Regards, > > Bipin > > On June 1, 2019 1:51:09 PM Bipin Patel via FreeSWITCH-users > wrote: > >> _________________________________________________________________________ >> >> 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 vma at vallimamod.org Sat Jun 1 13:03:15 2019 From: vma at vallimamod.org (Vallimamod Abdullah) Date: Sat, 1 Jun 2019 15:03:15 +0200 Subject: [Freeswitch-users] having problems configuring source of master In-Reply-To: References: Message-ID: <992EB9E7-1B0F-4DD9-8C45-1554E6D29DD3@vallimamod.org> Hi, These are 2 different things: - libpvx provides the vp8 and vp9 video codecs - v8 is the javascript engine to use js as your scripting language. So if you are not using js, you can safely comment out languages/mod_v8 from your modules.conf Best Regards, -- Vallimamod Abdullah SIP Solutions vma at sip.solutions linkedin.com/in/vallimamod . > On 29 May 2019, at 07:58, John Covici wrote: > > Hi. I am having a problem configuring freeswitch master. I have > libvpx-1.7.0 but I get the following complaint when running > ./configure > checking for v8-6.1_static >= 6.1.298... checking for v8fs_static >= > 6.1.298... checking for v8 >= 6.1.298... configure: error: You need to > either install libv8-6.1-dev (>= 6.1.298), libv8fs-dev (>= 6.1.298) or > disable mod_v8 in modules.conf > > Since I have 7.0 should not this work? Where is it looking for these > files? > > I do have a pc file for this, but its called vpx.pc and had the > information for libvpx package, so what am I missing? > > Thanks in advance for any suggestions. > > -- > Your life is like a penny. You're going to lose it. The question is: > How do > you spend it? > > John Covici wb2una > covici at ccs.covici.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From david.villasmil.work at gmail.com Sat Jun 1 14:12:48 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Sat, 1 Jun 2019 15:12:48 +0100 Subject: [Freeswitch-users] having problems configuring source of master In-Reply-To: <992EB9E7-1B0F-4DD9-8C45-1554E6D29DD3@vallimamod.org> References: <992EB9E7-1B0F-4DD9-8C45-1554E6D29DD3@vallimamod.org> Message-ID: Also, just wondering: is there a reason for not installing from the repo? On Sat, 1 Jun 2019 at 15:03, Vallimamod Abdullah wrote: > Hi, > > These are 2 different things: > > - libpvx provides the vp8 and vp9 video codecs > - v8 is the javascript engine to use js as your scripting language. > > So if you are not using js, you can safely comment out languages/mod_v8 > from your modules.conf > > Best Regards, > -- > Vallimamod Abdullah > SIP Solutions > vma at sip.solutions > linkedin.com/in/vallimamod > . > > > > On 29 May 2019, at 07:58, John Covici wrote: > > > > Hi. I am having a problem configuring freeswitch master. I have > > libvpx-1.7.0 but I get the following complaint when running > > ./configure > > checking for v8-6.1_static >= 6.1.298... checking for v8fs_static >= > > 6.1.298... checking for v8 >= 6.1.298... configure: error: You need to > > either install libv8-6.1-dev (>= 6.1.298), libv8fs-dev (>= 6.1.298) or > > disable mod_v8 in modules.conf > > > > Since I have 7.0 should not this work? Where is it looking for these > > files? > > > > I do have a pc file for this, but its called vpx.pc and had the > > information for libvpx package, so what am I missing? > > > > Thanks in advance for any suggestions. > > > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici wb2una > > covici at ccs.covici.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bipin at xbipin.com Sat Jun 1 15:11:43 2019 From: bipin at xbipin.com (Bipin Patel) Date: Sat, 01 Jun 2019 19:11:43 +0400 Subject: [Freeswitch-users] Run script that calls exts and plays recording In-Reply-To: <67FB0C3E-7CD7-46DB-84FA-8AD291449E30@vallimamod.org> References: <67FB0C3E-7CD7-46DB-84FA-8AD291449E30@vallimamod.org> Message-ID: <16b1398b398.279b.b07ebdf329620b8089087c7205b03f01@xbipin.com> Hi, I was reading all the docs etc and being a beginner to lua can you guide with a simple statement on how to create a new session, I tried using freeswitch.api() but then I can't get it to run due to no session. The only way I managed to get it to work was create a originate command using fs_cli and run it using os.execute On June 1, 2019 5:09:14 PM Vallimamod Abdullah wrote: > Hi, > > There is no b-leg when the call is answered by freeswitch. > You need to create new sessions for your subsequent calls in your lua script. > > > Best Regards, > -- > Vallimamod Abdullah > SIP Solutions > vma at sip.solutions > linkedin.com/in/vallimamod > . > > >> On 1 Jun 2019, at 13:54, Bipin Patel via FreeSWITCH-users >> wrote: >> >> >> From: Bipin Patel > >> Subject: Re: [Freeswitch-users] Run script that calls exts and plays recording >> Date: 1 June 2019 at 12:34:19 CEST >> To: >> >> >> Hi, >> >> I have a requirement where one phone calls the number 55 which fs answers >> and asks user to record his message and hangup when complete which works >> fine but after he hangs up I want to run a lua script which can take this >> recorded message and call multiple phones and play it to them but this part >> doesn't work even when using api_hangup_hook because fs replies not session >> available. >> >> Is there any way to keep the b leg which is fs itself answering active and >> run the script? It's fs answering and recording the message so not able to >> use other commands related to bridge like continue on fail or hang up after >> bridge or transfer etc. >> >> Any pointers will be helpful >> >> >> >> Regards, >> >> Bipin >> >> On June 1, 2019 1:51:09 PM Bipin Patel via FreeSWITCH-users >> > > wrote: >> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> >> >> >> >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time https://signalwire.community >> >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> >> https://freeswitch.com > > > > ---------- > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From covici at ccs.covici.com Sat Jun 1 16:58:14 2019 From: covici at ccs.covici.com (John Covici) Date: Sat, 01 Jun 2019 12:58:14 -0400 Subject: [Freeswitch-users] having problems configuring source of master In-Reply-To: References: <992EB9E7-1B0F-4DD9-8C45-1554E6D29DD3@vallimamod.org> Message-ID: I am not using Debian, so I can't really do that. So, what is the correct library for v8, so I can get it from somewhere? In freeswitch 1.6, I had that library with no troubles and I thought I was told that libvpx was the problem, but maybe that was wrong. On Sat, 01 Jun 2019 10:12:48 -0400, David Villasmil wrote: > > [1 ] > [1.1 ] > [1.2 ] > Also, just wondering: is there a reason for not installing from the repo? > > On Sat, 1 Jun 2019 at 15:03, Vallimamod Abdullah wrote: > > Hi, > > These are 2 different things: > > - libpvx provides the vp8 and vp9 video codecs > - v8 is the javascript engine to use js as your scripting language. > > So if you are not using js, you can safely comment out languages/mod_v8 from your modules.conf > > Best Regards, > -- > Vallimamod Abdullah > SIP Solutions > vma at sip.solutions > linkedin.com/in/vallimamod > . > > > On 29 May 2019, at 07:58, John Covici wrote: > > > > Hi. I am having a problem configuring freeswitch master. I have > > libvpx-1.7.0 but I get the following complaint when running > > ./configure > > checking for v8-6.1_static >= 6.1.298... checking for v8fs_static >= > > 6.1.298... checking for v8 >= 6.1.298... configure: error: You need to > > either install libv8-6.1-dev (>= 6.1.298), libv8fs-dev (>= 6.1.298) or > > disable mod_v8 in modules.conf > > > > Since I have 7.0 should not this work? Where is it looking for these > > files? > > > > I do have a pc file for this, but its called vpx.pc and had the > > information for libvpx package, so what am I missing? > > > > Thanks in advance for any suggestions. > > > > -- > > Your life is like a penny. You're going to lose it. The question is: > > How do > > you spend it? > > > > John Covici wb2una > > covici at ccs.covici.com > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > [2 ] > _________________________________________________________________________ > > 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 -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici at ccs.covici.com From stephen.barry at sensical.net Wed Jun 5 14:52:02 2019 From: stephen.barry at sensical.net (Stephen Barry) Date: Wed, 5 Jun 2019 14:52:02 +0000 Subject: Inbound transferred calls are dropped Message-ID: Hi Please would anyone help point me in the right direction with a problem I am having on FreeSWITCH (Version 1.8.5 -6-31281a0bf1 64bit) on FusionPBX I have FS connected to Cisco Call Manager over a SIP trunk (insecure) and remote endpoints registering over the internet to FS secured with TLS and SRTP --- [SIP Trunk TCP + RTP] --- --- --- [TLS Registration + SRTP] --- --- I can make calls in all directions with audio, problem is when I try to do an transfer from a phone on CUCM to the endpoint registered on FS the call drops. Here is the capture https://pastebin.freeswitch.org/view/214d3b21 In this example it was a consultative transfer, the initial inbound call was answered OK, but when the transfer was initiated the call dropped. My understanding of the issue from analysing this trace is when the call is transferred CUCM sends a re-invite to put the call on hold maybe, that causes the following problems: Line 1546 2019-06-05 15:33:30.169172 [WARNING] switch_core_media.c:4877 RFC2543 from March 1999 called; They want their 0.0.0.0 hold method back..... Line 1587 2019-06-05 15:33:30.429173 [WARNING] switch_core_media.c:5551 Crypto not negotiated but required. Line 1590 2019-06-05 15:33:30.429173 [DEBUG] sofia.c:8216 Reinvite resulted in codec negotiation failure. I have exhausted my limited knowledge of what is going wrong and how to fix this and would be very grateful of assistance. Thanks Steve From ramelcom at gmail.com Wed Jun 5 17:20:23 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Wed, 5 Jun 2019 11:20:23 -0600 Subject: [Freeswitch-users] Inbound transferred calls are dropped In-Reply-To: References: Message-ID: There is a configuration under CuCM SIP trunk (or could be in SIP profile config) to avoid sending the hold reINVITE with 0.0.0.0 IP. You can try that out. With the log snippets, I think FS is expecting crypto keys for this SDP which CuCM will not provide as it is just a fake SDP. Thanks Ramesh On Wed, Jun 5, 2019 at 9:24 AM Stephen Barry via FreeSWITCH-users < freeswitch-users at lists.freeswitch.org> wrote: > > > > ---------- Forwarded message ---------- > From: Stephen Barry > To: "'freeswitch-users at lists.freeswitch.org'" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: Wed, 5 Jun 2019 14:52:02 +0000 > Subject: Inbound transferred calls are dropped > Hi > > Please would anyone help point me in the right direction with a problem I > am having on FreeSWITCH (Version 1.8.5 -6-31281a0bf1 64bit) on FusionPBX > > I have FS connected to Cisco Call Manager over a SIP trunk (insecure) and > remote endpoints registering over the internet to FS secured with TLS and > SRTP > > --- [SIP Trunk TCP + RTP] --- --- --- [TLS > Registration + SRTP] --- --- > > I can make calls in all directions with audio, problem is when I try to do > an transfer from a phone on CUCM to the endpoint registered on FS the call > drops. > > Here is the capture https://pastebin.freeswitch.org/view/214d3b21 > > In this example it was a consultative transfer, the initial inbound call > was answered OK, but when the transfer was initiated the call dropped. > > My understanding of the issue from analysing this trace is when the call > is transferred CUCM sends a re-invite to put the call on hold maybe, that > causes the following problems: > > Line 1546 2019-06-05 15:33:30.169172 [WARNING] switch_core_media.c:4877 > RFC2543 from March 1999 called; They want their 0.0.0.0 hold method > back..... > Line 1587 2019-06-05 15:33:30.429173 [WARNING] switch_core_media.c:5551 > Crypto not negotiated but required. > Line 1590 2019-06-05 15:33:30.429173 [DEBUG] sofia.c:8216 Reinvite > resulted in codec negotiation failure. > > I have exhausted my limited knowledge of what is going wrong and how to > fix this and would be very grateful of assistance. > > Thanks > Steve > > > > > ---------- Forwarded message ---------- > From: Stephen Barry via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> > To: "'freeswitch-users at lists.freeswitch.org'" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: Wed, 05 Jun 2019 08:24:52 -0700 (PDT) > Subject: [Freeswitch-users] Inbound transferred calls are dropped > _________________________________________________________________________ > > 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 ramelcom at gmail.com Wed Jun 5 18:04:16 2019 From: ramelcom at gmail.com (Ramesh Kandasamy) Date: Wed, 5 Jun 2019 12:04:16 -0600 Subject: [Freeswitch-users] Inbound transferred calls are dropped In-Reply-To: References: Message-ID: Please ignore the statement about crypto line. It is just the warning. On Wed, Jun 5, 2019 at 11:20 AM Ramesh Kandasamy wrote: > There is a configuration under CuCM SIP trunk (or could be in SIP profile > config) to avoid sending the hold reINVITE with 0.0.0.0 IP. You can try > that out. > With the log snippets, I think FS is expecting crypto keys for this SDP > which CuCM will not provide as it is just a fake SDP. > > Thanks > Ramesh > > On Wed, Jun 5, 2019 at 9:24 AM Stephen Barry via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> wrote: > >> >> >> >> ---------- Forwarded message ---------- >> From: Stephen Barry >> To: "'freeswitch-users at lists.freeswitch.org'" < >> freeswitch-users at lists.freeswitch.org> >> Cc: >> Bcc: >> Date: Wed, 5 Jun 2019 14:52:02 +0000 >> Subject: Inbound transferred calls are dropped >> Hi >> >> Please would anyone help point me in the right direction with a problem I >> am having on FreeSWITCH (Version 1.8.5 -6-31281a0bf1 64bit) on FusionPBX >> >> I have FS connected to Cisco Call Manager over a SIP trunk (insecure) and >> remote endpoints registering over the internet to FS secured with TLS and >> SRTP >> >> --- [SIP Trunk TCP + RTP] --- --- --- [TLS >> Registration + SRTP] --- --- >> >> I can make calls in all directions with audio, problem is when I try to >> do an transfer from a phone on CUCM to the endpoint registered on FS the >> call drops. >> >> Here is the capture https://pastebin.freeswitch.org/view/214d3b21 >> >> In this example it was a consultative transfer, the initial inbound call >> was answered OK, but when the transfer was initiated the call dropped. >> >> My understanding of the issue from analysing this trace is when the call >> is transferred CUCM sends a re-invite to put the call on hold maybe, that >> causes the following problems: >> >> Line 1546 2019-06-05 15:33:30.169172 [WARNING] switch_core_media.c:4877 >> RFC2543 from March 1999 called; They want their 0.0.0.0 hold method >> back..... >> Line 1587 2019-06-05 15:33:30.429173 [WARNING] switch_core_media.c:5551 >> Crypto not negotiated but required. >> Line 1590 2019-06-05 15:33:30.429173 [DEBUG] sofia.c:8216 Reinvite >> resulted in codec negotiation failure. >> >> I have exhausted my limited knowledge of what is going wrong and how to >> fix this and would be very grateful of assistance. >> >> Thanks >> Steve >> >> >> >> >> ---------- Forwarded message ---------- >> From: Stephen Barry via FreeSWITCH-users < >> freeswitch-users at lists.freeswitch.org> >> To: "'freeswitch-users at lists.freeswitch.org'" < >> freeswitch-users at lists.freeswitch.org> >> Cc: >> Bcc: >> Date: Wed, 05 Jun 2019 08:24:52 -0700 (PDT) >> Subject: [Freeswitch-users] Inbound transferred calls are dropped >> _________________________________________________________________________ >> >> 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 alex at freeswitch.com Thu Jun 6 00:36:40 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Thu, 6 Jun 2019 09:36:40 +0900 Subject: [Freeswitch-users] Issue | Shared Line In-Reply-To: References: Message-ID: Long story short, try to update. Many problems were fixed since 1.2.14. Next time please add the log and/or pcap. There is too few info to figure something out. Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Wed, May 29, 2019 at 1:57 PM jesse hiatt wrote: > We have multiple sites that use call groups with the same configuration > however, only one site is experiencing any issues. I'm relatively new to > FreeSWITCH, so please let me know if there is additional information I can > provide. Thanks in advance for any advice. > > The sites are using FreeSWITCH version 1.2.14 > The Polycom phones are using version 3.3.5 > > Here is the issue I see in the PCAP: > [image: Screen Shot 2019-05-24 at 5.55.56 AM.png] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2019-05-24 at 5.55.56 AM.png Type: image/png Size: 356457 bytes Desc: not available URL: From davidswalkabout at gmail.com Thu Jun 6 02:43:33 2019 From: davidswalkabout at gmail.com (David P) Date: Thu, 6 Jun 2019 14:43:33 +1200 Subject: [Freeswitch-users] iOS 12.3 / FreeSWITCH m-lines ordering issue Message-ID: Hi Chad, When you've tested verto with Safari/iOS (say, v12), have you seen a call answered and then immediately hangup from the FS side? I get that repeatedly. Here's what I've tried: 1. We use the latest commercial release of FS, 20.19.4, on debian stretch 2. I merged your fix to jquery.FSRTC.js into ours, which has only minor changes from the tip of FS' repo 3. I tried our verto app on iOS 12 (using AWS Device Farm because I don't have Apple devices) 4. freeswitch.log shows verto.bye immediately after verto.answer, even in the same millisecond! I've attached a snippet of the log showing this. Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: silentForIOS_forSharingOnMailingList.log Type: application/octet-stream Size: 4517 bytes Desc: not available URL: From s.safarov at gmail.com Fri Jun 7 03:55:09 2019 From: s.safarov at gmail.com (Sergey Safarov) Date: Fri, 7 Jun 2019 06:55:09 +0300 Subject: [Freeswitch-users] iOS 12.3 / FreeSWITCH m-lines ordering issue In-Reply-To: References: Message-ID: you can look issue https://freeswitch.org/jira/browse/FS-11433 and PR https://freeswitch.org/stash/projects/FS/repos/freeswitch/pull-requests/1604 On Thu, Jun 6, 2019 at 11:32 PM David P wrote: > Hi Chad, > > When you've tested verto with Safari/iOS (say, v12), have you seen a call > answered and then immediately hangup from the FS side? I get that > repeatedly. > > Here's what I've tried: > 1. We use the latest commercial release of FS, 20.19.4, on debian stretch > 2. I merged your fix to jquery.FSRTC.js into ours, which has only minor > changes from the tip of FS' repo > 3. I tried our verto app on iOS 12 (using AWS Device Farm because I don't > have Apple devices) > 4. freeswitch.log shows verto.bye immediately after verto.answer, even in > the same millisecond! I've attached a snippet of the log showing this. > > Cheers, > David > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From chad at apartmentlines.com Sat Jun 8 02:04:47 2019 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 7 Jun 2019 19:04:47 -0700 Subject: [Freeswitch-users] conference video layers In-Reply-To: References: Message-ID: Not sure I totally understand your question, but what I can say is that using the reservation ID stuff you can control the layout any way you want. I use that plus talking events to roll my own custom 'floor' functionality. On Fri, May 31, 2019 at 1:18 PM Madovsky wrote: > Hi folks, > > in mod_conference is it possible to for exemple select a 2 cam side by > side but > > with let's say a zoom of the person taling more than 30 sec? > > Thanks > > Franck > > > _________________________________________________________________________ > > 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 chad at apartmentlines.com Sat Jun 8 02:07:39 2019 From: chad at apartmentlines.com (Chad Phillips) Date: Fri, 7 Jun 2019 19:07:39 -0700 Subject: [Freeswitch-users] verto communicator In-Reply-To: References: Message-ID: Here's a good place to start learning about what mod_conference can do: https://freeswitch.org/confluence/display/FREESWITCH/mod_conference The raise hand stuff is an application layer functionality, you'd have to roll your own for that. On Fri, May 31, 2019 at 3:12 PM Mansi Gupta wrote: > Hello everyone, > > I was testing verto communicator,it worked well. I have few queries. > > 1. Can we have layout like jitsi. > 2. Is it possible to share/view files during conference. > 3. In conference can we have feature like raise hand. > > Thank you > > > -- > Mansi Gupta > _________________________________________________________________________ > > 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 m.hald at outlook.com Fri Jun 7 07:53:29 2019 From: m.hald at outlook.com (Marcel Haldemann) Date: Fri, 7 Jun 2019 07:53:29 +0000 Subject: [Freeswitch-users] EVS Codec module for FreeSwitch ? In-Reply-To: References: Message-ID: Google found this implementation: One of them is for asterisk For Asterisk: https://github.com/traud/asterisk-evs other: https://github.com/youzzzwww/evs Von: FreeSWITCH-users Im Auftrag von Dragos Oancea Gesendet: Samstag, 1. Juni 2019 00:39 An: FreeSWITCH Users Help Betreff: Re: [Freeswitch-users] EVS Codec module for FreeSwitch ? This is mostly used for IMS/VOLTE . Is there an open-source library (encoder/decoder) for EVS yet ? I know it's supposed to be better than AMR-WB. On Wed, May 29, 2019 at 3:54 PM Marcel Haldemann > wrote: Hi guys, Is there any change to get an EVS-Codec (https://www.iis.fraunhofer.de/en/ff/amm/communication/evs.html) implementation in FreeSwitch ? EVS is the successor of AMR-WB and As far as I understand it’s royalty free for Network Devices (only mobile phone and table manufacturers got to license it, at least for now, and if it changes it can be centrally licensed at mpegla.com), Quote: “EVS Network Devices o Royalties waived during the initial term” from: https://www.mpegla.com/wp-content/uploads/EVSWeb.pdf General Info: https://www.mpegla.com/programs/evs/ Some info from other sources: https://www.businesswire.com/news/home/20170627006588/en/MPEG-LA-Introduces-License-EVS regards, Marcel _________________________________________________________________________ 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 n5d9xq3ti233xiyif2vp at protonmail.ch Sat Jun 8 09:14:21 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Sat, 08 Jun 2019 09:14:21 +0000 Subject: Problems migrating from 1.6.x to 1.8.x Message-ID: Hi, I have a perfectly functioning FreeSWITCH Version 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 (jessie). I'd like to move onwards and upwards, and so have installed FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 (stretch). In the hope that it would be as simple as copying accross /etc/freeswitch from old to new, I did that, followed by a reloadxml and, for good measure, a restart of the entire freeswitch instance. I have, of course, adjusted the relevant parameters in vars.xml in terms of hostname and IP addresses. However the new instance is refusing to allow my endpoints to register. Its sending 403 forbidden back. Any ideas ? Thanks ! Laura From gmaruzz at gmail.com Sun Jun 9 14:38:14 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 9 Jun 2019 16:38:14 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Obviously, you need to pastebin somewhere all errors from console and logfile, and put the pastebin link here -giovanni On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users < freeswitch-users at lists.freeswitch.org> wrote: > > > > ---------- Forwarded message ---------- > From: Laura Smith > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: Sat, 08 Jun 2019 09:14:21 +0000 > Subject: Problems migrating from 1.6.x to 1.8.x > Hi, > > I have a perfectly functioning FreeSWITCH Version 1.6.20-37-987c9b9~64bit > (-37-987c9b9 64bit) instance running on Debian 8 (jessie). > > I'd like to move onwards and upwards, and so have installed FreeSWITCH > Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 > (stretch). > > In the hope that it would be as simple as copying accross /etc/freeswitch > from old to new, I did that, followed by a reloadxml and, for good measure, > a restart of the entire freeswitch instance. > > I have, of course, adjusted the relevant parameters in vars.xml in terms > of hostname and IP addresses. > > However the new instance is refusing to allow my endpoints to register. > Its sending 403 forbidden back. > > Any ideas ? > > Thanks ! > > Laura > > > > > > > ---------- Forwarded message ---------- > From: Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > Cc: > Bcc: > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sun Jun 9 19:10:00 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 9 Jun 2019 21:10:00 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Then, pastebin the complete sip trace On Sun, Jun 9, 2019, 21:07 Laura Smith wrote: > Giovanni, > > Except that's the problem, there are no "errors from console". > > The only reason I know about the 403 Rejected is because I turned on SIP > tracing and can see Freeswitch sending a 403 to the SIP phones. > > Otherwise, Freeswitch is being unhelpfully silent. Turning on debugging > just generates a lot of noise but delivers no extra insight, I've tried > that too. > > I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 is > the problem ? Have there been non backwards-compatible changes ? > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli > wrote: > > > Obviously, you need to pastebin somewhere all errors from console and > logfile, and put the pastebin link here > > > > -giovanni > > > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> wrote: > > > > > ---------- Forwarded message ---------- > > > From: Laura Smith > > > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > > > Cc: > > > Bcc: > > > Date: Sat, 08 Jun 2019 09:14:21 +0000 > > > Subject: Problems migrating from 1.6.x to 1.8.x > > > Hi, > > > > > > I have a perfectly functioning FreeSWITCH Version > 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 > (jessie). > > > > > > I'd like to move onwards and upwards, and so have installed FreeSWITCH > Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 > (stretch). > > > > > > In the hope that it would be as simple as copying accross > /etc/freeswitch from old to new, I did that, followed by a reloadxml and, > for good measure, a restart of the entire freeswitch instance. > > > > > > I have, of course, adjusted the relevant parameters in vars.xml in > terms of hostname and IP addresses. > > > > > > However the new instance is refusing to allow my endpoints to > register. Its sending 403 forbidden back. > > > > > > Any ideas ? > > > > > > Thanks ! > > > > > > Laura > > > > > > ---------- Forwarded message ---------- > > > From: Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> > > > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > > > Cc: > > > Bcc: > > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > _________________________________________________________________________ > > > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > > Build your next product on our scalable cloud platform. > > > > > > Join our online community to chat in real time > https://signalwire.community > > > > > > Professional FreeSWITCH Services > > > sales at freeswitch.com > > > https://freeswitch.com > > > > > > Official FreeSWITCH Sites > > > https://freeswitch.com/oss > > > https://freeswitch.org/confluence > > > https://cluecon.com > > > > > > FreeSWITCH-users mailing list > > > FreeSWITCH-users at lists.freeswitch.org > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > https://freeswitch.com > > > > -- > > Sincerely, > > > > Giovanni Maruzzelli > > OpenTelecom.IT > > cell: +39 347 266 56 18 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Sun Jun 9 19:11:05 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 9 Jun 2019 21:11:05 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: You probabky have the phones trying to register to the ip address instead of sip domain, and ip addtess is now different On Sun, Jun 9, 2019, 21:10 Giovanni Maruzzelli wrote: > Then, pastebin the complete sip trace > > On Sun, Jun 9, 2019, 21:07 Laura Smith > wrote: > >> Giovanni, >> >> Except that's the problem, there are no "errors from console". >> >> The only reason I know about the 403 Rejected is because I turned on SIP >> tracing and can see Freeswitch sending a 403 to the SIP phones. >> >> Otherwise, Freeswitch is being unhelpfully silent. Turning on debugging >> just generates a lot of noise but delivers no extra insight, I've tried >> that too. >> >> I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 is >> the problem ? Have there been non backwards-compatible changes ? >> >> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >> On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli >> wrote: >> >> > Obviously, you need to pastebin somewhere all errors from console and >> logfile, and put the pastebin link here >> > >> > -giovanni >> > >> > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users < >> freeswitch-users at lists.freeswitch.org> wrote: >> > >> > > ---------- Forwarded message ---------- >> > > From: Laura Smith >> > > To: "freeswitch-users at lists.freeswitch.org" < >> freeswitch-users at lists.freeswitch.org> >> > > Cc: >> > > Bcc: >> > > Date: Sat, 08 Jun 2019 09:14:21 +0000 >> > > Subject: Problems migrating from 1.6.x to 1.8.x >> > > Hi, >> > > >> > > I have a perfectly functioning FreeSWITCH Version >> 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 >> (jessie). >> > > >> > > I'd like to move onwards and upwards, and so have installed >> FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian >> 9 (stretch). >> > > >> > > In the hope that it would be as simple as copying accross >> /etc/freeswitch from old to new, I did that, followed by a reloadxml and, >> for good measure, a restart of the entire freeswitch instance. >> > > >> > > I have, of course, adjusted the relevant parameters in vars.xml in >> terms of hostname and IP addresses. >> > > >> > > However the new instance is refusing to allow my endpoints to >> register. Its sending 403 forbidden back. >> > > >> > > Any ideas ? >> > > >> > > Thanks ! >> > > >> > > Laura >> > > >> > > ---------- Forwarded message ---------- >> > > From: Laura Smith via FreeSWITCH-users < >> freeswitch-users at lists.freeswitch.org> >> > > To: "freeswitch-users at lists.freeswitch.org" < >> freeswitch-users at lists.freeswitch.org> >> > > Cc: >> > > Bcc: >> > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) >> > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x >> > > >> _________________________________________________________________________ >> > > >> > > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > > Build your next product on our scalable cloud platform. >> > > >> > > Join our online community to chat in real time >> https://signalwire.community >> > > >> > > Professional FreeSWITCH Services >> > > sales at freeswitch.com >> > > https://freeswitch.com >> > > >> > > Official FreeSWITCH Sites >> > > https://freeswitch.com/oss >> > > https://freeswitch.org/confluence >> > > https://cluecon.com >> > > >> > > FreeSWITCH-users mailing list >> > > FreeSWITCH-users at lists.freeswitch.org >> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > https://freeswitch.com >> > >> > -- >> > Sincerely, >> > >> > Giovanni Maruzzelli >> > OpenTelecom.IT >> > cell: +39 347 266 56 18 >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From n5d9xq3ti233xiyif2vp at protonmail.ch Sun Jun 9 19:07:06 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Sun, 09 Jun 2019 19:07:06 +0000 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Giovanni, Except that's the problem, there are no "errors from console". The only reason I know about the 403 Rejected is because I turned on SIP tracing and can see Freeswitch sending a 403 to the SIP phones. Otherwise, Freeswitch is being unhelpfully silent. Turning on debugging just generates a lot of noise but delivers no extra insight, I've tried that too. I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 is the problem ? Have there been non backwards-compatible changes ? ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli wrote: > Obviously, you need to pastebin somewhere all errors from console and logfile, and put the pastebin link here > > -giovanni > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users wrote: > > > ---------- Forwarded message ---------- > > From: Laura Smith > > To: "freeswitch-users at lists.freeswitch.org" > > Cc:  > > Bcc:  > > Date: Sat, 08 Jun 2019 09:14:21 +0000 > > Subject: Problems migrating from 1.6.x to 1.8.x > > Hi, > > > > I have a perfectly functioning FreeSWITCH Version 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 (jessie). > > > > I'd like to move onwards and upwards, and so have installed FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 (stretch). > > > > In the hope that it would be as simple as copying accross /etc/freeswitch from old to new, I did that, followed by a reloadxml and, for good measure, a restart of the entire freeswitch instance. > > > > I have, of course, adjusted the relevant parameters in vars.xml in terms of hostname and IP addresses. > > > > However the new instance is refusing to allow my endpoints to register.  Its sending 403 forbidden back. > > > > Any ideas ? > > > > Thanks ! > > > > Laura > > > > ---------- Forwarded message ---------- > > From: Laura Smith via FreeSWITCH-users > > To: "freeswitch-users at lists.freeswitch.org" > > Cc:  > > Bcc:  > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 From n5d9xq3ti233xiyif2vp at protonmail.ch Sun Jun 9 19:31:25 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Sun, 09 Jun 2019 19:31:25 +0000 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: https://pastebin.com/BmXAeS3N (Stating the obvious, but IP addresses and domain names have been suitably mangled to protect the innocent) ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, 9 June 2019 20:10, Giovanni Maruzzelli wrote: > Then, pastebin the complete sip trace > > On Sun, Jun 9, 2019, 21:07 Laura Smith wrote: > > > Giovanni, > > > > Except that's the problem, there are no "errors from console". > > > > The only reason I know about the 403 Rejected is because I turned on SIP tracing and can see Freeswitch sending a 403 to the SIP phones. > > > > Otherwise, Freeswitch is being unhelpfully silent.  Turning on debugging just generates a lot of noise but delivers no extra insight, I've tried that too. > > > > I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 is the problem ?  Have there been non backwards-compatible changes ? > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli wrote: > > > > > Obviously, you need to pastebin somewhere all errors from console and logfile, and put the pastebin link here > > > > > > -giovanni > > > > > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users wrote: > > > > > > > ---------- Forwarded message ---------- > > > > From: Laura Smith > > > > To: "freeswitch-users at lists.freeswitch.org" > > > > Cc:  > > > > Bcc:  > > > > Date: Sat, 08 Jun 2019 09:14:21 +0000 > > > > Subject: Problems migrating from 1.6.x to 1.8.x > > > > Hi, > > > > > > > > I have a perfectly functioning FreeSWITCH Version 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 (jessie). > > > > > > > > I'd like to move onwards and upwards, and so have installed FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 (stretch). > > > > > > > > In the hope that it would be as simple as copying accross /etc/freeswitch from old to new, I did that, followed by a reloadxml and, for good measure, a restart of the entire freeswitch instance. > > > > > > > > I have, of course, adjusted the relevant parameters in vars.xml in terms of hostname and IP addresses. > > > > > > > > However the new instance is refusing to allow my endpoints to register.  Its sending 403 forbidden back. > > > > > > > > Any ideas ? > > > > > > > > Thanks ! > > > > > > > > Laura > > > > > > > > ---------- Forwarded message ---------- > > > > From: Laura Smith via FreeSWITCH-users > > > > To: "freeswitch-users at lists.freeswitch.org" > > > > Cc:  > > > > Bcc:  > > > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > > > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > _________________________________________________________________________ > > > > > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > > > Build your next product on our scalable cloud platform. > > > > > > > > Join our online community to chat in real time https://signalwire.community > > > > > > > > Professional FreeSWITCH Services > > > > sales at freeswitch.com > > > > https://freeswitch.com > > > > > > > > Official FreeSWITCH Sites > > > > https://freeswitch.com/oss > > > > https://freeswitch.org/confluence > > > > https://cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > https://freeswitch.com > > > > > > -- > > > Sincerely, > > > > > > Giovanni Maruzzelli > > > OpenTelecom.IT > > > cell: +39 347 266 56 18 From gmaruzz at gmail.com Sun Jun 9 19:39:40 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 9 Jun 2019 21:39:40 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Check you got the correct tls certificate for the domain, and that the phones are registering to the correct domain. Probably is an ipaddress/sipdomain mismatch, or a certificate mismatch On Sun, Jun 9, 2019, 21:34 Laura Smith via FreeSWITCH-users < freeswitch-users at lists.freeswitch.org> wrote: > > > > ---------- Forwarded message ---------- > From: Laura Smith > To: "gmaruzz at opentelecom.it" > Cc: FreeSWITCH Users Help > Bcc: > Date: Sun, 09 Jun 2019 19:31:25 +0000 > Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > https://pastebin.com/BmXAeS3N > > (Stating the obvious, but IP addresses and domain names have been suitably > mangled to protect the innocent) > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Sunday, 9 June 2019 20:10, Giovanni Maruzzelli > wrote: > > > Then, pastebin the complete sip trace > > > > On Sun, Jun 9, 2019, 21:07 Laura Smith < > n5d9xq3ti233xiyif2vp at protonmail.ch> wrote: > > > > > Giovanni, > > > > > > Except that's the problem, there are no "errors from console". > > > > > > The only reason I know about the 403 Rejected is because I turned on > SIP tracing and can see Freeswitch sending a 403 to the SIP phones. > > > > > > Otherwise, Freeswitch is being unhelpfully silent. Turning on > debugging just generates a lot of noise but delivers no extra insight, I've > tried that too. > > > > > > I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 > is the problem ? Have there been non backwards-compatible changes ? > > > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > > On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli > wrote: > > > > > > > Obviously, you need to pastebin somewhere all errors from console > and logfile, and put the pastebin link here > > > > > > > > -giovanni > > > > > > > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> wrote: > > > > > > > > > ---------- Forwarded message ---------- > > > > > From: Laura Smith > > > > > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > > > > > Cc: > > > > > Bcc: > > > > > Date: Sat, 08 Jun 2019 09:14:21 +0000 > > > > > Subject: Problems migrating from 1.6.x to 1.8.x > > > > > Hi, > > > > > > > > > > I have a perfectly functioning FreeSWITCH Version > 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 > (jessie). > > > > > > > > > > I'd like to move onwards and upwards, and so have installed > FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian > 9 (stretch). > > > > > > > > > > In the hope that it would be as simple as copying accross > /etc/freeswitch from old to new, I did that, followed by a reloadxml and, > for good measure, a restart of the entire freeswitch instance. > > > > > > > > > > I have, of course, adjusted the relevant parameters in vars.xml in > terms of hostname and IP addresses. > > > > > > > > > > However the new instance is refusing to allow my endpoints to > register. Its sending 403 forbidden back. > > > > > > > > > > Any ideas ? > > > > > > > > > > Thanks ! > > > > > > > > > > Laura > > > > > > > > > > ---------- Forwarded message ---------- > > > > > From: Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> > > > > > To: "freeswitch-users at lists.freeswitch.org" < > freeswitch-users at lists.freeswitch.org> > > > > > Cc: > > > > > Bcc: > > > > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > > > > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > > > _________________________________________________________________________ > > > > > > > > > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > > > > > Enhance your FreeSWITCH install with disruptive priced SMS and > PSTN services. > > > > > Build your next product on our scalable cloud platform. > > > > > > > > > > Join our online community to chat in real time > https://signalwire.community > > > > > > > > > > Professional FreeSWITCH Services > > > > > sales at freeswitch.com > > > > > https://freeswitch.com > > > > > > > > > > Official FreeSWITCH Sites > > > > > https://freeswitch.com/oss > > > > > https://freeswitch.org/confluence > > > > > https://cluecon.com > > > > > > > > > > FreeSWITCH-users mailing list > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > https://freeswitch.com > > > > > > > > -- > > > > Sincerely, > > > > > > > > Giovanni Maruzzelli > > > > OpenTelecom.IT > > > > cell: +39 347 266 56 18 > > > > > ---------- Forwarded message ---------- > From: Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> > To: "gmaruzz at opentelecom.it" > Cc: FreeSWITCH Users Help > Bcc: > Date: Sun, 09 Jun 2019 12:34:24 -0700 (PDT) > Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > _________________________________________________________________________ > > 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 gmaruzz at gmail.com Sun Jun 9 19:59:28 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 9 Jun 2019 21:59:28 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: The phones are registering to the sipdomain, that is correctly mapped to the ipaddress? Also, if you up the loglevel, you will see what fs "thinks" >From fs_cli: fsctl loglevel 7 On Sun, Jun 9, 2019, 21:48 Laura Smith wrote: > The certificate is a wildcard certificate, so no issues copying it from > one server to another. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Sunday, 9 June 2019 20:39, Giovanni Maruzzelli > wrote: > > Check you got the correct tls certificate for the domain, and that the > phones are registering to the correct domain. Probably is an > ipaddress/sipdomain mismatch, or a certificate mismatch > > > On Sun, Jun 9, 2019, 21:34 Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> wrote: > >> >> >> >> ---------- Forwarded message ---------- >> From: Laura Smith >> To: "gmaruzz at opentelecom.it" >> Cc: FreeSWITCH Users Help >> Bcc: >> Date: Sun, 09 Jun 2019 19:31:25 +0000 >> Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x >> https://pastebin.com/BmXAeS3N >> >> (Stating the obvious, but IP addresses and domain names have been >> suitably mangled to protect the innocent) >> >> >> >> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >> On Sunday, 9 June 2019 20:10, Giovanni Maruzzelli >> wrote: >> >> > Then, pastebin the complete sip trace >> > >> > On Sun, Jun 9, 2019, 21:07 Laura Smith < >> n5d9xq3ti233xiyif2vp at protonmail.ch> wrote: >> > >> > > Giovanni, >> > > >> > > Except that's the problem, there are no "errors from console". >> > > >> > > The only reason I know about the 403 Rejected is because I turned on >> SIP tracing and can see Freeswitch sending a 403 to the SIP phones. >> > > >> > > Otherwise, Freeswitch is being unhelpfully silent. Turning on >> debugging just generates a lot of noise but delivers no extra insight, I've >> tried that too. >> > > >> > > I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 >> is the problem ? Have there been non backwards-compatible changes ? >> > > >> > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >> > > On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli >> wrote: >> > > >> > > > Obviously, you need to pastebin somewhere all errors from console >> and logfile, and put the pastebin link here >> > > > >> > > > -giovanni >> > > > >> > > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users < >> freeswitch-users at lists.freeswitch.org> wrote: >> > > > >> > > > > ---------- Forwarded message ---------- >> > > > > From: Laura Smith >> > > > > To: "freeswitch-users at lists.freeswitch.org" < >> freeswitch-users at lists.freeswitch.org> >> > > > > Cc: >> > > > > Bcc: >> > > > > Date: Sat, 08 Jun 2019 09:14:21 +0000 >> > > > > Subject: Problems migrating from 1.6.x to 1.8.x >> > > > > Hi, >> > > > > >> > > > > I have a perfectly functioning FreeSWITCH Version >> 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 >> (jessie). >> > > > > >> > > > > I'd like to move onwards and upwards, and so have installed >> FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian >> 9 (stretch). >> > > > > >> > > > > In the hope that it would be as simple as copying accross >> /etc/freeswitch from old to new, I did that, followed by a reloadxml and, >> for good measure, a restart of the entire freeswitch instance. >> > > > > >> > > > > I have, of course, adjusted the relevant parameters in vars.xml >> in terms of hostname and IP addresses. >> > > > > >> > > > > However the new instance is refusing to allow my endpoints to >> register. Its sending 403 forbidden back. >> > > > > >> > > > > Any ideas ? >> > > > > >> > > > > Thanks ! >> > > > > >> > > > > Laura >> > > > > >> > > > > ---------- Forwarded message ---------- >> > > > > From: Laura Smith via FreeSWITCH-users < >> freeswitch-users at lists.freeswitch.org> >> > > > > To: "freeswitch-users at lists.freeswitch.org" < >> freeswitch-users at lists.freeswitch.org> >> > > > > Cc: >> > > > > Bcc: >> > > > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) >> > > > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x >> > > > > >> _________________________________________________________________________ >> > > > > >> > > > > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > > > > Enhance your FreeSWITCH install with disruptive priced SMS and >> PSTN services. >> > > > > Build your next product on our scalable cloud platform. >> > > > > >> > > > > Join our online community to chat in real time >> https://signalwire.community >> > > > > >> > > > > Professional FreeSWITCH Services >> > > > > sales at freeswitch.com >> > > > > https://freeswitch.com >> > > > > >> > > > > Official FreeSWITCH Sites >> > > > > https://freeswitch.com/oss >> > > > > https://freeswitch.org/confluence >> > > > > https://cluecon.com >> > > > > >> > > > > FreeSWITCH-users mailing list >> > > > > FreeSWITCH-users at lists.freeswitch.org >> > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > > > > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > > > > https://freeswitch.com >> > > > >> > > > -- >> > > > Sincerely, >> > > > >> > > > Giovanni Maruzzelli >> > > > OpenTelecom.IT >> > > > cell: +39 347 266 56 18 >> >> >> >> >> ---------- Forwarded message ---------- >> From: Laura Smith via FreeSWITCH-users < >> freeswitch-users at lists.freeswitch.org> >> To: "gmaruzz at opentelecom.it" >> Cc: FreeSWITCH Users Help >> Bcc: >> Date: Sun, 09 Jun 2019 12:34:24 -0700 (PDT) >> Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x >> _________________________________________________________________________ >> >> 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 gmaruzz at gmail.com Sun Jun 9 20:51:41 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Sun, 9 Jun 2019 22:51:41 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: What for you is noise to others is music :) On Sun, Jun 9, 2019, 22:40 Laura Smith via FreeSWITCH-users < freeswitch-users at lists.freeswitch.org> wrote: > > > > . Turning on debugging just generates a lot of noise but delivers no extra > insight, I've tried that too. > > > > > > > > > > --- -------------- next part -------------- An HTML attachment was scrubbed... URL: From n5d9xq3ti233xiyif2vp at protonmail.ch Sun Jun 9 19:48:13 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Sun, 09 Jun 2019 19:48:13 +0000 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: The certificate is a wildcard certificate, so no issues copying it from one server to another. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, 9 June 2019 20:39, Giovanni Maruzzelli wrote: > Check you got the correct tls certificate for the domain, and that the phones are registering to the correct domain. Probably is an ipaddress/sipdomain mismatch, or a certificate mismatch > > On Sun, Jun 9, 2019, 21:34 Laura Smith via FreeSWITCH-users wrote: > > > ---------- Forwarded message ---------- > > From: Laura Smith > > To: "gmaruzz at opentelecom.it" > > Cc: FreeSWITCH Users Help > > Bcc:  > > Date: Sun, 09 Jun 2019 19:31:25 +0000 > > Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > https://pastebin.com/BmXAeS3N > > > > (Stating the obvious, but IP addresses and domain names have been suitably mangled to protect the innocent) > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Sunday, 9 June 2019 20:10, Giovanni Maruzzelli wrote: > > > > > Then, pastebin the complete sip trace > > > > > > On Sun, Jun 9, 2019, 21:07 Laura Smith wrote: > > > > > > > Giovanni, > > > > > > > > Except that's the problem, there are no "errors from console". > > > > > > > > The only reason I know about the 403 Rejected is because I turned on SIP tracing and can see Freeswitch sending a 403 to the SIP phones. > > > > > > > > Otherwise, Freeswitch is being unhelpfully silent.  Turning on debugging just generates a lot of noise but delivers no extra insight, I've tried that too. > > > > > > > > I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 is the problem ?  Have there been non backwards-compatible changes ? > > > > > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > > > On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli wrote: > > > > > > > > > Obviously, you need to pastebin somewhere all errors from console and logfile, and put the pastebin link here > > > > > > > > > > -giovanni > > > > > > > > > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users wrote: > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > > From: Laura Smith > > > > > > To: "freeswitch-users at lists.freeswitch.org" > > > > > > Cc:  > > > > > > Bcc:  > > > > > > Date: Sat, 08 Jun 2019 09:14:21 +0000 > > > > > > Subject: Problems migrating from 1.6.x to 1.8.x > > > > > > Hi, > > > > > > > > > > > > I have a perfectly functioning FreeSWITCH Version 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 (jessie). > > > > > > > > > > > > I'd like to move onwards and upwards, and so have installed FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 (stretch). > > > > > > > > > > > > In the hope that it would be as simple as copying accross /etc/freeswitch from old to new, I did that, followed by a reloadxml and, for good measure, a restart of the entire freeswitch instance. > > > > > > > > > > > > I have, of course, adjusted the relevant parameters in vars.xml in terms of hostname and IP addresses. > > > > > > > > > > > > However the new instance is refusing to allow my endpoints to register.  Its sending 403 forbidden back. > > > > > > > > > > > > Any ideas ? > > > > > > > > > > > > Thanks ! > > > > > > > > > > > > Laura > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > > From: Laura Smith via FreeSWITCH-users > > > > > > To: "freeswitch-users at lists.freeswitch.org" > > > > > > Cc:  > > > > > > Bcc:  > > > > > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > > > > > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > > > _________________________________________________________________________ > > > > > > > > > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > > > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > > > > > Build your next product on our scalable cloud platform. > > > > > > > > > > > > Join our online community to chat in real time https://signalwire.community > > > > > > > > > > > > Professional FreeSWITCH Services > > > > > > sales at freeswitch.com > > > > > > https://freeswitch.com > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > https://freeswitch.com/oss > > > > > > https://freeswitch.org/confluence > > > > > > https://cluecon.com > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > https://freeswitch.com > > > > > > > > > > -- > > > > > Sincerely, > > > > > > > > > > Giovanni Maruzzelli > > > > > OpenTelecom.IT > > > > > cell: +39 347 266 56 18 > > > > ---------- Forwarded message ---------- > > From: Laura Smith via FreeSWITCH-users > > To: "gmaruzz at opentelecom.it" > > Cc: FreeSWITCH Users Help > > Bcc:  > > Date: Sun, 09 Jun 2019 12:34:24 -0700 (PDT) > > Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com From dragic.dusan at gmail.com Mon Jun 10 22:47:59 2019 From: dragic.dusan at gmail.com (=?UTF-8?B?RHXFoWFuIERyYWdpxIc=?=) Date: Tue, 11 Jun 2019 00:47:59 +0200 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls Message-ID: Hi, So, after not using freeswitch for a few years, I just did a clean install of Freeswitch 1.8.6 on debian 9 using packages from the repo and have a small issue maybe someone can help me with. I'm using the vanilla config here to keep it simple, also Freeswitch is started with -nonat. The problem I encountered is the contact field for local calls (on the same IP subnet as freeswitch) on the internal profile contains the external IP address which makes the phone send the response to the wrong IP. You can find attached a complete debug log with sip trace of a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). Freeswitch is 192.168.0.140. The profile contains the default params: This is what I get from sofia status: freeswitch at deb9> sofia status profile internal ================================================================================================= Name internal Domain Name N/A Auto-NAT false DBName sofia_reg_internal Pres Hosts 192.168.0.140,192.168.0.140 Dialplan XML Context public Challenge Realm auto_from RTP-IP 192.168.0.140 Ext-RTP-IP 93.86.XX.XX SIP-IP 192.168.0.140 Ext-SIP-IP 93.86.XX.XX URL sip:mod_sofia at 93.86.XX.XX:5060 BIND-URL sip:mod_sofia at 93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp WS-BIND-URL sip:mod_sofia at 192.168.0.140:5066;transport=ws WSS-BIND-URL sips:mod_sofia at 192.168.0.140:7443;transport=wss HOLD-MUSIC local_stream://moh OUTBOUND-PROXY N/A CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 TEL-EVENT 101 DTMF-MODE rfc2833 CNG 13 SESSION-TO 0 MAX-DIALOG 0 NOMEDIA false LATE-NEG true PROXY-MEDIA false ZRTP-PASSTHRU true AGGRESSIVENAT false CALLS-IN 0 FAILED-CALLS-IN 0 CALLS-OUT 0 FAILED-CALLS-OUT 0 REGISTRATIONS 2 Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip params from the config it works, but am I missing something obvious or is this a bug? -- Dušan Dragić -------------- next part -------------- recv 1572 bytes from udp/[192.168.0.66]:2048 at 23:32:04.627618: ------------------------------------------------------------------------ INVITE sip:1008 at 192.168.0.140;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-vdzthrr3f49z;rport From: "Test 7" ;tag=p2g6ntoftq To: Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 1 INVITE Max-Forwards: 70 Contact: ;reg-id=1 X-Serialnumber: 00041335F375 P-Key-Flags: keys="3" User-Agent: snom320/8.4.35 Accept: application/sdp Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Supported: timer, 100rel, replaces, from-change Call-Info: ;appearance-index=1 Session-Expires: 3600;refresher=uas Min-SE: 90 Content-Type: application/sdp Content-Length: 772 v=0 o=root 512248378 512248378 IN IP4 192.168.0.66 s=call c=IN IP4 192.168.0.66 t=0 0 m=audio 60750 RTP/SAVP 0 8 9 99 3 18 4 101 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv m=audio 60750 RTP/AVP 0 8 9 99 3 18 4 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv ------------------------------------------------------------------------ 2019-06-10 23:32:04.166338 [NOTICE] switch_channel.c:1114 New Channel sofia/internal/1007 at 192.168.0.140 [64a69c8e-3378-4e59-a4b5-a69d26fcf342] 2019-06-10 23:32:04.166338 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_NEW (Cur 1 Tot 8) 2019-06-10 23:32:04.166338 [DEBUG] sofia.c:10164 sofia/internal/1007 at 192.168.0.140 receiving invite from 192.168.0.66:2048 version: 1.8.6 -7-93b4c92e75 64bit 2019-06-10 23:32:04.166338 [DEBUG] sofia.c:10260 verifying acl "domains" for ip/port 192.168.0.66:0. send 828 bytes to udp/[192.168.0.66]:2048 at 23:32:04.629650: ------------------------------------------------------------------------ SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-vdzthrr3f49z;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=mt65DH0Qev5ea Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 1 INVITE User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Proxy-Authenticate: Digest realm="192.168.0.140", nonce="2a738596-31a3-47e6-9f8a-bc3b0ac10370", algorithm=MD5, qop="auth" Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:04.166338 [DEBUG] sofia.c:2413 detaching session 64a69c8e-3378-4e59-a4b5-a69d26fcf342 2019-06-10 23:32:04.166338 [DEBUG] switch_core_state_machine.c:603 (sofia/internal/1007 at 192.168.0.140) State NEW recv 382 bytes from udp/[192.168.0.66]:2048 at 23:32:04.781223: ------------------------------------------------------------------------ ACK sip:1008 at 192.168.0.140;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-vdzthrr3f49z;rport From: "Test 7" ;tag=p2g6ntoftq To: ;tag=mt65DH0Qev5ea Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 1 ACK Max-Forwards: 70 Contact: ;reg-id=1 Content-Length: 0 ------------------------------------------------------------------------ recv 1821 bytes from udp/[192.168.0.66]:2048 at 23:32:04.796942: ------------------------------------------------------------------------ INVITE sip:1008 at 192.168.0.140;user=phone SIP/2.0 Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport From: "Test 7" ;tag=p2g6ntoftq To: Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Max-Forwards: 70 Contact: ;reg-id=1 X-Serialnumber: 00041335F375 P-Key-Flags: keys="3" User-Agent: snom320/8.4.35 Accept: application/sdp Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Supported: timer, 100rel, replaces, from-change Call-Info: ;appearance-index=1 Session-Expires: 3600;refresher=uas Min-SE: 90 Proxy-Authorization: Digest username="1007",realm="192.168.0.140",nonce="2a738596-31a3-47e6-9f8a-bc3b0ac10370",uri="sip:1008 at 192.168.0.140;user=phone",qop=auth,nc=00000001,cnonce="4bc00e11",response="9e66e2b772db6bac1abe8c47bdb7650d",algorithm=MD5 Content-Type: application/sdp Content-Length: 772 v=0 o=root 512248378 512248378 IN IP4 192.168.0.66 s=call c=IN IP4 192.168.0.66 t=0 0 m=audio 60750 RTP/SAVP 0 8 9 99 3 18 4 101 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv m=audio 60750 RTP/AVP 0 8 9 99 3 18 4 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv ------------------------------------------------------------------------ 2019-06-10 23:32:04.346344 [DEBUG] sofia.c:2522 Re-attaching to session 64a69c8e-3378-4e59-a4b5-a69d26fcf342 2019-06-10 23:32:04.346344 [DEBUG] sofia.c:10164 sofia/internal/1007 at 192.168.0.140 receiving invite from 192.168.0.66:2048 version: 1.8.6 -7-93b4c92e75 64bit 2019-06-10 23:32:04.346344 [DEBUG] sofia.c:10260 verifying acl "domains" for ip/port 192.168.0.66:0. 2019-06-10 23:32:04.346344 [DEBUG] sofia.c:7323 Channel sofia/internal/1007 at 192.168.0.140 entering state [received][100] 2019-06-10 23:32:04.346344 [DEBUG] sofia.c:7333 Remote SDP: v=0 o=root 512248378 512248378 IN IP4 192.168.0.66 s=call c=IN IP4 192.168.0.66 t=0 0 m=audio 60750 RTP/SAVP 0 8 9 99 3 18 4 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd a=ptime:20 m=audio 60750 RTP/AVP 0 8 9 99 3 18 4 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2019-06-10 23:32:04.346344 [DEBUG] sofia.c:7727 (sofia/internal/1007 at 192.168.0.140) State Change CS_NEW -> CS_INIT 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_INIT (Cur 1 Tot 8) 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1007 at 192.168.0.140) State INIT 2019-06-10 23:32:04.346344 [DEBUG] mod_sofia.c:93 sofia/internal/1007 at 192.168.0.140 SOFIA INIT 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1007 at 192.168.0.140 Standard INIT 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1007 at 192.168.0.140) State Change CS_INIT -> CS_ROUTING 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1007 at 192.168.0.140) State INIT going to sleep 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_ROUTING (Cur 1 Tot 8) 2019-06-10 23:32:04.346344 [DEBUG] switch_channel.c:2293 (sofia/internal/1007 at 192.168.0.140) Callstate Change DOWN -> RINGING 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1007 at 192.168.0.140) State ROUTING send 324 bytes to udp/[192.168.0.66]:2048 at 23:32:04.813277: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:04.346344 [DEBUG] mod_sofia.c:154 sofia/internal/1007 at 192.168.0.140 SOFIA ROUTING 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:236 sofia/internal/1007 at 192.168.0.140 Standard ROUTING 2019-06-10 23:32:04.346344 [INFO] mod_dialplan_xml.c:637 Processing Test 7 <1007>->1008 in context default Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->unloop] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->tod_example] continue=true Dialplan: sofia/internal/1007 at 192.168.0.140 Date/TimeMatch (FAIL) [tod_example] break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->holiday_example] continue=true Dialplan: sofia/internal/1007 at 192.168.0.140 Date/TimeMatch (FAIL) [holiday_example] break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->global-intercept] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [global-intercept] destination_number(1008) =~ /^886$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->group-intercept] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [group-intercept] destination_number(1008) =~ /^\*8$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->intercept-ext] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [intercept-ext] destination_number(1008) =~ /^\*\*(\d+)$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->redial] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [redial] destination_number(1008) =~ /^(redial|870)$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->global] continue=true Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [global] ${call_debug}(false) =~ /^true$/ break=never Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [global] ${default_password}(55.33.11) =~ /^1234$/ break=never Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [global] ${rtp_has_crypto}() =~ /^(AEAD_AES_256_GCM_8|AEAD_AES_128_GCM_8|AES_CM_256_HMAC_SHA1_80|AES_CM_192_HMAC_SHA1_80|AES_CM_128_HMAC_SHA1_80|AES_CM_256_HMAC_SHA1_32|AES_CM_192_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_32|AES_CM_128_NULL_AUTH)$/ break=never Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (PASS) [global] ${endpoint_disposition}(DELAYED NEGOTIATION) =~ /^(DELAYED NEGOTIATION)/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (PASS) [global] ${switch_r_sdp}(v=0 o=root 512248378 512248378 IN IP4 192.168.0.66 s=call c=IN IP4 192.168.0.66 t=0 0 m=audio 60750 RTP/SAVP 0 8 9 99 3 18 4 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd a=ptime:20 m=audio 60750 RTP/AVP 0 8 9 99 3 18 4 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:99 G726-32/8000 a=rtpmap:3 GSM/8000 a=rtpmap:18 G729/8000 a=fmtp:18 annexb=no a=rtpmap:4 G723/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ) =~ /(AES_CM_128_HMAC_SHA1_32|AES_CM_128_HMAC_SHA1_80)/ break=never Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(rtp_secure_media=true) Dialplan: sofia/internal/1007 at 192.168.0.140 Absolute Condition [global] Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-spymap/${caller_id_number}/${uuid}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-last_dial/${caller_id_number}/${destination_number}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-last_dial/global/${uuid}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->snom-demo-2] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [snom-demo-2] destination_number(1008) =~ /^9001$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->snom-demo-1] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [snom-demo-1] destination_number(1008) =~ /^9000$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->eavesdrop] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [eavesdrop] destination_number(1008) =~ /^88(\d{4})$|^\*0(.*)$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->eavesdrop] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [eavesdrop] destination_number(1008) =~ /^779$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->call_return] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [call_return] destination_number(1008) =~ /^\*69$|^869$|^lcr$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->del-group] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [del-group] destination_number(1008) =~ /^80(\d{2})$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->add-group] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [add-group] destination_number(1008) =~ /^81(\d{2})$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->call-group-simo] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [call-group-simo] destination_number(1008) =~ /^82(\d{2})$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->call-group-order] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [call-group-order] destination_number(1008) =~ /^83(\d{2})$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->extension-intercom] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (FAIL) [extension-intercom] destination_number(1008) =~ /^8(10[01][0-9])$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 parsing [default->Local_Extension] continue=false Dialplan: sofia/internal/1007 at 192.168.0.140 Regex (PASS) [Local_Extension] destination_number(1008) =~ /^(10[01][0-9])$/ break=on-false Dialplan: sofia/internal/1007 at 192.168.0.140 Action export(dialed_extension=1008) Dialplan: sofia/internal/1007 at 192.168.0.140 Action bind_meta_app(1 b s execute_extension::dx XML features) Dialplan: sofia/internal/1007 at 192.168.0.140 Action bind_meta_app(2 b s record_session::/var/lib/freeswitch/recordings/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav) Dialplan: sofia/internal/1007 at 192.168.0.140 Action bind_meta_app(3 b s execute_extension::cf XML features) Dialplan: sofia/internal/1007 at 192.168.0.140 Action bind_meta_app(4 b s execute_extension::att_xfer XML features) Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(ringback=${us-ring}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(transfer_ringback=local_stream://moh) Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(call_timeout=30) Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(hangup_after_bridge=true) Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(continue_on_fail=true) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action set(called_party_callgroup=${user_data(${dialed_extension}@${domain_name} var callgroup)}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-last_dial_ext/${called_party_callgroup}/${uuid}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-last_dial_ext/global/${uuid}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action hash(insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action bridge(user/${dialed_extension}@${domain_name}) Dialplan: sofia/internal/1007 at 192.168.0.140 Action answer() Dialplan: sofia/internal/1007 at 192.168.0.140 Action sleep(1000) Dialplan: sofia/internal/1007 at 192.168.0.140 Action bridge(loopback/app=voicemail:default ${domain_name} ${dialed_extension}) 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:286 (sofia/internal/1007 at 192.168.0.140) State Change CS_ROUTING -> CS_EXECUTE 2019-06-10 23:32:04.346344 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1007 at 192.168.0.140) State ROUTING going to sleep 2019-06-10 23:32:04.366328 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_EXECUTE (Cur 1 Tot 8) 2019-06-10 23:32:04.366328 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1007 at 192.168.0.140) State EXECUTE 2019-06-10 23:32:04.366328 [DEBUG] mod_sofia.c:209 sofia/internal/1007 at 192.168.0.140 SOFIA EXECUTE 2019-06-10 23:32:04.366328 [DEBUG] switch_core_state_machine.c:328 sofia/internal/1007 at 192.168.0.140 Standard EXECUTE EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(rtp_secure_media=true) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [rtp_secure_media]=[true] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-spymap/1007/64a69c8e-3378-4e59-a4b5-a69d26fcf342) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-last_dial/1007/1008) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-last_dial/global/64a69c8e-3378-4e59-a4b5-a69d26fcf342) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 export(RFC2822_DATE=Mon, 10 Jun 2019 23:32:04 +0200) 2019-06-10 23:32:04.366328 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 10 Jun 2019 23:32:04 +0200] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 export(dialed_extension=1008) 2019-06-10 23:32:04.366328 [DEBUG] switch_channel.c:1306 EXPORT (export_vars) [dialed_extension]=[1008] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 bind_meta_app(1 b s execute_extension::dx XML features) 2019-06-10 23:32:04.366328 [INFO] switch_ivr_async.c:4414 Bound B-Leg: *1 execute_extension::dx XML features EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 bind_meta_app(2 b s record_session::/var/lib/freeswitch/recordings/1007.2019-06-10-23-32-04.wav) 2019-06-10 23:32:04.366328 [INFO] switch_ivr_async.c:4414 Bound B-Leg: *2 record_session::/var/lib/freeswitch/recordings/1007.2019-06-10-23-32-04.wav EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 bind_meta_app(3 b s execute_extension::cf XML features) 2019-06-10 23:32:04.366328 [INFO] switch_ivr_async.c:4414 Bound B-Leg: *3 execute_extension::cf XML features EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 bind_meta_app(4 b s execute_extension::att_xfer XML features) 2019-06-10 23:32:04.366328 [INFO] switch_ivr_async.c:4414 Bound B-Leg: *4 execute_extension::att_xfer XML features EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(ringback=%(2000,4000,440,480)) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [ringback]=[%(2000,4000,440,480)] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(transfer_ringback=local_stream://moh) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [transfer_ringback]=[local_stream://moh] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(call_timeout=30) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [call_timeout]=[30] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(hangup_after_bridge=true) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [hangup_after_bridge]=[true] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(continue_on_fail=true) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [continue_on_fail]=[true] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-call_return/1008/1007) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-last_dial_ext/1008/64a69c8e-3378-4e59-a4b5-a69d26fcf342) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 set(called_party_callgroup=techsupport) 2019-06-10 23:32:04.366328 [DEBUG] mod_dptools.c:1615 SET sofia/internal/1007 at 192.168.0.140 [called_party_callgroup]=[techsupport] EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-last_dial_ext/techsupport/64a69c8e-3378-4e59-a4b5-a69d26fcf342) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-last_dial_ext/global/64a69c8e-3378-4e59-a4b5-a69d26fcf342) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 hash(insert/192.168.0.140-last_dial/techsupport/64a69c8e-3378-4e59-a4b5-a69d26fcf342) EXECUTE [depth=0] sofia/internal/1007 at 192.168.0.140 bridge(user/1008 at 192.168.0.140) 2019-06-10 23:32:04.366328 [DEBUG] switch_channel.c:1260 sofia/internal/1007 at 192.168.0.140 EXPORTING[export_vars] [RFC2822_DATE]=[Mon, 10 Jun 2019 23:32:04 +0200] to event 2019-06-10 23:32:04.366328 [DEBUG] switch_channel.c:1260 sofia/internal/1007 at 192.168.0.140 EXPORTING[export_vars] [dialed_extension]=[1008] to event 2019-06-10 23:32:04.366328 [DEBUG] switch_ivr_originate.c:2209 Parsing global variables 2019-06-10 23:32:04.366328 [DEBUG] switch_channel.c:1260 sofia/internal/1007 at 192.168.0.140 EXPORTING[export_vars] [RFC2822_DATE]=[Mon, 10 Jun 2019 23:32:04 +0200] to event 2019-06-10 23:32:04.366328 [DEBUG] switch_channel.c:1260 sofia/internal/1007 at 192.168.0.140 EXPORTING[export_vars] [dialed_extension]=[1008] to event 2019-06-10 23:32:04.366328 [DEBUG] switch_ivr_originate.c:2209 Parsing global variables 2019-06-10 23:32:04.366328 [NOTICE] switch_channel.c:1114 New Channel sofia/internal/1008 at 192.168.0.65:2050 [ef2108eb-eb24-4f8d-8675-062f0c66df8d] 2019-06-10 23:32:04.366328 [DEBUG] mod_sofia.c:5032 (sofia/internal/1008 at 192.168.0.65:2050) State Change CS_NEW -> CS_INIT 2019-06-10 23:32:04.366328 [NOTICE] switch_ivr_originate.c:2949 Cannot create outgoing channel of type [error] cause: [USER_NOT_REGISTERED] 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_INIT (Cur 2 Tot 9) 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1008 at 192.168.0.65:2050) State INIT 2019-06-10 23:32:04.386326 [DEBUG] mod_sofia.c:93 sofia/internal/1008 at 192.168.0.65:2050 SOFIA INIT 2019-06-10 23:32:04.386326 [DEBUG] sofia_glue.c:1315 sofia/internal/1008 at 192.168.0.65:2050 sending invite version: 1.8.6 -7-93b4c92e75 64bit Local SDP: v=0 o=FreeSWITCH 1560184610 1560184611 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 17714 RTP/AVP 0 8 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv send 1286 bytes to udp/[192.168.0.65]:2050 at 23:32:04.836347: ------------------------------------------------------------------------ INVITE sip:1008 at 192.168.0.65:2050;line=toh3yju6 SIP/2.0 Via: SIP/2.0/UDP 93.86.XX.XX;rport;branch=z9hG4bK5mc3K1Ut7cp4N Max-Forwards: 69 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 INVITE Contact: User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 270 X-Serialnumber: 00041335F375 P-Key-Flags: keys="3" X-FS-Support: update_display,send_info Remote-Party-ID: "Extension 1007" ;party=calling;screen=yes;privacy=off v=0 o=FreeSWITCH 1560184610 1560184611 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 17714 RTP/AVP 0 8 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 ------------------------------------------------------------------------ 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:40 sofia/internal/1008 at 192.168.0.65:2050 Standard INIT 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:48 (sofia/internal/1008 at 192.168.0.65:2050) State Change CS_INIT -> CS_ROUTING 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:627 (sofia/internal/1008 at 192.168.0.65:2050) State INIT going to sleep 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_ROUTING (Cur 2 Tot 9) 2019-06-10 23:32:04.386326 [DEBUG] sofia.c:7323 Channel sofia/internal/1008 at 192.168.0.65:2050 entering state [calling][0] 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1008 at 192.168.0.65:2050) State ROUTING 2019-06-10 23:32:04.386326 [DEBUG] mod_sofia.c:154 sofia/internal/1008 at 192.168.0.65:2050 SOFIA ROUTING 2019-06-10 23:32:04.386326 [DEBUG] switch_ivr_originate.c:67 (sofia/internal/1008 at 192.168.0.65:2050) State Change CS_ROUTING -> CS_CONSUME_MEDIA 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:643 (sofia/internal/1008 at 192.168.0.65:2050) State ROUTING going to sleep 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_CONSUME_MEDIA (Cur 2 Tot 9) 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1008 at 192.168.0.65:2050) State CONSUME_MEDIA 2019-06-10 23:32:04.386326 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/1008 at 192.168.0.65:2050) State CONSUME_MEDIA going to sleep recv 395 bytes from udp/[192.168.0.65]:2050 at 23:32:04.869187: ------------------------------------------------------------------------ SIP/2.0 100 Trying Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK5mc3K1Ut7cp4N;received=192.168.0.140 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 INVITE Contact: ;reg-id=1 Content-Length: 0 ------------------------------------------------------------------------ recv 538 bytes from udp/[192.168.0.65]:2050 at 23:32:04.899100: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK5mc3K1Ut7cp4N;received=192.168.0.140 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 INVITE Contact: ;reg-id=1 Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:04.446361 [DEBUG] sofia.c:7323 Channel sofia/internal/1008 at 192.168.0.65:2050 entering state [proceeding][180] 2019-06-10 23:32:04.446361 [NOTICE] sofia.c:7433 Ring-Ready sofia/internal/1008 at 192.168.0.65:2050! 2019-06-10 23:32:04.446361 [DEBUG] switch_channel.c:3398 (sofia/internal/1008 at 192.168.0.65:2050) Callstate Change DOWN -> RINGING 2019-06-10 23:32:04.466328 [INFO] switch_ivr_originate.c:1246 Sending early media 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AEAD_AES_256_GCM_8]alias=[] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AEAD_AES_128_GCM_8]alias=[] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AES_256_CM_HMAC_SHA1_80]alias=[AES_CM_256_HMAC_SHA1_80] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AES_192_CM_HMAC_SHA1_80]alias=[AES_CM_192_HMAC_SHA1_80] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AES_CM_128_HMAC_SHA1_80]alias=[] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AES_256_CM_HMAC_SHA1_32]alias=[AES_CM_256_HMAC_SHA1_32] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AES_192_CM_HMAC_SHA1_32]alias=[AES_CM_192_HMAC_SHA1_32] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1804 looking for crypto suite [AES_CM_128_HMAC_SHA1_32]alias=[] in [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1813 Found suite AES_CM_128_HMAC_SHA1_32 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1883 Set Remote Key [1 AES_CM_128_HMAC_SHA1_32 inline:HRdV0SVJ7FzedOhJPiNrKg7sZCaMbf20cJgpVImd] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:1209 Set Local audio crypto Key [1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G726-32:99:8000:20:0:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G726-32:99:8000:20:0:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G726-32:99:8000:20:0:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [GSM:3:8000:20:13200:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G729:18:8000:20:8000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G723:4:8000:20:6300:1]/[opus:116:48000:20:0:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G723:4:8000:20:6300:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G723:4:8000:20:6300:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101 at 8000 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/1007 at 192.168.0.140 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2019-06-10 23:32:04.466328 [DEBUG] switch_core_codec.c:111 sofia/internal/1007 at 192.168.0.140 Original read codec set to PCMU:0 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101 at 8000 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:5828 sofia/internal/1007 at 192.168.0.140 Set 2833 dtmf send payload to 101 recv payload to 101 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/internal/1007 at 192.168.0.140] 192.168.0.140 port 30908 -> 192.168.0.66 port 60750 codec: 0 ms: 20 2019-06-10 23:32:04.466328 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:8875 sofia/internal/1007 at 192.168.0.140 Set 2833 dtmf send payload to 101 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:8882 sofia/internal/1007 at 192.168.0.140 Set 2833 dtmf receive payload to 101 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:8905 sofia/internal/1007 at 192.168.0.140 Set rtp dtmf delay to 40 2019-06-10 23:32:04.466328 [INFO] switch_rtp.c:4153 Activating audio Secure RTP SEND 2019-06-10 23:32:04.466328 [DEBUG] switch_core_sqldb.c:2617 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_32 2019-06-10 23:32:04.466328 [INFO] switch_rtp.c:4131 Activating audio Secure RTP RECV 2019-06-10 23:32:04.466328 [DEBUG] switch_core_sqldb.c:2617 Secure Type: srtp:sdes:AES_CM_128_HMAC_SHA1_32 2019-06-10 23:32:04.466328 [NOTICE] sofia_media.c:92 Pre-Answer sofia/internal/1007 at 192.168.0.140! 2019-06-10 23:32:04.466328 [DEBUG] switch_channel.c:3526 (sofia/internal/1007 at 192.168.0.140) Callstate Change RINGING -> EARLY 2019-06-10 23:32:04.466328 [DEBUG] switch_core_media.c:8551 Audio params are unchanged for sofia/internal/1007 at 192.168.0.140. 2019-06-10 23:32:04.466328 [DEBUG] mod_sofia.c:2516 Ring SDP: v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 send 1274 bytes to udp/[192.168.0.66]:2048 at 23:32:04.923921: ------------------------------------------------------------------------ SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Accept: application/sdp Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "1008" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ 2019-06-10 23:32:04.466328 [DEBUG] sofia.c:7323 Channel sofia/internal/1007 at 192.168.0.140 entering state [early][183] 2019-06-10 23:32:04.466328 [DEBUG] switch_ivr_originate.c:1304 Raw Codec Activation Success L16 at 8000hz 1 channel 20ms 2019-06-10 23:32:04.466328 [DEBUG] switch_core_codec.c:223 sofia/internal/1007 at 192.168.0.140 Push codec L16:100 2019-06-10 23:32:04.466328 [DEBUG] switch_ivr_originate.c:1378 Play Ringback Tone [%(2000,4000,440,480)] 2019-06-10 23:32:04.666336 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed. recv 538 bytes from udp/[192.168.0.65]:2050 at 23:32:05.408697: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK5mc3K1Ut7cp4N;received=192.168.0.140 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 INVITE Contact: ;reg-id=1 Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:04.946335 [DEBUG] sofia.c:7323 Channel sofia/internal/1008 at 192.168.0.65:2050 entering state [proceeding][180] recv 538 bytes from udp/[192.168.0.65]:2050 at 23:32:06.418708: ------------------------------------------------------------------------ SIP/2.0 180 Ringing Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK5mc3K1Ut7cp4N;received=192.168.0.140 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 INVITE Contact: ;reg-id=1 Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:05.966335 [DEBUG] sofia.c:7323 Channel sofia/internal/1008 at 192.168.0.65:2050 entering state [proceeding][180] recv 911 bytes from udp/[192.168.0.65]:2050 at 23:32:06.552003: ------------------------------------------------------------------------ SIP/2.0 200 Ok Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK5mc3K1Ut7cp4N;received=192.168.0.140 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 INVITE Contact: ;reg-id=1 User-Agent: snom320/8.4.35 Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO, UPDATE Allow-Events: talk, hold, refer, call-info Supported: timer, 100rel, replaces, from-change Content-Type: application/sdp Content-Length: 268 v=0 o=root 2084871394 2084871395 IN IP4 192.168.0.65 s=call c=IN IP4 192.168.0.65 t=0 0 m=audio 57948 RTP/AVP 0 8 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv ------------------------------------------------------------------------ 2019-06-10 23:32:06.086339 [DEBUG] sofia.c:7323 Channel sofia/internal/1008 at 192.168.0.65:2050 entering state [completing][200] 2019-06-10 23:32:06.086339 [DEBUG] sofia.c:7333 Remote SDP: v=0 o=root 2084871394 2084871395 IN IP4 192.168.0.65 s=call c=IN IP4 192.168.0.65 t=0 0 m=audio 57948 RTP/AVP 0 8 9 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 2019-06-10 23:32:06.086339 [NOTICE] sofia.c:7336 Pre-Answer sofia/internal/1008 at 192.168.0.65:2050! 2019-06-10 23:32:06.086339 [DEBUG] switch_channel.c:3526 (sofia/internal/1008 at 192.168.0.65:2050) Callstate Change RINGING -> EARLY send 398 bytes to udp/[192.168.0.65]:2050 at 23:32:06.556037: ------------------------------------------------------------------------ ACK sip:1008 at 192.168.0.65:2050;line=toh3yju6 SIP/2.0 Via: SIP/2.0/UDP 93.86.XX.XX;rport;branch=z9hG4bK6X5UNvcy4NcQH Max-Forwards: 70 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547370 ACK Contact: Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:06.106386 [DEBUG] sofia.c:7323 Channel sofia/internal/1008 at 192.168.0.65:2050 entering state [ready][200] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMU:0:8000:20:64000:1] ++++ is saved as a match 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMU:0:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [PCMA:8:8000:20:64000:1] ++++ is saved as a match 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [PCMA:8:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMU:0:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[PCMA:8:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5511 Audio Codec Compare [G722:9:8000:20:64000:1]/[G722:9:8000:20:64000:1] 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5566 Audio Codec Compare [G722:9:8000:20:64000:1] ++++ is saved as a match 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5427 Set telephone-event payload to 101 at 8000 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:3781 Set Codec sofia/internal/1008 at 192.168.0.65:2050 PCMU/8000 20 ms 160 samples 64000 bits 1 channels 2019-06-10 23:32:06.106386 [DEBUG] switch_core_codec.c:111 sofia/internal/1008 at 192.168.0.65:2050 Original read codec set to PCMU:0 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5770 Set telephone-event payload to 101 at 8000 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:5828 sofia/internal/1008 at 192.168.0.65:2050 Set 2833 dtmf send payload to 101 recv payload to 101 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:8568 AUDIO RTP [sofia/internal/1008 at 192.168.0.65:2050] 192.168.0.140 port 17714 -> 192.168.0.65 port 57948 codec: 0 ms: 20 2019-06-10 23:32:06.106386 [DEBUG] switch_rtp.c:4349 Starting timer [soft] 160 bytes per 20ms 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:8875 sofia/internal/1008 at 192.168.0.65:2050 Set 2833 dtmf send payload to 101 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:8882 sofia/internal/1008 at 192.168.0.65:2050 Set 2833 dtmf receive payload to 101 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:8905 sofia/internal/1008 at 192.168.0.65:2050 Set rtp dtmf delay to 40 2019-06-10 23:32:06.106386 [NOTICE] sofia.c:8461 Channel [sofia/internal/1008 at 192.168.0.65:2050] has been answered 2019-06-10 23:32:06.106386 [DEBUG] switch_channel.c:3825 (sofia/internal/1008 at 192.168.0.65:2050) Callstate Change EARLY -> ACTIVE 2019-06-10 23:32:06.106386 [DEBUG] switch_core_codec.c:248 sofia/internal/1007 at 192.168.0.140 Restore previous codec PCMU:0. 2019-06-10 23:32:06.106386 [DEBUG] switch_core_media.c:8551 Audio params are unchanged for sofia/internal/1007 at 192.168.0.140. 2019-06-10 23:32:06.106386 [DEBUG] mod_sofia.c:893 Local SDP sofia/internal/1007 at 192.168.0.140: v=0 o=FreeSWITCH 1560171416 1560171418 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=sendrecv a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:06.564327: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ 2019-06-10 23:32:06.106386 [DEBUG] sofia.c:7323 Channel sofia/internal/1007 at 192.168.0.140 entering state [completed][200] 2019-06-10 23:32:06.106386 [NOTICE] switch_ivr_originate.c:3745 Channel [sofia/internal/1007 at 192.168.0.140] has been answered 2019-06-10 23:32:06.106386 [DEBUG] switch_channel.c:3825 (sofia/internal/1007 at 192.168.0.140) Callstate Change EARLY -> ACTIVE 2019-06-10 23:32:06.106386 [DEBUG] switch_ivr_originate.c:3803 Originate Resulted in Success: [sofia/internal/1008 at 192.168.0.65:2050] 2019-06-10 23:32:06.106386 [DEBUG] switch_ivr_originate.c:3803 Originate Resulted in Success: [sofia/internal/1008 at 192.168.0.65:2050] 2019-06-10 23:32:06.106386 [DEBUG] switch_ivr_bridge.c:1795 (sofia/internal/1008 at 192.168.0.65:2050) State Change CS_CONSUME_MEDIA -> CS_EXCHANGE_MEDIA 2019-06-10 23:32:06.106386 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_EXCHANGE_MEDIA (Cur 2 Tot 9) 2019-06-10 23:32:06.106386 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1008 at 192.168.0.65:2050) State EXCHANGE_MEDIA 2019-06-10 23:32:06.106386 [DEBUG] mod_sofia.c:657 SOFIA EXCHANGE_MEDIA 2019-06-10 23:32:06.166346 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed. 2019-06-10 23:32:06.266338 [DEBUG] switch_rtp.c:7604 Correct audio ip/port confirmed. send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:07.064545: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:08.065553: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:10.066615: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ freeswitch at deb9> freeswitch at deb9> freeswitch at deb9> send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:14.066821: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:18.067037: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:22.067209: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:26.067420: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:30.068634: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:34.069263: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ freeswitch at deb9> freeswitch at deb9> send 1281 bytes to udp/[192.168.0.66]:2048 at 23:32:38.069488: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.66:2048;branch=z9hG4bK-6blzopopy6u8;rport=2048 From: "Test 7" ;tag=p2g6ntoftq To: ;tag=N3ZyFcHUB5U1N Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 2 INVITE Contact: Call-Info: ;appearance-index=1 User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer Session-Expires: 3600;refresher=uas Content-Type: application/sdp Content-Disposition: session Content-Length: 329 Remote-Party-ID: "Outbound Call" ;party=calling;privacy=off;screen=no v=0 o=FreeSWITCH 1560171416 1560171417 IN IP4 192.168.0.140 s=FreeSWITCH c=IN IP4 192.168.0.140 t=0 0 m=audio 30908 RTP/SAVP 0 101 a=rtpmap:0 PCMU/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 a=ptime:20 a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:aE2vytPpfYFzwCXO0x920fS8/mpTiphai6b5PyCa m=audio 0 RTP/AVP 19 ------------------------------------------------------------------------ send 626 bytes to udp/[192.168.0.66]:2048 at 23:32:38.563696: ------------------------------------------------------------------------ BYE sip:1007 at 192.168.0.66:2048;line=qws41d8u SIP/2.0 Via: SIP/2.0/UDP 93.86.XX.XX;rport;branch=z9hG4bK76ymQQX11y29c Max-Forwards: 70 From: ;tag=N3ZyFcHUB5U1N To: "Test 7" ;tag=p2g6ntoftq Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 5547387 BYE Contact: User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Reason: SIP;cause=408;text="ACK Timeout" Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:38.126337 [DEBUG] sofia.c:7323 Channel sofia/internal/1007 at 192.168.0.140 entering state [terminating][0] 2019-06-10 23:32:38.126337 [NOTICE] sofia.c:8516 Hangup sofia/internal/1007 at 192.168.0.140 [CS_EXECUTE] [NORMAL_UNSPECIFIED] 2019-06-10 23:32:38.126337 [DEBUG] switch_ivr_bridge.c:831 sofia/internal/1007 at 192.168.0.140 ending bridge by request from read function 2019-06-10 23:32:38.126337 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/internal/1007 at 192.168.0.140] 2019-06-10 23:32:38.146339 [DEBUG] switch_ivr_bridge.c:825 sofia/internal/1007 at 192.168.0.140 ending bridge by request from write function 2019-06-10 23:32:38.146339 [DEBUG] switch_ivr_bridge.c:917 BRIDGE THREAD DONE [sofia/internal/1008 at 192.168.0.65:2050] 2019-06-10 23:32:38.146339 [NOTICE] switch_ivr_bridge.c:1034 Hangup sofia/internal/1008 at 192.168.0.65:2050 [CS_EXCHANGE_MEDIA] [NORMAL_CLEARING] 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:653 (sofia/internal/1008 at 192.168.0.65:2050) State EXCHANGE_MEDIA going to sleep 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_HANGUP (Cur 2 Tot 9) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/1008 at 192.168.0.65:2050) Callstate Change ACTIVE -> HANGUP 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/1008 at 192.168.0.65:2050) State HANGUP 2019-06-10 23:32:38.146339 [DEBUG] mod_sofia.c:460 Channel sofia/internal/1008 at 192.168.0.65:2050 hanging up, cause: NORMAL_CLEARING 2019-06-10 23:32:38.146339 [DEBUG] mod_sofia.c:513 Sending BYE to sofia/internal/1008 at 192.168.0.65:2050 send 604 bytes to udp/[192.168.0.65]:2050 at 23:32:38.598995: ------------------------------------------------------------------------ BYE sip:1008 at 192.168.0.65:2050;line=toh3yju6 SIP/2.0 Via: SIP/2.0/UDP 93.86.XX.XX;rport;branch=z9hG4bK8FrDSje5y7rvr Max-Forwards: 70 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547371 BYE User-Agent: FreeSWITCH-mod_sofia/1.8.6-7-93b4c92e75~64bit Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Reason: Q.850;cause=16;text="NORMAL_CLEARING" Content-Length: 0 ------------------------------------------------------------------------ 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1008 at 192.168.0.65:2050 Standard HANGUP, cause: NORMAL_CLEARING 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/1008 at 192.168.0.65:2050) State HANGUP going to sleep 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1008 at 192.168.0.65:2050) State Change CS_HANGUP -> CS_REPORTING 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_REPORTING (Cur 2 Tot 9) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/1008 at 192.168.0.65:2050) State REPORTING 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1008 at 192.168.0.65:2050 Standard REPORTING, cause: NORMAL_CLEARING 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/1008 at 192.168.0.65:2050) State REPORTING going to sleep 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1008 at 192.168.0.65:2050) State Change CS_REPORTING -> CS_DESTROY 2019-06-10 23:32:38.146339 [DEBUG] switch_core_session.c:1726 Session 9 (sofia/internal/1008 at 192.168.0.65:2050) Locked, Waiting on external entities 2019-06-10 23:32:38.146339 [DEBUG] switch_ivr_bridge.c:1897 sofia/internal/1007 at 192.168.0.140 skip receive message [UNBRIDGE] (channel is hungup already) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_session.c:2905 sofia/internal/1007 at 192.168.0.140 skip receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:650 (sofia/internal/1007 at 192.168.0.140) State EXECUTE going to sleep 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_HANGUP (Cur 2 Tot 9) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:847 (sofia/internal/1007 at 192.168.0.140) Callstate Change ACTIVE -> HANGUP 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/1007 at 192.168.0.140) State HANGUP 2019-06-10 23:32:38.146339 [DEBUG] mod_sofia.c:460 Channel sofia/internal/1007 at 192.168.0.140 hanging up, cause: NORMAL_UNSPECIFIED 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:60 sofia/internal/1007 at 192.168.0.140 Standard HANGUP, cause: NORMAL_UNSPECIFIED 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:849 (sofia/internal/1007 at 192.168.0.140) State HANGUP going to sleep 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:619 (sofia/internal/1007 at 192.168.0.140) State Change CS_HANGUP -> CS_REPORTING 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:584 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_REPORTING (Cur 2 Tot 9) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/1007 at 192.168.0.140) State REPORTING 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:174 sofia/internal/1007 at 192.168.0.140 Standard REPORTING, cause: NORMAL_UNSPECIFIED 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:935 (sofia/internal/1007 at 192.168.0.140) State REPORTING going to sleep 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:610 (sofia/internal/1007 at 192.168.0.140) State Change CS_REPORTING -> CS_DESTROY 2019-06-10 23:32:38.146339 [DEBUG] switch_core_session.c:1726 Session 8 (sofia/internal/1007 at 192.168.0.140) Locked, Waiting on external entities 2019-06-10 23:32:38.146339 [NOTICE] switch_core_session.c:1744 Session 8 (sofia/internal/1007 at 192.168.0.140) Ended 2019-06-10 23:32:38.146339 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/1007 at 192.168.0.140 [CS_DESTROY] 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:738 (sofia/internal/1007 at 192.168.0.140) Running State Change CS_DESTROY (Cur 1 Tot 9) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/1007 at 192.168.0.140) State DESTROY 2019-06-10 23:32:38.146339 [DEBUG] mod_sofia.c:365 sofia/internal/1007 at 192.168.0.140 SOFIA DESTROY 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1007 at 192.168.0.140 Standard DESTROY 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/1007 at 192.168.0.140) State DESTROY going to sleep 2019-06-10 23:32:38.146339 [NOTICE] switch_core_session.c:1744 Session 9 (sofia/internal/1008 at 192.168.0.65:2050) Ended 2019-06-10 23:32:38.146339 [NOTICE] switch_core_session.c:1748 Close Channel sofia/internal/1008 at 192.168.0.65:2050 [CS_DESTROY] 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:738 (sofia/internal/1008 at 192.168.0.65:2050) Running State Change CS_DESTROY (Cur 0 Tot 9) 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/1008 at 192.168.0.65:2050) State DESTROY 2019-06-10 23:32:38.146339 [DEBUG] mod_sofia.c:365 sofia/internal/1008 at 192.168.0.65:2050 SOFIA DESTROY 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:181 sofia/internal/1008 at 192.168.0.65:2050 Standard DESTROY 2019-06-10 23:32:38.146339 [DEBUG] switch_core_state_machine.c:748 (sofia/internal/1008 at 192.168.0.65:2050) State DESTROY going to sleep recv 531 bytes from udp/[192.168.0.66]:2048 at 23:32:38.610924: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK76ymQQX11y29c;received=192.168.0.140 From: ;tag=N3ZyFcHUB5U1N To: "Test 7" ;tag=p2g6ntoftq Call-ID: 3c268bbf732f-0c0rr7bh0w4l CSeq: 5547387 BYE Contact: ;reg-id=1 User-Agent: snom320/8.4.35 RTP-RxStat: Total_Rx_Pkts=1676,Rx_Pkts=0,Rx_Pkts_Lost=1,Remote_Rx_Pkts_Lost=0 RTP-TxStat: Total_Tx_Pkts=1676,Tx_Pkts=1676,Remote_Tx_Pkts=0 Content-Length: 0 ------------------------------------------------------------------------ recv 557 bytes from udp/[192.168.0.65]:2050 at 23:32:38.640007: ------------------------------------------------------------------------ SIP/2.0 200 OK Via: SIP/2.0/UDP 93.86.XX.XX;rport=5060;branch=z9hG4bK8FrDSje5y7rvr;received=192.168.0.140 From: "Extension 1007" ;tag=pcSQH71y8DjmH To: ;tag=emgd2q017e Call-ID: 085e7d69-066a-1238-3399-52540028724f CSeq: 5547371 BYE Contact: ;reg-id=1 User-Agent: snom320/8.4.35 RTP-RxStat: Total_Rx_Pkts=1597,Rx_Pkts=0,Rx_Pkts_Lost=1,Remote_Rx_Pkts_Lost=0 RTP-TxStat: Total_Tx_Pkts=1599,Tx_Pkts=1599,Remote_Tx_Pkts=0 Content-Length: 0 ------------------------------------------------------------------------ From gmaruzz at gmail.com Tue Jun 11 04:04:38 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 11 Jun 2019 06:04:38 +0200 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Laura, seems to me you are not willing to provide useful info, and this way you're just wasting your and our time. Obviously, this is just my perception and opinion. Also, I am bored of this interaction and I will decline to participate further. Have a nice day and good luck, -giovanni On Mon, Jun 10, 2019 at 6:53 PM Laura Smith < n5d9xq3ti233xiyif2vp at protonmail.ch> wrote: > Nothing with your level 7 suggestion. > > So I have created some music for you using "sofia loglevel all 9". ;-) > > https://pastebin.com/A67NZGLZ > > Bear in mind that I believe the "did not provide X.509 Certificate" shown > at the top of that debug log is erroneous becuase (a) I don't use client > certificate validations (b) the "known-good" system from which the > /etc/freeswitch was copied (with minor edits in vars.xml to reflect > hostname/IP) most certainly does not use client cert validation. > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Sunday, June 9, 2019 9:51 PM, Giovanni Maruzzelli > wrote: > > What for you is noise to others is music :) > > On Sun, Jun 9, 2019, 22:40 Laura Smith via FreeSWITCH-users < > freeswitch-users at lists.freeswitch.org> wrote: > >> >> >> >> . >> > > > > > Turning on debugging just generates a lot of noise but delivers no extra >> insight, I've tried that too. >> >> >> >> >> >> >> >> >> >> --- >> > > -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex at freeswitch.com Tue Jun 11 06:02:36 2019 From: alex at freeswitch.com (Alexey Sibyakin) Date: Tue, 11 Jun 2019 15:02:36 +0900 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: Hi, Long story short, try to change your "local-network-acl" to whatever will match phones from the local network. Regards, Alex Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić wrote: > Hi, > > So, after not using freeswitch for a few years, I just did a clean > install of Freeswitch 1.8.6 on debian 9 using packages from the repo > and have a small issue maybe someone can help me with. > > I'm using the vanilla config here to keep it simple, also Freeswitch > is started with -nonat. > > The problem I encountered is the contact field for local calls (on the > same IP subnet as freeswitch) on the internal profile contains the > external IP address which makes the phone send the response to the > wrong IP. You can find attached a complete debug log with sip trace of > a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). > Freeswitch is 192.168.0.140. > > The profile contains the default params: > > > > > > This is what I get from sofia status: > > freeswitch at deb9> sofia status profile internal > > ================================================================================================= > Name internal > Domain Name N/A > Auto-NAT false > DBName sofia_reg_internal > Pres Hosts 192.168.0.140,192.168.0.140 > Dialplan XML > Context public > Challenge Realm auto_from > RTP-IP 192.168.0.140 > Ext-RTP-IP 93.86.XX.XX > SIP-IP 192.168.0.140 > Ext-SIP-IP 93.86.XX.XX > URL sip:mod_sofia at 93.86.XX.XX:5060 > BIND-URL > sip:mod_sofia at 93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp > WS-BIND-URL sip:mod_sofia at 192.168.0.140:5066;transport=ws > WSS-BIND-URL sips:mod_sofia at 192.168.0.140:7443;transport=wss > HOLD-MUSIC local_stream://moh > OUTBOUND-PROXY N/A > CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 > CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 > TEL-EVENT 101 > DTMF-MODE rfc2833 > CNG 13 > SESSION-TO 0 > MAX-DIALOG 0 > NOMEDIA false > LATE-NEG true > PROXY-MEDIA false > ZRTP-PASSTHRU true > AGGRESSIVENAT false > CALLS-IN 0 > FAILED-CALLS-IN 0 > CALLS-OUT 0 > FAILED-CALLS-OUT 0 > REGISTRATIONS 2 > > > Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip > params from the config it works, but am I missing something obvious or > is this a bug? > > > -- > Dušan Dragić > _________________________________________________________________________ > > 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 denys.pozniak at gmail.com Mon Jun 10 15:47:49 2019 From: denys.pozniak at gmail.com (Denys Pozniak) Date: Mon, 10 Jun 2019 18:47:49 +0300 Subject: [Freeswitch-users] Missing Privacy and PAI headers with bypass-media=true/resume-media-on-hold Message-ID: Hello! We are bridging calls in *bypass-media* mode with profile parameter ** ... ... So initial origination INVITE on B-leg has Privacy: id and PAI headers - everything works as expected. But if a user on A-leg presses Hold button, re-INVITE (without SDP) on B-leg (corresponding to the option *resume-media-on-hold*) will not have privacy headers. And this leads to disclosure of caller anonymity on some phones. On the picture below I marked re-INVITE (B-leg) that has no Privacy and PAI. [image: image.png] FreeSWITCH (Version 1.8.5 64bit) How to force FS to send privacy headers in such scenario? -- BR, Denys Pozniak -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 38401 bytes Desc: not available URL: From leo.lai.wolf at gmail.com Tue Jun 11 09:20:14 2019 From: leo.lai.wolf at gmail.com (Leo Wolf) Date: Tue, 11 Jun 2019 17:20:14 +0800 Subject: [Freeswitch-users] freeswitch originate command with customized SBC/proxy ip Message-ID: Hi, I want to know if freeswitch originate command can bring customized ip address for SDP other than ip of freeswitch itself. Since I want to build a system as: client - SBC/proxy - freeswitch -SBC/proxy - client, and I want to let RTP established on SBC/proxy - SBC/proxy. In other words, I don't want to let RDP pass through freeswitch, so I need to bring SBC/proxy ip address in originate command for SDP. Is there any way to achieve it? Many thanks, Leo -------------- next part -------------- An HTML attachment was scrubbed... URL: From marquore at gmail.com Tue Jun 11 15:06:53 2019 From: marquore at gmail.com (Marc Quore) Date: Tue, 11 Jun 2019 18:06:53 +0300 Subject: [Freeswitch-users] Empty SQL response cause unexpected DBH error in LUA Message-ID: Hi, All I'm debugging the following Lua script which should be inserting records into database using data, returned from preceding SQL query: [image: image.png] Everything works fine, unless SELECT returns no rows producing the following error: [ERR] freeswitch_lua.cpp:460 DBH NOT Connected. Are there any references as for how such empty responses should be correctly handled in Lua code to avoid this error, while using dbh:query? Regards, Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image.png Type: image/png Size: 4289 bytes Desc: not available URL: From n5d9xq3ti233xiyif2vp at protonmail.ch Mon Jun 10 16:53:51 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Mon, 10 Jun 2019 16:53:51 +0000 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Nothing with your level 7 suggestion. So I have created some music for you using "sofia loglevel all 9".  ;-) https://pastebin.com/A67NZGLZ Bear in mind that I believe the "did not provide X.509 Certificate" shown at the top of that debug log is erroneous becuase (a) I don't use client certificate validations (b) the "known-good" system from which the /etc/freeswitch was copied (with minor edits in vars.xml to reflect hostname/IP) most certainly does not use client cert validation. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, June 9, 2019 9:51 PM, Giovanni Maruzzelli wrote: > What for you is noise to others is music :) > > On Sun, Jun 9, 2019, 22:40 Laura Smith via FreeSWITCH-users wrote: > > > > > > > > > .  > > > Turning on debugging just generates a lot of noise but delivers no extra insight, I've tried that too. > > > > --- From n5d9xq3ti233xiyif2vp at protonmail.ch Mon Jun 10 16:35:22 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Mon, 10 Jun 2019 16:35:22 +0000 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: I was under the impression level 7 was the default ?  At least that's what fs_cli shows when I first open it on a clean install ? ('+OK log level  [7]'). I'll try again with an explicit 'fsctl loglevel 7' a bit later and report back .... ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, June 9, 2019 8:59 PM, Giovanni Maruzzelli wrote: > The phones are registering to the sipdomain, that is correctly mapped to the ipaddress? > Also, if you up the loglevel, you will see what fs "thinks" > > From fs_cli: fsctl loglevel 7 > > On Sun, Jun 9, 2019, 21:48 Laura Smith wrote: > > > The certificate is a wildcard certificate, so no issues copying it from one server to another. > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Sunday, 9 June 2019 20:39, Giovanni Maruzzelli wrote: > > > > > Check you got the correct tls certificate for the domain, and that the phones are registering to the correct domain. Probably is an ipaddress/sipdomain mismatch, or a certificate mismatch > > > > > > On Sun, Jun 9, 2019, 21:34 Laura Smith via FreeSWITCH-users wrote: > > > > > > > ---------- Forwarded message ---------- > > > > From: Laura Smith > > > > To: "gmaruzz at opentelecom.it" > > > > Cc: FreeSWITCH Users Help > > > > Bcc:  > > > > Date: Sun, 09 Jun 2019 19:31:25 +0000 > > > > Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > https://pastebin.com/BmXAeS3N > > > > > > > > (Stating the obvious, but IP addresses and domain names have been suitably mangled to protect the innocent) > > > > > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > > > On Sunday, 9 June 2019 20:10, Giovanni Maruzzelli wrote: > > > > > > > > > Then, pastebin the complete sip trace > > > > > > > > > > On Sun, Jun 9, 2019, 21:07 Laura Smith wrote: > > > > > > > > > > > Giovanni, > > > > > > > > > > > > Except that's the problem, there are no "errors from console". > > > > > > > > > > > > The only reason I know about the 403 Rejected is because I turned on SIP tracing and can see Freeswitch sending a 403 to the SIP phones. > > > > > > > > > > > > Otherwise, Freeswitch is being unhelpfully silent.  Turning on debugging just generates a lot of noise but delivers no extra insight, I've tried that too. > > > > > > > > > > > > I'm thinking (and perhaps someone here can confirm) whether 1.6->1.8 is the problem ?  Have there been non backwards-compatible changes ? > > > > > > > > > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > > > > > On Sunday, 9 June 2019 15:38, Giovanni Maruzzelli wrote: > > > > > > > > > > > > > Obviously, you need to pastebin somewhere all errors from console and logfile, and put the pastebin link here > > > > > > > > > > > > > > -giovanni > > > > > > > > > > > > > > On Sun, Jun 9, 2019 at 3:42 PM Laura Smith via FreeSWITCH-users wrote: > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > > > > From: Laura Smith > > > > > > > > To: "freeswitch-users at lists.freeswitch.org" > > > > > > > > Cc:  > > > > > > > > Bcc:  > > > > > > > > Date: Sat, 08 Jun 2019 09:14:21 +0000 > > > > > > > > Subject: Problems migrating from 1.6.x to 1.8.x > > > > > > > > Hi, > > > > > > > > > > > > > > > > I have a perfectly functioning FreeSWITCH Version 1.6.20-37-987c9b9~64bit (-37-987c9b9 64bit) instance running on Debian 8 (jessie). > > > > > > > > > > > > > > > > I'd like to move onwards and upwards, and so have installed FreeSWITCH Version 1.8.6-7-93b4c92e75~64bit (-7-93b4c92e75 64bit) on Debian 9 (stretch). > > > > > > > > > > > > > > > > In the hope that it would be as simple as copying accross /etc/freeswitch from old to new, I did that, followed by a reloadxml and, for good measure, a restart of the entire freeswitch instance. > > > > > > > > > > > > > > > > I have, of course, adjusted the relevant parameters in vars.xml in terms of hostname and IP addresses. > > > > > > > > > > > > > > > > However the new instance is refusing to allow my endpoints to register.  Its sending 403 forbidden back. > > > > > > > > > > > > > > > > Any ideas ? > > > > > > > > > > > > > > > > Thanks ! > > > > > > > > > > > > > > > > Laura > > > > > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > > > > > From: Laura Smith via FreeSWITCH-users > > > > > > > > To: "freeswitch-users at lists.freeswitch.org" > > > > > > > > Cc:  > > > > > > > > Bcc:  > > > > > > > > Date: Sun, 09 Jun 2019 06:42:56 -0700 (PDT) > > > > > > > > Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > > > > > _________________________________________________________________________ > > > > > > > > > > > > > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > > > > > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > > > > > > > Build your next product on our scalable cloud platform. > > > > > > > > > > > > > > > > Join our online community to chat in real time https://signalwire.community > > > > > > > > > > > > > > > > Professional FreeSWITCH Services > > > > > > > > sales at freeswitch.com > > > > > > > > https://freeswitch.com > > > > > > > > > > > > > > > > Official FreeSWITCH Sites > > > > > > > > https://freeswitch.com/oss > > > > > > > > https://freeswitch.org/confluence > > > > > > > > https://cluecon.com > > > > > > > > > > > > > > > > FreeSWITCH-users mailing list > > > > > > > > FreeSWITCH-users at lists.freeswitch.org > > > > > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > > > > > https://freeswitch.com > > > > > > > > > > > > > > -- > > > > > > > Sincerely, > > > > > > > > > > > > > > Giovanni Maruzzelli > > > > > > > OpenTelecom.IT > > > > > > > cell: +39 347 266 56 18 > > > > > > > > ---------- Forwarded message ---------- > > > > From: Laura Smith via FreeSWITCH-users > > > > To: "gmaruzz at opentelecom.it" > > > > Cc: FreeSWITCH Users Help > > > > Bcc:  > > > > Date: Sun, 09 Jun 2019 12:34:24 -0700 (PDT) > > > > Subject: Re: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x > > > > _________________________________________________________________________ > > > > > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > > > > Build your next product on our scalable cloud platform. > > > > > > > > Join our online community to chat in real time https://signalwire.community > > > > > > > > Professional FreeSWITCH Services > > > > sales at freeswitch.com > > > > https://freeswitch.com > > > > > > > > Official FreeSWITCH Sites > > > > https://freeswitch.com/oss > > > > https://freeswitch.org/confluence > > > > https://cluecon.com > > > > > > > > FreeSWITCH-users mailing list > > > > FreeSWITCH-users at lists.freeswitch.org > > > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > > > https://freeswitch.com From n5d9xq3ti233xiyif2vp at protonmail.ch Tue Jun 11 06:38:16 2019 From: n5d9xq3ti233xiyif2vp at protonmail.ch (Laura Smith) Date: Tue, 11 Jun 2019 06:38:16 +0000 Subject: [Freeswitch-users] Problems migrating from 1.6.x to 1.8.x In-Reply-To: References: Message-ID: Giovanni, You asked for detailed debug logs because apparently lots of noise was "music to your ears". So I provide you with level 9 debugs and suddenly its too much noise for you to deal with ? Well, there's a surprise !  So much for Open Source and the spirit of people helping each other.   Seems like I will be better off going and buying a proprietary solution that comes with a support contract where people actually have an incentive to see problems fixed to a successful resolution. The Freeswitch community seems to be a clique that has little time for newbies and only care about themselves. Laura ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, June 11, 2019 5:04 AM, Giovanni Maruzzelli wrote: > Laura, seems to me you are not willing to provide useful info, and this way you're just wasting your and our time. Obviously, this is just my perception and opinion. Also, I am bored of this interaction and I will decline to participate further. > > Have a nice day and good luck, > -giovanni > > On Mon, Jun 10, 2019 at 6:53 PM Laura Smith wrote: > > > Nothing with your level 7 suggestion. > > > > So I have created some music for you using "sofia loglevel all 9".  ;-) > > > > https://pastebin.com/A67NZGLZ > > > > Bear in mind that I believe the "did not provide X.509 Certificate" shown at the top of that debug log is erroneous becuase (a) I don't use client certificate validations (b) the "known-good" system from which the /etc/freeswitch was copied (with minor edits in vars.xml to reflect hostname/IP) most certainly does not use client cert validation. > > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Sunday, June 9, 2019 9:51 PM, Giovanni Maruzzelli wrote: > > > > > What for you is noise to others is music :) > > > > > > On Sun, Jun 9, 2019, 22:40 Laura Smith via FreeSWITCH-users wrote: > > > > > > > > > > > > > > > > > > > > > .  > > > > > > > Turning on debugging just generates a lot of noise but delivers no extra insight, I've tried that too. > > > > > > > > --- > > -- > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 From s.safarov at gmail.com Tue Jun 11 17:35:16 2019 From: s.safarov at gmail.com (Sergey Safarov) Date: Tue, 11 Jun 2019 20:35:16 +0300 Subject: [Freeswitch-users] freeswitch originate command with customized SBC/proxy ip In-Reply-To: References: Message-ID: https://freeswitch.org/confluence/display/FREESWITCH/Bypass+Media+Overview On Tue, Jun 11, 2019 at 8:11 PM Leo Wolf wrote: > Hi, > > I want to know if freeswitch originate command can bring customized ip > address for SDP other than ip of freeswitch itself. Since I want to build a > system as: client - SBC/proxy - freeswitch -SBC/proxy - client, and I want > to let RTP established on SBC/proxy - SBC/proxy. In other words, I don't > want to let RDP pass through freeswitch, so I need to bring SBC/proxy ip > address in originate command for SDP. Is there any way to achieve it? > > Many thanks, > Leo > _________________________________________________________________________ > > 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 piotr at dataandsignal.com Tue Jun 11 20:32:05 2019 From: piotr at dataandsignal.com (Piotr Gregor) Date: Tue, 11 Jun 2019 21:32:05 +0100 Subject: [Freeswitch-users] DTMF not working in my installation In-Reply-To: References: Message-ID: Hi Euan, Maybe your device is sending in-band DTMF while your software expects RFC-2833. Try setting: in the dialplan entry. cheers, Piotr Gregor Software Engineer M: (+44) 07483 866 525 L: (+44) 01444 415 862 www: dataandsignal.com On Wed, May 29, 2019 at 11:25 PM Sandro Bordacchini < sandro.bordacchini at nems.it> wrote: > Hi Euan. > I think you should probably check how your softphone sends DTMF (usually > could be in-band, rfc2833 or SIP Info, and you have set FS to work with > rfc2833 dtmf). > Setting liberal-dtmf parameter could be of some help sometimes > https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files#SofiaConfigurationFiles-liberal-dtmf > > Hope it helps. > SB > > Il giorno lun 27 mag 2019 alle ore 16:47 Euan Millar < > euan at ensemblepourladifference.org> ha scritto: > >> Hello again, kind Freeswitch group. >> >> I am using ESL to control my calls entirely from a Node application. I >> am using the 'modesl ' package to >> create an ESL connection and listen to the FS events >> and >> then answer a call if the number matches a dialplan I want to control using >> the mod_command "uuid_answer." >> >> I have gotten as far as attempting to recognise DTMF events, but I am >> getting no DTMF events through. >> >> So, I tested my Freeswitch installation using the IVR demo, and it looks >> like DTMF is not being received by Freeswitch at all. >> I monitored fs_cli and I can see that the demo is just waiting for >> digits, even though I can hear them being pressed in my softphone. >> >> Is there any particular modules that I need to ensure are installed, or >> configuration I need to make in order to enable DTMF? >> >> In a previous email to this list, I saw a message advising to set the >> following in sofia.conf. >> >> >> >> I can see that the property is loaded inside sip_profiles > internal.xml >> >> But changing this has had no effect. I still do not get any DTMF events >> being recognised in fs_cli >> >> Many thanks for any help or advice you can provide. >> >> Kind regards, >> >> Euan >> >> >> >> >> _________________________________________________________________________ >> >> 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 dragic.dusan at gmail.com Tue Jun 11 22:24:54 2019 From: dragic.dusan at gmail.com (=?UTF-8?B?RHXFoWFuIERyYWdpxIc=?=) Date: Wed, 12 Jun 2019 00:24:54 +0200 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: local-network-acl was (by default) set to localnet.auto which correctly detected my LAN subnet freeswitch at deb9> acl 192.168.0.66 localnet.auto true so I didn't have high hopes for this working, but I tried it anyway. Created a new acl called mylan with 192.168.0.0/24 allowed and used it for local-network-acl, freeswitch at deb9> acl 192.168.0.66 mylan true ... 2019-06-11 23:24:40.764885 [DEBUG] sofia.c:4641 local-network-acl [mylan] ... no change, it's same as before. On Tue, 11 Jun 2019 at 08:32, Alexey Sibyakin wrote: > > Hi, > > Long story short, try to change your "local-network-acl" to whatever will match phones from the local network. > > Regards, > > Alex > > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com > > > > On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić wrote: >> >> Hi, >> >> So, after not using freeswitch for a few years, I just did a clean >> install of Freeswitch 1.8.6 on debian 9 using packages from the repo >> and have a small issue maybe someone can help me with. >> >> I'm using the vanilla config here to keep it simple, also Freeswitch >> is started with -nonat. >> >> The problem I encountered is the contact field for local calls (on the >> same IP subnet as freeswitch) on the internal profile contains the >> external IP address which makes the phone send the response to the >> wrong IP. You can find attached a complete debug log with sip trace of >> a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). >> Freeswitch is 192.168.0.140. >> >> The profile contains the default params: >> >> >> >> >> >> This is what I get from sofia status: >> >> freeswitch at deb9> sofia status profile internal >> ================================================================================================= >> Name internal >> Domain Name N/A >> Auto-NAT false >> DBName sofia_reg_internal >> Pres Hosts 192.168.0.140,192.168.0.140 >> Dialplan XML >> Context public >> Challenge Realm auto_from >> RTP-IP 192.168.0.140 >> Ext-RTP-IP 93.86.XX.XX >> SIP-IP 192.168.0.140 >> Ext-SIP-IP 93.86.XX.XX >> URL sip:mod_sofia at 93.86.XX.XX:5060 >> BIND-URL >> sip:mod_sofia at 93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp >> WS-BIND-URL sip:mod_sofia at 192.168.0.140:5066;transport=ws >> WSS-BIND-URL sips:mod_sofia at 192.168.0.140:7443;transport=wss >> HOLD-MUSIC local_stream://moh >> OUTBOUND-PROXY N/A >> CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 >> CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 >> TEL-EVENT 101 >> DTMF-MODE rfc2833 >> CNG 13 >> SESSION-TO 0 >> MAX-DIALOG 0 >> NOMEDIA false >> LATE-NEG true >> PROXY-MEDIA false >> ZRTP-PASSTHRU true >> AGGRESSIVENAT false >> CALLS-IN 0 >> FAILED-CALLS-IN 0 >> CALLS-OUT 0 >> FAILED-CALLS-OUT 0 >> REGISTRATIONS 2 >> >> >> Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip >> params from the config it works, but am I missing something obvious or >> is this a bug? >> >> >> -- >> Dušan Dragić >> _________________________________________________________________________ >> >> 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 -- Dušan Dragić From david.villasmil.work at gmail.com Tue Jun 11 23:44:58 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 11 Jun 2019 19:44:58 -0400 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: There is a param for exactly this. Take a look in the vars or Sofia params On Tue, 11 Jun 2019 at 19:12, Dušan Dragić wrote: > local-network-acl was (by default) set to localnet.auto which > correctly detected my LAN subnet > > freeswitch at deb9> acl 192.168.0.66 localnet.auto > true > > so I didn't have high hopes for this working, but I tried it anyway. > Created a new acl called mylan with 192.168.0.0/24 allowed and used it > for local-network-acl, > > freeswitch at deb9> acl 192.168.0.66 mylan > true > > ... > 2019-06-11 23:24:40.764885 [DEBUG] sofia.c:4641 local-network-acl [mylan] > ... > > no change, it's same as before. > > On Tue, 11 Jun 2019 at 08:32, Alexey Sibyakin wrote: > > > > Hi, > > > > Long story short, try to change your "local-network-acl" to whatever > will match phones from the local network. > > > > Regards, > > > > Alex > > > > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd > Floor, Palo Alto > , > CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com > > > > > > > > On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić > wrote: > >> > >> Hi, > >> > >> So, after not using freeswitch for a few years, I just did a clean > >> install of Freeswitch 1.8.6 on debian 9 using packages from the repo > >> and have a small issue maybe someone can help me with. > >> > >> I'm using the vanilla config here to keep it simple, also Freeswitch > >> is started with -nonat. > >> > >> The problem I encountered is the contact field for local calls (on the > >> same IP subnet as freeswitch) on the internal profile contains the > >> external IP address which makes the phone send the response to the > >> wrong IP. You can find attached a complete debug log with sip trace of > >> a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). > >> Freeswitch is 192.168.0.140. > >> > >> The profile contains the default params: > >> > >> > >> > >> > >> > >> This is what I get from sofia status: > >> > >> freeswitch at deb9> sofia status profile internal > >> > ================================================================================================= > >> Name internal > >> Domain Name N/A > >> Auto-NAT false > >> DBName sofia_reg_internal > >> Pres Hosts 192.168.0.140,192.168.0.140 > >> Dialplan XML > >> Context public > >> Challenge Realm auto_from > >> RTP-IP 192.168.0.140 > >> Ext-RTP-IP 93.86.XX.XX > >> SIP-IP 192.168.0.140 > >> Ext-SIP-IP 93.86.XX.XX > >> URL sip:mod_sofia at 93.86.XX.XX:5060 > >> BIND-URL > >> sip:mod_sofia at 93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp > >> WS-BIND-URL sip:mod_sofia at 192.168.0.140:5066;transport=ws > >> WSS-BIND-URL sips:mod_sofia at 192.168.0.140:7443;transport=wss > >> HOLD-MUSIC local_stream://moh > >> OUTBOUND-PROXY N/A > >> CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 > >> CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 > >> TEL-EVENT 101 > >> DTMF-MODE rfc2833 > >> CNG 13 > >> SESSION-TO 0 > >> MAX-DIALOG 0 > >> NOMEDIA false > >> LATE-NEG true > >> PROXY-MEDIA false > >> ZRTP-PASSTHRU true > >> AGGRESSIVENAT false > >> CALLS-IN 0 > >> FAILED-CALLS-IN 0 > >> CALLS-OUT 0 > >> FAILED-CALLS-OUT 0 > >> REGISTRATIONS 2 > >> > >> > >> Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip > >> params from the config it works, but am I missing something obvious or > >> is this a bug? > >> > >> > >> -- > >> Dušan Dragić > >> > _________________________________________________________________________ > >> > >> 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 > > > > -- > Dušan Dragić > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Tue Jun 11 23:46:45 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 11 Jun 2019 19:46:45 -0400 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: You can always use a different profile for internal calls, not assigning ext-sip-is or ext-rtp-ip On Tue, 11 Jun 2019 at 19:44, David Villasmil < david.villasmil.work at gmail.com> wrote: > There is a param for exactly this. Take a look in the vars or Sofia params > > On Tue, 11 Jun 2019 at 19:12, Dušan Dragić wrote: > >> local-network-acl was (by default) set to localnet.auto which >> correctly detected my LAN subnet >> >> freeswitch at deb9> acl 192.168.0.66 localnet.auto >> true >> >> so I didn't have high hopes for this working, but I tried it anyway. >> Created a new acl called mylan with 192.168.0.0/24 allowed and used it >> for local-network-acl, >> >> freeswitch at deb9> acl 192.168.0.66 mylan >> true >> >> ... >> 2019-06-11 23:24:40.764885 [DEBUG] sofia.c:4641 local-network-acl [mylan] >> ... >> >> no change, it's same as before. >> >> On Tue, 11 Jun 2019 at 08:32, Alexey Sibyakin >> wrote: >> > >> > Hi, >> > >> > Long story short, try to change your "local-network-acl" to whatever >> will match phones from the local network. >> > >> > Regards, >> > >> > Alex >> > >> > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd >> Floor, Palo Alto >> , >> CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com >> > >> > >> > >> > On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić >> wrote: >> >> >> >> Hi, >> >> >> >> So, after not using freeswitch for a few years, I just did a clean >> >> install of Freeswitch 1.8.6 on debian 9 using packages from the repo >> >> and have a small issue maybe someone can help me with. >> >> >> >> I'm using the vanilla config here to keep it simple, also Freeswitch >> >> is started with -nonat. >> >> >> >> The problem I encountered is the contact field for local calls (on the >> >> same IP subnet as freeswitch) on the internal profile contains the >> >> external IP address which makes the phone send the response to the >> >> wrong IP. You can find attached a complete debug log with sip trace of >> >> a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). >> >> Freeswitch is 192.168.0.140. >> >> >> >> The profile contains the default params: >> >> >> >> >> >> >> >> >> >> >> >> This is what I get from sofia status: >> >> >> >> freeswitch at deb9> sofia status profile internal >> >> >> ================================================================================================= >> >> Name internal >> >> Domain Name N/A >> >> Auto-NAT false >> >> DBName sofia_reg_internal >> >> Pres Hosts 192.168.0.140,192.168.0.140 >> >> Dialplan XML >> >> Context public >> >> Challenge Realm auto_from >> >> RTP-IP 192.168.0.140 >> >> Ext-RTP-IP 93.86.XX.XX >> >> SIP-IP 192.168.0.140 >> >> Ext-SIP-IP 93.86.XX.XX >> >> URL sip:mod_sofia at 93.86.XX.XX:5060 >> >> BIND-URL >> >> sip:mod_sofia at 93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp >> >> WS-BIND-URL sip:mod_sofia at 192.168.0.140:5066;transport=ws >> >> WSS-BIND-URL sips:mod_sofia at 192.168.0.140 >> :7443;transport=wss >> >> HOLD-MUSIC local_stream://moh >> >> OUTBOUND-PROXY N/A >> >> CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 >> >> CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 >> >> TEL-EVENT 101 >> >> DTMF-MODE rfc2833 >> >> CNG 13 >> >> SESSION-TO 0 >> >> MAX-DIALOG 0 >> >> NOMEDIA false >> >> LATE-NEG true >> >> PROXY-MEDIA false >> >> ZRTP-PASSTHRU true >> >> AGGRESSIVENAT false >> >> CALLS-IN 0 >> >> FAILED-CALLS-IN 0 >> >> CALLS-OUT 0 >> >> FAILED-CALLS-OUT 0 >> >> REGISTRATIONS 2 >> >> >> >> >> >> Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip >> >> params from the config it works, but am I missing something obvious or >> >> is this a bug? >> >> >> >> >> >> -- >> >> Dušan Dragić >> >> >> _________________________________________________________________________ >> >> >> >> 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 >> >> >> >> -- >> Dušan Dragić >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dragic.dusan at gmail.com Wed Jun 12 09:19:02 2019 From: dragic.dusan at gmail.com (=?UTF-8?B?RHXFoWFuIERyYWdpxIc=?=) Date: Wed, 12 Jun 2019 11:19:02 +0200 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: Yes, of course, and I'm planning on doing it like that, but I was just surprised it didn't wok out of the box with the example config. I'll try to find a profile param or a var, but I haven't had any luck so far. On Wed, 12 Jun 2019 at 02:38, David Villasmil wrote: > > You can always use a different profile for internal calls, not assigning ext-sip-is or ext-rtp-ip > > On Tue, 11 Jun 2019 at 19:44, David Villasmil wrote: >> >> There is a param for exactly this. Take a look in the vars or Sofia params >> >> On Tue, 11 Jun 2019 at 19:12, Dušan Dragić wrote: >>> >>> local-network-acl was (by default) set to localnet.auto which >>> correctly detected my LAN subnet >>> >>> freeswitch at deb9> acl 192.168.0.66 localnet.auto >>> true >>> >>> so I didn't have high hopes for this working, but I tried it anyway. >>> Created a new acl called mylan with 192.168.0.0/24 allowed and used it >>> for local-network-acl, >>> >>> freeswitch at deb9> acl 192.168.0.66 mylan >>> true >>> >>> ... >>> 2019-06-11 23:24:40.764885 [DEBUG] sofia.c:4641 local-network-acl [mylan] >>> ... >>> >>> no change, it's same as before. >>> >>> On Tue, 11 Jun 2019 at 08:32, Alexey Sibyakin wrote: >>> > >>> > Hi, >>> > >>> > Long story short, try to change your "local-network-acl" to whatever will match phones from the local network. >>> > >>> > Regards, >>> > >>> > Alex >>> > >>> > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: https://www.signalwire.com >>> > >>> > >>> > >>> > On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić wrote: >>> >> >>> >> Hi, >>> >> >>> >> So, after not using freeswitch for a few years, I just did a clean >>> >> install of Freeswitch 1.8.6 on debian 9 using packages from the repo >>> >> and have a small issue maybe someone can help me with. >>> >> >>> >> I'm using the vanilla config here to keep it simple, also Freeswitch >>> >> is started with -nonat. >>> >> >>> >> The problem I encountered is the contact field for local calls (on the >>> >> same IP subnet as freeswitch) on the internal profile contains the >>> >> external IP address which makes the phone send the response to the >>> >> wrong IP. You can find attached a complete debug log with sip trace of >>> >> a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). >>> >> Freeswitch is 192.168.0.140. >>> >> >>> >> The profile contains the default params: >>> >> >>> >> >>> >> >>> >> >>> >> >>> >> This is what I get from sofia status: >>> >> >>> >> freeswitch at deb9> sofia status profile internal >>> >> ================================================================================================= >>> >> Name internal >>> >> Domain Name N/A >>> >> Auto-NAT false >>> >> DBName sofia_reg_internal >>> >> Pres Hosts 192.168.0.140,192.168.0.140 >>> >> Dialplan XML >>> >> Context public >>> >> Challenge Realm auto_from >>> >> RTP-IP 192.168.0.140 >>> >> Ext-RTP-IP 93.86.XX.XX >>> >> SIP-IP 192.168.0.140 >>> >> Ext-SIP-IP 93.86.XX.XX >>> >> URL sip:mod_sofia at 93.86.XX.XX:5060 >>> >> BIND-URL >>> >> sip:mod_sofia at 93.86.XX.XX:5060;maddr=192.168.0.140;transport=udp,tcp >>> >> WS-BIND-URL sip:mod_sofia at 192.168.0.140:5066;transport=ws >>> >> WSS-BIND-URL sips:mod_sofia at 192.168.0.140:7443;transport=wss >>> >> HOLD-MUSIC local_stream://moh >>> >> OUTBOUND-PROXY N/A >>> >> CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 >>> >> CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 >>> >> TEL-EVENT 101 >>> >> DTMF-MODE rfc2833 >>> >> CNG 13 >>> >> SESSION-TO 0 >>> >> MAX-DIALOG 0 >>> >> NOMEDIA false >>> >> LATE-NEG true >>> >> PROXY-MEDIA false >>> >> ZRTP-PASSTHRU true >>> >> AGGRESSIVENAT false >>> >> CALLS-IN 0 >>> >> FAILED-CALLS-IN 0 >>> >> CALLS-OUT 0 >>> >> FAILED-CALLS-OUT 0 >>> >> REGISTRATIONS 2 >>> >> >>> >> >>> >> Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip >>> >> params from the config it works, but am I missing something obvious or >>> >> is this a bug? >>> >> >>> >> >>> >> -- >>> >> Dušan Dragić >>> >> _________________________________________________________________________ >>> >> >>> >> 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 >>> >>> >>> >>> -- >>> Dušan Dragić >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Dušan Dragić From david.villasmil.work at gmail.com Wed Jun 12 10:25:23 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 12 Jun 2019 06:25:23 -0400 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: Removing -nonat? On Wed, 12 Jun 2019 at 05:42, Dušan Dragić wrote: > Yes, of course, and I'm planning on doing it like that, but I was just > surprised it didn't wok out of the box with the example config. > > I'll try to find a profile param or a var, but I haven't had any luck so > far. > > On Wed, 12 Jun 2019 at 02:38, David Villasmil > wrote: > > > > You can always use a different profile for internal calls, not assigning > ext-sip-is or ext-rtp-ip > > > > On Tue, 11 Jun 2019 at 19:44, David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> > >> There is a param for exactly this. Take a look in the vars or Sofia > params > >> > >> On Tue, 11 Jun 2019 at 19:12, Dušan Dragić > wrote: > >>> > >>> local-network-acl was (by default) set to localnet.auto which > >>> correctly detected my LAN subnet > >>> > >>> freeswitch at deb9> acl 192.168.0.66 localnet.auto > >>> true > >>> > >>> so I didn't have high hopes for this working, but I tried it anyway. > >>> Created a new acl called mylan with 192.168.0.0/24 allowed and used it > >>> for local-network-acl, > >>> > >>> freeswitch at deb9> acl 192.168.0.66 mylan > >>> true > >>> > >>> ... > >>> 2019-06-11 23:24:40.764885 [DEBUG] sofia.c:4641 local-network-acl > [mylan] > >>> ... > >>> > >>> no change, it's same as before. > >>> > >>> On Tue, 11 Jun 2019 at 08:32, Alexey Sibyakin > wrote: > >>> > > >>> > Hi, > >>> > > >>> > Long story short, try to change your "local-network-acl" to whatever > will match phones from the local network. > >>> > > >>> > Regards, > >>> > > >>> > Alex > >>> > > >>> > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd > Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: > https://www.signalwire.com > >>> > > >>> > > >>> > > >>> > On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić > wrote: > >>> >> > >>> >> Hi, > >>> >> > >>> >> So, after not using freeswitch for a few years, I just did a clean > >>> >> install of Freeswitch 1.8.6 on debian 9 using packages from the repo > >>> >> and have a small issue maybe someone can help me with. > >>> >> > >>> >> I'm using the vanilla config here to keep it simple, also Freeswitch > >>> >> is started with -nonat. > >>> >> > >>> >> The problem I encountered is the contact field for local calls (on > the > >>> >> same IP subnet as freeswitch) on the internal profile contains the > >>> >> external IP address which makes the phone send the response to the > >>> >> wrong IP. You can find attached a complete debug log with sip trace > of > >>> >> a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). > >>> >> Freeswitch is 192.168.0.140. > >>> >> > >>> >> The profile contains the default params: > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> > >>> >> This is what I get from sofia status: > >>> >> > >>> >> freeswitch at deb9> sofia status profile internal > >>> >> > ================================================================================================= > >>> >> Name internal > >>> >> Domain Name N/A > >>> >> Auto-NAT false > >>> >> DBName sofia_reg_internal > >>> >> Pres Hosts 192.168.0.140,192.168.0.140 > >>> >> Dialplan XML > >>> >> Context public > >>> >> Challenge Realm auto_from > >>> >> RTP-IP 192.168.0.140 > >>> >> Ext-RTP-IP 93.86.XX.XX > >>> >> SIP-IP 192.168.0.140 > >>> >> Ext-SIP-IP 93.86.XX.XX > >>> >> URL sip:mod_sofia at 93.86.XX.XX:5060 > >>> >> BIND-URL > >>> >> sip:mod_sofia at 93.86.XX.XX > :5060;maddr=192.168.0.140;transport=udp,tcp > >>> >> WS-BIND-URL sip:mod_sofia at 192.168.0.140 > :5066;transport=ws > >>> >> WSS-BIND-URL sips:mod_sofia at 192.168.0.140 > :7443;transport=wss > >>> >> HOLD-MUSIC local_stream://moh > >>> >> OUTBOUND-PROXY N/A > >>> >> CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 > >>> >> CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 > >>> >> TEL-EVENT 101 > >>> >> DTMF-MODE rfc2833 > >>> >> CNG 13 > >>> >> SESSION-TO 0 > >>> >> MAX-DIALOG 0 > >>> >> NOMEDIA false > >>> >> LATE-NEG true > >>> >> PROXY-MEDIA false > >>> >> ZRTP-PASSTHRU true > >>> >> AGGRESSIVENAT false > >>> >> CALLS-IN 0 > >>> >> FAILED-CALLS-IN 0 > >>> >> CALLS-OUT 0 > >>> >> FAILED-CALLS-OUT 0 > >>> >> REGISTRATIONS 2 > >>> >> > >>> >> > >>> >> Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip > >>> >> params from the config it works, but am I missing something obvious > or > >>> >> is this a bug? > >>> >> > >>> >> > >>> >> -- > >>> >> Dušan Dragić > >>> >> > _________________________________________________________________________ > >>> >> > >>> >> 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 > >>> > >>> > >>> > >>> -- > >>> Dušan Dragić > >>> > >>> > _________________________________________________________________________ > >>> > >>> The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > >>> Build your next product on our scalable cloud platform. > >>> > >>> Join our online community to chat in real time > https://signalwire.community > >>> > >>> Professional FreeSWITCH Services > >>> sales at freeswitch.com > >>> https://freeswitch.com > >>> > >>> Official FreeSWITCH Sites > >>> https://freeswitch.com/oss > >>> https://freeswitch.org/confluence > >>> https://cluecon.com > >>> > >>> FreeSWITCH-users mailing list > >>> FreeSWITCH-users at lists.freeswitch.org > >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > >>> UNSUBSCRIBE: > http://lists.freeswitch.org/mailman/options/freeswitch-users > >>> https://freeswitch.com > >> > >> -- > >> Regards, > >> > >> David Villasmil > >> email: david.villasmil.work at gmail.com > >> phone: +34669448337 > > > > -- > > Regards, > > > > David Villasmil > > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > > Build your next product on our scalable cloud platform. > > > > Join our online community to chat in real time > https://signalwire.community > > > > Professional FreeSWITCH Services > > sales at freeswitch.com > > https://freeswitch.com > > > > Official FreeSWITCH Sites > > https://freeswitch.com/oss > > https://freeswitch.org/confluence > > https://cluecon.com > > > > FreeSWITCH-users mailing list > > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > https://freeswitch.com > > > > -- > Dušan Dragić > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From devang.nathwani31589 at gmail.com Thu Jun 13 09:24:50 2019 From: devang.nathwani31589 at gmail.com (devang nathwani) Date: Thu, 13 Jun 2019 14:54:50 +0530 Subject: [Freeswitch-users] call forward, rtp issue Message-ID: Hello, Callee end(connected through private profile) playing IVR and after that the call forwards, at that time Freeswitch(private profile) getting reinvite from callee end but that invite not reaching to public profile and at caller end, leg a shows MoH in bridge. After that callee and caller end not connected through sip or rtp. Any help regarding what params should be used on private or on public facing profiles to avoid this? However if there is no reinvite from callee party, call works as it should, without issue. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dragic.dusan at gmail.com Thu Jun 13 09:27:54 2019 From: dragic.dusan at gmail.com (=?UTF-8?B?RHXFoWFuIERyYWdpxIc=?=) Date: Thu, 13 Jun 2019 11:27:54 +0200 Subject: [Freeswitch-users] sofia - wrong (external) IP address in contact for local calls In-Reply-To: References: Message-ID: Tried removing -nonat and it didn't make a difference. I'll look into the code and try to figure this out. On Wed, Jun 12, 2019, 13:09 David Villasmil wrote: > Removing -nonat? > > On Wed, 12 Jun 2019 at 05:42, Dušan Dragić wrote: > >> Yes, of course, and I'm planning on doing it like that, but I was just >> surprised it didn't wok out of the box with the example config. >> >> I'll try to find a profile param or a var, but I haven't had any luck so >> far. >> >> On Wed, 12 Jun 2019 at 02:38, David Villasmil >> wrote: >> > >> > You can always use a different profile for internal calls, not >> assigning ext-sip-is or ext-rtp-ip >> > >> > On Tue, 11 Jun 2019 at 19:44, David Villasmil < >> david.villasmil.work at gmail.com> wrote: >> >> >> >> There is a param for exactly this. Take a look in the vars or Sofia >> params >> >> >> >> On Tue, 11 Jun 2019 at 19:12, Dušan Dragić >> wrote: >> >>> >> >>> local-network-acl was (by default) set to localnet.auto which >> >>> correctly detected my LAN subnet >> >>> >> >>> freeswitch at deb9> acl 192.168.0.66 localnet.auto >> >>> true >> >>> >> >>> so I didn't have high hopes for this working, but I tried it anyway. >> >>> Created a new acl called mylan with 192.168.0.0/24 allowed and used >> it >> >>> for local-network-acl, >> >>> >> >>> freeswitch at deb9> acl 192.168.0.66 mylan >> >>> true >> >>> >> >>> ... >> >>> 2019-06-11 23:24:40.764885 [DEBUG] sofia.c:4641 local-network-acl >> [mylan] >> >>> ... >> >>> >> >>> no change, it's same as before. >> >>> >> >>> On Tue, 11 Jun 2019 at 08:32, Alexey Sibyakin >> wrote: >> >>> > >> >>> > Hi, >> >>> > >> >>> > Long story short, try to change your "local-network-acl" to >> whatever will match phones from the local network. >> >>> > >> >>> > Regards, >> >>> > >> >>> > Alex >> >>> > >> >>> > Alex Sibyakin | Support Engineer SignalWire | 228 Hamilton Ave 3rd >> Floor, Palo Alto, CA 94303 Email: alex at freeswitch.com Website: >> https://www.signalwire.com >> >>> > >> >>> > >> >>> > >> >>> > On Tue, Jun 11, 2019 at 8:16 AM Dušan Dragić < >> dragic.dusan at gmail.com> wrote: >> >>> >> >> >>> >> Hi, >> >>> >> >> >>> >> So, after not using freeswitch for a few years, I just did a clean >> >>> >> install of Freeswitch 1.8.6 on debian 9 using packages from the >> repo >> >>> >> and have a small issue maybe someone can help me with. >> >>> >> >> >>> >> I'm using the vanilla config here to keep it simple, also >> Freeswitch >> >>> >> is started with -nonat. >> >>> >> >> >>> >> The problem I encountered is the contact field for local calls (on >> the >> >>> >> same IP subnet as freeswitch) on the internal profile contains the >> >>> >> external IP address which makes the phone send the response to the >> >>> >> wrong IP. You can find attached a complete debug log with sip >> trace of >> >>> >> a call between ext 1007 (192.168.0.66) and ext 1008 (192.168.0.65). >> >>> >> Freeswitch is 192.168.0.140. >> >>> >> >> >>> >> The profile contains the default params: >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> >> >>> >> This is what I get from sofia status: >> >>> >> >> >>> >> freeswitch at deb9> sofia status profile internal >> >>> >> >> ================================================================================================= >> >>> >> Name internal >> >>> >> Domain Name N/A >> >>> >> Auto-NAT false >> >>> >> DBName sofia_reg_internal >> >>> >> Pres Hosts 192.168.0.140,192.168.0.140 >> >>> >> Dialplan XML >> >>> >> Context public >> >>> >> Challenge Realm auto_from >> >>> >> RTP-IP 192.168.0.140 >> >>> >> Ext-RTP-IP 93.86.XX.XX >> >>> >> SIP-IP 192.168.0.140 >> >>> >> Ext-SIP-IP 93.86.XX.XX >> >>> >> URL sip:mod_sofia at 93.86.XX.XX:5060 >> >>> >> BIND-URL >> >>> >> sip:mod_sofia at 93.86.XX.XX >> :5060;maddr=192.168.0.140;transport=udp,tcp >> >>> >> WS-BIND-URL sip:mod_sofia at 192.168.0.140 >> :5066;transport=ws >> >>> >> WSS-BIND-URL sips:mod_sofia at 192.168.0.140 >> :7443;transport=wss >> >>> >> HOLD-MUSIC local_stream://moh >> >>> >> OUTBOUND-PROXY N/A >> >>> >> CODECS IN OPUS,G722,PCMU,PCMA,H264,VP8 >> >>> >> CODECS OUT OPUS,G722,PCMU,PCMA,H264,VP8 >> >>> >> TEL-EVENT 101 >> >>> >> DTMF-MODE rfc2833 >> >>> >> CNG 13 >> >>> >> SESSION-TO 0 >> >>> >> MAX-DIALOG 0 >> >>> >> NOMEDIA false >> >>> >> LATE-NEG true >> >>> >> PROXY-MEDIA false >> >>> >> ZRTP-PASSTHRU true >> >>> >> AGGRESSIVENAT false >> >>> >> CALLS-IN 0 >> >>> >> FAILED-CALLS-IN 0 >> >>> >> CALLS-OUT 0 >> >>> >> FAILED-CALLS-OUT 0 >> >>> >> REGISTRATIONS 2 >> >>> >> >> >>> >> >> >>> >> Is this the correct behavior? If I remove ext-rtp-ip and ext-sip-ip >> >>> >> params from the config it works, but am I missing something >> obvious or >> >>> >> is this a bug? >> >>> >> >> >>> >> >> >>> >> -- >> >>> >> Dušan Dragić >> >>> >> >> _________________________________________________________________________ >> >>> >> >> >>> >> 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 >> >>> >> >>> >> >>> >> >>> -- >> >>> Dušan Dragić >> >>> >> >>> >> _________________________________________________________________________ >> >>> >> >>> The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> >>> Build your next product on our scalable cloud platform. >> >>> >> >>> Join our online community to chat in real time >> https://signalwire.community >> >>> >> >>> Professional FreeSWITCH Services >> >>> sales at freeswitch.com >> >>> https://freeswitch.com >> >>> >> >>> Official FreeSWITCH Sites >> >>> https://freeswitch.com/oss >> >>> https://freeswitch.org/confluence >> >>> https://cluecon.com >> >>> >> >>> FreeSWITCH-users mailing list >> >>> FreeSWITCH-users at lists.freeswitch.org >> >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> >>> UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> >>> https://freeswitch.com >> >> >> >> -- >> >> Regards, >> >> >> >> David Villasmil >> >> email: david.villasmil.work at gmail.com >> >> phone: +34669448337 >> > >> > -- >> > Regards, >> > >> > David Villasmil >> > email: david.villasmil.work at gmail.com >> > phone: +34669448337 >> > >> _________________________________________________________________________ >> > >> > The FreeSWITCH project is sponsored by SignalWire >> https://signalwire.com >> > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> > Build your next product on our scalable cloud platform. >> > >> > Join our online community to chat in real time >> https://signalwire.community >> > >> > Professional FreeSWITCH Services >> > sales at freeswitch.com >> > https://freeswitch.com >> > >> > Official FreeSWITCH Sites >> > https://freeswitch.com/oss >> > https://freeswitch.org/confluence >> > https://cluecon.com >> > >> > FreeSWITCH-users mailing list >> > FreeSWITCH-users at lists.freeswitch.org >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> > UNSUBSCRIBE: >> http://lists.freeswitch.org/mailman/options/freeswitch-users >> > https://freeswitch.com >> >> >> >> -- >> Dušan Dragić >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From anton.olofsson at briteback.com Thu Jun 13 06:34:03 2019 From: anton.olofsson at briteback.com (Anton Olofsson) Date: Thu, 13 Jun 2019 08:34:03 +0200 Subject: [Freeswitch-users] Send conference commands through Verto's RPC client without moderator privileges Message-ID: Is it possible to make users able to execute commands such as muting themselves through the RPC client in Verto without the user needing moderator privileges? I'm trying to do this in order for the user's mute status to be broadcast to all other users through the LiveArray (and not just having the user disable the streams locally). -------------- next part -------------- An HTML attachment was scrubbed... URL: From sowmyatv at gmail.com Thu Jun 13 08:01:36 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Thu, 13 Jun 2019 13:31:36 +0530 Subject: [Freeswitch-users] DTLS 1.2 support Message-ID: Hi, Can you please let me know when it is planned to add DTLS Ver 1.2 support in Freeswitch ? Thanks Sowmya -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Thu Jun 13 13:51:22 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Thu, 13 Jun 2019 13:51:22 +0000 Subject: [Freeswitch-users] Alternate Voicemail Outgoing Message Message-ID: Hi, Is there a way to control the outgoing message when directing a call to VM? An Exec wants his VM calls to go to his office manager but with a different outgoing message than her own VM. Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Thu Jun 13 13:53:22 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Thu, 13 Jun 2019 13:53:22 +0000 Subject: [Freeswitch-users] Mod XML Curl and IVR Message-ID: Is there a way to handle IVR's from MOD XML CURL? I have the directory and dialplan handle using my DB, but I don't see how to configure the IVR menus like this. Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmrienzo at gmail.com Thu Jun 13 14:32:18 2019 From: cmrienzo at gmail.com (Christopher Rienzo) Date: Thu, 13 Jun 2019 10:32:18 -0400 Subject: [Freeswitch-users] DTLS 1.2 support In-Reply-To: References: Message-ID: DTLS 1.2 support was fixed in the latest FS 1.8 release. This requires openssl >= 1.0.2. Chris On Thu, Jun 13, 2019 at 10:13 AM Sowmya Venkat wrote: > Hi, > Can you please let me know when it is planned to add DTLS Ver 1.2 > support in Freeswitch ? > > Thanks > Sowmya > _________________________________________________________________________ > > 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 Thu Jun 13 18:58:25 2019 From: brian at freeswitch.com (Brian West) Date: Thu, 13 Jun 2019 13:58:25 -0500 Subject: [Freeswitch-users] Mod XML Curl and IVR In-Reply-To: References: Message-ID: Yes serve the ivr.conf.xml from xml_curl /b On Thu, Jun 13, 2019 at 8:53 AM Sean Devoy wrote: > Is there a way to handle IVR’s from MOD XML CURL? > > > > I have the directory and dialplan handle using my DB, but I don’t see how > to configure the IVR menus like this. > > > > Thanks, > > Sean > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From mbgatherer at gmail.com Thu Jun 13 13:36:10 2019 From: mbgatherer at gmail.com (Maciej Bylica) Date: Thu, 13 Jun 2019 15:36:10 +0200 Subject: [Freeswitch-users] Privacy headers selection Message-ID: Hello I am running Freeswitch Version 1.6.20+git~20180507T185611Z~43a9feb7f8~64bit The goal i want to achieve is to send only PAI + Privacy headers to my traffic terminator. The problem i have to deal with is that in some circumstances PPI header is send instead. My configuration is: ... ... The issue is when incoming INVITE has RPID with screen=no. when FS send PPI out instead of PAI. - Remote-Party-ID: "49111223344" ;privacy=off;screen=no - Privacy: none - P-Preferred-Identity: What can i do to achieve my goal? Do i need to tune my configuration? It is said https://freeswitch.org/confluence/display/FREESWITCH/sip_cid_type that "you must set privacy flag, otherwise P-Preferred-Identity will be inserted instead of P-Asserted-Identity.", but as you see origination_privacy flag is set to screen. Thanks in advance Mac -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.foschian at gmail.com Thu Jun 13 13:44:22 2019 From: marco.foschian at gmail.com (Marco Foschian) Date: Thu, 13 Jun 2019 15:44:22 +0200 Subject: [Freeswitch-users] mod_fifo and esl application : answer a call with given uuid Message-ID: Hello, I'm writing a node.js / esl monitor for a fifo queue that show on a web page the incoming calls and their status (waiting, answered, ringing, etc). The page is used by some operators with a phone registered as member of the queue: they can see who is calling (the number is decoded in a caller-name by the application) before answering the call. Is there a way for the user of the webpage to choose the ringing call to pick-up instead of the oldest one ? When the operator click on the page there is an HTTP call to the node.js server where I have the esl connection and the info of each channel involved in the queue. I already tried some uuid_bridge commands, or "fifo myqueue out nowait" and uuid_setvar fifo_bridge_uuid combinations, but none works. It's possible to implement such a feature with mod_fifo ? There is any alternative ? Best regards, Marco Foschian -------------- next part -------------- An HTML attachment was scrubbed... URL: From tahir at ictinnovations.com Fri Jun 14 10:07:52 2019 From: tahir at ictinnovations.com (Tahir Almas) Date: Fri, 14 Jun 2019 06:07:52 -0400 Subject: [Freeswitch-users] ICTFax version 4.0 , Open source Fax over Ip software In-Reply-To: References: <00dc01d4c14e$7902e630$6b08b290$@gmail.com> Message-ID: Here you will find all required information please http://ictfax.org/content/ictfax-installation-guide http://ictfax.org/content/ictfax-admin-guide http://ictfax.org/content/ictfax-user-guide http://ictfax.org/fax-api-tutorial regards *Tahir Almas* Managing Partner ICT Innovations http://www.ictinnovations.com Leveraging open source in ICT On Sun, May 19, 2019 at 3:25 PM Moshe Rosenberg wrote: > Hi > > I can't find any information on how to set up email2fax can you send me a > link to information on this > > On Thu, May 16, 2019, 5:52 PM Tahir Almas > wrote: > >> Please to announce that both ICTFax http://www.ictfax.org and >> ICTDialer http://www.ictdialer.org developed over ICTCore, freeswitch >> and Angular framework are fully functional and can be installed >> according to given instructions at websites >> >> Regards >> *Tahir Almas* >> >> Managing Partner >> ICT Innovations >> http://www.ictinnovations.com >> Leveraging open source in ICT >> >> >> On Tue, Mar 26, 2019 at 2:42 AM Tahir Almas >> wrote: >> >>> sorry I missed this post, >>> >>> Thanks for positive feedback , >>> >>> We have fixed few issues reported at github also we have >>> updated our website too , Our development team using github therefore >>> we do recommend to use github to report issues as well as download >>> latest versions >>> Yes, ICTFax forum is not active and you can post bug / issues at >>> github and sales / support related issues with live support >>> professional ( GMT 4 to GMT 16 ) or create a support ticket at >>> http://service.ictinnovations.com >>> >>> Regards >>> *Tahir Almas* >>> >>> Managing Partner >>> ICT Innovations >>> http://www.ictinnovations.com >>> Leveraging open source in ICT >>> >>> >>> On Mon, Feb 18, 2019 at 6:01 PM NYCPhoneService < >>> nycphoneservice at gmail.com> wrote: >>> >>>> Tahir – thank you for great product! >>>> >>>> I installed it (although some rpms/deps were missing from ictfax >>>> package and had to do some tweaking) and was able to successfully send >>>> faxes. >>>> >>>> There are some issues exist in the new gui and I have a few questions: >>>> >>>> 1. Is there a user support forum or irc channel? The >>>> ictfax.com/forum is not active. >>>> >>>> 2. If we find some bugs, suggest improvements – should we post >>>> on the github? >>>> >>>> 3. Github version of ictfax is completely different from the rpm >>>> version on your site. Which one should we use? >>>> >>>> Thanks again for the great effort! >>>> >>>> Dennis >>>> >>>> >>>> >>>> *From:* FreeSWITCH-users [mailto: >>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Tahir >>>> Almas >>>> *Sent:* Saturday, February 9, 2019 5:20 AM >>>> *To:* FreeSWITCH Users Help >>>> *Cc:* freeswitch-biz at lists.freeswitch.org >>>> *Subject:* [Freeswitch-users] ICTFax version 4.0 , Open source Fax >>>> over Ip software >>>> >>>> >>>> >>>> We are pleased to announce that ICTFax 4.0 has been released >>>> developed over freeswitch , ictcore and angular framework. New features >>>> include ATA / Extension support and REST API >>>> >>>> >>>> >>>> http://ictfax.org/ictfax-4.0-released-with-ata-api-support >>>> >>>> >>>> >>>> Regards >>>> >>>> *Tahir Almas* >>>> >>>> Managing Partner >>>> ICT Innovations >>>> http://www.ictinnovations.com >>>> Leveraging open source in ICT >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> 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 sowmyatv at gmail.com Fri Jun 14 05:04:15 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Fri, 14 Jun 2019 10:34:15 +0530 Subject: [Freeswitch-users] DTLS 1.2 support In-Reply-To: References: Message-ID: Thanks Chris. -Sowmya On Thu, Jun 13, 2019 at 8:26 PM Christopher Rienzo wrote: > DTLS 1.2 support was fixed in the latest FS 1.8 release. This requires > openssl >= 1.0.2. > > Chris > > > On Thu, Jun 13, 2019 at 10:13 AM Sowmya Venkat wrote: > >> Hi, >> Can you please let me know when it is planned to add DTLS Ver 1.2 >> support in Freeswitch ? >> >> Thanks >> Sowmya >> _________________________________________________________________________ >> >> 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 sowmyatv at gmail.com Fri Jun 14 05:43:44 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Fri, 14 Jun 2019 11:13:44 +0530 Subject: [Freeswitch-users] SDP BUNDLE support Message-ID: Hi, I am trying to understand the expected behavior of latest FS when the client sends SDP offer with RTP BUNDLE and uses the exact same IP + port combination for both audio and video media components. Is BUNDLE ( https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-39) supported by FS? If not, can you pls let me know the when it is planned to add the support for the same? I am seeing the below errors in fs_cli. Can you pls confirm if the issue is because BUNDLE is not supported by FS? 2019-06-12 07:01:03.143578 [DEBUG] switch_core_media.c:3236 alternate payload received (received 96, expecting 111) 2019-06-12 07:01:03.143578 [WARNING] switch_core_media.c:3259 Could not change to payload type 96, ignoring... 2019-06-12 06:52:36.463638 [ERR] mod_opus.c:921 Decoder Error: buffer too small fs:4080 plc:false! 2019-06-12 06:52:36.463638 [ERR] switch_core_io.c:633 Codec RAW Signed Linear (16 bit) decoder error! [9] 2019-06-12 06:52:36.543581 [ERR] mod_opus.c:921 Decoder Error: corrupted stream fs:4080 plc:false! Here are the relevant SDP m and a lines from the client's offer: a=group:BUNDLE audio video .... m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126 a=mid:audio a=rtcp-mux a=rtpmap:111 opus/48000/2 a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host .... m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 125 108 a=mid:video a=rtcp-mux a=rtpmap:96 VP8/90000 a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host Thanks Sowmya -------------- next part -------------- An HTML attachment was scrubbed... URL: From lconroy at insensate.co.uk Fri Jun 14 15:46:59 2019 From: lconroy at insensate.co.uk (Lawrence Conroy) Date: Fri, 14 Jun 2019 16:46:59 +0100 Subject: [Freeswitch-users] SDP BUNDLE support In-Reply-To: References: Message-ID: <29412C8A-3F55-46ED-8713-838F6C91E3B1@insensate.co.uk> Hi There, Where do I begin? 1. I sure hope that fS doesn't implement an expired draft. What you mean is i.e.,the latest version is -54, *not* -39. (BTW, it's in the RFC editor queue, so it won't expire in 4 days time ;) 2. That latest version is held in the RFC editor queue (for 6 months so far) due to a snafu on the references it makes. From much experience, therein lies the problem ... It's unwise for developers to implement a draft (anyone can write one and get it published, on any topic, including "communications carried by little green men"). That means Devs typically wait until the RFC is published. Otherwise it's like trying to nail smoke to the wall; until it's an RFC, it can change (and all your code ends up targetting the wrong spec). In this case RFC publication is blocked until people get together with the rfc-editor to sort out the snafus. So ... it's not really down to the fS devs -- it's down to the IETF document shepherd, draft authors & the rfc-editor. The document shepherd in this case (Flemming Adreasen) may know when he thinks this will be fixed. see for the details. I did all that by checking the IETF web sites (not the fastest in the world, but they do work). It's easy. Any other stuff on the interwebs is "non-canon" :) best regards, Lawrence On 14 Jun 2019, at 06:43, Sowmya Venkat wrote: > Hi, > I am trying to understand the expected behavior of latest FS when the client sends SDP offer with RTP BUNDLE and uses the exact same IP + port combination for both audio and video media components. Is BUNDLE (https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-39) supported by FS? If not, can you pls let me know the when it is planned to add the support for the same? > > I am seeing the below errors in fs_cli. Can you pls confirm if the issue is because BUNDLE is not supported by FS? > > 2019-06-12 07:01:03.143578 [DEBUG] switch_core_media.c:3236 alternate payload received (received 96, expecting 111) > 2019-06-12 07:01:03.143578 [WARNING] switch_core_media.c:3259 Could not change to payload type 96, ignoring... > 2019-06-12 06:52:36.463638 [ERR] mod_opus.c:921 Decoder Error: buffer too small fs:4080 plc:false! > 2019-06-12 06:52:36.463638 [ERR] switch_core_io.c:633 Codec RAW Signed Linear (16 bit) decoder error! [9] > 2019-06-12 06:52:36.543581 [ERR] mod_opus.c:921 Decoder Error: corrupted stream fs:4080 plc:false! > > Here are the relevant SDP m and a lines from the client's offer: > > a=group:BUNDLE audio video > .... > m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126 > a=mid:audio > a=rtcp-mux > a=rtpmap:111 opus/48000/2 > a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host > .... > m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 125 108 > a=mid:video > a=rtcp-mux > a=rtpmap:96 VP8/90000 > a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host > > Thanks > Sowmya > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From caioebassis at hotmail.com Fri Jun 14 18:38:49 2019 From: caioebassis at hotmail.com (Caio Assis) Date: Fri, 14 Jun 2019 18:38:49 +0000 Subject: [Freeswitch-users] Mod_Python Message-ID: Good afternoon. I use mod_python to execute scripts, and I notice that when there's a relative high call traffic, freeswitch's performance decreases significantly. And I also noticed that, the more interaction the script has with freeswitch's session object (getVariable, execute, etc) the more the performance decreases. I kept the interaction to the minimum, as in 1 session.execute('multiset'). Any sugestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From sowmyatv at gmail.com Fri Jun 14 18:46:32 2019 From: sowmyatv at gmail.com (Sowmya Venkat) Date: Sat, 15 Jun 2019 00:16:32 +0530 Subject: [Freeswitch-users] SDP BUNDLE support In-Reply-To: <29412C8A-3F55-46ED-8713-838F6C91E3B1@insensate.co.uk> References: <29412C8A-3F55-46ED-8713-838F6C91E3B1@insensate.co.uk> Message-ID: Thanks Lawrence, yes you are right, the latest draft version is 54, by mistake I pasted the wrong link. I understand it's a draft, I would still like to clarify with FS if there is a plan in the roadmap to support BUNDLE, as I understand all browsers support it already and bundling is much more efficient.. Thanks Sowmya On Fri, Jun 14, 2019, 10:12 PM Lawrence Conroy wrote: > Hi There, > Where do I begin? > 1. I sure hope that fS doesn't implement an expired draft. > What you mean is < > https://datatracker.ietf.org/doc/draft-ietf-mmusic-sdp-bundle-negotiation/ > > > i.e.,the latest version is -54, *not* -39. > (BTW, it's in the RFC editor queue, so it won't expire in 4 days time ;) > > 2. That latest version is held in the RFC editor queue (for 6 months so > far) due to a snafu on the references it makes. > > From much experience, therein lies the problem ... > It's unwise for developers to implement a draft (anyone can write one and > get it published, on any topic, including "communications carried by little > green men"). > That means Devs typically wait until the RFC is published. > Otherwise it's like trying to nail smoke to the wall; until it's an RFC, > it can change (and all your code ends up targetting the wrong spec). > > In this case RFC publication is blocked until people get together with the > rfc-editor to sort out the snafus. > So ... it's not really down to the fS devs -- it's down to the IETF > document shepherd, draft authors & the rfc-editor. > > The document shepherd in this case (Flemming Adreasen) may know when he > thinks this will be fixed. > see for the details. > > I did all that by checking the IETF web sites (not the fastest in the > world, but they do work). It's easy. > Any other stuff on the interwebs is "non-canon" :) > > best regards, > Lawrence > > On 14 Jun 2019, at 06:43, Sowmya Venkat wrote: > > Hi, > > I am trying to understand the expected behavior of latest FS when the > client sends SDP offer with RTP BUNDLE and uses the exact same IP + port > combination for both audio and video media components. Is BUNDLE ( > https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-39) > supported by FS? If not, can you pls let me know the when it is planned to > add the support for the same? > > > > I am seeing the below errors in fs_cli. Can you pls confirm if the issue > is because BUNDLE is not supported by FS? > > > > 2019-06-12 07:01:03.143578 [DEBUG] switch_core_media.c:3236 alternate > payload received (received 96, expecting 111) > > 2019-06-12 07:01:03.143578 [WARNING] switch_core_media.c:3259 Could not > change to payload type 96, ignoring... > > 2019-06-12 06:52:36.463638 [ERR] mod_opus.c:921 Decoder Error: buffer > too small fs:4080 plc:false! > > 2019-06-12 06:52:36.463638 [ERR] switch_core_io.c:633 Codec RAW Signed > Linear (16 bit) decoder error! [9] > > 2019-06-12 06:52:36.543581 [ERR] mod_opus.c:921 Decoder Error: corrupted > stream fs:4080 plc:false! > > > > Here are the relevant SDP m and a lines from the client's offer: > > > > a=group:BUNDLE audio video > > .... > > m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126 > > a=mid:audio > > a=rtcp-mux > > a=rtpmap:111 opus/48000/2 > > a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host > > .... > > m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 125 108 > > a=mid:video > > a=rtcp-mux > > a=rtpmap:96 VP8/90000 > > a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host > > > > Thanks > > Sowmya > > > > > > _________________________________________________________________________ > > > > 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 paolo.visnoviz at vipcomputers.it Fri Jun 14 18:38:18 2019 From: paolo.visnoviz at vipcomputers.it (paolo.visnoviz at vipcomputers.it) Date: Fri, 14 Jun 2019 20:38:18 +0200 Subject: [Freeswitch-users] No outbounds calls Message-ID: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> Ok guys, I give up. So I must ask help. :-( In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? This is my gateway conf:                                                                                                                             This is my dialplan:                                 I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95 Thank you in advance. Best regards -- Distinti saluti /Paolo Visnoviz/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony.minessale at gmail.com Sat Jun 15 01:19:36 2019 From: anthony.minessale at gmail.com (Anthony Minessale) Date: Fri, 14 Jun 2019 19:19:36 -0600 Subject: [Freeswitch-users] SDP BUNDLE support In-Reply-To: References: <29412C8A-3F55-46ED-8713-838F6C91E3B1@insensate.co.uk> Message-ID: WebRTC is a moving target and even if FS does not support bundle it can support WebRTC in other ways but you need to be on 1.8. ClueCon is coming in August. https://cluecon.com there will be separate panels on both FreeSWITCH and WebRTC and there is a lot to learn there. On Fri, Jun 14, 2019 at 6:13 PM Sowmya Venkat wrote: > Thanks Lawrence, yes you are right, the latest draft version is 54, by > mistake I pasted the wrong link. > > I understand it's a draft, I would still like to clarify with FS if there > is a plan in the roadmap to support BUNDLE, as I understand all browsers > support it already and bundling is much more efficient.. > > Thanks > Sowmya > > On Fri, Jun 14, 2019, 10:12 PM Lawrence Conroy > wrote: > >> Hi There, >> Where do I begin? >> 1. I sure hope that fS doesn't implement an expired draft. >> What you mean is < >> https://datatracker.ietf.org/doc/draft-ietf-mmusic-sdp-bundle-negotiation/ >> > >> i.e.,the latest version is -54, *not* -39. >> (BTW, it's in the RFC editor queue, so it won't expire in 4 days time ;) >> >> 2. That latest version is held in the RFC editor queue (for 6 months so >> far) due to a snafu on the references it makes. >> >> From much experience, therein lies the problem ... >> It's unwise for developers to implement a draft (anyone can write one and >> get it published, on any topic, including "communications carried by little >> green men"). >> That means Devs typically wait until the RFC is published. >> Otherwise it's like trying to nail smoke to the wall; until it's an RFC, >> it can change (and all your code ends up targetting the wrong spec). >> >> In this case RFC publication is blocked until people get together with >> the rfc-editor to sort out the snafus. >> So ... it's not really down to the fS devs -- it's down to the IETF >> document shepherd, draft authors & the rfc-editor. >> >> The document shepherd in this case (Flemming Adreasen) may know when he >> thinks this will be fixed. >> see for the details. >> >> I did all that by checking the IETF web sites (not the fastest in the >> world, but they do work). It's easy. >> Any other stuff on the interwebs is "non-canon" :) >> >> best regards, >> Lawrence >> >> On 14 Jun 2019, at 06:43, Sowmya Venkat wrote: >> > Hi, >> > I am trying to understand the expected behavior of latest FS when the >> client sends SDP offer with RTP BUNDLE and uses the exact same IP + port >> combination for both audio and video media components. Is BUNDLE ( >> https://tools.ietf.org/html/draft-ietf-mmusic-sdp-bundle-negotiation-39) >> supported by FS? If not, can you pls let me know the when it is planned to >> add the support for the same? >> > >> > I am seeing the below errors in fs_cli. Can you pls confirm if the >> issue is because BUNDLE is not supported by FS? >> > >> > 2019-06-12 07:01:03.143578 [DEBUG] switch_core_media.c:3236 alternate >> payload received (received 96, expecting 111) >> > 2019-06-12 07:01:03.143578 [WARNING] switch_core_media.c:3259 Could >> not change to payload type 96, ignoring... >> > 2019-06-12 06:52:36.463638 [ERR] mod_opus.c:921 Decoder Error: buffer >> too small fs:4080 plc:false! >> > 2019-06-12 06:52:36.463638 [ERR] switch_core_io.c:633 Codec RAW Signed >> Linear (16 bit) decoder error! [9] >> > 2019-06-12 06:52:36.543581 [ERR] mod_opus.c:921 Decoder Error: >> corrupted stream fs:4080 plc:false! >> > >> > Here are the relevant SDP m and a lines from the client's offer: >> > >> > a=group:BUNDLE audio video >> > .... >> > m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126 >> > a=mid:audio >> > a=rtcp-mux >> > a=rtpmap:111 opus/48000/2 >> > a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host >> > .... >> > m=video 9 UDP/TLS/RTP/SAVPF 96 98 100 102 127 125 108 >> > a=mid:video >> > a=rtcp-mux >> > a=rtpmap:96 VP8/90000 >> > a=candidate:1 1 udp 2013266431 35.162.237.109 38673 typ host >> > >> > Thanks >> > Sowmya >> > >> > >> > >> _________________________________________________________________________ >> > >> > 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 -- Anthony Minessale II Founder, FreeSWITCH. http://freeswitch.com https://youtu.be/l_hOxzCt6X4 https://www.youtube.com/watch?v=oAxXgyx5jUw https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA -------------- next part -------------- An HTML attachment was scrubbed... URL: From brians at iptel.co Sat Jun 15 06:35:23 2019 From: brians at iptel.co (Brian :) Date: Sat, 15 Jun 2019 07:35:23 +0100 Subject: [Freeswitch-users] No outbounds calls In-Reply-To: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> References: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> Message-ID: Hi Paolo, SIP/2.0 404 Not Found Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe To: ;tag=ztesipsuDgPzVN*2-4-20481*giag.2 From: "?";tag=8g41KmQBgB0pm Call-ID: 9b55b86c-0972-1238-0aa8-080027755653 CSeq: 5714138 INVITE X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net" Content-Length: 0 Thanks & Regards On Sat, Jun 15, 2019 at 12:50 AM paolo.visnoviz at vipcomputers.it wrote: > > Ok guys, I give up. So I must ask help. :-( > > In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? > > This is my gateway conf: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > This is my dialplan: > > > > > > > > > > > > > > I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. > > This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95 > Thank you in advance. Best regards > > -- > Distinti saluti > Paolo Visnoviz > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com From paolo.visnoviz at vipcomputers.it Sat Jun 15 09:16:14 2019 From: paolo.visnoviz at vipcomputers.it (paolo.visnoviz at vipcomputers.it) Date: Sat, 15 Jun 2019 11:16:14 +0200 Subject: [Freeswitch-users] No outbounds calls In-Reply-To: References: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> Message-ID: <4b643168-f707-7698-3b2a-ea6c538c08f3@vipcomputers.it> Yes, and unallocated number too, but I can't figure out why... :-( Il 15/06/19 08:35, Brian : ha scritto: > Hi Paolo, > > SIP/2.0 404 Not Found > Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe > To: ;tag=ztesipsuDgPzVN*2-4-20481*giag.2 > From: "?";tag=8g41KmQBgB0pm > Call-ID: 9b55b86c-0972-1238-0aa8-080027755653 > CSeq: 5714138 INVITE > X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net" > Content-Length: 0 > > Thanks & Regards > > On Sat, Jun 15, 2019 at 12:50 AM paolo.visnoviz at vipcomputers.it > wrote: >> Ok guys, I give up. So I must ask help. :-( >> >> In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? >> >> This is my gateway conf: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> This is my dialplan: >> >> >> >> >> >> >> >> >> >> >> >> >> >> I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. >> >> This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95 >> Thank you in advance. Best regards >> >> -- >> Distinti saluti >> Paolo Visnoviz >> >> _________________________________________________________________________ >> >> 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 -- Distinti saluti /Paolo Visnoviz/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Mon Jun 17 14:54:58 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Mon, 17 Jun 2019 14:54:58 +0000 Subject: [Freeswitch-users] No outbounds calls In-Reply-To: <4b643168-f707-7698-3b2a-ea6c538c08f3@vipcomputers.it> References: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> <4b643168-f707-7698-3b2a-ea6c538c08f3@vipcomputers.it> Message-ID: Hi Paolo, I had a similar problem with one provider in the US. It may be unrelated, but I thought I would mention it. The issue was in the outgoing number. In my case the provider required “+” then 1 and my area code and number. Are you sure you have the outbound number syntax correct to meet their requirements? Regards, Sean From: FreeSWITCH-users On Behalf Of paolo.visnoviz at vipcomputers.it Sent: Saturday, June 15, 2019 5:16 AM To: freeswitch-users at lists.freeswitch.org Subject: Re: [Freeswitch-users] No outbounds calls Yes, and unallocated number too, but I can't figure out why... :-( Il 15/06/19 08:35, Brian : ha scritto: Hi Paolo, SIP/2.0 404 Not Found Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe To: ;tag=ztesipsuDgPzVN*2-4-20481*giag.2 From: "?";tag=8g41KmQBgB0pm Call-ID: 9b55b86c-0972-1238-0aa8-080027755653 CSeq: 5714138 INVITE X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net" Content-Length: 0 Thanks & Regards On Sat, Jun 15, 2019 at 12:50 AM paolo.visnoviz at vipcomputers.it wrote: Ok guys, I give up. So I must ask help. :-( In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? This is my gateway conf: /> This is my dialplan: I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95 Thank you in advance. Best regards -- Distinti saluti Paolo Visnoviz _________________________________________________________________________ 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 -- Distinti saluti Paolo Visnoviz -------------- next part -------------- An HTML attachment was scrubbed... URL: From mario_fs at mgtech.com Mon Jun 17 22:14:02 2019 From: mario_fs at mgtech.com (mario_fs) Date: Mon, 17 Jun 2019 15:14:02 -0700 Subject: [Freeswitch-users] Alternate Voicemail Outgoing Message In-Reply-To: References: Message-ID: <332FE479-E4DD-4E5F-9DDC-F4C7F830A524@mgtech.com> I do what you want but it may be more complex than you like, and someone may know a simpler way. In my case I am doing other things which is why it’s complex. To have VM for extension 111 ringing go to 100 when no answer and light the MWI on 100: The next thing is the message. I dynamically build messages in LUA for ringback and VM so when someone calls it’s customized to them, for instance: Hi Sean, hold on while our phones ring……. Sorry Sean… please leave a message. With LUA you can pretty much do anything, but figuring it out may take some time. Mario G > On Jun 13, 2019, at 6:51 AM, Sean Devoy wrote: > > Hi, > > Is there a way to control the outgoing message when directing a call to VM? > An Exec wants his VM calls to go to his office manager but with a different outgoing message than her own VM. > > Thanks, > Sean > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Mon Jun 17 23:14:46 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Mon, 17 Jun 2019 19:14:46 -0400 Subject: [Freeswitch-users] No outbounds calls In-Reply-To: References: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> <4b643168-f707-7698-3b2a-ea6c538c08f3@vipcomputers.it> Message-ID: Maybe stupid question, but You’re sending To: Number_to_call As the “to” user, did you remove the actual number or are sending that? On Mon, 17 Jun 2019 at 11:25, Sean Devoy wrote: > Hi Paolo, > > > > I had a similar problem with one provider in the US. It may be unrelated, > but I thought I would mention it. The issue was in the outgoing number. In > my case the provider required “+” then 1 and my area code and number. Are > you sure you have the outbound number syntax correct to meet their > requirements? > > > > Regards, > > Sean > > > > *From:* FreeSWITCH-users *On > Behalf Of *paolo.visnoviz at vipcomputers.it > *Sent:* Saturday, June 15, 2019 5:16 AM > *To:* freeswitch-users at lists.freeswitch.org > *Subject:* Re: [Freeswitch-users] No outbounds calls > > > > Yes, and unallocated number too, but I can't figure out why... :-( > > Il 15/06/19 08:35, Brian : ha scritto: > > Hi Paolo, > > > > SIP/2.0 404 Not Found > > Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe > > To: ;tag=ztesipsuDgPzVN*2-4-20481*giag.2 > > From: "?" ;tag=8g41KmQBgB0pm > > Call-ID: 9b55b86c-0972-1238-0aa8-080027755653 > > CSeq: 5714138 INVITE > > X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net" > > Content-Length: 0 > > > > Thanks & Regards > > > > On Sat, Jun 15, 2019 at 12:50 AM paolo.visnoviz at vipcomputers.it > > wrote: > > > > Ok guys, I give up. So I must ask help. :-( > > > > In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? > > > > This is my gateway conf: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > /> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > This is my dialplan: > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. > > > > This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95 > > Thank you in advance. Best regards > > > > -- > > Distinti saluti > > Paolo Visnoviz > > > > _________________________________________________________________________ > > > > 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 > > -- > Distinti saluti > *Paolo Visnoviz* > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.muaddib83 at gmail.com Tue Jun 18 07:05:15 2019 From: paul.muaddib83 at gmail.com (Paul Muaddib) Date: Tue, 18 Jun 2019 09:05:15 +0200 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> Message-ID: Hi, slowly it becomes annoying. Since a few days I need to reload the gateway profile twice a day to refresh the SRV records. I found out that my SIP Provider "Deutsche Telekom" updated their Documentation of their SIP Trunk. Perhaps interesting for others. Here is the updated PDF https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps The document also includes a section on DNS and SRV. Can someone tell me if I can make changes in the configuration based on the following information so that the SRV records are updated correctly? Best regards, ############ Domain and IP address recognition and resolution on the SIP trunk interface is performed via DNS servers. In the registration mode, the IP address, transport and port of the server are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating SIP Servers". According to RFC 3263, the SIP-PBX performs a NAPTR query for the domain names: - reg.sip-trunk.telekom.de. - stat.sip-trunk.telekom.de and receives the records with the protocols supported by the domain name (in case of a SIP trunk usage of the TLS via TCP and TCP protocol depending on whether the client uses TLS or not). Since the protocol has been determined, an IP address and port must also be determined, as described in RFC 3263, Chapter 5, and an SRV query is sent to the record returned by the NAPTR. Finally, the client performs an A-Record lookup on these records to obtain the IP addresses of the servers. The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). A lookup to these domain names is not possible. Therefore a lookup with some tools (e.g. nslookup under some Windows versions) does not lead to success, because these only make an A-Record query by default! The correct query order is therefore - NAPTR on reg.sip-trunk.telekom.de - SRV to a record of the NAPTR response - A to a record of the SRV response Success also leads: - SRV on reg.sip-trunk.telekom.de - A to a record of the SRV response Does not lead to success: - A on reg.sip-trunk.telekom.de Attention: With many PBXs, setting the port (e.g. to 5060) leads to a behavior in which only the A record is queried, which then fails. A NAPTR/SRV query is only performed if the port is set to "0". (The background is that the SRV query provides the port, i.e. the port cannot be set to a fixed value in advance). ############ Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < paul.muaddib83 at gmail.com>: > How can I check the TTL of the SRV register? > > Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana < > rbetancor at gmail.com>: > >> The only way you have is to tell FS to "reload" that provider gw profile. >> >> You should check the TTL of that provider SRV registers as may be a >> problem on their end, not updating them correctly. >> >> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib >> wrote: >> >>> Hi Lawrence, >>> >>> I think that you want to know how to tell your fS to re-lookup the SRV >>>> records for that gateway's domain while running, as the SRV records in that >>>> provider's DNS changes regularly. >>>> >>>> I can't help on the details of fS's DNS lookup code, but is that the >>>> actual problem you have and so the question you want to ask? >>>> >>> >>> Yes, that is my problem. >>> >>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < >>> lconroy at insensate.co.uk>: >>> >>>> Hi >>>> They may do; they may not. It's hard to tell when the question is that >>>> confusing. >>>> >>>> 1. IIUC, fS doesn't update local DNS records at all. >>>> (it could, but you'd need to write something external to do the DNS >>>> update). >>>> >>>> 2. you talk of not being able to call OUT. >>>> That's good, as it means there is no need to update your domain's DNS >>>> records. >>>> >>>> I assume that what you mean is that your provider changes its SRV >>>> records every couple of days. >>>> You have a gateway entry in your fS config for that provider. >>>> That gateway spec has a defined domain name for the server. >>>> I think that you want to know how to tell your fS to re-lookup the SRV >>>> records for that gateway's domain while running, as the SRV records in that >>>> provider's DNS changes regularly. >>>> >>>> I can't help on the details of fS's DNS lookup code, but is that the >>>> actual problem you have and so the question you want to ask? >>>> >>>> br, >>>> Lawrence >>>> >>>> >>>> On 6 May 2019, at 21:04, Paul Muaddib wrote: >>>> >>>> > Really nobody with the same problem? >>>> > >>>> > Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < >>>> paul.muaddib83 at gmail.com>: >>>> > Hi, >>>> > >>>> > how can I tell freeswitch to update the SRV records or is there a way >>>> to force the update without restarting. My provider keeps changing the >>>> entries after a few days and if I don't restart freeswitch I can not call >>>> out anymore (403) >>>> > >>>> > Best regards >>>> > >>>> _________________________________________________________________________ >>>> > >>>> > 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 sdevoy at bizfocused.com Tue Jun 18 10:29:30 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 18 Jun 2019 10:29:30 +0000 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault Message-ID: Hi, I have a brand new install of Debian 9 and FS 1.8 (dist) fs_cli -rRS results in error connecting freeswitch -c ends with: Adding API Function 'opus_debug' Segmentation fault (core dumped). This is my first attempt at FS on a nat'ed PC. I ran Debian install I ran FS dist install. I changed Password. NOTHING else. What did I miss? Thanks, sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Tue Jun 18 16:41:35 2019 From: brian at freeswitch.com (Brian West) Date: Tue, 18 Jun 2019 11:41:35 -0500 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: Did you compile or did you install from packages? libopenmpt MUST be installed from our debian repo. /b On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy wrote: > Hi, > > > > I have a brand new install of Debian 9 and FS 1.8 (dist) > > > > fs_cli -rRS results in error connecting > > > > freeswitch -c ends with: > > Adding API Function ‘opus_debug’ > > Segmentation fault (core dumped). > > > > This is my first attempt at FS on a nat’ed PC. > > I ran Debian install > > I ran FS dist install. > > I changed Password. > > NOTHING else. > > > > What did I miss? > > > > Thanks, > > sean > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Jun 18 18:40:41 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 18 Jun 2019 18:40:41 +0000 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: From the repo. apt-get update && apt-get install -y gnupg2 wget wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list # you may want to populate /etc/freeswitch at this point. # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed apt-get update && apt-get install -y freeswitch-meta-all Is there something else I can send for you to examine? I can start over easy enough if you think that all sounds right. Maybe I screwed it up trying to install chrome – unsuccessfully! From: FreeSWITCH-users On Behalf Of Brian West Sent: Tuesday, June 18, 2019 12:42 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault Did you compile or did you install from packages? libopenmpt MUST be installed from our debian repo. /b On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy > wrote: Hi, I have a brand new install of Debian 9 and FS 1.8 (dist) fs_cli -rRS results in error connecting freeswitch -c ends with: Adding API Function ‘opus_debug’ Segmentation fault (core dumped). This is my first attempt at FS on a nat’ed PC. I ran Debian install I ran FS dist install. I changed Password. NOTHING else. What did I miss? Thanks, sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Tue Jun 18 18:44:53 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Tue, 18 Jun 2019 20:44:53 +0200 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: You are expected to install in an empty, installed from scratch, base, debian 9 stretch 64 bit not at all in a desktop install I repeat, command line server basic install, debian 9 64 bit -giovanni On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy wrote: > From the repo. > > > > apt-get update && apt-get install -y gnupg2 wget > > wget -O - > https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc > | apt-key add - > > > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch > main" > /etc/apt/sources.list.d/freeswitch.list > > echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ > stretch main" >> /etc/apt/sources.list.d/freeswitch.list > > > > # you may want to populate /etc/freeswitch at this point. > > # if /etc/freeswitch does not exist, the standard vanilla configuration is > deployed > > apt-get update && apt-get install -y freeswitch-meta-all > > > > Is there something else I can send for you to examine? > > > > I can start over easy enough if you think that all sounds right. Maybe I > screwed it up trying to install chrome – unsuccessfully! > > > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Tuesday, June 18, 2019 12:42 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg > Fault > > > > Did you compile or did you install from packages? libopenmpt MUST be > installed from our debian repo. > > > > /b > > > > > > On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy wrote: > > Hi, > > > > I have a brand new install of Debian 9 and FS 1.8 (dist) > > > > fs_cli -rRS results in error connecting > > > > freeswitch -c ends with: > > Adding API Function ‘opus_debug’ > > Segmentation fault (core dumped). > > > > This is my first attempt at FS on a nat’ed PC. > > I ran Debian install > > I ran FS dist install. > > I changed Password. > > NOTHING else. > > > > What did I miss? > > > > Thanks, > > sean > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > -- > > > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Tue Jun 18 20:02:08 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Tue, 18 Jun 2019 20:02:08 +0000 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: Thank you. I thought to myself that the desktop was an interesting thing I had never seen! Sean From: FreeSWITCH-users On Behalf Of Giovanni Maruzzelli Sent: Tuesday, June 18, 2019 2:45 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault You are expected to install in an empty, installed from scratch, base, debian 9 stretch 64 bit not at all in a desktop install I repeat, command line server basic install, debian 9 64 bit -giovanni On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy > wrote: From the repo. apt-get update && apt-get install -y gnupg2 wget wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list # you may want to populate /etc/freeswitch at this point. # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed apt-get update && apt-get install -y freeswitch-meta-all Is there something else I can send for you to examine? I can start over easy enough if you think that all sounds right. Maybe I screwed it up trying to install chrome – unsuccessfully! From: FreeSWITCH-users > On Behalf Of Brian West Sent: Tuesday, June 18, 2019 12:42 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault Did you compile or did you install from packages? libopenmpt MUST be installed from our debian repo. /b On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy > wrote: Hi, I have a brand new install of Debian 9 and FS 1.8 (dist) fs_cli -rRS results in error connecting freeswitch -c ends with: Adding API Function ‘opus_debug’ Segmentation fault (core dumped). This is my first attempt at FS on a nat’ed PC. I ran Debian install I ran FS dist install. I changed Password. NOTHING else. What did I miss? Thanks, sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Wed Jun 19 01:25:03 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 18 Jun 2019 21:25:03 -0400 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: Interesting, I compiled and installed on a MacBook, worked just fine for testing. On Tue, 18 Jun 2019 at 16:20, Sean Devoy wrote: > Thank you. > > I thought to myself that the desktop was an interesting thing I had never > seen! > > > > Sean > > > > *From:* FreeSWITCH-users *On > Behalf Of *Giovanni Maruzzelli > *Sent:* Tuesday, June 18, 2019 2:45 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg > Fault > > > > You are expected to install in an empty, installed from scratch, base, > debian 9 stretch 64 bit > > > > not at all in a desktop install > > > > I repeat, command line server basic install, debian 9 64 bit > > > > -giovanni > > > > On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy wrote: > > From the repo. > > > > apt-get update && apt-get install -y gnupg2 wget > > wget -O - > https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc > | apt-key add - > > > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch > main" > /etc/apt/sources.list.d/freeswitch.list > > echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ > stretch main" >> /etc/apt/sources.list.d/freeswitch.list > > > > # you may want to populate /etc/freeswitch at this point. > > # if /etc/freeswitch does not exist, the standard vanilla configuration is > deployed > > apt-get update && apt-get install -y freeswitch-meta-all > > > > Is there something else I can send for you to examine? > > > > I can start over easy enough if you think that all sounds right. Maybe I > screwed it up trying to install chrome – unsuccessfully! > > > > > > *From:* FreeSWITCH-users *On > Behalf Of *Brian West > *Sent:* Tuesday, June 18, 2019 12:42 PM > *To:* FreeSWITCH Users Help > *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg > Fault > > > > Did you compile or did you install from packages? libopenmpt MUST be > installed from our debian repo. > > > > /b > > > > > > On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy wrote: > > Hi, > > > > I have a brand new install of Debian 9 and FS 1.8 (dist) > > > > fs_cli -rRS results in error connecting > > > > freeswitch -c ends with: > > Adding API Function ‘opus_debug’ > > Segmentation fault (core dumped). > > > > This is my first attempt at FS on a nat’ed PC. > > I ran Debian install > > I ran FS dist install. > > I changed Password. > > NOTHING else. > > > > What did I miss? > > > > Thanks, > > sean > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > > > -- > > > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > > > _________________________________________________________________________ > > > > > The FreeSWITCH project is sponsored by SignalWire *https://signalwire.com* > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > *https://signalwire.community* > > Professional FreeSWITCH Services > *sales at freeswitch.com* > *https://freeswitch.com* > > Official FreeSWITCH Sites > *https://freeswitch.com/oss* > *https://freeswitch.org/confluence* > *https://cluecon.com* > > FreeSWITCH-users mailing list > *FreeSWITCH-users at lists.freeswitch.org* > *http://lists.freeswitch.org/mailman/listinfo/freeswitch-users* > UNSUBSCRIBE:*http://lists.freeswitch.org/mailman/options/freeswitch-users* > *https://freeswitch.com* > > > > -- > > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From yehavi.bourvine at gmail.com Wed Jun 19 04:29:06 2019 From: yehavi.bourvine at gmail.com (Yehavi Bourvine) Date: Wed, 19 Jun 2019 07:29:06 +0300 Subject: [Freeswitch-users] How to install V8? Message-ID: Hello, I am still running version 1.6, since I have a lot of JavaScript scripts which I cal from Freeswitch using mod_v8. In order to upgrade to 1.8 I need to install the V8 library. I've tried on Centos-7 and Ubuntu-18, but the install package is either old or not existent. I've tried installing from google's source code, but the configure script does not find it. How do I install V8? Thanks, __Yehavi: -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.terrasson at gmail.com Wed Jun 19 14:23:23 2019 From: julien.terrasson at gmail.com (Julien Terrasson) Date: Wed, 19 Jun 2019 16:23:23 +0200 Subject: [Freeswitch-users] group_confirm_key=exec : freeswitch start exec on 183-session progress instead of 200-OK.. Message-ID: Good morning, I'm using freeswitch Version 1.8.2 -3-a98a958ac3 64bit, and i have an issue with the following scenario : I bridge an outgoing call through a PSTN gateway, using group_confirm_key = exec, mainly to ask the called party confirmation before establishing the call. To do this, i use group_confirm_key=exec to start a lua script that : * Plays a vocal prompt to warn the calleR party that he has to wait for his call to be accepted. * Plays a vocal prompt to request the calleD to press a DTMF to confirm that he accept the call. This worked fine until i start dialing numbers that make the PSTN gateway to return a 183-session progress before 200-OK. When this happen, the group_confirm script is triggered on reception of 183-session progress : before the calleD party actually has answered the call ! Maybe i'm missing something, but I don't get why group_confirm_key=exec start on 183-session progress, as per my understanding, confirmation message should be requested only when B party has answered (200-OK). Does somebody knows how group_confirm_key=exec is supposed to work ? Should this be reported as an issue ? Regards, J.Terrasson -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcel.haldemann at convercom.ch Wed Jun 19 15:47:28 2019 From: marcel.haldemann at convercom.ch (Marcel Haldemann) Date: Wed, 19 Jun 2019 15:47:28 +0000 Subject: [Freeswitch-users] group_confirm_key=exec : freeswitch start exec on 183-session progress instead of 200-OK.. In-Reply-To: References: Message-ID: You must set ignore_early_media=true Von: FreeSWITCH-users Im Auftrag von Julien Terrasson Gesendet: Mittwoch, 19. Juni 2019 16:23 An: freeswitch-users at lists.freeswitch.org Betreff: [Freeswitch-users] group_confirm_key=exec : freeswitch start exec on 183-session progress instead of 200-OK.. Good morning, I'm using freeswitch Version 1.8.2 -3-a98a958ac3 64bit, and i have an issue with the following scenario : I bridge an outgoing call through a PSTN gateway, using group_confirm_key = exec, mainly to ask the called party confirmation before establishing the call. To do this, i use group_confirm_key=exec to start a lua script that : * Plays a vocal prompt to warn the calleR party that he has to wait for his call to be accepted. * Plays a vocal prompt to request the calleD to press a DTMF to confirm that he accept the call. This worked fine until i start dialing numbers that make the PSTN gateway to return a 183-session progress before 200-OK. When this happen, the group_confirm script is triggered on reception of 183-session progress : before the calleD party actually has answered the call ! Maybe i'm missing something, but I don't get why group_confirm_key=exec start on 183-session progress, as per my understanding, confirmation message should be requested only when B party has answered (200-OK). Does somebody knows how group_confirm_key=exec is supposed to work ? Should this be reported as an issue ? Regards, J.Terrasson -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at freeswitch.com Wed Jun 19 15:55:56 2019 From: brian at freeswitch.com (Brian West) Date: Wed, 19 Jun 2019 10:55:56 -0500 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: That's not the same thing at all. On Tue, Jun 18, 2019 at 8:25 PM David Villasmil < david.villasmil.work at gmail.com> wrote: > Interesting, I compiled and installed on a MacBook, worked just fine for > testing. > > On Tue, 18 Jun 2019 at 16:20, Sean Devoy wrote: > >> Thank you. >> >> I thought to myself that the desktop was an interesting thing I had never >> seen! >> >> >> >> Sean >> >> >> >> *From:* FreeSWITCH-users *On >> Behalf Of *Giovanni Maruzzelli >> *Sent:* Tuesday, June 18, 2019 2:45 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg >> Fault >> >> >> >> You are expected to install in an empty, installed from scratch, base, >> debian 9 stretch 64 bit >> >> >> >> not at all in a desktop install >> >> >> >> I repeat, command line server basic install, debian 9 64 bit >> >> >> >> -giovanni >> >> >> >> On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy wrote: >> >> From the repo. >> >> >> >> apt-get update && apt-get install -y gnupg2 wget >> >> wget -O - >> https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc >> | apt-key add - >> >> >> >> echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch >> main" > /etc/apt/sources.list.d/freeswitch.list >> >> echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ >> stretch main" >> /etc/apt/sources.list.d/freeswitch.list >> >> >> >> # you may want to populate /etc/freeswitch at this point. >> >> # if /etc/freeswitch does not exist, the standard vanilla configuration >> is deployed >> >> apt-get update && apt-get install -y freeswitch-meta-all >> >> >> >> Is there something else I can send for you to examine? >> >> >> >> I can start over easy enough if you think that all sounds right. Maybe I >> screwed it up trying to install chrome – unsuccessfully! >> >> >> >> >> >> *From:* FreeSWITCH-users *On >> Behalf Of *Brian West >> *Sent:* Tuesday, June 18, 2019 12:42 PM >> *To:* FreeSWITCH Users Help >> *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg >> Fault >> >> >> >> Did you compile or did you install from packages? libopenmpt MUST be >> installed from our debian repo. >> >> >> >> /b >> >> >> >> >> >> On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy wrote: >> >> Hi, >> >> >> >> I have a brand new install of Debian 9 and FS 1.8 (dist) >> >> >> >> fs_cli -rRS results in error connecting >> >> >> >> freeswitch -c ends with: >> >> Adding API Function ‘opus_debug’ >> >> Segmentation fault (core dumped). >> >> >> >> This is my first attempt at FS on a nat’ed PC. >> >> I ran Debian install >> >> I ran FS dist install. >> >> I changed Password. >> >> NOTHING else. >> >> >> >> What did I miss? >> >> >> >> Thanks, >> >> sean >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com >> >> >> >> >> -- >> >> >> >> Brian West | Co-founder and Developer >> >> Need Commercial support? email sales at freeswitch.com >> >> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >> >> >> Email: brian at freeswitch.com >> >> Mobile: 918-424-9378 >> >> Website: https://www.FreeSWITCH.com >> >> >> >> _________________________________________________________________________ >> >> >> >> >> The FreeSWITCH project is sponsored by SignalWire >> *https://signalwire.com* >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> *https://signalwire.community* >> >> Professional FreeSWITCH Services >> *sales at freeswitch.com* >> *https://freeswitch.com* >> >> Official FreeSWITCH Sites >> *https://freeswitch.com/oss* >> *https://freeswitch.org/confluence* >> *https://cluecon.com* >> >> FreeSWITCH-users mailing list >> *FreeSWITCH-users at lists.freeswitch.org* >> *http://lists.freeswitch.org/mailman/listinfo/freeswitch-users* >> UNSUBSCRIBE: >> *http://lists.freeswitch.org/mailman/options/freeswitch-users* >> *https://freeswitch.com* >> >> >> >> -- >> >> Sincerely, >> >> Giovanni Maruzzelli >> OpenTelecom.IT >> cell: +39 347 266 56 18 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Wed Jun 19 17:25:26 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Wed, 19 Jun 2019 13:25:26 -0400 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: I understand, just assumed it’d be harder on Mac than on a desktop Debian. On Wed, 19 Jun 2019 at 12:33, Brian West wrote: > That's not the same thing at all. > > On Tue, Jun 18, 2019 at 8:25 PM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> Interesting, I compiled and installed on a MacBook, worked just fine for >> testing. >> >> On Tue, 18 Jun 2019 at 16:20, Sean Devoy wrote: >> >>> Thank you. >>> >>> I thought to myself that the desktop was an interesting thing I had >>> never seen! >>> >>> >>> >>> Sean >>> >>> >>> >>> *From:* FreeSWITCH-users >>> *On Behalf Of *Giovanni Maruzzelli >>> *Sent:* Tuesday, June 18, 2019 2:45 PM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg >>> Fault >>> >>> >>> >>> You are expected to install in an empty, installed from scratch, base, >>> debian 9 stretch 64 bit >>> >>> >>> >>> not at all in a desktop install >>> >>> >>> >>> I repeat, command line server basic install, debian 9 64 bit >>> >>> >>> >>> -giovanni >>> >>> >>> >>> On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy >>> wrote: >>> >>> From the repo. >>> >>> >>> >>> apt-get update && apt-get install -y gnupg2 wget >>> >>> wget -O - >>> https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc >>> | apt-key add - >>> >>> >>> >>> echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch >>> main" > /etc/apt/sources.list.d/freeswitch.list >>> >>> echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ >>> stretch main" >> /etc/apt/sources.list.d/freeswitch.list >>> >>> >>> >>> # you may want to populate /etc/freeswitch at this point. >>> >>> # if /etc/freeswitch does not exist, the standard vanilla configuration >>> is deployed >>> >>> apt-get update && apt-get install -y freeswitch-meta-all >>> >>> >>> >>> Is there something else I can send for you to examine? >>> >>> >>> >>> I can start over easy enough if you think that all sounds right. Maybe >>> I screwed it up trying to install chrome – unsuccessfully! >>> >>> >>> >>> >>> >>> *From:* FreeSWITCH-users >>> *On Behalf Of *Brian West >>> *Sent:* Tuesday, June 18, 2019 12:42 PM >>> *To:* FreeSWITCH Users Help >>> *Subject:* Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg >>> Fault >>> >>> >>> >>> Did you compile or did you install from packages? libopenmpt MUST be >>> installed from our debian repo. >>> >>> >>> >>> /b >>> >>> >>> >>> >>> >>> On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy >>> wrote: >>> >>> Hi, >>> >>> >>> >>> I have a brand new install of Debian 9 and FS 1.8 (dist) >>> >>> >>> >>> fs_cli -rRS results in error connecting >>> >>> >>> >>> freeswitch -c ends with: >>> >>> Adding API Function ‘opus_debug’ >>> >>> Segmentation fault (core dumped). >>> >>> >>> >>> This is my first attempt at FS on a nat’ed PC. >>> >>> I ran Debian install >>> >>> I ran FS dist install. >>> >>> I changed Password. >>> >>> NOTHING else. >>> >>> >>> >>> What did I miss? >>> >>> >>> >>> Thanks, >>> >>> sean >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >>> >>> >>> >>> -- >>> >>> >>> >>> Brian West | Co-founder and Developer >>> >>> Need Commercial support? email sales at freeswitch.com >>> >>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 >>> >>> >>> Email: brian at freeswitch.com >>> >>> Mobile: 918-424-9378 >>> >>> Website: https://www.FreeSWITCH.com >>> >>> >>> >>> _________________________________________________________________________ >>> >>> >>> >>> >>> The FreeSWITCH project is sponsored by SignalWire >>> *https://signalwire.com* >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> *https://signalwire.community* >>> >>> Professional FreeSWITCH Services >>> *sales at freeswitch.com* >>> *https://freeswitch.com* >>> >>> Official FreeSWITCH Sites >>> *https://freeswitch.com/oss* >>> *https://freeswitch.org/confluence* >>> *https://cluecon.com* >>> >>> FreeSWITCH-users mailing list >>> *FreeSWITCH-users at lists.freeswitch.org* >>> *http://lists.freeswitch.org/mailman/listinfo/freeswitch-users* >>> UNSUBSCRIBE: >>> *http://lists.freeswitch.org/mailman/options/freeswitch-users* >>> *https://freeswitch.com* >>> >>> >>> >>> -- >>> >>> Sincerely, >>> >>> Giovanni Maruzzelli >>> OpenTelecom.IT >>> cell: +39 347 266 56 18 >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >>> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >>> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > -- > > Brian West | Co-founder and Developer > > Need Commercial support? email sales at freeswitch.com > > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > > > Email: brian at freeswitch.com > > Mobile: 918-424-9378 > > Website: https://www.FreeSWITCH.com > > [image: https://www.facebook.com/signalwireinc?src=email] > [image: > https://twitter.com/freeswitch] > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Wed Jun 19 19:11:32 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 19 Jun 2019 19:11:32 +0000 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: Just to confirm, that was absolutely the problem. Thanks. From: FreeSWITCH-users On Behalf Of Brian West Sent: Wednesday, June 19, 2019 11:56 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault That's not the same thing at all. On Tue, Jun 18, 2019 at 8:25 PM David Villasmil > wrote: Interesting, I compiled and installed on a MacBook, worked just fine for testing. On Tue, 18 Jun 2019 at 16:20, Sean Devoy > wrote: Thank you. I thought to myself that the desktop was an interesting thing I had never seen! Sean From: FreeSWITCH-users > On Behalf Of Giovanni Maruzzelli Sent: Tuesday, June 18, 2019 2:45 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault You are expected to install in an empty, installed from scratch, base, debian 9 stretch 64 bit not at all in a desktop install I repeat, command line server basic install, debian 9 64 bit -giovanni On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy > wrote: From the repo. apt-get update && apt-get install -y gnupg2 wget wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list # you may want to populate /etc/freeswitch at this point. # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed apt-get update && apt-get install -y freeswitch-meta-all Is there something else I can send for you to examine? I can start over easy enough if you think that all sounds right. Maybe I screwed it up trying to install chrome – unsuccessfully! From: FreeSWITCH-users > On Behalf Of Brian West Sent: Tuesday, June 18, 2019 12:42 PM To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault Did you compile or did you install from packages? libopenmpt MUST be installed from our debian repo. /b On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy > wrote: Hi, I have a brand new install of Debian 9 and FS 1.8 (dist) fs_cli -rRS results in error connecting freeswitch -c ends with: Adding API Function ‘opus_debug’ Segmentation fault (core dumped). This is my first attempt at FS on a nat’ed PC. I ran Debian install I ran FS dist install. I changed Password. NOTHING else. What did I miss? Thanks, sean _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 _________________________________________________________________________ The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform. Join our online community to chat in real time https://signalwire.community Professional FreeSWITCH Services sales at freeswitch.com https://freeswitch.com Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users at lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [https://www.facebook.com/signalwireinc?src=email][https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmaruzz at gmail.com Wed Jun 19 19:30:36 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Wed, 19 Jun 2019 21:30:36 +0200 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: On Wed, Jun 19, 2019 at 9:12 PM Sean Devoy wrote: > Just to confirm, that was absolutely the problem. > > Thanks. > You welcome -giovanni -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dujinfang at gmail.com Thu Jun 20 01:59:21 2019 From: dujinfang at gmail.com (Seven Du) Date: Thu, 20 Jun 2019 09:59:21 +0800 Subject: [Freeswitch-users] Send conference commands through Verto's RPC client without moderator privileges In-Reply-To: References: Message-ID: We are working on a patch to do this. On Thu, Jun 13, 2019 at 9:52 PM Anton Olofsson wrote: > Is it possible to make users able to execute commands such as muting > themselves through the RPC client in Verto without the user needing > moderator privileges? I'm trying to do this in order for the user's mute > status to be broadcast to all other users through the LiveArray (and not > just having the user disable the streams locally). > _________________________________________________________________________ > > 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 -- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn -------------- next part -------------- An HTML attachment was scrubbed... URL: From josen.figueroa at unixmexico.org Wed Jun 19 21:17:58 2019 From: josen.figueroa at unixmexico.org (Jose Figueroa) Date: Wed, 19 Jun 2019 16:17:58 -0500 Subject: [Freeswitch-users] Calls between extensions with no audio on NAT Message-ID: Hello, I'm having a problem with a NAT scenario, I have some pcs (192.168.10.102 and 192.168.10.103) using verto behind a NAT calling to a LAN FS (192.168.10.143). I added a gateway and the callout is working good enough, but the calls between extensions I am not getting audio, I just get the "No audio stun for a long time!". I set in many ways the following: I tried auto, auto-nat, $${external_rtp_ip} and $${external_sip_ip} respectively, and that one I just added with no luck. What can be the problem with this? Thanks Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: From paolo.visnoviz at vipcomputers.it Tue Jun 18 23:36:56 2019 From: paolo.visnoviz at vipcomputers.it (Paolo Visnoviz - VI.P. Computers) Date: Wed, 19 Jun 2019 01:36:56 +0200 Subject: [Freeswitch-users] No outbounds calls In-Reply-To: References: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> <4b643168-f707-7698-3b2a-ea6c538c08f3@vipcomputers.it> Message-ID: Sean, yes I tried with every kind of number form: with/without + , 00 and so on. Same result. David, sorry but I can't understand your question. "number_to_call" is the number that I try to call, here removed for obvious privacy reasons. In the coming days, as soon as I can, I will add more details. The problems steams because in Italy, until recently, the majority of providers give us an adsl or fttc or ftth with a preconfigured router, usually with two pstn ports. We cant' use (without some tricks) others router than one that our providers give us. And was very difficult to use directly the voip. Now, like in other european country, the law require to our provider to release the connection parameters, voip included. But often they are very criptical in doing so. And they don't give us no clarification, not even if you call paid assistance. And this is the parameters released to me: PPPoE     Fisso USER-VLAN     8/35 in 802.1Q user ID PPP (Internet)     username ppp Password PPP (Internet) pwd ppp Username SIP (Voce)     mynumber at ims.tiscali.net Password SIP (Voce)     my_sip_pwd URI 1     mynumber outbound proxy/proxy server • srv: srvmi.p.ims.tiscali.net • fqdn: core2.p.ims.tiscali.net • IP: 94.32.130.112 • Protocollo UDP: porta 5060 Protocollo Voip     SIP RFC 3261 Dominio/Registrar     ims.tiscali.net Codec list     g711alaw; g729 DTMF     rfc2833 payload type 97 symmetric implementation Fax     g 711 pass-through (T38 disabled) Session refresh     Update method PRACK     Supported 100rel MWI     notify unsolicited ( subscribe disable) CLIP     PAI-FROM Well, with this values I tried in first to configure my existing Asterisk, without success. This because our telco provider give us a trunk that require 100rel and TEL RFC 3966 (not only RFC 3261, but they omit to tell). Now Asterisk 16 with PJSIP support 100Rel, but not RFC3966 (so it is impossible to receive any call: protocol error), and they don't actually works to implement it. Asterisk chan_sip, instead, support RFC3966, but not 100Rel and chan_sip is not more actively developed on by Digium or Sangoma. So I search for an alternative. I found Freeswitch, and I was impressed for its flexibility and power. If I will find an italian language for Ivr, i will leave Asterisk. With freeswitch I was able to register my trunk and receive calls, but I can't made any outbound calls. I analyzed with Wireshark the sip traffic of provider router given us and, when as soon as I can, I will post it. There are some difference with my freeswitch outbound calls configuration, of course. But, maybe someone could ask, why don't simply use their router provided to us? Because I need an 8 ip pool too. Well, where is the problem? No problems at all, in fact my provider gives them to me. But, and here the things becomes ridiculous, you can't configure them because their router is armored, and you can access only to a limited sets of functions. If you call assistance and ask them to set the router, they treat you like an idiot and recommended to ask for system admin. Idiot, I'm a system admin - i was thinking during assistance call - but if I can't change the router modality from natted to routed or, better, routed+natted (and many other things), I couldn't do that even if I were Richard Stallman. Anyway I also need a native voip connection, not only two pstn archaic ports. Sorry if I was so verbose, but it was only to give you a picture of the situation. In the next days I will post the sip traces of outbound calls coming from router provider and freeswitch. Maybe someone will find were I'm wrong. For the moment, thank you all! Il 18/06/19 01:14, David Villasmil ha scritto: > Maybe stupid question, but You’re sending > > To: > > > Number_to_call > > As the “to” user, did you remove the actual number or are sending that? > > On Mon, 17 Jun 2019 at 11:25, Sean Devoy > wrote: > > Hi Paolo, > > I had a similar problem with one provider in the US. It may be > unrelated, but I thought I would mention it. The issue was in the > outgoing number.  In my case the provider required “+” then 1 and > my area code and number.  Are you sure you have the outbound > number syntax correct to meet their requirements? > > Regards, > > Sean > > *From:*FreeSWITCH-users > > *On Behalf > Of *paolo.visnoviz at vipcomputers.it > > *Sent:* Saturday, June 15, 2019 5:16 AM > *To:* freeswitch-users at lists.freeswitch.org > > *Subject:* Re: [Freeswitch-users] No outbounds calls > > Yes, and unallocated number too, but I can't figure out why... :-( > > Il 15/06/19 08:35, Brian : ha scritto: > > Hi Paolo, > > > >   SIP/2.0 404 Not Found > >    Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe > >    To: ;tag=ztesipsuDgPzVN*2-4-20481*giag.2 > >    From: "?" ;tag=8g41KmQBgB0pm > >    Call-ID: 9b55b86c-0972-1238-0aa8-080027755653 > >    CSeq: 5714138 INVITE > >    X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net " > >    Content-Length: 0 > > > > Thanks & Regards > > > > On Sat, Jun 15, 2019 at 12:50 AMpaolo.visnoviz at vipcomputers.it > > wrote: > > > > Ok guys, I give up. So I must ask help. :-( > > > > In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? > > > > This is my gateway conf: > > > > > >   > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >   > >   > >     /> > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >     > >   > > > > This is my dialplan: > > > > > > > >   > >     > >      > >      > >      > >      > >     > >   > > > > > > I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. > > > > This is my pastebin of my external call attempt:https://pastebin.freeswitch.org/view/05befe95 > > Thank you in advance. Best regards > > > > -- > > Distinti saluti > > Paolo Visnoviz > > > > _________________________________________________________________________ > > > > The FreeSWITCH project is sponsored by SignalWirehttps://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 timehttps://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 SignalWirehttps://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 timehttps://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 > > -- > Distinti saluti > /Paolo Visnoviz/ > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire > https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and > PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > > phone: +34669448337 > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Fri Jun 21 16:59:08 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Fri, 21 Jun 2019 12:59:08 -0400 Subject: [Freeswitch-users] No outbounds calls In-Reply-To: References: <16198988-2455-70d1-5061-8210d5316f39@vipcomputers.it> <4b643168-f707-7698-3b2a-ea6c538c08f3@vipcomputers.it> Message-ID: Can you provide a trace? Are you sending the PAI header? On Fri, 21 Jun 2019 at 10:47, Paolo Visnoviz - VI.P. Computers < paolo.visnoviz at vipcomputers.it> wrote: > Sean, yes I tried with every kind of number form: with/without + , 00 and > so on. Same result. > > David, sorry but I can't understand your question. "number_to_call" is the > number that I try to call, here removed for obvious privacy reasons. > > In the coming days, as soon as I can, I will add more details. The > problems steams because in Italy, until recently, the majority of providers > give us an adsl or fttc or ftth with a preconfigured router, usually with > two pstn ports. We cant' use (without some tricks) others router than one > that our providers give us. And was very difficult to use directly the > voip. Now, like in other european country, the law require to our provider > to release the connection parameters, voip included. But often they are > very criptical in doing so. And they don't give us no clarification, not > even if you call paid assistance. > > And this is the parameters released to me: > > PPPoE Fisso > USER-VLAN 8/35 in 802.1Q > user ID PPP (Internet) username ppp > Password PPP (Internet) pwd ppp > Username SIP (Voce) mynumber at ims.tiscali.net > Password SIP (Voce) my_sip_pwd > URI 1 mynumber > outbound proxy/proxy server > > • srv: srvmi.p.ims.tiscali.net > • fqdn: core2.p.ims.tiscali.net > • IP: 94.32.130.112 > • Protocollo UDP: porta 5060 > > Protocollo Voip SIP RFC 3261 > Dominio/Registrar ims.tiscali.net > Codec list g711alaw; g729 > DTMF rfc2833 payload type 97 symmetric implementation > Fax g 711 pass-through (T38 disabled) > Session refresh Update method > PRACK Supported 100rel > MWI notify unsolicited ( subscribe disable) > CLIP PAI-FROM > > Well, with this values I tried in first to configure my existing Asterisk, > without success. This because our telco provider give us a trunk that > require 100rel and TEL RFC 3966 (not only RFC 3261, but they omit to tell). > Now Asterisk 16 with PJSIP support 100Rel, but not RFC3966 (so it is > impossible to receive any call: protocol error), and they don't actually > works to implement it. Asterisk chan_sip, instead, support RFC3966, but not > 100Rel and chan_sip is not more actively developed on by Digium or Sangoma. > > So I search for an alternative. I found Freeswitch, and I was impressed > for its flexibility and power. If I will find an italian language for Ivr, > i will leave Asterisk. > > With freeswitch I was able to register my trunk and receive calls, but I > can't made any outbound calls. > > I analyzed with Wireshark the sip traffic of provider router given us and, > when as soon as I can, I will post it. There are some difference with my > freeswitch outbound calls configuration, of course. But, maybe someone > could ask, why don't simply use their router provided to us? Because I need > an 8 ip pool too. Well, where is the problem? No problems at all, in fact > my provider gives them to me. But, and here the things becomes ridiculous, > you can't configure them because their router is armored, and you can > access only to a limited sets of functions. If you call assistance and ask > them to set the router, they treat you like an idiot and recommended to ask > for system admin. Idiot, I'm a system admin - i was thinking during > assistance call - but if I can't change the router modality from natted to > routed or, better, routed+natted (and many other things), I couldn't do > that even if I were Richard Stallman. > > Anyway I also need a native voip connection, not only two pstn archaic > ports. > > Sorry if I was so verbose, but it was only to give you a picture of the > situation. In the next days I will post the sip traces of outbound calls > coming from router provider and freeswitch. Maybe someone will find were > I'm wrong. > > For the moment, thank you all! > > > Il 18/06/19 01:14, David Villasmil ha scritto: > > Maybe stupid question, but You’re sending > > To: > > Number_to_call > > As the “to” user, did you remove the actual number or are sending that? > > On Mon, 17 Jun 2019 at 11:25, Sean Devoy wrote: > >> Hi Paolo, >> >> >> >> I had a similar problem with one provider in the US. It may be >> unrelated, but I thought I would mention it. The issue was in the outgoing >> number. In my case the provider required “+” then 1 and my area code and >> number. Are you sure you have the outbound number syntax correct to meet >> their requirements? >> >> >> >> Regards, >> >> Sean >> >> >> >> *From:* FreeSWITCH-users *On >> Behalf Of *paolo.visnoviz at vipcomputers.it >> *Sent:* Saturday, June 15, 2019 5:16 AM >> *To:* freeswitch-users at lists.freeswitch.org >> *Subject:* Re: [Freeswitch-users] No outbounds calls >> >> >> >> Yes, and unallocated number too, but I can't figure out why... :-( >> >> Il 15/06/19 08:35, Brian : ha scritto: >> >> Hi Paolo, >> >> >> >> SIP/2.0 404 Not Found >> >> Via: SIP/2.0/UDP my_public_ip:5080;rport=5080;branch=z9hG4bK9X12v734KmrZe >> >> To: ;tag=ztesipsuDgPzVN*2-4-20481*giag.2 >> >> From: "?" ;tag=8g41KmQBgB0pm >> >> Call-ID: 9b55b86c-0972-1238-0aa8-080027755653 >> >> CSeq: 5714138 INVITE >> >> X-ZTE-Cause: "CSCF-1.3154123179.miicscf1.ims.my_provider.net" >> >> Content-Length: 0 >> >> >> >> Thanks & Regards >> >> >> >> On Sat, Jun 15, 2019 at 12:50 AM paolo.visnoviz at vipcomputers.it >> >> wrote: >> >> >> >> Ok guys, I give up. So I must ask help. :-( >> >> >> >> In summary: I configured two endpoints and I can call from one to the other. I can receive outbond calls too, through my gateway, and the registration to it seems fine. But I can't call outside. The outbound calls don't works. I don't know where I'm wrong, is there anyone who can put me on the right path, please? >> >> >> >> This is my gateway conf: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> /> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> This is my dialplan: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I'm natted and the parts comments out are about various tests. The firewall is opened for 5080 versus freeswitch. My freeswitch local ip is 172.16.16.209. >> >> >> >> This is my pastebin of my external call attempt: https://pastebin.freeswitch.org/view/05befe95 >> >> Thank you in advance. Best regards >> >> >> >> -- >> >> Distinti saluti >> >> Paolo Visnoviz >> >> >> >> _________________________________________________________________________ >> >> >> >> 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 >> >> -- >> Distinti saluti >> *Paolo Visnoviz* >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Servicessales at freeswitch.comhttps://freeswitch.com > > Official FreeSWITCH Siteshttps://freeswitch.com/osshttps://freeswitch.org/confluencehttps://cluecon.com > > FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttps://freeswitch.com > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 -------------- next part -------------- An HTML attachment was scrubbed... URL: From denzs at gonicus.de Mon Jun 24 09:14:30 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 11:14:30 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests Message-ID: Hello, i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in germany). This works quite well, but ~ once in a month we are unable to do outbound calls. It turned out, that the provider changes some IPs from time to time.. That leads to FreeSWITCH being registered to the old IP while INVITE-requests of new dialogs are sent to the new address. The provider terminates this with 403 - forbidden. The registration happens every 5 minutes, but FreeSWITCH does not update the dns cache for the target IP address. So i gets stuck in that situation being registered on the old IP while sending INVITEs to the new one.. The only solution to that is reloading the profile or restarting FreeSWITCH... Is there an option to make FreeSWITCH asking the dns _before every_ REGISTER? Or do you have any other suggestion on how to fix this? Best regards, Sebastian Denz From gmaruzz at gmail.com Mon Jun 24 09:21:44 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 24 Jun 2019 11:21:44 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: Message-ID: I believe this question was already asked in the past in this mailing list, and IIRC the answer was no. You may wanto to check on the mailing list archives (in signature), because maybe my merory is wrong. -giovanni On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz wrote: > Hello, > > i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in > germany). > > This works quite well, but ~ once in a month we are unable to do > outbound calls. > > It turned out, that the provider changes some IPs from time to time.. > > That leads to FreeSWITCH being registered to the old IP while > INVITE-requests of new dialogs are sent to the new address. The provider > terminates this with 403 - forbidden. > > The registration happens every 5 minutes, but FreeSWITCH does not update > the dns cache for the target IP address. So i gets stuck in that > situation being registered on the old IP while sending INVITEs to the > new one.. > > The only solution to that is reloading the profile or restarting > FreeSWITCH... > > Is there an option to make FreeSWITCH asking the dns _before every_ > REGISTER? Or do you have any other suggestion on how to fix this? > > Best regards, > Sebastian Denz > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From denzs at gonicus.de Mon Jun 24 09:55:27 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 11:55:27 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: Message-ID: Thank you for giving me that pointer! I thought i would have searched for everything regarding that topic, but obviously i missed that post! https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html I'll contact Kai directly as i was not able to found a corresponding issue in the tracker... But if anyone has another idea regarding the problem, i would of course appreciate any hints too! ;) Sebastian Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: > I believe this question was already asked in the past in this mailing > list, and IIRC the answer was no. > > You may wanto to check on the mailing list archives (in signature), because > maybe my merory is wrong. > > -giovanni > > > On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz wrote: > >> Hello, >> >> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in >> germany). >> >> This works quite well, but ~ once in a month we are unable to do >> outbound calls. >> >> It turned out, that the provider changes some IPs from time to time.. >> >> That leads to FreeSWITCH being registered to the old IP while >> INVITE-requests of new dialogs are sent to the new address. The provider >> terminates this with 403 - forbidden. >> >> The registration happens every 5 minutes, but FreeSWITCH does not update >> the dns cache for the target IP address. So i gets stuck in that >> situation being registered on the old IP while sending INVITEs to the >> new one.. >> >> The only solution to that is reloading the profile or restarting >> FreeSWITCH... >> >> Is there an option to make FreeSWITCH asking the dns _before every_ >> REGISTER? Or do you have any other suggestion on how to fix this? >> >> Best regards, >> Sebastian Denz >> >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > From gmaruzz at gmail.com Mon Jun 24 10:24:27 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 24 Jun 2019 12:24:27 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: Message-ID: obviously, you can locally provide dns with dnsmasq or such, easily configured, for other domains too. Maybe you can put all SRV addresses, with different weights, in your own (eg, locally defined) zone definition for deutsche telekom, and freeswitch will try them all. Not sure this will work, but maybe yes :) On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz wrote: > Thank you for giving me that pointer! > > I thought i would have searched for everything regarding that topic, > but obviously i missed that post! > > > https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html > > I'll contact Kai directly as i was not able to found a corresponding > issue in the tracker... > > But if anyone has another idea regarding the problem, i would of course > appreciate any hints too! ;) > > Sebastian > > Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: > > I believe this question was already asked in the past in this mailing > > list, and IIRC the answer was no. > > > > You may wanto to check on the mailing list archives (in signature), > because > > maybe my merory is wrong. > > > > -giovanni > > > > > > On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz > wrote: > > > >> Hello, > >> > >> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in > >> germany). > >> > >> This works quite well, but ~ once in a month we are unable to do > >> outbound calls. > >> > >> It turned out, that the provider changes some IPs from time to time.. > >> > >> That leads to FreeSWITCH being registered to the old IP while > >> INVITE-requests of new dialogs are sent to the new address. The provider > >> terminates this with 403 - forbidden. > >> > >> The registration happens every 5 minutes, but FreeSWITCH does not update > >> the dns cache for the target IP address. So i gets stuck in that > >> situation being registered on the old IP while sending INVITEs to the > >> new one.. > >> > >> The only solution to that is reloading the profile or restarting > >> FreeSWITCH... > >> > >> Is there an option to make FreeSWITCH asking the dns _before every_ > >> REGISTER? Or do you have any other suggestion on how to fix this? > >> > >> Best regards, > >> Sebastian Denz > >> > >> > >> > >> > _________________________________________________________________________ > >> > >> 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 -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18 -------------- next part -------------- An HTML attachment was scrubbed... URL: From denzs at gonicus.de Mon Jun 24 10:38:37 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 12:38:37 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: Message-ID: I already thought about something like that.. But the main reason for the problem seems to be, that FreeSWITCH does not query the dns (remote or local) at all before sending the REGISTER... :-/ I could workaround the current issue easily by using static addresses but then i would loose the failover capability and i would have to check for changes manually or by script... normally dns would just solve that by itself :) I think i could put Kamailio in front of FreeSWITCH and let it handle the dns resolution, but that feels like using a sledgehammer to crack a nut ;) And i would prefer a tiny approach, ideally with FreeSWITCH behaving correctly...?! Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: > obviously, you can locally provide dns with dnsmasq or such, easily > configured, for other domains too. > > Maybe you can put all SRV addresses, with different weights, in your own > (eg, locally defined) zone definition for deutsche telekom, and freeswitch > will try them all. > > Not sure this will work, but maybe yes :) > > > > On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz wrote: > >> Thank you for giving me that pointer! >> >> I thought i would have searched for everything regarding that topic, >> but obviously i missed that post! >> >> >> https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html >> >> I'll contact Kai directly as i was not able to found a corresponding >> issue in the tracker... >> >> But if anyone has another idea regarding the problem, i would of course >> appreciate any hints too! ;) >> >> Sebastian >> >> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: >>> I believe this question was already asked in the past in this mailing >>> list, and IIRC the answer was no. >>> >>> You may wanto to check on the mailing list archives (in signature), >> because >>> maybe my merory is wrong. >>> >>> -giovanni >>> >>> >>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz >> wrote: >>> >>>> Hello, >>>> >>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in >>>> germany). >>>> >>>> This works quite well, but ~ once in a month we are unable to do >>>> outbound calls. >>>> >>>> It turned out, that the provider changes some IPs from time to time.. >>>> >>>> That leads to FreeSWITCH being registered to the old IP while >>>> INVITE-requests of new dialogs are sent to the new address. The provider >>>> terminates this with 403 - forbidden. >>>> >>>> The registration happens every 5 minutes, but FreeSWITCH does not update >>>> the dns cache for the target IP address. So i gets stuck in that >>>> situation being registered on the old IP while sending INVITEs to the >>>> new one.. >>>> >>>> The only solution to that is reloading the profile or restarting >>>> FreeSWITCH... >>>> >>>> Is there an option to make FreeSWITCH asking the dns _before every_ >>>> REGISTER? Or do you have any other suggestion on how to fix this? >>>> >>>> Best regards, >>>> Sebastian Denz >>>> >>>> >>>> >>>> >> _________________________________________________________________________ >>>> >>>> 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 > From gmaruzz at gmail.com Mon Jun 24 11:30:10 2019 From: gmaruzz at gmail.com (Giovanni Maruzzelli) Date: Mon, 24 Jun 2019 12:30:10 +0100 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: Message-ID: Maybe, just maybe, putting all addresses in srv records, FS will read that at startup, then try them all if first fail? No idea if works... Just curious... On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: > I already thought about something like that.. > > But the main reason for the problem seems to be, that FreeSWITCH does > not query the dns (remote or local) at all before sending the > REGISTER... :-/ > > I could workaround the current issue easily by using static addresses > but then i would loose the failover capability and i would have to check > for changes manually or by script... normally dns would just solve that > by itself :) > > I think i could put Kamailio in front of FreeSWITCH and let it handle > the dns resolution, but that feels like using a sledgehammer to crack a > nut ;) > > And i would prefer a tiny approach, ideally with FreeSWITCH behaving > correctly...?! > > Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: > > obviously, you can locally provide dns with dnsmasq or such, easily > > configured, for other domains too. > > > > Maybe you can put all SRV addresses, with different weights, in your own > > (eg, locally defined) zone definition for deutsche telekom, and > freeswitch > > will try them all. > > > > Not sure this will work, but maybe yes :) > > > > > > > > On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz > wrote: > > > >> Thank you for giving me that pointer! > >> > >> I thought i would have searched for everything regarding that topic, > >> but obviously i missed that post! > >> > >> > >> > https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html > >> > >> I'll contact Kai directly as i was not able to found a corresponding > >> issue in the tracker... > >> > >> But if anyone has another idea regarding the problem, i would of course > >> appreciate any hints too! ;) > >> > >> Sebastian > >> > >> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: > >>> I believe this question was already asked in the past in this mailing > >>> list, and IIRC the answer was no. > >>> > >>> You may wanto to check on the mailing list archives (in signature), > >> because > >>> maybe my merory is wrong. > >>> > >>> -giovanni > >>> > >>> > >>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz > >> wrote: > >>> > >>>> Hello, > >>>> > >>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in > >>>> germany). > >>>> > >>>> This works quite well, but ~ once in a month we are unable to do > >>>> outbound calls. > >>>> > >>>> It turned out, that the provider changes some IPs from time to time.. > >>>> > >>>> That leads to FreeSWITCH being registered to the old IP while > >>>> INVITE-requests of new dialogs are sent to the new address. The > provider > >>>> terminates this with 403 - forbidden. > >>>> > >>>> The registration happens every 5 minutes, but FreeSWITCH does not > update > >>>> the dns cache for the target IP address. So i gets stuck in that > >>>> situation being registered on the old IP while sending INVITEs to the > >>>> new one.. > >>>> > >>>> The only solution to that is reloading the profile or restarting > >>>> FreeSWITCH... > >>>> > >>>> Is there an option to make FreeSWITCH asking the dns _before every_ > >>>> REGISTER? Or do you have any other suggestion on how to fix this? > >>>> > >>>> Best regards, > >>>> Sebastian Denz > >>>> > >>>> > >>>> > >>>> > >> > _________________________________________________________________________ > >>>> > >>>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From denzs at gonicus.de Mon Jun 24 12:14:28 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 14:14:28 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: Message-ID: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> That is already the case.. When FS starts up it does an SRV-Lookup which contains several adresses. One thing is.. the old endpoint is still working.. The provider just changes the IP behind the A record of the first SRV result. But the main problem is that FS does not use DNS at all before sending a REGISTER... So i doubt this can be workarounded without touching the code of FS or (and that is what i am going to do) use an external script to detect the change and then trigger a gateway restart in FS... Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: > Maybe, just maybe, putting all addresses in srv records, FS will read that > at startup, then try them all if first fail? No idea if works... Just > curious... > > > > On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: > >> I already thought about something like that.. >> >> But the main reason for the problem seems to be, that FreeSWITCH does >> not query the dns (remote or local) at all before sending the >> REGISTER... :-/ >> >> I could workaround the current issue easily by using static addresses >> but then i would loose the failover capability and i would have to check >> for changes manually or by script... normally dns would just solve that >> by itself :) >> >> I think i could put Kamailio in front of FreeSWITCH and let it handle >> the dns resolution, but that feels like using a sledgehammer to crack a >> nut ;) >> >> And i would prefer a tiny approach, ideally with FreeSWITCH behaving >> correctly...?! >> >> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: >>> obviously, you can locally provide dns with dnsmasq or such, easily >>> configured, for other domains too. >>> >>> Maybe you can put all SRV addresses, with different weights, in your own >>> (eg, locally defined) zone definition for deutsche telekom, and >> freeswitch >>> will try them all. >>> >>> Not sure this will work, but maybe yes :) >>> >>> >>> >>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz >> wrote: >>> >>>> Thank you for giving me that pointer! >>>> >>>> I thought i would have searched for everything regarding that topic, >>>> but obviously i missed that post! >>>> >>>> >>>> >> https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html >>>> >>>> I'll contact Kai directly as i was not able to found a corresponding >>>> issue in the tracker... >>>> >>>> But if anyone has another idea regarding the problem, i would of course >>>> appreciate any hints too! ;) >>>> >>>> Sebastian >>>> >>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: >>>>> I believe this question was already asked in the past in this mailing >>>>> list, and IIRC the answer was no. >>>>> >>>>> You may wanto to check on the mailing list archives (in signature), >>>> because >>>>> maybe my merory is wrong. >>>>> >>>>> -giovanni >>>>> >>>>> >>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz >>>> wrote: >>>>> >>>>>> Hello, >>>>>> >>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in >>>>>> germany). >>>>>> >>>>>> This works quite well, but ~ once in a month we are unable to do >>>>>> outbound calls. >>>>>> >>>>>> It turned out, that the provider changes some IPs from time to time.. >>>>>> >>>>>> That leads to FreeSWITCH being registered to the old IP while >>>>>> INVITE-requests of new dialogs are sent to the new address. The >> provider >>>>>> terminates this with 403 - forbidden. >>>>>> >>>>>> The registration happens every 5 minutes, but FreeSWITCH does not >> update >>>>>> the dns cache for the target IP address. So i gets stuck in that >>>>>> situation being registered on the old IP while sending INVITEs to the >>>>>> new one.. >>>>>> >>>>>> The only solution to that is reloading the profile or restarting >>>>>> FreeSWITCH... >>>>>> >>>>>> Is there an option to make FreeSWITCH asking the dns _before every_ >>>>>> REGISTER? Or do you have any other suggestion on how to fix this? >>>>>> >>>>>> Best regards, >>>>>> Sebastian Denz >>>>>> >>>>>> >>>>>> >>>>>> >>>> >> _________________________________________________________________________ >>>>>> >>>>>> 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 > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > From mike at freeswitch.com Mon Jun 24 12:19:46 2019 From: mike at freeswitch.com (Mike Jerris) Date: Mon, 24 Jun 2019 08:19:46 -0400 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> Message-ID: if the DNS entries haven’t yet expired then freeswitch won’t query again. The provider should set lower expiration on their records before a change or wait the full expiration after making a change to actually move hosts or they will cause this issue. This has always been how the DNS system works. On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz wrote: > That is already the case.. > > When FS starts up it does an SRV-Lookup which contains several adresses. > > One thing is.. the old endpoint is still working.. > > The provider just changes the IP behind the A record of the first SRV > result. > > But the main problem is that FS does not use DNS at all before sending a > REGISTER... So i doubt this can be workarounded without touching the > code of FS or (and that is what i am going to do) use an external script > to detect the change and then trigger a gateway restart in FS... > > Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: > > Maybe, just maybe, putting all addresses in srv records, FS will read > that > > at startup, then try them all if first fail? No idea if works... Just > > curious... > > > > > > > > On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: > > > >> I already thought about something like that.. > >> > >> But the main reason for the problem seems to be, that FreeSWITCH does > >> not query the dns (remote or local) at all before sending the > >> REGISTER... :-/ > >> > >> I could workaround the current issue easily by using static addresses > >> but then i would loose the failover capability and i would have to check > >> for changes manually or by script... normally dns would just solve that > >> by itself :) > >> > >> I think i could put Kamailio in front of FreeSWITCH and let it handle > >> the dns resolution, but that feels like using a sledgehammer to crack a > >> nut ;) > >> > >> And i would prefer a tiny approach, ideally with FreeSWITCH behaving > >> correctly...?! > >> > >> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: > >>> obviously, you can locally provide dns with dnsmasq or such, easily > >>> configured, for other domains too. > >>> > >>> Maybe you can put all SRV addresses, with different weights, in your > own > >>> (eg, locally defined) zone definition for deutsche telekom, and > >> freeswitch > >>> will try them all. > >>> > >>> Not sure this will work, but maybe yes :) > >>> > >>> > >>> > >>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz > >> wrote: > >>> > >>>> Thank you for giving me that pointer! > >>>> > >>>> I thought i would have searched for everything regarding that topic, > >>>> but obviously i missed that post! > >>>> > >>>> > >>>> > >> > https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html > >>>> > >>>> I'll contact Kai directly as i was not able to found a corresponding > >>>> issue in the tracker... > >>>> > >>>> But if anyone has another idea regarding the problem, i would of > course > >>>> appreciate any hints too! ;) > >>>> > >>>> Sebastian > >>>> > >>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: > >>>>> I believe this question was already asked in the past in this > mailing > >>>>> list, and IIRC the answer was no. > >>>>> > >>>>> You may wanto to check on the mailing list archives (in signature), > >>>> because > >>>>> maybe my merory is wrong. > >>>>> > >>>>> -giovanni > >>>>> > >>>>> > >>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz > >>>> wrote: > >>>>> > >>>>>> Hello, > >>>>>> > >>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom > in > >>>>>> germany). > >>>>>> > >>>>>> This works quite well, but ~ once in a month we are unable to do > >>>>>> outbound calls. > >>>>>> > >>>>>> It turned out, that the provider changes some IPs from time to > time.. > >>>>>> > >>>>>> That leads to FreeSWITCH being registered to the old IP while > >>>>>> INVITE-requests of new dialogs are sent to the new address. The > >> provider > >>>>>> terminates this with 403 - forbidden. > >>>>>> > >>>>>> The registration happens every 5 minutes, but FreeSWITCH does not > >> update > >>>>>> the dns cache for the target IP address. So i gets stuck in that > >>>>>> situation being registered on the old IP while sending INVITEs to > the > >>>>>> new one.. > >>>>>> > >>>>>> The only solution to that is reloading the profile or restarting > >>>>>> FreeSWITCH... > >>>>>> > >>>>>> Is there an option to make FreeSWITCH asking the dns _before every_ > >>>>>> REGISTER? Or do you have any other suggestion on how to fix this? > >>>>>> > >>>>>> Best regards, > >>>>>> Sebastian Denz > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>> > >> > _________________________________________________________________________ > >>>>>> > >>>>>> 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 > > > > > > _________________________________________________________________________ > > > > 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 denzs at gonicus.de Mon Jun 24 13:01:22 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 15:01:22 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> Message-ID: <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> Hello Mike, thanks for getting in the discussion! I have a pcap-trace from last saturday containing sip and dns where i can see the following behaviour: 11:39:32 FS does an SRV-Lookup for _sip._tcp.reg.sip-trunk.telekom.de -> Answer contains three records with TTL:3600 FS does an A-Lookup for the record with the lowest priority -> Answer contains an IPv4 adress with TTL:216 FS registers to the provided ip address and re-registers every ~ 5 minutes But there is no more dns traffic for the rest of the day (~ 12.5 hours)... Version is 1.8.2-3-a98a958ac3~64bit on Debian Stretch. Could this be an issue with the systems resolving logic (libnss) or is the resolving completly done by FS itself? Am 6/24/19 um 2:19 PM schrieb Mike Jerris: > if the DNS entries haven’t yet expired then freeswitch won’t query again. > The provider should set lower expiration on their records before a change > or wait the full expiration after making a change to > actually move hosts or they will cause this issue. This has always been > how the DNS system works. > > On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz wrote: > >> That is already the case.. >> >> When FS starts up it does an SRV-Lookup which contains several adresses. >> >> One thing is.. the old endpoint is still working.. >> >> The provider just changes the IP behind the A record of the first SRV >> result. >> >> But the main problem is that FS does not use DNS at all before sending a >> REGISTER... So i doubt this can be workarounded without touching the >> code of FS or (and that is what i am going to do) use an external script >> to detect the change and then trigger a gateway restart in FS... >> >> Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: >>> Maybe, just maybe, putting all addresses in srv records, FS will read >> that >>> at startup, then try them all if first fail? No idea if works... Just >>> curious... >>> >>> >>> >>> On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: >>> >>>> I already thought about something like that.. >>>> >>>> But the main reason for the problem seems to be, that FreeSWITCH does >>>> not query the dns (remote or local) at all before sending the >>>> REGISTER... :-/ >>>> >>>> I could workaround the current issue easily by using static addresses >>>> but then i would loose the failover capability and i would have to check >>>> for changes manually or by script... normally dns would just solve that >>>> by itself :) >>>> >>>> I think i could put Kamailio in front of FreeSWITCH and let it handle >>>> the dns resolution, but that feels like using a sledgehammer to crack a >>>> nut ;) >>>> >>>> And i would prefer a tiny approach, ideally with FreeSWITCH behaving >>>> correctly...?! >>>> >>>> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: >>>>> obviously, you can locally provide dns with dnsmasq or such, easily >>>>> configured, for other domains too. >>>>> >>>>> Maybe you can put all SRV addresses, with different weights, in your >> own >>>>> (eg, locally defined) zone definition for deutsche telekom, and >>>> freeswitch >>>>> will try them all. >>>>> >>>>> Not sure this will work, but maybe yes :) >>>>> >>>>> >>>>> >>>>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz >>>> wrote: >>>>> >>>>>> Thank you for giving me that pointer! >>>>>> >>>>>> I thought i would have searched for everything regarding that topic, >>>>>> but obviously i missed that post! >>>>>> >>>>>> >>>>>> >>>> >> https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html >>>>>> >>>>>> I'll contact Kai directly as i was not able to found a corresponding >>>>>> issue in the tracker... >>>>>> >>>>>> But if anyone has another idea regarding the problem, i would of >> course >>>>>> appreciate any hints too! ;) >>>>>> >>>>>> Sebastian >>>>>> >>>>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: >>>>>>> I believe this question was already asked in the past in this >> mailing >>>>>>> list, and IIRC the answer was no. >>>>>>> >>>>>>> You may wanto to check on the mailing list archives (in signature), >>>>>> because >>>>>>> maybe my merory is wrong. >>>>>>> >>>>>>> -giovanni >>>>>>> >>>>>>> >>>>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz >>>>>> wrote: >>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom >> in >>>>>>>> germany). >>>>>>>> >>>>>>>> This works quite well, but ~ once in a month we are unable to do >>>>>>>> outbound calls. >>>>>>>> >>>>>>>> It turned out, that the provider changes some IPs from time to >> time.. >>>>>>>> >>>>>>>> That leads to FreeSWITCH being registered to the old IP while >>>>>>>> INVITE-requests of new dialogs are sent to the new address. The >>>> provider >>>>>>>> terminates this with 403 - forbidden. >>>>>>>> >>>>>>>> The registration happens every 5 minutes, but FreeSWITCH does not >>>> update >>>>>>>> the dns cache for the target IP address. So i gets stuck in that >>>>>>>> situation being registered on the old IP while sending INVITEs to >> the >>>>>>>> new one.. >>>>>>>> >>>>>>>> The only solution to that is reloading the profile or restarting >>>>>>>> FreeSWITCH... >>>>>>>> >>>>>>>> Is there an option to make FreeSWITCH asking the dns _before every_ >>>>>>>> REGISTER? Or do you have any other suggestion on how to fix this? >>>>>>>> >>>>>>>> Best regards, >>>>>>>> Sebastian Denz >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>> >> _________________________________________________________________________ >>>>>>>> >>>>>>>> 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 >>> >>> >>> _________________________________________________________________________ >>> >>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >>> Build your next product on our scalable cloud platform. >>> >>> Join our online community to chat in real time >> https://signalwire.community >>> >>> Professional FreeSWITCH Services >>> sales at freeswitch.com >>> https://freeswitch.com >>> >>> Official FreeSWITCH Sites >>> https://freeswitch.com/oss >>> https://freeswitch.org/confluence >>> https://cluecon.com >>> >>> FreeSWITCH-users mailing list >>> FreeSWITCH-users at lists.freeswitch.org >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >>> https://freeswitch.com >>> >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > From mike at freeswitch.com Mon Jun 24 13:02:48 2019 From: mike at freeswitch.com (Mike Jerris) Date: Mon, 24 Jun 2019 09:02:48 -0400 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> Message-ID: if that’s the case it’s an issue with the resolver cache in sofia-sip On Mon, Jun 24, 2019 at 9:01 AM Sebastian Denz wrote: > Hello Mike, > > thanks for getting in the discussion! > > I have a pcap-trace from last saturday containing sip and dns where i > can see the following behaviour: > > 11:39:32 FS does an SRV-Lookup for _sip._tcp.reg.sip-trunk.telekom.de > -> Answer contains three records with TTL:3600 > FS does an A-Lookup for the record with the lowest priority > -> Answer contains an IPv4 adress with TTL:216 > > FS registers to the provided ip address and re-registers every ~ 5 minutes > > But there is no more dns traffic for the rest of the day (~ 12.5 hours)... > > Version is 1.8.2-3-a98a958ac3~64bit on Debian Stretch. > > Could this be an issue with the systems resolving logic (libnss) or is > the resolving completly done by FS itself? > > Am 6/24/19 um 2:19 PM schrieb Mike Jerris: > > if the DNS entries haven’t yet expired then freeswitch won’t query again. > > The provider should set lower expiration on their records before a change > > or wait the full expiration after making a change to > > actually move hosts or they will cause this issue. This has always been > > how the DNS system works. > > > > On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz wrote: > > > >> That is already the case.. > >> > >> When FS starts up it does an SRV-Lookup which contains several adresses. > >> > >> One thing is.. the old endpoint is still working.. > >> > >> The provider just changes the IP behind the A record of the first SRV > >> result. > >> > >> But the main problem is that FS does not use DNS at all before sending a > >> REGISTER... So i doubt this can be workarounded without touching the > >> code of FS or (and that is what i am going to do) use an external script > >> to detect the change and then trigger a gateway restart in FS... > >> > >> Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: > >>> Maybe, just maybe, putting all addresses in srv records, FS will read > >> that > >>> at startup, then try them all if first fail? No idea if works... Just > >>> curious... > >>> > >>> > >>> > >>> On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: > >>> > >>>> I already thought about something like that.. > >>>> > >>>> But the main reason for the problem seems to be, that FreeSWITCH does > >>>> not query the dns (remote or local) at all before sending the > >>>> REGISTER... :-/ > >>>> > >>>> I could workaround the current issue easily by using static addresses > >>>> but then i would loose the failover capability and i would have to > check > >>>> for changes manually or by script... normally dns would just solve > that > >>>> by itself :) > >>>> > >>>> I think i could put Kamailio in front of FreeSWITCH and let it handle > >>>> the dns resolution, but that feels like using a sledgehammer to crack > a > >>>> nut ;) > >>>> > >>>> And i would prefer a tiny approach, ideally with FreeSWITCH behaving > >>>> correctly...?! > >>>> > >>>> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: > >>>>> obviously, you can locally provide dns with dnsmasq or such, easily > >>>>> configured, for other domains too. > >>>>> > >>>>> Maybe you can put all SRV addresses, with different weights, in your > >> own > >>>>> (eg, locally defined) zone definition for deutsche telekom, and > >>>> freeswitch > >>>>> will try them all. > >>>>> > >>>>> Not sure this will work, but maybe yes :) > >>>>> > >>>>> > >>>>> > >>>>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz > >>>> wrote: > >>>>> > >>>>>> Thank you for giving me that pointer! > >>>>>> > >>>>>> I thought i would have searched for everything regarding that topic, > >>>>>> but obviously i missed that post! > >>>>>> > >>>>>> > >>>>>> > >>>> > >> > https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html > >>>>>> > >>>>>> I'll contact Kai directly as i was not able to found a corresponding > >>>>>> issue in the tracker... > >>>>>> > >>>>>> But if anyone has another idea regarding the problem, i would of > >> course > >>>>>> appreciate any hints too! ;) > >>>>>> > >>>>>> Sebastian > >>>>>> > >>>>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: > >>>>>>> I believe this question was already asked in the past in this > >> mailing > >>>>>>> list, and IIRC the answer was no. > >>>>>>> > >>>>>>> You may wanto to check on the mailing list archives (in signature), > >>>>>> because > >>>>>>> maybe my merory is wrong. > >>>>>>> > >>>>>>> -giovanni > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz > >>>>>> wrote: > >>>>>>> > >>>>>>>> Hello, > >>>>>>>> > >>>>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom > >> in > >>>>>>>> germany). > >>>>>>>> > >>>>>>>> This works quite well, but ~ once in a month we are unable to do > >>>>>>>> outbound calls. > >>>>>>>> > >>>>>>>> It turned out, that the provider changes some IPs from time to > >> time.. > >>>>>>>> > >>>>>>>> That leads to FreeSWITCH being registered to the old IP while > >>>>>>>> INVITE-requests of new dialogs are sent to the new address. The > >>>> provider > >>>>>>>> terminates this with 403 - forbidden. > >>>>>>>> > >>>>>>>> The registration happens every 5 minutes, but FreeSWITCH does not > >>>> update > >>>>>>>> the dns cache for the target IP address. So i gets stuck in that > >>>>>>>> situation being registered on the old IP while sending INVITEs to > >> the > >>>>>>>> new one.. > >>>>>>>> > >>>>>>>> The only solution to that is reloading the profile or restarting > >>>>>>>> FreeSWITCH... > >>>>>>>> > >>>>>>>> Is there an option to make FreeSWITCH asking the dns _before > every_ > >>>>>>>> REGISTER? Or do you have any other suggestion on how to fix this? > >>>>>>>> > >>>>>>>> Best regards, > >>>>>>>> Sebastian Denz > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > _________________________________________________________________________ > >>>>>>>> > >>>>>>>> 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 > >>> > >>> > >>> > _________________________________________________________________________ > >>> > >>> 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 denzs at gonicus.de Mon Jun 24 13:19:02 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 15:19:02 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> Message-ID: <60b4b87c-2d10-848c-1dfe-d74c2503c5a8@gonicus.de> Using "sofia loglevel sresolv 9" i dont see any sres_cache_get() calls at all before FS sends a REGISTER. But they are done before any other (new) transaction. Regarding RFC 3263 Section 4. this seems to be kinda valid, because the ongoing RE-REGISTERS requests are happening in-dialog so they are not a _new_ transaction?! But from a practical point of view i would expect there should be a mechanism which ensures the used IP is are still valid?! So i think at least the internal dns cache should be used... What do you suggest? Is there anything else i can do to narrow this down and/or should i open an issue in Jira? Am 6/24/19 um 3:02 PM schrieb Mike Jerris: > if that’s the case it’s an issue with the resolver cache in sofia-sip > > On Mon, Jun 24, 2019 at 9:01 AM Sebastian Denz wrote: > >> Hello Mike, >> >> thanks for getting in the discussion! >> >> I have a pcap-trace from last saturday containing sip and dns where i >> can see the following behaviour: >> >> 11:39:32 FS does an SRV-Lookup for _sip._tcp.reg.sip-trunk.telekom.de >> -> Answer contains three records with TTL:3600 >> FS does an A-Lookup for the record with the lowest priority >> -> Answer contains an IPv4 adress with TTL:216 >> >> FS registers to the provided ip address and re-registers every ~ 5 minutes >> >> But there is no more dns traffic for the rest of the day (~ 12.5 hours)... >> >> Version is 1.8.2-3-a98a958ac3~64bit on Debian Stretch. >> >> Could this be an issue with the systems resolving logic (libnss) or is >> the resolving completly done by FS itself? >> >> Am 6/24/19 um 2:19 PM schrieb Mike Jerris: >>> if the DNS entries haven’t yet expired then freeswitch won’t query again. >>> The provider should set lower expiration on their records before a change >>> or wait the full expiration after making a change to >>> actually move hosts or they will cause this issue. This has always been >>> how the DNS system works. >>> >>> On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz wrote: >>> >>>> That is already the case.. >>>> >>>> When FS starts up it does an SRV-Lookup which contains several adresses. >>>> >>>> One thing is.. the old endpoint is still working.. >>>> >>>> The provider just changes the IP behind the A record of the first SRV >>>> result. >>>> >>>> But the main problem is that FS does not use DNS at all before sending a >>>> REGISTER... So i doubt this can be workarounded without touching the >>>> code of FS or (and that is what i am going to do) use an external script >>>> to detect the change and then trigger a gateway restart in FS... >>>> >>>> Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: >>>>> Maybe, just maybe, putting all addresses in srv records, FS will read >>>> that >>>>> at startup, then try them all if first fail? No idea if works... Just >>>>> curious... >>>>> >>>>> >>>>> >>>>> On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: >>>>> >>>>>> I already thought about something like that.. >>>>>> >>>>>> But the main reason for the problem seems to be, that FreeSWITCH does >>>>>> not query the dns (remote or local) at all before sending the >>>>>> REGISTER... :-/ >>>>>> >>>>>> I could workaround the current issue easily by using static addresses >>>>>> but then i would loose the failover capability and i would have to >> check >>>>>> for changes manually or by script... normally dns would just solve >> that >>>>>> by itself :) >>>>>> >>>>>> I think i could put Kamailio in front of FreeSWITCH and let it handle >>>>>> the dns resolution, but that feels like using a sledgehammer to crack >> a >>>>>> nut ;) >>>>>> >>>>>> And i would prefer a tiny approach, ideally with FreeSWITCH behaving >>>>>> correctly...?! >>>>>> >>>>>> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: >>>>>>> obviously, you can locally provide dns with dnsmasq or such, easily >>>>>>> configured, for other domains too. >>>>>>> >>>>>>> Maybe you can put all SRV addresses, with different weights, in your >>>> own >>>>>>> (eg, locally defined) zone definition for deutsche telekom, and >>>>>> freeswitch >>>>>>> will try them all. >>>>>>> >>>>>>> Not sure this will work, but maybe yes :) >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz >>>>>> wrote: >>>>>>> >>>>>>>> Thank you for giving me that pointer! >>>>>>>> >>>>>>>> I thought i would have searched for everything regarding that topic, >>>>>>>> but obviously i missed that post! >>>>>>>> >>>>>>>> >>>>>>>> >>>>>> >>>> >> https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html >>>>>>>> >>>>>>>> I'll contact Kai directly as i was not able to found a corresponding >>>>>>>> issue in the tracker... >>>>>>>> >>>>>>>> But if anyone has another idea regarding the problem, i would of >>>> course >>>>>>>> appreciate any hints too! ;) >>>>>>>> >>>>>>>> Sebastian >>>>>>>> >>>>>>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: >>>>>>>>> I believe this question was already asked in the past in this >>>> mailing >>>>>>>>> list, and IIRC the answer was no. >>>>>>>>> >>>>>>>>> You may wanto to check on the mailing list archives (in signature), >>>>>>>> because >>>>>>>>> maybe my merory is wrong. >>>>>>>>> >>>>>>>>> -giovanni >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz >>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hello, >>>>>>>>>> >>>>>>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom >>>> in >>>>>>>>>> germany). >>>>>>>>>> >>>>>>>>>> This works quite well, but ~ once in a month we are unable to do >>>>>>>>>> outbound calls. >>>>>>>>>> >>>>>>>>>> It turned out, that the provider changes some IPs from time to >>>> time.. >>>>>>>>>> >>>>>>>>>> That leads to FreeSWITCH being registered to the old IP while >>>>>>>>>> INVITE-requests of new dialogs are sent to the new address. The >>>>>> provider >>>>>>>>>> terminates this with 403 - forbidden. >>>>>>>>>> >>>>>>>>>> The registration happens every 5 minutes, but FreeSWITCH does not >>>>>> update >>>>>>>>>> the dns cache for the target IP address. So i gets stuck in that >>>>>>>>>> situation being registered on the old IP while sending INVITEs to >>>> the >>>>>>>>>> new one.. >>>>>>>>>> >>>>>>>>>> The only solution to that is reloading the profile or restarting >>>>>>>>>> FreeSWITCH... >>>>>>>>>> >>>>>>>>>> Is there an option to make FreeSWITCH asking the dns _before >> every_ >>>>>>>>>> REGISTER? Or do you have any other suggestion on how to fix this? >>>>>>>>>> >>>>>>>>>> Best regards, >>>>>>>>>> Sebastian Denz >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> _________________________________________________________________________ >>>>>>>>>> >>>>>>>>>> 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 >>>>> >>>>> >>>>> >> _________________________________________________________________________ >>>>> >>>>> 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 > From mike at freeswitch.com Mon Jun 24 13:22:00 2019 From: mike at freeswitch.com (Mike Jerris) Date: Mon, 24 Jun 2019 09:22:00 -0400 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: <60b4b87c-2d10-848c-1dfe-d74c2503c5a8@gonicus.de> References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> <60b4b87c-2d10-848c-1dfe-d74c2503c5a8@gonicus.de> Message-ID: On Mon, Jun 24, 2019 at 9:19 AM Sebastian Denz wrote: > Using "sofia loglevel sresolv 9" i dont see any sres_cache_get() calls > at all before FS sends a REGISTER. > > But they are done before any other (new) transaction. > > Regarding RFC 3263 Section 4. this seems to be kinda valid, > because the ongoing RE-REGISTERS requests are happening in-dialog so > they are not a _new_ transaction?! They ARE a new transaction. > > But from a practical point of view i would expect there should be a > mechanism which ensures the used IP is are still valid?! > > So i think at least the internal dns cache should be used... > > What do you suggest? > > Is there anything else i can do to narrow this down and/or should i open > an issue in Jira? > > certainly a jira but this needs someone to dig in the code and find a solution Am 6/24/19 um 3:02 PM schrieb Mike Jerris: > > if that’s the case it’s an issue with the resolver cache in sofia-sip > > > > On Mon, Jun 24, 2019 at 9:01 AM Sebastian Denz wrote: > > > >> Hello Mike, > >> > >> thanks for getting in the discussion! > >> > >> I have a pcap-trace from last saturday containing sip and dns where i > >> can see the following behaviour: > >> > >> 11:39:32 FS does an SRV-Lookup for _sip._tcp.reg.sip-trunk.telekom.de > >> -> Answer contains three records with TTL:3600 > >> FS does an A-Lookup for the record with the lowest priority > >> -> Answer contains an IPv4 adress with TTL:216 > >> > >> FS registers to the provided ip address and re-registers every ~ 5 > minutes > >> > >> But there is no more dns traffic for the rest of the day (~ 12.5 > hours)... > >> > >> Version is 1.8.2-3-a98a958ac3~64bit on Debian Stretch. > >> > >> Could this be an issue with the systems resolving logic (libnss) or is > >> the resolving completly done by FS itself? > >> > >> Am 6/24/19 um 2:19 PM schrieb Mike Jerris: > >>> if the DNS entries haven’t yet expired then freeswitch won’t query > again. > >>> The provider should set lower expiration on their records before a > change > >>> or wait the full expiration after making a change to > >>> actually move hosts or they will cause this issue. This has always > been > >>> how the DNS system works. > >>> > >>> On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz > wrote: > >>> > >>>> That is already the case.. > >>>> > >>>> When FS starts up it does an SRV-Lookup which contains several > adresses. > >>>> > >>>> One thing is.. the old endpoint is still working.. > >>>> > >>>> The provider just changes the IP behind the A record of the first SRV > >>>> result. > >>>> > >>>> But the main problem is that FS does not use DNS at all before > sending a > >>>> REGISTER... So i doubt this can be workarounded without touching the > >>>> code of FS or (and that is what i am going to do) use an external > script > >>>> to detect the change and then trigger a gateway restart in FS... > >>>> > >>>> Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: > >>>>> Maybe, just maybe, putting all addresses in srv records, FS will read > >>>> that > >>>>> at startup, then try them all if first fail? No idea if works... Just > >>>>> curious... > >>>>> > >>>>> > >>>>> > >>>>> On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: > >>>>> > >>>>>> I already thought about something like that.. > >>>>>> > >>>>>> But the main reason for the problem seems to be, that FreeSWITCH > does > >>>>>> not query the dns (remote or local) at all before sending the > >>>>>> REGISTER... :-/ > >>>>>> > >>>>>> I could workaround the current issue easily by using static > addresses > >>>>>> but then i would loose the failover capability and i would have to > >> check > >>>>>> for changes manually or by script... normally dns would just solve > >> that > >>>>>> by itself :) > >>>>>> > >>>>>> I think i could put Kamailio in front of FreeSWITCH and let it > handle > >>>>>> the dns resolution, but that feels like using a sledgehammer to > crack > >> a > >>>>>> nut ;) > >>>>>> > >>>>>> And i would prefer a tiny approach, ideally with FreeSWITCH behaving > >>>>>> correctly...?! > >>>>>> > >>>>>> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: > >>>>>>> obviously, you can locally provide dns with dnsmasq or such, easily > >>>>>>> configured, for other domains too. > >>>>>>> > >>>>>>> Maybe you can put all SRV addresses, with different weights, in > your > >>>> own > >>>>>>> (eg, locally defined) zone definition for deutsche telekom, and > >>>>>> freeswitch > >>>>>>> will try them all. > >>>>>>> > >>>>>>> Not sure this will work, but maybe yes :) > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz > >>>>>> wrote: > >>>>>>> > >>>>>>>> Thank you for giving me that pointer! > >>>>>>>> > >>>>>>>> I thought i would have searched for everything regarding that > topic, > >>>>>>>> but obviously i missed that post! > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html > >>>>>>>> > >>>>>>>> I'll contact Kai directly as i was not able to found a > corresponding > >>>>>>>> issue in the tracker... > >>>>>>>> > >>>>>>>> But if anyone has another idea regarding the problem, i would of > >>>> course > >>>>>>>> appreciate any hints too! ;) > >>>>>>>> > >>>>>>>> Sebastian > >>>>>>>> > >>>>>>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: > >>>>>>>>> I believe this question was already asked in the past in this > >>>> mailing > >>>>>>>>> list, and IIRC the answer was no. > >>>>>>>>> > >>>>>>>>> You may wanto to check on the mailing list archives (in > signature), > >>>>>>>> because > >>>>>>>>> maybe my merory is wrong. > >>>>>>>>> > >>>>>>>>> -giovanni > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz < > denzs at gonicus.de> > >>>>>>>> wrote: > >>>>>>>>> > >>>>>>>>>> Hello, > >>>>>>>>>> > >>>>>>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche > Telekom > >>>> in > >>>>>>>>>> germany). > >>>>>>>>>> > >>>>>>>>>> This works quite well, but ~ once in a month we are unable to do > >>>>>>>>>> outbound calls. > >>>>>>>>>> > >>>>>>>>>> It turned out, that the provider changes some IPs from time to > >>>> time.. > >>>>>>>>>> > >>>>>>>>>> That leads to FreeSWITCH being registered to the old IP while > >>>>>>>>>> INVITE-requests of new dialogs are sent to the new address. The > >>>>>> provider > >>>>>>>>>> terminates this with 403 - forbidden. > >>>>>>>>>> > >>>>>>>>>> The registration happens every 5 minutes, but FreeSWITCH does > not > >>>>>> update > >>>>>>>>>> the dns cache for the target IP address. So i gets stuck in that > >>>>>>>>>> situation being registered on the old IP while sending INVITEs > to > >>>> the > >>>>>>>>>> new one.. > >>>>>>>>>> > >>>>>>>>>> The only solution to that is reloading the profile or restarting > >>>>>>>>>> FreeSWITCH... > >>>>>>>>>> > >>>>>>>>>> Is there an option to make FreeSWITCH asking the dns _before > >> every_ > >>>>>>>>>> REGISTER? Or do you have any other suggestion on how to fix > this? > >>>>>>>>>> > >>>>>>>>>> Best regards, > >>>>>>>>>> Sebastian Denz > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>> > >>>>>> > >>>> > >> > _________________________________________________________________________ > >>>>>>>>>> > >>>>>>>>>> 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 > >>>>> > >>>>> > >>>>> > >> > _________________________________________________________________________ > >>>>> > >>>>> 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 > > > > > _________________________________________________________________________ > > 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 denzs at gonicus.de Mon Jun 24 13:33:05 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 15:33:05 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> <60b4b87c-2d10-848c-1dfe-d74c2503c5a8@gonicus.de> Message-ID: <6f6e5890-ddd9-173f-e318-13317e1afdf1@gonicus.de> Am 6/24/19 um 3:22 PM schrieb Mike Jerris: > On Mon, Jun 24, 2019 at 9:19 AM Sebastian Denz wrote: > >> Using "sofia loglevel sresolv 9" i dont see any sres_cache_get() calls >> at all before FS sends a REGISTER. >> >> But they are done before any other (new) transaction. >> >> Regarding RFC 3263 Section 4. this seems to be kinda valid, >> because the ongoing RE-REGISTERS requests are happening in-dialog so >> they are not a _new_ transaction?! > > > They ARE a new transaction. Ah right! Of course... >> >> But from a practical point of view i would expect there should be a >> mechanism which ensures the used IP is are still valid?! >> >> So i think at least the internal dns cache should be used... >> >> What do you suggest? >> >> Is there anything else i can do to narrow this down and/or should i open >> an issue in > > Jira? >> >> > certainly a jira but this needs someone to dig in the code and find a > solution I'll make a testsetup to be able reproduce it as i cant fiddle around on the production system... When i am sure it is reproducible on the current HEAD i'll open an issue and try to help fixing it... > Am 6/24/19 um 3:02 PM schrieb Mike Jerris: >>> if that’s the case it’s an issue with the resolver cache in sofia-sip >>> >>> On Mon, Jun 24, 2019 at 9:01 AM Sebastian Denz wrote: >>> >>>> Hello Mike, >>>> >>>> thanks for getting in the discussion! >>>> >>>> I have a pcap-trace from last saturday containing sip and dns where i >>>> can see the following behaviour: >>>> >>>> 11:39:32 FS does an SRV-Lookup for _sip._tcp.reg.sip-trunk.telekom.de >>>> -> Answer contains three records with TTL:3600 >>>> FS does an A-Lookup for the record with the lowest priority >>>> -> Answer contains an IPv4 adress with TTL:216 >>>> >>>> FS registers to the provided ip address and re-registers every ~ 5 >> minutes >>>> >>>> But there is no more dns traffic for the rest of the day (~ 12.5 >> hours)... >>>> >>>> Version is 1.8.2-3-a98a958ac3~64bit on Debian Stretch. >>>> >>>> Could this be an issue with the systems resolving logic (libnss) or is >>>> the resolving completly done by FS itself? >>>> >>>> Am 6/24/19 um 2:19 PM schrieb Mike Jerris: >>>>> if the DNS entries haven’t yet expired then freeswitch won’t query >> again. >>>>> The provider should set lower expiration on their records before a >> change >>>>> or wait the full expiration after making a change to >>>>> actually move hosts or they will cause this issue. This has always >> been >>>>> how the DNS system works. >>>>> >>>>> On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz >> wrote: >>>>> >>>>>> That is already the case.. >>>>>> >>>>>> When FS starts up it does an SRV-Lookup which contains several >> adresses. >>>>>> >>>>>> One thing is.. the old endpoint is still working.. >>>>>> >>>>>> The provider just changes the IP behind the A record of the first SRV >>>>>> result. >>>>>> >>>>>> But the main problem is that FS does not use DNS at all before >> sending a >>>>>> REGISTER... So i doubt this can be workarounded without touching the >>>>>> code of FS or (and that is what i am going to do) use an external >> script >>>>>> to detect the change and then trigger a gateway restart in FS... >>>>>> >>>>>> Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: >>>>>>> Maybe, just maybe, putting all addresses in srv records, FS will read >>>>>> that >>>>>>> at startup, then try them all if first fail? No idea if works... Just >>>>>>> curious... >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: >>>>>>> >>>>>>>> I already thought about something like that.. >>>>>>>> >>>>>>>> But the main reason for the problem seems to be, that FreeSWITCH >> does >>>>>>>> not query the dns (remote or local) at all before sending the >>>>>>>> REGISTER... :-/ >>>>>>>> >>>>>>>> I could workaround the current issue easily by using static >> addresses >>>>>>>> but then i would loose the failover capability and i would have to >>>> check >>>>>>>> for changes manually or by script... normally dns would just solve >>>> that >>>>>>>> by itself :) >>>>>>>> >>>>>>>> I think i could put Kamailio in front of FreeSWITCH and let it >> handle >>>>>>>> the dns resolution, but that feels like using a sledgehammer to >> crack >>>> a >>>>>>>> nut ;) >>>>>>>> >>>>>>>> And i would prefer a tiny approach, ideally with FreeSWITCH behaving >>>>>>>> correctly...?! >>>>>>>> >>>>>>>> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: >>>>>>>>> obviously, you can locally provide dns with dnsmasq or such, easily >>>>>>>>> configured, for other domains too. >>>>>>>>> >>>>>>>>> Maybe you can put all SRV addresses, with different weights, in >> your >>>>>> own >>>>>>>>> (eg, locally defined) zone definition for deutsche telekom, and >>>>>>>> freeswitch >>>>>>>>> will try them all. >>>>>>>>> >>>>>>>>> Not sure this will work, but maybe yes :) >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz >>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Thank you for giving me that pointer! >>>>>>>>>> >>>>>>>>>> I thought i would have searched for everything regarding that >> topic, >>>>>>>>>> but obviously i missed that post! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html >>>>>>>>>> >>>>>>>>>> I'll contact Kai directly as i was not able to found a >> corresponding >>>>>>>>>> issue in the tracker... >>>>>>>>>> >>>>>>>>>> But if anyone has another idea regarding the problem, i would of >>>>>> course >>>>>>>>>> appreciate any hints too! ;) >>>>>>>>>> >>>>>>>>>> Sebastian >>>>>>>>>> >>>>>>>>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: >>>>>>>>>>> I believe this question was already asked in the past in this >>>>>> mailing >>>>>>>>>>> list, and IIRC the answer was no. >>>>>>>>>>> >>>>>>>>>>> You may wanto to check on the mailing list archives (in >> signature), >>>>>>>>>> because >>>>>>>>>>> maybe my merory is wrong. >>>>>>>>>>> >>>>>>>>>>> -giovanni >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz < >> denzs at gonicus.de> >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hello, >>>>>>>>>>>> >>>>>>>>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche >> Telekom >>>>>> in >>>>>>>>>>>> germany). >>>>>>>>>>>> >>>>>>>>>>>> This works quite well, but ~ once in a month we are unable to do >>>>>>>>>>>> outbound calls. >>>>>>>>>>>> >>>>>>>>>>>> It turned out, that the provider changes some IPs from time to >>>>>> time.. >>>>>>>>>>>> >>>>>>>>>>>> That leads to FreeSWITCH being registered to the old IP while >>>>>>>>>>>> INVITE-requests of new dialogs are sent to the new address. The >>>>>>>> provider >>>>>>>>>>>> terminates this with 403 - forbidden. >>>>>>>>>>>> >>>>>>>>>>>> The registration happens every 5 minutes, but FreeSWITCH does >> not >>>>>>>> update >>>>>>>>>>>> the dns cache for the target IP address. So i gets stuck in that >>>>>>>>>>>> situation being registered on the old IP while sending INVITEs >> to >>>>>> the >>>>>>>>>>>> new one.. >>>>>>>>>>>> >>>>>>>>>>>> The only solution to that is reloading the profile or restarting >>>>>>>>>>>> FreeSWITCH... >>>>>>>>>>>> >>>>>>>>>>>> Is there an option to make FreeSWITCH asking the dns _before >>>> every_ >>>>>>>>>>>> REGISTER? Or do you have any other suggestion on how to fix >> this? >>>>>>>>>>>> >>>>>>>>>>>> Best regards, >>>>>>>>>>>> Sebastian Denz >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> _________________________________________________________________________ >>>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>> >> _________________________________________________________________________ >>>>>>> >>>>>>> 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 >>> >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > From rbetancor at gmail.com Mon Jun 24 13:33:47 2019 From: rbetancor at gmail.com (=?UTF-8?Q?Ra=C3=BAl_Alexis_Betancor_Santana?=) Date: Mon, 24 Jun 2019 14:33:47 +0100 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> Message-ID: It's a known issue of FS, it does dns query ONLY one time, you could check the list and search for discusions about this ... FS doesn't honor the TTL values. On Mon, Jun 24, 2019 at 2:16 PM Mike Jerris wrote: > if that’s the case it’s an issue with the resolver cache in sofia-sip > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at freeswitch.com Mon Jun 24 13:40:40 2019 From: mike at freeswitch.com (Mike Jerris) Date: Mon, 24 Jun 2019 09:40:40 -0400 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> Message-ID: ill reiterate, if this is happening it’s specific to sofia-sip, NOT FreeSWITCH. Sofia-sip has its own resolver code and if what’s described is happening it does sound like a bug. from the description it seems more nuanced than it just not respecting rtp, sounds like it’s specific to outbound reg. On Mon, Jun 24, 2019 at 9:34 AM Raúl Alexis Betancor Santana < rbetancor at gmail.com> wrote: > It's a known issue of FS, it does dns query ONLY one time, you could check > the list and search for discusions about this ... FS doesn't honor the TTL > values. > > On Mon, Jun 24, 2019 at 2:16 PM Mike Jerris wrote: > >> if that’s the case it’s an issue with the resolver cache in sofia-sip >> >> _________________________________________________________________________ > > 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 mike at freeswitch.org Mon Jun 24 13:54:56 2019 From: mike at freeswitch.org (Mike Jerris) Date: Mon, 24 Jun 2019 09:54:56 -0400 Subject: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault In-Reply-To: References: Message-ID: What is “that” ? > On Jun 19, 2019, at 3:11 PM, Sean Devoy wrote: > > Just to confirm, that was absolutely the problem. > Thanks. > > From: FreeSWITCH-users On Behalf Of Brian West > Sent: Wednesday, June 19, 2019 11:56 AM > To: FreeSWITCH Users Help > Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault > > That's not the same thing at all. > > On Tue, Jun 18, 2019 at 8:25 PM David Villasmil > wrote: > Interesting, I compiled and installed on a MacBook, worked just fine for testing. > > On Tue, 18 Jun 2019 at 16:20, Sean Devoy > wrote: > Thank you. > I thought to myself that the desktop was an interesting thing I had never seen! > > Sean > > From: FreeSWITCH-users > On Behalf Of Giovanni Maruzzelli > Sent: Tuesday, June 18, 2019 2:45 PM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault > > You are expected to install in an empty, installed from scratch, base, debian 9 stretch 64 bit > > not at all in a desktop install > > I repeat, command line server basic install, debian 9 64 bit > > -giovanni > > On Tue, Jun 18, 2019 at 8:41 PM Sean Devoy > wrote: > From the repo. > > apt-get update && apt-get install -y gnupg2 wget > wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add - > > echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list > echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list > > # you may want to populate /etc/freeswitch at this point. > # if /etc/freeswitch does not exist, the standard vanilla configuration is deployed > apt-get update && apt-get install -y freeswitch-meta-all > > Is there something else I can send for you to examine? > > I can start over easy enough if you think that all sounds right. Maybe I screwed it up trying to install chrome – unsuccessfully! > > > From: FreeSWITCH-users > On Behalf Of Brian West > Sent: Tuesday, June 18, 2019 12:42 PM > To: FreeSWITCH Users Help > > Subject: Re: [Freeswitch-users] new install Debian 9 and FS 1.8 - Seg Fault > > Did you compile or did you install from packages? libopenmpt MUST be installed from our debian repo. > > /b > > > On Tue, Jun 18, 2019 at 5:30 AM Sean Devoy > wrote: > Hi, > > I have a brand new install of Debian 9 and FS 1.8 (dist) > > fs_cli -rRS results in error connecting > > freeswitch -c ends with: > Adding API Function ‘opus_debug’ > Segmentation fault (core dumped). > > This is my first attempt at FS on a nat’ed PC. > I ran Debian install > I ran FS dist install. > I changed Password. > NOTHING else. > > What did I miss? > > Thanks, > sean > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > -- > > Brian West | Co-founder and Developer > Need Commercial support? email sales at freeswitch.com > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > Email: brian at freeswitch.com > Mobile: 918-424-9378 > Website: https://www.FreeSWITCH.com > _________________________________________________________________________ > > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > --  > Sincerely, > > Giovanni Maruzzelli > OpenTelecom.IT > cell: +39 347 266 56 18 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > -- > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > > > -- > > Brian West | Co-founder and Developer > Need Commercial support? email sales at freeswitch.com > FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 > Email: brian at freeswitch.com > Mobile: 918-424-9378 > Website: https://www.FreeSWITCH.com > _________________________________________________________________________ > > 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 denzs at gonicus.de Mon Jun 24 14:17:20 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Mon, 24 Jun 2019 16:17:20 +0200 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> Message-ID: <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> I didnt see your post before, so i opened a topic for propably the same issue today... i am preparing a test setup right now to reproduce it with the current git-HEAD and then i'll open an issue in Jira... Best regards, Sebastian Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: > Hi, > > slowly it becomes annoying. Since a few days I need to reload the gateway > profile twice a day to refresh the SRV records. I found out that my SIP > Provider "Deutsche Telekom" updated their Documentation of their SIP Trunk. > > Perhaps interesting for others. Here is the updated PDF > https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps > > The document also includes a section on DNS and SRV. Can someone tell me if > I can make changes in the configuration based on the following information > so that the SRV records are updated correctly? > > Best regards, > > ############ > > Domain and IP address recognition and resolution on the SIP trunk interface > is performed via DNS servers. > > In the registration mode, the IP address, transport and port of the server > are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating SIP > Servers". > > According to RFC 3263, the SIP-PBX performs a NAPTR query for the domain > names: > - reg.sip-trunk.telekom.de. > - stat.sip-trunk.telekom.de > > and receives the records with the protocols supported by the domain name > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol depending > on whether the client uses TLS or not). > > Since the protocol has been determined, an IP address and port must also be > determined, as described in RFC 3263, Chapter 5, and an SRV query is sent > to the record returned by the NAPTR. Finally, the client performs an > A-Record lookup on these records to obtain the IP addresses of the servers. > The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). > > A lookup to these domain names is not possible. Therefore a lookup with > some tools (e.g. nslookup under some Windows versions) does not lead to > success, because these only make an A-Record query by default! > The correct query order is therefore > - NAPTR on reg.sip-trunk.telekom.de > - SRV to a record of the NAPTR response > - A to a record of the SRV response > > Success also leads: > - SRV on reg.sip-trunk.telekom.de > > - A to a record of the SRV response > > Does not lead to success: > - A on reg.sip-trunk.telekom.de > > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a > behavior in which only the A record is queried, which then fails. A > NAPTR/SRV query is only performed if the port is set to "0". (The > background is that the SRV query provides the port, i.e. the port cannot be > set to a fixed value in advance). > > ############ > > > > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < > paul.muaddib83 at gmail.com>: > >> How can I check the TTL of the SRV register? >> >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana < >> rbetancor at gmail.com>: >> >>> The only way you have is to tell FS to "reload" that provider gw profile. >>> >>> You should check the TTL of that provider SRV registers as may be a >>> problem on their end, not updating them correctly. >>> >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib >>> wrote: >>> >>>> Hi Lawrence, >>>> >>>> I think that you want to know how to tell your fS to re-lookup the SRV >>>>> records for that gateway's domain while running, as the SRV records in that >>>>> provider's DNS changes regularly. >>>>> >>>>> I can't help on the details of fS's DNS lookup code, but is that the >>>>> actual problem you have and so the question you want to ask? >>>>> >>>> >>>> Yes, that is my problem. >>>> >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < >>>> lconroy at insensate.co.uk>: >>>> >>>>> Hi >>>>> They may do; they may not. It's hard to tell when the question is that >>>>> confusing. >>>>> >>>>> 1. IIUC, fS doesn't update local DNS records at all. >>>>> (it could, but you'd need to write something external to do the DNS >>>>> update). >>>>> >>>>> 2. you talk of not being able to call OUT. >>>>> That's good, as it means there is no need to update your domain's DNS >>>>> records. >>>>> >>>>> I assume that what you mean is that your provider changes its SRV >>>>> records every couple of days. >>>>> You have a gateway entry in your fS config for that provider. >>>>> That gateway spec has a defined domain name for the server. >>>>> I think that you want to know how to tell your fS to re-lookup the SRV >>>>> records for that gateway's domain while running, as the SRV records in that >>>>> provider's DNS changes regularly. >>>>> >>>>> I can't help on the details of fS's DNS lookup code, but is that the >>>>> actual problem you have and so the question you want to ask? >>>>> >>>>> br, >>>>> Lawrence >>>>> >>>>> >>>>> On 6 May 2019, at 21:04, Paul Muaddib wrote: >>>>> >>>>>> Really nobody with the same problem? >>>>>> >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < >>>>> paul.muaddib83 at gmail.com>: >>>>>> Hi, >>>>>> >>>>>> how can I tell freeswitch to update the SRV records or is there a way >>>>> to force the update without restarting. My provider keeps changing the >>>>> entries after a few days and if I don't restart freeswitch I can not call >>>>> out anymore (403) >>>>>> >>>>>> Best regards >>>>>> >>>>> _________________________________________________________________________ >>>>>> >>>>>> 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 > From rbetancor at gmail.com Mon Jun 24 15:46:52 2019 From: rbetancor at gmail.com (=?UTF-8?Q?Ra=C3=BAl_Alexis_Betancor_Santana?=) Date: Mon, 24 Jun 2019 16:46:52 +0100 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> Message-ID: I'll reiterate too, it's a KOWN bug, that have been disused other times on the list, but usually drop into silent, don't know if a Sofia-sip issue or FS core issue (I don't have the needed knwoleadge over the FS code to state that), but I could assure you it not limited to outbound-reg, it happens on EVERY ONE AND SINGLE SIP request handled by FS where DNS are envolved, TTL's are not honored AT ALL, doesn't matter if SRV or A record, once a DNS result it's cached, it never expires. On Mon, Jun 24, 2019 at 3:38 PM Mike Jerris wrote: > ill reiterate, if this is happening it’s specific to sofia-sip, NOT > FreeSWITCH. Sofia-sip has its own resolver code and if what’s described is > happening it does sound like a bug. from the description it seems more > nuanced than it just not respecting rtp, sounds like it’s specific to > outbound reg. > > On Mon, Jun 24, 2019 at 9:34 AM Raúl Alexis Betancor Santana < > rbetancor at gmail.com> wrote: > >> It's a known issue of FS, it does dns query ONLY one time, you could >> check the list and search for discusions about this ... FS doesn't honor >> the TTL values. >> >> On Mon, Jun 24, 2019 at 2:16 PM Mike Jerris wrote: >> >>> if that’s the case it’s an issue with the resolver cache in sofia-sip >>> >>> _________________________________________________________________________ >> >> 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 kai.danielmeier at gmail.com Tue Jun 25 06:36:04 2019 From: kai.danielmeier at gmail.com (Kai Danielmeier) Date: Tue, 25 Jun 2019 08:36:04 +0200 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> Message-ID: Basically I solved the problem by working around it with a hangup hook. In it I check the call disposition and if it is 403 I restart the gateway and then retry the call. Not the most perfect solution, but does the job and I do not have to manually restart any gateways. We had cases where the IP change for the server happened several times daily, which was very annoying. BR Kai Am Mo., 24. Juni 2019 um 16:51 Uhr schrieb Sebastian Denz : > I didnt see your post before, so i opened a topic for propably the same > issue today... i am preparing a test setup right now to reproduce it > with the current git-HEAD and then i'll open an issue in Jira... > > Best regards, > Sebastian > > Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: > > Hi, > > > > slowly it becomes annoying. Since a few days I need to reload the gateway > > profile twice a day to refresh the SRV records. I found out that my SIP > > Provider "Deutsche Telekom" updated their Documentation of their SIP > Trunk. > > > > Perhaps interesting for others. Here is the updated PDF > > > https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps > > > > The document also includes a section on DNS and SRV. Can someone tell me > if > > I can make changes in the configuration based on the following > information > > so that the SRV records are updated correctly? > > > > Best regards, > > > > ############ > > > > Domain and IP address recognition and resolution on the SIP trunk > interface > > is performed via DNS servers. > > > > In the registration mode, the IP address, transport and port of the > server > > are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating > SIP > > Servers". > > > > According to RFC 3263, the SIP-PBX performs a NAPTR query for the domain > > names: > > - reg.sip-trunk.telekom.de. > > - stat.sip-trunk.telekom.de > > > > and receives the records with the protocols supported by the domain name > > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol > depending > > on whether the client uses TLS or not). > > > > Since the protocol has been determined, an IP address and port must also > be > > determined, as described in RFC 3263, Chapter 5, and an SRV query is sent > > to the record returned by the NAPTR. Finally, the client performs an > > A-Record lookup on these records to obtain the IP addresses of the > servers. > > The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, > > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). > > > > A lookup to these domain names is not possible. Therefore a lookup with > > some tools (e.g. nslookup under some Windows versions) does not lead to > > success, because these only make an A-Record query by default! > > The correct query order is therefore > > - NAPTR on reg.sip-trunk.telekom.de > > - SRV to a record of the NAPTR response > > - A to a record of the SRV response > > > > Success also leads: > > - SRV on reg.sip-trunk.telekom.de > > > > - A to a record of the SRV response > > > > Does not lead to success: > > - A on reg.sip-trunk.telekom.de > > > > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a > > behavior in which only the A record is queried, which then fails. A > > NAPTR/SRV query is only performed if the port is set to "0". (The > > background is that the SRV query provides the port, i.e. the port cannot > be > > set to a fixed value in advance). > > > > ############ > > > > > > > > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < > > paul.muaddib83 at gmail.com>: > > > >> How can I check the TTL of the SRV register? > >> > >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana < > >> rbetancor at gmail.com>: > >> > >>> The only way you have is to tell FS to "reload" that provider gw > profile. > >>> > >>> You should check the TTL of that provider SRV registers as may be a > >>> problem on their end, not updating them correctly. > >>> > >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib > > >>> wrote: > >>> > >>>> Hi Lawrence, > >>>> > >>>> I think that you want to know how to tell your fS to re-lookup the SRV > >>>>> records for that gateway's domain while running, as the SRV records > in that > >>>>> provider's DNS changes regularly. > >>>>> > >>>>> I can't help on the details of fS's DNS lookup code, but is that the > >>>>> actual problem you have and so the question you want to ask? > >>>>> > >>>> > >>>> Yes, that is my problem. > >>>> > >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < > >>>> lconroy at insensate.co.uk>: > >>>> > >>>>> Hi > >>>>> They may do; they may not. It's hard to tell when the question is > that > >>>>> confusing. > >>>>> > >>>>> 1. IIUC, fS doesn't update local DNS records at all. > >>>>> (it could, but you'd need to write something external to do the DNS > >>>>> update). > >>>>> > >>>>> 2. you talk of not being able to call OUT. > >>>>> That's good, as it means there is no need to update your domain's DNS > >>>>> records. > >>>>> > >>>>> I assume that what you mean is that your provider changes its SRV > >>>>> records every couple of days. > >>>>> You have a gateway entry in your fS config for that provider. > >>>>> That gateway spec has a defined domain name for the server. > >>>>> I think that you want to know how to tell your fS to re-lookup the > SRV > >>>>> records for that gateway's domain while running, as the SRV records > in that > >>>>> provider's DNS changes regularly. > >>>>> > >>>>> I can't help on the details of fS's DNS lookup code, but is that the > >>>>> actual problem you have and so the question you want to ask? > >>>>> > >>>>> br, > >>>>> Lawrence > >>>>> > >>>>> > >>>>> On 6 May 2019, at 21:04, Paul Muaddib > wrote: > >>>>> > >>>>>> Really nobody with the same problem? > >>>>>> > >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < > >>>>> paul.muaddib83 at gmail.com>: > >>>>>> Hi, > >>>>>> > >>>>>> how can I tell freeswitch to update the SRV records or is there a > way > >>>>> to force the update without restarting. My provider keeps changing > the > >>>>> entries after a few days and if I don't restart freeswitch I can not > call > >>>>> out anymore (403) > >>>>>> > >>>>>> Best regards > >>>>>> > >>>>> > _________________________________________________________________________ > >>>>>> > >>>>>> 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 > > > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.villasmil.work at gmail.com Tue Jun 25 14:29:37 2019 From: david.villasmil.work at gmail.com (David Villasmil) Date: Tue, 25 Jun 2019 10:29:37 -0400 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> Message-ID: https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_cache.c#367 i'm thinking if we just add a return so that nothing is cached, sofia would do a resolve every time, because it won't find any cached records. Regards, David Villasmil email: david.villasmil.work at gmail.com phone: +34669448337 On Tue, Jun 25, 2019 at 3:07 AM Kai Danielmeier wrote: > Basically I solved the problem by working around it with a hangup hook. In > it I check the call disposition and if it is 403 I restart the gateway and > then retry the call. Not the most perfect solution, but does the job and I > do not have to manually restart any gateways. We had cases where the IP > change for the server happened several times daily, which was very annoying. > > BR > > Kai > > Am Mo., 24. Juni 2019 um 16:51 Uhr schrieb Sebastian Denz < > denzs at gonicus.de>: > >> I didnt see your post before, so i opened a topic for propably the same >> issue today... i am preparing a test setup right now to reproduce it >> with the current git-HEAD and then i'll open an issue in Jira... >> >> Best regards, >> Sebastian >> >> Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: >> > Hi, >> > >> > slowly it becomes annoying. Since a few days I need to reload the >> gateway >> > profile twice a day to refresh the SRV records. I found out that my SIP >> > Provider "Deutsche Telekom" updated their Documentation of their SIP >> Trunk. >> > >> > Perhaps interesting for others. Here is the updated PDF >> > >> https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps >> > >> > The document also includes a section on DNS and SRV. Can someone tell >> me if >> > I can make changes in the configuration based on the following >> information >> > so that the SRV records are updated correctly? >> > >> > Best regards, >> > >> > ############ >> > >> > Domain and IP address recognition and resolution on the SIP trunk >> interface >> > is performed via DNS servers. >> > >> > In the registration mode, the IP address, transport and port of the >> server >> > are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating >> SIP >> > Servers". >> > >> > According to RFC 3263, the SIP-PBX performs a NAPTR query for the domain >> > names: >> > - reg.sip-trunk.telekom.de. >> > - stat.sip-trunk.telekom.de >> > >> > and receives the records with the protocols supported by the domain name >> > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol >> depending >> > on whether the client uses TLS or not). >> > >> > Since the protocol has been determined, an IP address and port must >> also be >> > determined, as described in RFC 3263, Chapter 5, and an SRV query is >> sent >> > to the record returned by the NAPTR. Finally, the client performs an >> > A-Record lookup on these records to obtain the IP addresses of the >> servers. >> > The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, >> > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). >> > >> > A lookup to these domain names is not possible. Therefore a lookup with >> > some tools (e.g. nslookup under some Windows versions) does not lead to >> > success, because these only make an A-Record query by default! >> > The correct query order is therefore >> > - NAPTR on reg.sip-trunk.telekom.de >> > - SRV to a record of the NAPTR response >> > - A to a record of the SRV response >> > >> > Success also leads: >> > - SRV on reg.sip-trunk.telekom.de >> > >> > - A to a record of the SRV response >> > >> > Does not lead to success: >> > - A on reg.sip-trunk.telekom.de >> > >> > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a >> > behavior in which only the A record is queried, which then fails. A >> > NAPTR/SRV query is only performed if the port is set to "0". (The >> > background is that the SRV query provides the port, i.e. the port >> cannot be >> > set to a fixed value in advance). >> > >> > ############ >> > >> > >> > >> > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < >> > paul.muaddib83 at gmail.com>: >> > >> >> How can I check the TTL of the SRV register? >> >> >> >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana < >> >> rbetancor at gmail.com>: >> >> >> >>> The only way you have is to tell FS to "reload" that provider gw >> profile. >> >>> >> >>> You should check the TTL of that provider SRV registers as may be a >> >>> problem on their end, not updating them correctly. >> >>> >> >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib < >> paul.muaddib83 at gmail.com> >> >>> wrote: >> >>> >> >>>> Hi Lawrence, >> >>>> >> >>>> I think that you want to know how to tell your fS to re-lookup the >> SRV >> >>>>> records for that gateway's domain while running, as the SRV records >> in that >> >>>>> provider's DNS changes regularly. >> >>>>> >> >>>>> I can't help on the details of fS's DNS lookup code, but is that the >> >>>>> actual problem you have and so the question you want to ask? >> >>>>> >> >>>> >> >>>> Yes, that is my problem. >> >>>> >> >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < >> >>>> lconroy at insensate.co.uk>: >> >>>> >> >>>>> Hi >> >>>>> They may do; they may not. It's hard to tell when the question is >> that >> >>>>> confusing. >> >>>>> >> >>>>> 1. IIUC, fS doesn't update local DNS records at all. >> >>>>> (it could, but you'd need to write something external to do the DNS >> >>>>> update). >> >>>>> >> >>>>> 2. you talk of not being able to call OUT. >> >>>>> That's good, as it means there is no need to update your domain's >> DNS >> >>>>> records. >> >>>>> >> >>>>> I assume that what you mean is that your provider changes its SRV >> >>>>> records every couple of days. >> >>>>> You have a gateway entry in your fS config for that provider. >> >>>>> That gateway spec has a defined domain name for the server. >> >>>>> I think that you want to know how to tell your fS to re-lookup the >> SRV >> >>>>> records for that gateway's domain while running, as the SRV records >> in that >> >>>>> provider's DNS changes regularly. >> >>>>> >> >>>>> I can't help on the details of fS's DNS lookup code, but is that the >> >>>>> actual problem you have and so the question you want to ask? >> >>>>> >> >>>>> br, >> >>>>> Lawrence >> >>>>> >> >>>>> >> >>>>> On 6 May 2019, at 21:04, Paul Muaddib >> wrote: >> >>>>> >> >>>>>> Really nobody with the same problem? >> >>>>>> >> >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < >> >>>>> paul.muaddib83 at gmail.com>: >> >>>>>> Hi, >> >>>>>> >> >>>>>> how can I tell freeswitch to update the SRV records or is there a >> way >> >>>>> to force the update without restarting. My provider keeps changing >> the >> >>>>> entries after a few days and if I don't restart freeswitch I can >> not call >> >>>>> out anymore (403) >> >>>>>> >> >>>>>> Best regards >> >>>>>> >> >>>>> >> _________________________________________________________________________ >> >>>>>> >> >>>>>> 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 >> > >> >> >> _________________________________________________________________________ >> >> 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 heedfeld at gmail.com Tue Jun 25 12:51:38 2019 From: heedfeld at gmail.com (Henning Heedfeld) Date: Tue, 25 Jun 2019 14:51:38 +0200 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> Message-ID: <860B846B-3B49-48E7-8206-FA6F482CF1B8@gmail.com> Wow, that’s a pretty cool hack - kudos for this idea. But I think the problem needs to be solved in Sofia SIP - I’m facing the same issue with Deutsche Telekom SIP-Trunk and FreeSWITCH. [x] me too br Henning > Am 25.06.2019 um 08:36 schrieb Kai Danielmeier : > > Basically I solved the problem by working around it with a hangup hook. In it I check the call disposition and if it is 403 I restart the gateway and then retry the call. Not the most perfect solution, but does the job and I do not have to manually restart any gateways. We had cases where the IP change for the server happened several times daily, which was very annoying. > > BR > > Kai > > Am Mo., 24. Juni 2019 um 16:51 Uhr schrieb Sebastian Denz >: > I didnt see your post before, so i opened a topic for propably the same > issue today... i am preparing a test setup right now to reproduce it > with the current git-HEAD and then i'll open an issue in Jira... > > Best regards, > Sebastian > > Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: > > Hi, > > > > slowly it becomes annoying. Since a few days I need to reload the gateway > > profile twice a day to refresh the SRV records. I found out that my SIP > > Provider "Deutsche Telekom" updated their Documentation of their SIP Trunk. > > > > Perhaps interesting for others. Here is the updated PDF > > https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps > > > > The document also includes a section on DNS and SRV. Can someone tell me if > > I can make changes in the configuration based on the following information > > so that the SRV records are updated correctly? > > > > Best regards, > > > > ############ > > > > Domain and IP address recognition and resolution on the SIP trunk interface > > is performed via DNS servers. > > > > In the registration mode, the IP address, transport and port of the server > > are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating SIP > > Servers". > > > > According to RFC 3263, the SIP-PBX performs a NAPTR query for the domain > > names: > > - reg.sip-trunk.telekom.de . > > - stat.sip-trunk.telekom.de > > > > and receives the records with the protocols supported by the domain name > > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol depending > > on whether the client uses TLS or not). > > > > Since the protocol has been determined, an IP address and port must also be > > determined, as described in RFC 3263, Chapter 5, and an SRV query is sent > > to the record returned by the NAPTR. Finally, the client performs an > > A-Record lookup on these records to obtain the IP addresses of the servers. > > The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, > > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). > > > > A lookup to these domain names is not possible. Therefore a lookup with > > some tools (e.g. nslookup under some Windows versions) does not lead to > > success, because these only make an A-Record query by default! > > The correct query order is therefore > > - NAPTR on reg.sip-trunk.telekom.de > > - SRV to a record of the NAPTR response > > - A to a record of the SRV response > > > > Success also leads: > > - SRV on reg.sip-trunk.telekom.de > > > > - A to a record of the SRV response > > > > Does not lead to success: > > - A on reg.sip-trunk.telekom.de > > > > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a > > behavior in which only the A record is queried, which then fails. A > > NAPTR/SRV query is only performed if the port is set to "0". (The > > background is that the SRV query provides the port, i.e. the port cannot be > > set to a fixed value in advance). > > > > ############ > > > > > > > > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < > > paul.muaddib83 at gmail.com >: > > > >> How can I check the TTL of the SRV register? > >> > >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana < > >> rbetancor at gmail.com >: > >> > >>> The only way you have is to tell FS to "reload" that provider gw profile. > >>> > >>> You should check the TTL of that provider SRV registers as may be a > >>> problem on their end, not updating them correctly. > >>> > >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib > > >>> wrote: > >>> > >>>> Hi Lawrence, > >>>> > >>>> I think that you want to know how to tell your fS to re-lookup the SRV > >>>>> records for that gateway's domain while running, as the SRV records in that > >>>>> provider's DNS changes regularly. > >>>>> > >>>>> I can't help on the details of fS's DNS lookup code, but is that the > >>>>> actual problem you have and so the question you want to ask? > >>>>> > >>>> > >>>> Yes, that is my problem. > >>>> > >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < > >>>> lconroy at insensate.co.uk >: > >>>> > >>>>> Hi > >>>>> They may do; they may not. It's hard to tell when the question is that > >>>>> confusing. > >>>>> > >>>>> 1. IIUC, fS doesn't update local DNS records at all. > >>>>> (it could, but you'd need to write something external to do the DNS > >>>>> update). > >>>>> > >>>>> 2. you talk of not being able to call OUT. > >>>>> That's good, as it means there is no need to update your domain's DNS > >>>>> records. > >>>>> > >>>>> I assume that what you mean is that your provider changes its SRV > >>>>> records every couple of days. > >>>>> You have a gateway entry in your fS config for that provider. > >>>>> That gateway spec has a defined domain name for the server. > >>>>> I think that you want to know how to tell your fS to re-lookup the SRV > >>>>> records for that gateway's domain while running, as the SRV records in that > >>>>> provider's DNS changes regularly. > >>>>> > >>>>> I can't help on the details of fS's DNS lookup code, but is that the > >>>>> actual problem you have and so the question you want to ask? > >>>>> > >>>>> br, > >>>>> Lawrence > >>>>> > >>>>> > >>>>> On 6 May 2019, at 21:04, Paul Muaddib > wrote: > >>>>> > >>>>>> Really nobody with the same problem? > >>>>>> > >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < > >>>>> paul.muaddib83 at gmail.com >: > >>>>>> Hi, > >>>>>> > >>>>>> how can I tell freeswitch to update the SRV records or is there a way > >>>>> to force the update without restarting. My provider keeps changing the > >>>>> entries after a few days and if I don't restart freeswitch I can not call > >>>>> out anymore (403) > >>>>>> > >>>>>> Best regards > >>>>>> > >>>>> _________________________________________________________________________ > >>>>>> > >>>>>> 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 > > > > > _________________________________________________________________________ > > 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 pingzoya at gmail.com Tue Jun 25 22:07:19 2019 From: pingzoya at gmail.com (zoya Ferdowsian) Date: Tue, 25 Jun 2019 15:07:19 -0700 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> Message-ID: Hello I am very new in FreeSwitch trying to install it on windows 10 I have followed https://freeswitch.org/confluence/display/FREESWITCH/Windows , I do this warning --> On Windows you must Select *CheckOut as-is, Commit as-is* in order to Set core.autocrlf False. but when I tun git clone https://stash.freeswitch.org/scm/fs/freeswitch.git C:/FS_GIT/ After completion on my Gitt I type --> *git config --get-all core.autocrlf* returns --> true Where and how do I change it to give me false, when it says --> On Windows you must Select *CheckOut as-is, Commit as-is* in order to Set core.autocrlf False. where do I do this to get the false result? Thanks Zoya On Tue, Jun 25, 2019 at 8:02 AM David Villasmil < david.villasmil.work at gmail.com> wrote: > > https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_cache.c#367 > > i'm thinking if we just add a return so that nothing is cached, sofia > would do a resolve every time, because it won't find any cached records. > > Regards, > > David Villasmil > email: david.villasmil.work at gmail.com > phone: +34669448337 > > > On Tue, Jun 25, 2019 at 3:07 AM Kai Danielmeier > wrote: > >> Basically I solved the problem by working around it with a hangup hook. >> In it I check the call disposition and if it is 403 I restart the gateway >> and then retry the call. Not the most perfect solution, but does the job >> and I do not have to manually restart any gateways. We had cases where the >> IP change for the server happened several times daily, which was very >> annoying. >> >> BR >> >> Kai >> >> Am Mo., 24. Juni 2019 um 16:51 Uhr schrieb Sebastian Denz < >> denzs at gonicus.de>: >> >>> I didnt see your post before, so i opened a topic for propably the same >>> issue today... i am preparing a test setup right now to reproduce it >>> with the current git-HEAD and then i'll open an issue in Jira... >>> >>> Best regards, >>> Sebastian >>> >>> Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: >>> > Hi, >>> > >>> > slowly it becomes annoying. Since a few days I need to reload the >>> gateway >>> > profile twice a day to refresh the SRV records. I found out that my SIP >>> > Provider "Deutsche Telekom" updated their Documentation of their SIP >>> Trunk. >>> > >>> > Perhaps interesting for others. Here is the updated PDF >>> > >>> https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps >>> > >>> > The document also includes a section on DNS and SRV. Can someone tell >>> me if >>> > I can make changes in the configuration based on the following >>> information >>> > so that the SRV records are updated correctly? >>> > >>> > Best regards, >>> > >>> > ############ >>> > >>> > Domain and IP address recognition and resolution on the SIP trunk >>> interface >>> > is performed via DNS servers. >>> > >>> > In the registration mode, the IP address, transport and port of the >>> server >>> > are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating >>> SIP >>> > Servers". >>> > >>> > According to RFC 3263, the SIP-PBX performs a NAPTR query for the >>> domain >>> > names: >>> > - reg.sip-trunk.telekom.de. >>> > - stat.sip-trunk.telekom.de >>> > >>> > and receives the records with the protocols supported by the domain >>> name >>> > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol >>> depending >>> > on whether the client uses TLS or not). >>> > >>> > Since the protocol has been determined, an IP address and port must >>> also be >>> > determined, as described in RFC 3263, Chapter 5, and an SRV query is >>> sent >>> > to the record returned by the NAPTR. Finally, the client performs an >>> > A-Record lookup on these records to obtain the IP addresses of the >>> servers. >>> > The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, >>> > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). >>> > >>> > A lookup to these domain names is not possible. Therefore a lookup with >>> > some tools (e.g. nslookup under some Windows versions) does not lead to >>> > success, because these only make an A-Record query by default! >>> > The correct query order is therefore >>> > - NAPTR on reg.sip-trunk.telekom.de >>> > - SRV to a record of the NAPTR response >>> > - A to a record of the SRV response >>> > >>> > Success also leads: >>> > - SRV on reg.sip-trunk.telekom.de >>> > >>> > - A to a record of the SRV response >>> > >>> > Does not lead to success: >>> > - A on reg.sip-trunk.telekom.de >>> > >>> > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a >>> > behavior in which only the A record is queried, which then fails. A >>> > NAPTR/SRV query is only performed if the port is set to "0". (The >>> > background is that the SRV query provides the port, i.e. the port >>> cannot be >>> > set to a fixed value in advance). >>> > >>> > ############ >>> > >>> > >>> > >>> > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < >>> > paul.muaddib83 at gmail.com>: >>> > >>> >> How can I check the TTL of the SRV register? >>> >> >>> >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana >>> < >>> >> rbetancor at gmail.com>: >>> >> >>> >>> The only way you have is to tell FS to "reload" that provider gw >>> profile. >>> >>> >>> >>> You should check the TTL of that provider SRV registers as may be a >>> >>> problem on their end, not updating them correctly. >>> >>> >>> >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib < >>> paul.muaddib83 at gmail.com> >>> >>> wrote: >>> >>> >>> >>>> Hi Lawrence, >>> >>>> >>> >>>> I think that you want to know how to tell your fS to re-lookup the >>> SRV >>> >>>>> records for that gateway's domain while running, as the SRV >>> records in that >>> >>>>> provider's DNS changes regularly. >>> >>>>> >>> >>>>> I can't help on the details of fS's DNS lookup code, but is that >>> the >>> >>>>> actual problem you have and so the question you want to ask? >>> >>>>> >>> >>>> >>> >>>> Yes, that is my problem. >>> >>>> >>> >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < >>> >>>> lconroy at insensate.co.uk>: >>> >>>> >>> >>>>> Hi >>> >>>>> They may do; they may not. It's hard to tell when the question is >>> that >>> >>>>> confusing. >>> >>>>> >>> >>>>> 1. IIUC, fS doesn't update local DNS records at all. >>> >>>>> (it could, but you'd need to write something external to do the DNS >>> >>>>> update). >>> >>>>> >>> >>>>> 2. you talk of not being able to call OUT. >>> >>>>> That's good, as it means there is no need to update your domain's >>> DNS >>> >>>>> records. >>> >>>>> >>> >>>>> I assume that what you mean is that your provider changes its SRV >>> >>>>> records every couple of days. >>> >>>>> You have a gateway entry in your fS config for that provider. >>> >>>>> That gateway spec has a defined domain name for the server. >>> >>>>> I think that you want to know how to tell your fS to re-lookup the >>> SRV >>> >>>>> records for that gateway's domain while running, as the SRV >>> records in that >>> >>>>> provider's DNS changes regularly. >>> >>>>> >>> >>>>> I can't help on the details of fS's DNS lookup code, but is that >>> the >>> >>>>> actual problem you have and so the question you want to ask? >>> >>>>> >>> >>>>> br, >>> >>>>> Lawrence >>> >>>>> >>> >>>>> >>> >>>>> On 6 May 2019, at 21:04, Paul Muaddib >>> wrote: >>> >>>>> >>> >>>>>> Really nobody with the same problem? >>> >>>>>> >>> >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < >>> >>>>> paul.muaddib83 at gmail.com>: >>> >>>>>> Hi, >>> >>>>>> >>> >>>>>> how can I tell freeswitch to update the SRV records or is there a >>> way >>> >>>>> to force the update without restarting. My provider keeps changing >>> the >>> >>>>> entries after a few days and if I don't restart freeswitch I can >>> not call >>> >>>>> out anymore (403) >>> >>>>>> >>> >>>>>> Best regards >>> >>>>>> >>> >>>>> >>> _________________________________________________________________________ >>> >>>>>> >>> >>>>>> 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 >>> > >>> >>> >>> _________________________________________________________________________ >>> >>> 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 krice at freeswitch.org Wed Jun 26 01:40:06 2019 From: krice at freeswitch.org (Ken Rice) Date: Tue, 25 Jun 2019 20:40:06 -0500 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> Message-ID: <37829BBD-0CEC-4E2D-B123-0FD7E2FA22AA@freeswitch.org> dont hijack threads start a new one Sent from my iPhone > On Jun 25, 2019, at 17:07, zoya Ferdowsian wrote: > > Hello > I am very new in FreeSwitch trying to install it on windows 10 > I have followed https://freeswitch.org/confluence/display/FREESWITCH/Windows, > > I do this warning --> On Windows you must Select CheckOut as-is, Commit as-is in order to Set core.autocrlf False. > > but when I tun git clone https://stash.freeswitch.org/scm/fs/freeswitch.git C:/FS_GIT/ > After completion on my Gitt I type --> git config --get-all core.autocrlf > returns --> true > > Where and how do I change it to give me false, when it says --> On Windows you must Select CheckOut as-is, Commit as-is in order to Set core.autocrlf False. > where do I do this to get the false result? > > Thanks > Zoya > >> On Tue, Jun 25, 2019 at 8:02 AM David Villasmil wrote: >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_cache.c#367 >> >> i'm thinking if we just add a return so that nothing is cached, sofia would do a resolve every time, because it won't find any cached records. >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> >> >>> On Tue, Jun 25, 2019 at 3:07 AM Kai Danielmeier wrote: >>> Basically I solved the problem by working around it with a hangup hook. In it I check the call disposition and if it is 403 I restart the gateway and then retry the call. Not the most perfect solution, but does the job and I do not have to manually restart any gateways. We had cases where the IP change for the server happened several times daily, which was very annoying. >>> >>> BR >>> >>> Kai >>> >>>> Am Mo., 24. Juni 2019 um 16:51 Uhr schrieb Sebastian Denz : >>>> I didnt see your post before, so i opened a topic for propably the same >>>> issue today... i am preparing a test setup right now to reproduce it >>>> with the current git-HEAD and then i'll open an issue in Jira... >>>> >>>> Best regards, >>>> Sebastian >>>> >>>> Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: >>>> > Hi, >>>> > >>>> > slowly it becomes annoying. Since a few days I need to reload the gateway >>>> > profile twice a day to refresh the SRV records. I found out that my SIP >>>> > Provider "Deutsche Telekom" updated their Documentation of their SIP Trunk. >>>> > >>>> > Perhaps interesting for others. Here is the updated PDF >>>> > https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps >>>> > >>>> > The document also includes a section on DNS and SRV. Can someone tell me if >>>> > I can make changes in the configuration based on the following information >>>> > so that the SRV records are updated correctly? >>>> > >>>> > Best regards, >>>> > >>>> > ############ >>>> > >>>> > Domain and IP address recognition and resolution on the SIP trunk interface >>>> > is performed via DNS servers. >>>> > >>>> > In the registration mode, the IP address, transport and port of the server >>>> > are determined according to RFC 3263 and SIPConnect 2.0 16.1 "Locating SIP >>>> > Servers". >>>> > >>>> > According to RFC 3263, the SIP-PBX performs a NAPTR query for the domain >>>> > names: >>>> > - reg.sip-trunk.telekom.de. >>>> > - stat.sip-trunk.telekom.de >>>> > >>>> > and receives the records with the protocols supported by the domain name >>>> > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol depending >>>> > on whether the client uses TLS or not). >>>> > >>>> > Since the protocol has been determined, an IP address and port must also be >>>> > determined, as described in RFC 3263, Chapter 5, and an SRV query is sent >>>> > to the record returned by the NAPTR. Finally, the client performs an >>>> > A-Record lookup on these records to obtain the IP addresses of the servers. >>>> > The destination node selection is the SIP-PBX behavior (SIPconnect 2.0, >>>> > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). >>>> > >>>> > A lookup to these domain names is not possible. Therefore a lookup with >>>> > some tools (e.g. nslookup under some Windows versions) does not lead to >>>> > success, because these only make an A-Record query by default! >>>> > The correct query order is therefore >>>> > - NAPTR on reg.sip-trunk.telekom.de >>>> > - SRV to a record of the NAPTR response >>>> > - A to a record of the SRV response >>>> > >>>> > Success also leads: >>>> > - SRV on reg.sip-trunk.telekom.de >>>> > >>>> > - A to a record of the SRV response >>>> > >>>> > Does not lead to success: >>>> > - A on reg.sip-trunk.telekom.de >>>> > >>>> > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a >>>> > behavior in which only the A record is queried, which then fails. A >>>> > NAPTR/SRV query is only performed if the port is set to "0". (The >>>> > background is that the SRV query provides the port, i.e. the port cannot be >>>> > set to a fixed value in advance). >>>> > >>>> > ############ >>>> > >>>> > >>>> > >>>> > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < >>>> > paul.muaddib83 at gmail.com>: >>>> > >>>> >> How can I check the TTL of the SRV register? >>>> >> >>>> >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor Santana < >>>> >> rbetancor at gmail.com>: >>>> >> >>>> >>> The only way you have is to tell FS to "reload" that provider gw profile. >>>> >>> >>>> >>> You should check the TTL of that provider SRV registers as may be a >>>> >>> problem on their end, not updating them correctly. >>>> >>> >>>> >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib >>>> >>> wrote: >>>> >>> >>>> >>>> Hi Lawrence, >>>> >>>> >>>> >>>> I think that you want to know how to tell your fS to re-lookup the SRV >>>> >>>>> records for that gateway's domain while running, as the SRV records in that >>>> >>>>> provider's DNS changes regularly. >>>> >>>>> >>>> >>>>> I can't help on the details of fS's DNS lookup code, but is that the >>>> >>>>> actual problem you have and so the question you want to ask? >>>> >>>>> >>>> >>>> >>>> >>>> Yes, that is my problem. >>>> >>>> >>>> >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < >>>> >>>> lconroy at insensate.co.uk>: >>>> >>>> >>>> >>>>> Hi >>>> >>>>> They may do; they may not. It's hard to tell when the question is that >>>> >>>>> confusing. >>>> >>>>> >>>> >>>>> 1. IIUC, fS doesn't update local DNS records at all. >>>> >>>>> (it could, but you'd need to write something external to do the DNS >>>> >>>>> update). >>>> >>>>> >>>> >>>>> 2. you talk of not being able to call OUT. >>>> >>>>> That's good, as it means there is no need to update your domain's DNS >>>> >>>>> records. >>>> >>>>> >>>> >>>>> I assume that what you mean is that your provider changes its SRV >>>> >>>>> records every couple of days. >>>> >>>>> You have a gateway entry in your fS config for that provider. >>>> >>>>> That gateway spec has a defined domain name for the server. >>>> >>>>> I think that you want to know how to tell your fS to re-lookup the SRV >>>> >>>>> records for that gateway's domain while running, as the SRV records in that >>>> >>>>> provider's DNS changes regularly. >>>> >>>>> >>>> >>>>> I can't help on the details of fS's DNS lookup code, but is that the >>>> >>>>> actual problem you have and so the question you want to ask? >>>> >>>>> >>>> >>>>> br, >>>> >>>>> Lawrence >>>> >>>>> >>>> >>>>> >>>> >>>>> On 6 May 2019, at 21:04, Paul Muaddib wrote: >>>> >>>>> >>>> >>>>>> Really nobody with the same problem? >>>> >>>>>> >>>> >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < >>>> >>>>> paul.muaddib83 at gmail.com>: >>>> >>>>>> Hi, >>>> >>>>>> >>>> >>>>>> how can I tell freeswitch to update the SRV records or is there a way >>>> >>>>> to force the update without restarting. My provider keeps changing the >>>> >>>>> entries after a few days and if I don't restart freeswitch I can not call >>>> >>>>> out anymore (403) >>>> >>>>>> >>>> >>>>>> Best regards >>>> >>>>>> >>>> >>>>> _________________________________________________________________________ >>>> >>>>>> >>>> >>>>>> 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 >>>> > >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> 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 denzs at gonicus.de Wed Jun 26 09:58:10 2019 From: denzs at gonicus.de (Sebastian Denz) Date: Wed, 26 Jun 2019 11:58:10 +0200 Subject: [Freeswitch-users] DNS resolving for REGISTER requests In-Reply-To: References: <39408822-e704-a000-ec51-3126eda789f9@gonicus.de> <5624bae4-22f8-bbbc-1c7d-f889706060d9@gonicus.de> <60b4b87c-2d10-848c-1dfe-d74c2503c5a8@gonicus.de> Message-ID: <452d66f8-04f4-d095-92a6-ff58583dfb8c@gonicus.de> Am 6/24/19 um 3:22 PM schrieb Mike Jerris: > On Mon, Jun 24, 2019 at 9:19 AM Sebastian Denz wrote: > >> Using "sofia loglevel sresolv 9" i dont see any sres_cache_get() calls >> at all before FS sends a REGISTER. >> >> But they are done before any other (new) transaction. >> >> Regarding RFC 3263 Section 4. this seems to be kinda valid, >> because the ongoing RE-REGISTERS requests are happening in-dialog so >> they are not a _new_ transaction?! > > > They ARE a new transaction. > > >> >> But from a practical point of view i would expect there should be a >> mechanism which ensures the used IP is are still valid?! >> >> So i think at least the internal dns cache should be used... >> >> What do you suggest? >> >> Is there anything else i can do to narrow this down and/or should i open >> an issue in > > Jira? For the archive: I just created issue https://freeswitch.org/jira/browse/FS-11904. >> >> > certainly a jira but this needs someone to dig in the code and find a > solution > > Am 6/24/19 um 3:02 PM schrieb Mike Jerris: >>> if that’s the case it’s an issue with the resolver cache in sofia-sip >>> >>> On Mon, Jun 24, 2019 at 9:01 AM Sebastian Denz wrote: >>> >>>> Hello Mike, >>>> >>>> thanks for getting in the discussion! >>>> >>>> I have a pcap-trace from last saturday containing sip and dns where i >>>> can see the following behaviour: >>>> >>>> 11:39:32 FS does an SRV-Lookup for _sip._tcp.reg.sip-trunk.telekom.de >>>> -> Answer contains three records with TTL:3600 >>>> FS does an A-Lookup for the record with the lowest priority >>>> -> Answer contains an IPv4 adress with TTL:216 >>>> >>>> FS registers to the provided ip address and re-registers every ~ 5 >> minutes >>>> >>>> But there is no more dns traffic for the rest of the day (~ 12.5 >> hours)... >>>> >>>> Version is 1.8.2-3-a98a958ac3~64bit on Debian Stretch. >>>> >>>> Could this be an issue with the systems resolving logic (libnss) or is >>>> the resolving completly done by FS itself? >>>> >>>> Am 6/24/19 um 2:19 PM schrieb Mike Jerris: >>>>> if the DNS entries haven’t yet expired then freeswitch won’t query >> again. >>>>> The provider should set lower expiration on their records before a >> change >>>>> or wait the full expiration after making a change to >>>>> actually move hosts or they will cause this issue. This has always >> been >>>>> how the DNS system works. >>>>> >>>>> On Mon, Jun 24, 2019 at 8:14 AM Sebastian Denz >> wrote: >>>>> >>>>>> That is already the case.. >>>>>> >>>>>> When FS starts up it does an SRV-Lookup which contains several >> adresses. >>>>>> >>>>>> One thing is.. the old endpoint is still working.. >>>>>> >>>>>> The provider just changes the IP behind the A record of the first SRV >>>>>> result. >>>>>> >>>>>> But the main problem is that FS does not use DNS at all before >> sending a >>>>>> REGISTER... So i doubt this can be workarounded without touching the >>>>>> code of FS or (and that is what i am going to do) use an external >> script >>>>>> to detect the change and then trigger a gateway restart in FS... >>>>>> >>>>>> Am 6/24/19 um 1:30 PM schrieb Giovanni Maruzzelli: >>>>>>> Maybe, just maybe, putting all addresses in srv records, FS will read >>>>>> that >>>>>>> at startup, then try them all if first fail? No idea if works... Just >>>>>>> curious... >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Jun 24, 2019, 12:18 Sebastian Denz wrote: >>>>>>> >>>>>>>> I already thought about something like that.. >>>>>>>> >>>>>>>> But the main reason for the problem seems to be, that FreeSWITCH >> does >>>>>>>> not query the dns (remote or local) at all before sending the >>>>>>>> REGISTER... :-/ >>>>>>>> >>>>>>>> I could workaround the current issue easily by using static >> addresses >>>>>>>> but then i would loose the failover capability and i would have to >>>> check >>>>>>>> for changes manually or by script... normally dns would just solve >>>> that >>>>>>>> by itself :) >>>>>>>> >>>>>>>> I think i could put Kamailio in front of FreeSWITCH and let it >> handle >>>>>>>> the dns resolution, but that feels like using a sledgehammer to >> crack >>>> a >>>>>>>> nut ;) >>>>>>>> >>>>>>>> And i would prefer a tiny approach, ideally with FreeSWITCH behaving >>>>>>>> correctly...?! >>>>>>>> >>>>>>>> Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli: >>>>>>>>> obviously, you can locally provide dns with dnsmasq or such, easily >>>>>>>>> configured, for other domains too. >>>>>>>>> >>>>>>>>> Maybe you can put all SRV addresses, with different weights, in >> your >>>>>> own >>>>>>>>> (eg, locally defined) zone definition for deutsche telekom, and >>>>>>>> freeswitch >>>>>>>>> will try them all. >>>>>>>>> >>>>>>>>> Not sure this will work, but maybe yes :) >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz >>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Thank you for giving me that pointer! >>>>>>>>>> >>>>>>>>>> I thought i would have searched for everything regarding that >> topic, >>>>>>>>>> but obviously i missed that post! >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html >>>>>>>>>> >>>>>>>>>> I'll contact Kai directly as i was not able to found a >> corresponding >>>>>>>>>> issue in the tracker... >>>>>>>>>> >>>>>>>>>> But if anyone has another idea regarding the problem, i would of >>>>>> course >>>>>>>>>> appreciate any hints too! ;) >>>>>>>>>> >>>>>>>>>> Sebastian >>>>>>>>>> >>>>>>>>>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli: >>>>>>>>>>> I believe this question was already asked in the past in this >>>>>> mailing >>>>>>>>>>> list, and IIRC the answer was no. >>>>>>>>>>> >>>>>>>>>>> You may wanto to check on the mailing list archives (in >> signature), >>>>>>>>>> because >>>>>>>>>>> maybe my merory is wrong. >>>>>>>>>>> >>>>>>>>>>> -giovanni >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz < >> denzs at gonicus.de> >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hello, >>>>>>>>>>>> >>>>>>>>>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche >> Telekom >>>>>> in >>>>>>>>>>>> germany). >>>>>>>>>>>> >>>>>>>>>>>> This works quite well, but ~ once in a month we are unable to do >>>>>>>>>>>> outbound calls. >>>>>>>>>>>> >>>>>>>>>>>> It turned out, that the provider changes some IPs from time to >>>>>> time.. >>>>>>>>>>>> >>>>>>>>>>>> That leads to FreeSWITCH being registered to the old IP while >>>>>>>>>>>> INVITE-requests of new dialogs are sent to the new address. The >>>>>>>> provider >>>>>>>>>>>> terminates this with 403 - forbidden. >>>>>>>>>>>> >>>>>>>>>>>> The registration happens every 5 minutes, but FreeSWITCH does >> not >>>>>>>> update >>>>>>>>>>>> the dns cache for the target IP address. So i gets stuck in that >>>>>>>>>>>> situation being registered on the old IP while sending INVITEs >> to >>>>>> the >>>>>>>>>>>> new one.. >>>>>>>>>>>> >>>>>>>>>>>> The only solution to that is reloading the profile or restarting >>>>>>>>>>>> FreeSWITCH... >>>>>>>>>>>> >>>>>>>>>>>> Is there an option to make FreeSWITCH asking the dns _before >>>> every_ >>>>>>>>>>>> REGISTER? Or do you have any other suggestion on how to fix >> this? >>>>>>>>>>>> >>>>>>>>>>>> Best regards, >>>>>>>>>>>> Sebastian Denz >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>> >>>>>>>> >>>>>> >>>> >> _________________________________________________________________________ >>>>>>>>>>>> >>>>>>>>>>>> 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 >>>>>>> >>>>>>> >>>>>>> >>>> >> _________________________________________________________________________ >>>>>>> >>>>>>> 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 >>> >> >> >> _________________________________________________________________________ >> >> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com >> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN >> services. >> Build your next product on our scalable cloud platform. >> >> Join our online community to chat in real time >> https://signalwire.community >> >> Professional FreeSWITCH Services >> sales at freeswitch.com >> https://freeswitch.com >> >> Official FreeSWITCH Sites >> https://freeswitch.com/oss >> https://freeswitch.org/confluence >> https://cluecon.com >> >> FreeSWITCH-users mailing list >> FreeSWITCH-users at lists.freeswitch.org >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users >> https://freeswitch.com > > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com > From pingzoya at gmail.com Wed Jun 26 03:08:38 2019 From: pingzoya at gmail.com (zoya Ferdowsian) Date: Tue, 25 Jun 2019 20:08:38 -0700 Subject: [Freeswitch-users] Installing freeswitch on windows 10 Message-ID: Hello I am trying to install it on windows 10 I have followed https://freeswitch.org/confluence/display/FREESWITCH/Windows , In the document I see this warning --> On Windows you must Select *CheckOut as-is, Commit as-is* in order to Set core.autocrlf False. >From Git command prompt I run git clone https://stash.freeswitch.org/scm/fs/freeswitch.git C:/FS_GIT/ After completion I type --> *git config --get-all core.autocrlf* returns --> true Where am I supposed to do this to achieve false —> On Windows you must Select *CheckOut as-is, Commit as-is* i Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From pingzoya at gmail.com Wed Jun 26 03:10:21 2019 From: pingzoya at gmail.com (zoya Ferdowsian) Date: Tue, 25 Jun 2019 20:10:21 -0700 Subject: [Freeswitch-users] Update DNS SRV records In-Reply-To: <37829BBD-0CEC-4E2D-B123-0FD7E2FA22AA@freeswitch.org> References: <8F74794A-50F0-42AA-862D-39CD9BAED974@insensate.co.uk> <4167314c-9286-5b4c-b097-0eada9db98ec@gonicus.de> <37829BBD-0CEC-4E2D-B123-0FD7E2FA22AA@freeswitch.org> Message-ID: My apologies I started a new thread. On Tue, Jun 25, 2019 at 7:29 PM Ken Rice wrote: > dont hijack threads start a new one > > Sent from my iPhone > > On Jun 25, 2019, at 17:07, zoya Ferdowsian wrote: > > Hello > I am very new in FreeSwitch trying to install it on windows 10 > I have followed > https://freeswitch.org/confluence/display/FREESWITCH/Windows, > > I do this warning --> On Windows you must Select *CheckOut as-is, Commit > as-is* in order to Set core.autocrlf False. > > but when I tun git clone > https://stash.freeswitch.org/scm/fs/freeswitch.git C:/FS_GIT/ > After completion on my Gitt I type --> *git config --get-all > core.autocrlf* > returns --> true > > Where and how do I change it to give me false, when it says --> On > Windows you must Select *CheckOut as-is, Commit as-is* in order to Set > core.autocrlf False. > where do I do this to get the false result? > > Thanks > Zoya > > On Tue, Jun 25, 2019 at 8:02 AM David Villasmil < > david.villasmil.work at gmail.com> wrote: > >> >> https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/sofia-sip/libsofia-sip-ua/sresolv/sres_cache.c#367 >> >> i'm thinking if we just add a return so that nothing is cached, sofia >> would do a resolve every time, because it won't find any cached records. >> >> Regards, >> >> David Villasmil >> email: david.villasmil.work at gmail.com >> phone: +34669448337 >> >> >> On Tue, Jun 25, 2019 at 3:07 AM Kai Danielmeier < >> kai.danielmeier at gmail.com> wrote: >> >>> Basically I solved the problem by working around it with a hangup hook. >>> In it I check the call disposition and if it is 403 I restart the gateway >>> and then retry the call. Not the most perfect solution, but does the job >>> and I do not have to manually restart any gateways. We had cases where the >>> IP change for the server happened several times daily, which was very >>> annoying. >>> >>> BR >>> >>> Kai >>> >>> Am Mo., 24. Juni 2019 um 16:51 Uhr schrieb Sebastian Denz < >>> denzs at gonicus.de>: >>> >>>> I didnt see your post before, so i opened a topic for propably the same >>>> issue today... i am preparing a test setup right now to reproduce it >>>> with the current git-HEAD and then i'll open an issue in Jira... >>>> >>>> Best regards, >>>> Sebastian >>>> >>>> Am 6/18/19 um 9:05 AM schrieb Paul Muaddib: >>>> > Hi, >>>> > >>>> > slowly it becomes annoying. Since a few days I need to reload the >>>> gateway >>>> > profile twice a day to refresh the SRV records. I found out that my >>>> SIP >>>> > Provider "Deutsche Telekom" updated their Documentation of their SIP >>>> Trunk. >>>> > >>>> > Perhaps interesting for others. Here is the updated PDF >>>> > >>>> https://geschaeftskunden.telekom.de/blobCache/umn/uti/457678_1548405575000/blobBinary/SIP-Trunk-Technische-Unterlage.ps >>>> > >>>> > The document also includes a section on DNS and SRV. Can someone tell >>>> me if >>>> > I can make changes in the configuration based on the following >>>> information >>>> > so that the SRV records are updated correctly? >>>> > >>>> > Best regards, >>>> > >>>> > ############ >>>> > >>>> > Domain and IP address recognition and resolution on the SIP trunk >>>> interface >>>> > is performed via DNS servers. >>>> > >>>> > In the registration mode, the IP address, transport and port of the >>>> server >>>> > are determined according to RFC 3263 and SIPConnect 2.0 16.1 >>>> "Locating SIP >>>> > Servers". >>>> > >>>> > According to RFC 3263, the SIP-PBX performs a NAPTR query for the >>>> domain >>>> > names: >>>> > - reg.sip-trunk.telekom.de. >>>> > - stat.sip-trunk.telekom.de >>>> > >>>> > and receives the records with the protocols supported by the domain >>>> name >>>> > (in case of a SIP trunk usage of the TLS via TCP and TCP protocol >>>> depending >>>> > on whether the client uses TLS or not). >>>> > >>>> > Since the protocol has been determined, an IP address and port must >>>> also be >>>> > determined, as described in RFC 3263, Chapter 5, and an SRV query is >>>> sent >>>> > to the record returned by the NAPTR. Finally, the client performs an >>>> > A-Record lookup on these records to obtain the IP addresses of the >>>> servers. >>>> > The destination node selection is the SIP-PBX behavior (SIPconnect >>>> 2.0, >>>> > Chapter 17.1 for Register Mode and Chapter 16.1 for Static Mode). >>>> > >>>> > A lookup to these domain names is not possible. Therefore a lookup >>>> with >>>> > some tools (e.g. nslookup under some Windows versions) does not lead >>>> to >>>> > success, because these only make an A-Record query by default! >>>> > The correct query order is therefore >>>> > - NAPTR on reg.sip-trunk.telekom.de >>>> > - SRV to a record of the NAPTR response >>>> > - A to a record of the SRV response >>>> > >>>> > Success also leads: >>>> > - SRV on reg.sip-trunk.telekom.de >>>> > >>>> > - A to a record of the SRV response >>>> > >>>> > Does not lead to success: >>>> > - A on reg.sip-trunk.telekom.de >>>> > >>>> > Attention: With many PBXs, setting the port (e.g. to 5060) leads to a >>>> > behavior in which only the A record is queried, which then fails. A >>>> > NAPTR/SRV query is only performed if the port is set to "0". (The >>>> > background is that the SRV query provides the port, i.e. the port >>>> cannot be >>>> > set to a fixed value in advance). >>>> > >>>> > ############ >>>> > >>>> > >>>> > >>>> > Am Di., 7. Mai 2019 um 13:42 Uhr schrieb Paul Muaddib < >>>> > paul.muaddib83 at gmail.com>: >>>> > >>>> >> How can I check the TTL of the SRV register? >>>> >> >>>> >> Am Di., 7. Mai 2019 um 12:36 Uhr schrieb Raúl Alexis Betancor >>>> Santana < >>>> >> rbetancor at gmail.com>: >>>> >> >>>> >>> The only way you have is to tell FS to "reload" that provider gw >>>> profile. >>>> >>> >>>> >>> You should check the TTL of that provider SRV registers as may be a >>>> >>> problem on their end, not updating them correctly. >>>> >>> >>>> >>> On Tue, May 7, 2019 at 10:25 AM Paul Muaddib < >>>> paul.muaddib83 at gmail.com> >>>> >>> wrote: >>>> >>> >>>> >>>> Hi Lawrence, >>>> >>>> >>>> >>>> I think that you want to know how to tell your fS to re-lookup the >>>> SRV >>>> >>>>> records for that gateway's domain while running, as the SRV >>>> records in that >>>> >>>>> provider's DNS changes regularly. >>>> >>>>> >>>> >>>>> I can't help on the details of fS's DNS lookup code, but is that >>>> the >>>> >>>>> actual problem you have and so the question you want to ask? >>>> >>>>> >>>> >>>> >>>> >>>> Yes, that is my problem. >>>> >>>> >>>> >>>> Am Di., 7. Mai 2019 um 00:07 Uhr schrieb Lawrence Conroy < >>>> >>>> lconroy at insensate.co.uk>: >>>> >>>> >>>> >>>>> Hi >>>> >>>>> They may do; they may not. It's hard to tell when the question >>>> is that >>>> >>>>> confusing. >>>> >>>>> >>>> >>>>> 1. IIUC, fS doesn't update local DNS records at all. >>>> >>>>> (it could, but you'd need to write something external to do the >>>> DNS >>>> >>>>> update). >>>> >>>>> >>>> >>>>> 2. you talk of not being able to call OUT. >>>> >>>>> That's good, as it means there is no need to update your domain's >>>> DNS >>>> >>>>> records. >>>> >>>>> >>>> >>>>> I assume that what you mean is that your provider changes its SRV >>>> >>>>> records every couple of days. >>>> >>>>> You have a gateway entry in your fS config for that provider. >>>> >>>>> That gateway spec has a defined domain name for the server. >>>> >>>>> I think that you want to know how to tell your fS to re-lookup >>>> the SRV >>>> >>>>> records for that gateway's domain while running, as the SRV >>>> records in that >>>> >>>>> provider's DNS changes regularly. >>>> >>>>> >>>> >>>>> I can't help on the details of fS's DNS lookup code, but is that >>>> the >>>> >>>>> actual problem you have and so the question you want to ask? >>>> >>>>> >>>> >>>>> br, >>>> >>>>> Lawrence >>>> >>>>> >>>> >>>>> >>>> >>>>> On 6 May 2019, at 21:04, Paul Muaddib >>>> wrote: >>>> >>>>> >>>> >>>>>> Really nobody with the same problem? >>>> >>>>>> >>>> >>>>>> Am Do., 2. Mai 2019 um 11:23 Uhr schrieb Paul Muaddib < >>>> >>>>> paul.muaddib83 at gmail.com>: >>>> >>>>>> Hi, >>>> >>>>>> >>>> >>>>>> how can I tell freeswitch to update the SRV records or is there >>>> a way >>>> >>>>> to force the update without restarting. My provider keeps >>>> changing the >>>> >>>>> entries after a few days and if I don't restart freeswitch I can >>>> not call >>>> >>>>> out anymore (403) >>>> >>>>>> >>>> >>>>>> Best regards >>>> >>>>>> >>>> >>>>> >>>> _________________________________________________________________________ >>>> >>>>>> >>>> >>>>>> 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 >>>> > >>>> >>>> >>>> >>>> _________________________________________________________________________ >>>> >>>> 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.foschian at gmail.com Wed Jun 26 08:36:52 2019 From: marco.foschian at gmail.com (Marco Foschian) Date: Wed, 26 Jun 2019 10:36:52 +0200 Subject: [Freeswitch-users] mod_fifo and esl application : answer a call with given uuid In-Reply-To: References: Message-ID: Hello, I'v found the right command to use. originate {fifo_bridge_uuid=THE_UUID_OF_QUEUED_CHANNEL,sip_auto_answer=true,origination_caller_id_number=CALLING_NUMBER}user/AGENT_EXTENSION &fifo('myqueue at mydomain.org out nowait undef undef') In such a way the operator receive a second call and then (at answer) the desired queued call get pulled out from the fifo queue. In my application I use uuid_kill to cut the other ringing call for that operator, so he see only one call. The only thing I have to fix is the auto respond of the originated call. My CISCO 8811 refuse to auto answer only a specific call. I used any sort of parameters such - answer-time=0 - intercom=1 - sip_h_Call-info=\;answer-after=0 - sip_h_Alert-Info: ;info=alert-autoanswer;delay=0 but none seems to work. Any suggestions? Il giorno gio 13 giu 2019 alle ore 15:44 Marco Foschian ha scritto: > > Hello, > > I'm writing a node.js / esl monitor for a fifo queue that show on a web page the incoming calls and their status (waiting, answered, ringing, etc). > > The page is used by some operators with a phone registered as member of the queue: they can see who is calling (the number is decoded in a caller-name by the application) before answering the call. > > Is there a way for the user of the webpage to choose the ringing call to pick-up instead of the oldest one ? > When the operator click on the page there is an HTTP call to the node.js server where I have the esl connection and the info of each channel involved in the queue. > > I already tried some uuid_bridge commands, or "fifo myqueue out nowait" and uuid_setvar fifo_bridge_uuid combinations, but none works. > > It's possible to implement such a feature with mod_fifo ? > There is any alternative ? > > Best regards, > Marco Foschian From sdevoy at bizfocused.com Wed Jun 26 16:00:27 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Wed, 26 Jun 2019 16:00:27 +0000 Subject: [Freeswitch-users] FANVIL Phones Message-ID: Hi, We have been testing (and using) FANVIL phones. They have been very well received. I am not CONFLUENCE savvy, could someone update the phones page to include this data? Manufacturer Model Version Registration Caller ID Call in/out Call waiting Tranfer Park MWI SRTP TLS Video SIMPLE SLA BLF Fanvil X4/X4G X4-2.10.0.6586 Yes Yes Yes Yes Yes N/A Yes Unknown Unknown Unknown Unknown TCP Only TCP Only Fanvil X5S X5-1.10.13 Yes Yes Yes Yes Yes N/A Yes Unknown Unknown Unknown Unknown TCP Only TCP Only Fanvil X6 X6-V1.3-1.10.13 Yes Yes Yes Yes Yes N/A Yes Unknown Unknown Unknown Unknown TCP Only TCP Only Fanvil X210 X210-1.10.13 Yes Yes Yes Yes Yes N/A Yes Unknown Unknown Unknown Unknown TCP Only TCP Only I hope that survives email transport. Everything seems to work with UDP except BLF and SLA. Thanks, Sean From bipin at xbipin.com Wed Jun 26 16:47:06 2019 From: bipin at xbipin.com (Bipin Patel) Date: Wed, 26 Jun 2019 20:47:06 +0400 Subject: freeswitch package on ARM (raspberry pi) Message-ID: <22bb6b9557dad8244beff8c516dc04b5@xbipin.com> hi, i was wondering if FS packages will be available for ARM raspbian because we have been running multiple SOHO PBX using rpi for clients for quiet some time now, currently we build from master on raspbian stretch as well as jessie and it works well. We did some stress test with 50 calls and 100 channels using rpi 3b+ with g711u and it works flawless as well as we have it on rpi 2 also easily able to handle 20+ calls and now with the rpi 4 im sure it can handle a lot more easily so why not officially create packages for ARM rather than have to compile from master. We also developed a custom CDR portal we supply with it which gives the user the ability to create extenions, gateways etc etc as xml rather than use a DB or xml curl etc to keep the resource consumption low. Regards, Bipin From brian at freeswitch.com Wed Jun 26 19:18:28 2019 From: brian at freeswitch.com (Brian West) Date: Wed, 26 Jun 2019 14:18:28 -0500 Subject: [Freeswitch-users] FANVIL Phones In-Reply-To: References: Message-ID: You can email this to freeswitch-docs. /b On Wed, Jun 26, 2019 at 11:01 AM Sean Devoy wrote: > Hi, > > We have been testing (and using) FANVIL phones. They have been very well > received. > > I am not CONFLUENCE savvy, could someone update the phones page to include > this data? > Manufacturer Model Version Registration Caller ID > Call in/out Call waiting Tranfer Park MWI > SRTP TLS Video SIMPLE SLA > BLF > Fanvil X4/X4G X4-2.10.0.6586 Yes Yes > Yes Yes Yes N/A Yes > Unknown Unknown Unknown Unknown TCP Only TCP Only > Fanvil X5S X5-1.10.13 Yes Yes > Yes Yes Yes N/A Yes > Unknown Unknown Unknown Unknown TCP Only TCP Only > Fanvil X6 X6-V1.3-1.10.13 Yes Yes > Yes Yes Yes N/A Yes > Unknown Unknown Unknown Unknown TCP Only TCP Only > Fanvil X210 X210-1.10.13 Yes Yes > Yes Yes Yes N/A Yes > Unknown Unknown Unknown Unknown TCP Only TCP Only > I hope that survives email transport. > > Everything seems to work with UDP except BLF and SLA. > > > Thanks, > Sean > > _________________________________________________________________________ > > The FreeSWITCH project is sponsored by SignalWire https://signalwire.com > Enhance your FreeSWITCH install with disruptive priced SMS and PSTN > services. > Build your next product on our scalable cloud platform. > > Join our online community to chat in real time > https://signalwire.community > > Professional FreeSWITCH Services > sales at freeswitch.com > https://freeswitch.com > > Official FreeSWITCH Sites > https://freeswitch.com/oss > https://freeswitch.org/confluence > https://cluecon.com > > FreeSWITCH-users mailing list > FreeSWITCH-users at lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > https://freeswitch.com -- Brian West | Co-founder and Developer Need Commercial support? email sales at freeswitch.com FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 Email: brian at freeswitch.com Mobile: 918-424-9378 Website: https://www.FreeSWITCH.com [image: https://www.facebook.com/signalwireinc?src=email] [image: https://twitter.com/freeswitch] -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdevoy at bizfocused.com Thu Jun 27 13:00:21 2019 From: sdevoy at bizfocused.com (Sean Devoy) Date: Thu, 27 Jun 2019 13:00:21 +0000 Subject: [Freeswitch-users] BLF stays on Message-ID: Hi, This may be a problem specific to our Fanvil phones, but I will throw it out here and hope. I have BLF working except when I call one of the extensions that I have a BLF for (or they call me). Sometimes the BLF stays on after the call. If they use that extension again, the BLF "resynchs" and works fine. I am pretty sure that is the only time the BLF gets "stuck", but I can't say with 100% certainty. FS 1.8 not NATed offsite. Phones are NATed. Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From ko at sv01.de Wed Jun 26 16:15:52 2019 From: ko at sv01.de (Kevin Olbrich) Date: Wed, 26 Jun 2019 18:15:52 +0200 Subject: [Freeswitch-users] Installing freeswitch on windows 10 In-Reply-To: References: Message-ID: Hi! Just run this before clone: git config --global core.autocrlf false This will disable CRLF translation. Kevin Am Mi., 26. Juni 2019 um 16:21 Uhr schrieb zoya Ferdowsian : > > Hello > I am trying to install it on windows 10 > I have followed https://freeswitch.org/confluence/display/FREESWITCH/Windows, > > In the document I see this warning --> On Windows you must Select CheckOut as-is, Commit as-is in order to Set core.autocrlf False. > > From Git command prompt I run git clone https://stash.freeswitch.org/scm/fs/freeswitch.git C:/FS_GIT/ > After completion I type --> git config --get-all core.autocrlf > returns --> true > > Where am I supposed to do this to achieve false —> > On Windows you must Select CheckOut as-is, Commit as-is i > > 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 From loidang at hoiio.com Thu Jun 27 07:21:54 2019 From: loidang at hoiio.com (Loi Dang) Date: Thu, 27 Jun 2019 14:21:54 +0700 Subject: [Freeswitch-users] Audio fax via FreeSWITCH in Default media mode Message-ID: Hi all, i'm using FS in the middle of a fax call in Default media mode without loading mod_spandsp.so `t38-passthru` profile param is enabled, and `fax_enable_t38` channel variables are exported. `Asterisk SendFax() -> FreeSWITCH -> Asterisk ReceiveFax()` call flow applied, the codec ulaw was used in all cases All Faxes are succeeded if T.38 involved but when either party is configured intentionally NOT to support T.38, g711 fax was used as expected but nearly all faxes failed (a very few fax calls success in audio mode). I tried removing FS out of the path and the g711 faxes was working fine directly. I'm not sure why so i tweaked some rtp options in FS without knowing very well what they do when i tried ``, the audio faxes has higher rate of success, but the T.38 failed completely. My version is 1.6.17, tried 1.8.6 without any luck any idea or experience for making g711 fax work with FS in my case? thanks thanks Also tried Proxy media mode to let FS stayed in the path but do not touch the stream,, g711 faxes was working properly, so i guess there was some tweaks by FS default media mode into the rtp stream causing the g711 fax failure rgds, Loi Dang -------------- next part -------------- An HTML attachment was scrubbed... URL: From gregor at infomedia.si Thu Jun 27 20:16:18 2019 From: gregor at infomedia.si (Gregor Nanger) Date: Thu, 27 Jun 2019 22:16:18 +0200 Subject: [Freeswitch-users] Installing freeswitch on windows 10 In-Reply-To: References: Message-ID: If you want just to install, use setup that's already prepared and install in few clicks like every program in windows. On Thu, Jun 27, 2019, 18:48 Kevin Olbrich wrote: > Hi! > > Just run this before clone: > > git config --global core.autocrlf false > > This will disable CRLF translation. > > Kevin > > > Am Mi., 26. Juni 2019 um 16:21 Uhr schrieb zoya Ferdowsian < > pingzoya at gmail.com>: > > > > Hello > > I am trying to install it on windows 10 > > I have followed > https://freeswitch.org/confluence/display/FREESWITCH/Windows, > > > > In the document I see this warning --> On Windows you must Select > CheckOut as-is, Commit as-is in order to Set core.autocrlf False. > > > > From Git command prompt I run git clone > https://stash.freeswitch.org/scm/fs/freeswitch.git C:/FS_GIT/ > > After completion I type --> git config --get-all core.autocrlf > > returns --> true > > > > Where am I supposed to do this to achieve false —> > > On Windows you must Select CheckOut as-is, Commit as-is i > > > > 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 > > _________________________________________________________________________ > > 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: