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 <denzs@gonicus.de> 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....
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@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
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com