<div dir="auto">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...<div dir="auto"><br></div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 24, 2019, 12:18 Sebastian Denz <<a href="mailto:denzs@gonicus.de">denzs@gonicus.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I already thought about something like that..<br>
<br>
But the main reason for the problem seems to be, that FreeSWITCH does<br>
not query the dns (remote or local) at all before sending the<br>
REGISTER... :-/<br>
<br>
I could workaround the current issue easily by using static addresses<br>
but then i would loose the failover capability and i would have to check<br>
for changes manually or by script... normally dns would just solve that<br>
by itself :)<br>
<br>
I think i could put Kamailio in front of FreeSWITCH and let it handle<br>
the dns resolution, but that feels like using a sledgehammer to crack a<br>
nut ;)<br>
<br>
And i would prefer a tiny approach, ideally with FreeSWITCH behaving<br>
correctly...?!<br>
<br>
Am 6/24/19 um 12:24 PM schrieb Giovanni Maruzzelli:<br>
> obviously, you can locally provide dns with dnsmasq or such, easily<br>
> configured, for other domains too.<br>
> <br>
> Maybe you can put all SRV addresses, with different weights, in your own<br>
> (eg, locally defined) zone definition for deutsche telekom, and freeswitch<br>
> will try them all.<br>
> <br>
> Not sure this will work, but maybe yes :)<br>
> <br>
> <br>
> <br>
> On Mon, Jun 24, 2019 at 12:19 PM Sebastian Denz <<a href="mailto:denzs@gonicus.de" target="_blank" rel="noreferrer">denzs@gonicus.de</a>> wrote:<br>
> <br>
>> Thank you for giving me that pointer!<br>
>><br>
>> I thought i would have searched for everything regarding that topic,<br>
>> but obviously i missed that post!<br>
>><br>
>><br>
>> <a href="https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html" rel="noreferrer noreferrer" target="_blank">https://lists.freeswitch.org/pipermail/freeswitch-users/2018-January/128837.html</a><br>
>><br>
>> I'll contact Kai directly as i was not able to found a corresponding<br>
>> issue in the tracker...<br>
>><br>
>> But if anyone has another idea regarding the problem, i would of course<br>
>> appreciate any hints too! ;)<br>
>><br>
>> Sebastian<br>
>><br>
>> Am 6/24/19 um 11:21 AM schrieb Giovanni Maruzzelli:<br>
>>> I believe this question  was already asked in the past in this mailing<br>
>>> list, and IIRC the answer was no.<br>
>>><br>
>>> You may wanto to check on the mailing list archives (in signature),<br>
>> because<br>
>>> maybe my merory is wrong.<br>
>>><br>
>>> -giovanni<br>
>>><br>
>>><br>
>>> On Mon, Jun 24, 2019 at 11:14 AM Sebastian Denz <<a href="mailto:denzs@gonicus.de" target="_blank" rel="noreferrer">denzs@gonicus.de</a>><br>
>> wrote:<br>
>>><br>
>>>> Hello,<br>
>>>><br>
>>>> i am using FreeSWITCH as SBC to our SIP provider (Deutsche Telekom in<br>
>>>> germany).<br>
>>>><br>
>>>> This works quite well, but ~ once in a month we are unable to do<br>
>>>> outbound calls.<br>
>>>><br>
>>>> It turned out, that the provider changes some IPs from time to time..<br>
>>>><br>
>>>> That leads to FreeSWITCH being registered to the old IP while<br>
>>>> INVITE-requests of new dialogs are sent to the new address. The provider<br>
>>>> terminates this with 403 - forbidden.<br>
>>>><br>
>>>> The registration happens every 5 minutes, but FreeSWITCH does not update<br>
>>>> the dns cache for the target IP address. So i gets stuck in that<br>
>>>> situation being registered on the old IP while sending INVITEs to the<br>
>>>> new one..<br>
>>>><br>
>>>> The only solution to that is reloading the profile or restarting<br>
>>>> FreeSWITCH...<br>
>>>><br>
>>>> Is there an option to make FreeSWITCH asking the dns _before every_<br>
>>>> REGISTER? Or do you have any other suggestion on how to fix this?<br>
>>>><br>
>>>> Best regards,<br>
>>>> Sebastian Denz<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>> _________________________________________________________________________<br>
>>>><br>
>>>> The FreeSWITCH project is sponsored by SignalWire<br>
>> <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
>>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN<br>
>>>> services.<br>
>>>> Build your next product on our scalable cloud platform.<br>
>>>><br>
>>>> Join our online community to chat in real time<br>
>>>> <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
>>>><br>
>>>> Professional FreeSWITCH Services<br>
>>>> <a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
>>>> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
>>>><br>
>>>> Official FreeSWITCH Sites<br>
>>>> <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
>>>> <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
>>>> <a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
>>>><br>
>>>> FreeSWITCH-users mailing list<br>
>>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>>> UNSUBSCRIBE:<br>
>> <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>>> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> _________________________________________________________________________<br>
>>><br>
>>> The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN<br>
>> services.<br>
>>> Build your next product on our scalable cloud platform.<br>
>>><br>
>>> Join our online community to chat in real time<br>
>> <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
>>><br>
>>> Professional FreeSWITCH Services<br>
>>> <a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
>>> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
>>><br>
>>> Official FreeSWITCH Sites<br>
>>> <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
>>> <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
>>> <a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
>>><br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
>>><br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>><br>
>> The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN<br>
>> services.<br>
>> Build your next product on our scalable cloud platform.<br>
>><br>
>> Join our online community to chat in real time<br>
>> <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
>><br>
>> Professional FreeSWITCH Services<br>
>> <a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
>> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
>> <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
>> <a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
> <br>
> <br>
> <br>
> <br>
> _________________________________________________________________________<br>
> <br>
> The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
> Build your next product on our scalable cloud platform.<br>
> <br>
> Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
> <br>
> Professional FreeSWITCH Services<br>
> <a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
> <br>
> Official FreeSWITCH Sites<br>
> <a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
> <a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
> <a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
> <br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
> <br>
<br>
<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>