Auth and DNS load balancing.
Hello, I have the below scenario. FS talking to a service provider and the sip server has DNS load balancing. (FS) INVITE --> abc.com( ip = 10.10.10.10) 407 <------abc.com Ack-----------> abc.com INVITE(credentials)-->abc.com (ip = 11.11.11.11) 407<-------------------abc.com Ack------------> abc.com The session is destroyed at this point and Freeswitch does not resend the INVITE. I want the FS not to give up and keep the INV/407/ACK cycle going. The sofia traces indicate session terminated [904]. I understand that if DNS is going to load balance for every INVITE then the call will never be established. But I still would like to see if it can be done? Anyone else run into this issue ? thank you, Shaks.
No way you can fix this, what is the TTL on your DNS records? ./b On Mon, Oct 9, 2017 at 3:52 PM, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Hello, I have the below scenario.
FS talking to a service provider and the sip server has DNS load balancing.
(FS) INVITE --> abc.com( ip = 10.10.10.10) 407 <------abc.com Ack-----------> abc.com
INVITE(credentials)-->abc.com (ip = 11.11.11.11) 407<-------------------abc.com Ack------------> abc.com
The session is destroyed at this point and Freeswitch does not resend the INVITE. I want the FS not to give up and keep the INV/407/ACK cycle going.
The sofia traces indicate session terminated [904]. I understand that if DNS is going to load balance for every INVITE then the call will never be established. But I still would like to see if it can be done? Anyone else run into this issue ?
thank you, Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
-- *Brian West* brian@freeswitch.com *Twitter: @FreeSWITCH , @cluecon* http://www.freeswitchbook.com http://www.freeswitchcookbook.com Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
Thanks Brian! The DNS is from the SIP provider end. I have no idea but just from the call failure rates it is in the order of minutes is my guess. On Mon, Oct 9, 2017 at 4:04 PM, Brian West <brian@freeswitch.com> wrote:
No way you can fix this, what is the TTL on your DNS records?
./b
On Mon, Oct 9, 2017 at 3:52 PM, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Hello, I have the below scenario.
FS talking to a service provider and the sip server has DNS load balancing.
(FS) INVITE --> abc.com( ip = 10.10.10.10) 407 <------abc.com Ack-----------> abc.com
INVITE(credentials)-->abc.com (ip = 11.11.11.11) 407<-------------------abc.com Ack------------> abc.com
The session is destroyed at this point and Freeswitch does not resend the INVITE. I want the FS not to give up and keep the INV/407/ACK cycle going.
The sofia traces indicate session terminated [904]. I understand that if DNS is going to load balance for every INVITE then the call will never be established. But I still would like to see if it can be done? Anyone else run into this issue ?
thank you, Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
--
*Brian West* brian@freeswitch.com
*Twitter: @FreeSWITCH , @cluecon*
http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 <(918)%20420-9001> | *F:*+19184209002 <(918)%20420-9002> | *M:*+1918424WEST (9378)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
This providers behaviour is broken. Stick IP address as proxy in GW definition - fs will route calls to the IP - you can setup a second GW with their other IP and failover to that in the event that GW1 is down. On Mon, Oct 9, 2017 at 11:19 PM, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Thanks Brian! The DNS is from the SIP provider end. I have no idea but just from the call failure rates it is in the order of minutes is my guess.
On Mon, Oct 9, 2017 at 4:04 PM, Brian West <brian@freeswitch.com> wrote:
No way you can fix this, what is the TTL on your DNS records?
./b
On Mon, Oct 9, 2017 at 3:52 PM, Sharath Kumar <shakumarsoftware@gmail.com> wrote:
Hello, I have the below scenario.
FS talking to a service provider and the sip server has DNS load balancing.
(FS) INVITE --> abc.com( ip = 10.10.10.10) 407 <------abc.com Ack-----------> abc.com
INVITE(credentials)-->abc.com (ip = 11.11.11.11) 407<-------------------abc.com Ack------------> abc.com
The session is destroyed at this point and Freeswitch does not resend the INVITE. I want the FS not to give up and keep the INV/407/ACK cycle going.
The sofia traces indicate session terminated [904]. I understand that if DNS is going to load balance for every INVITE then the call will never be established. But I still would like to see if it can be done? Anyone else run into this issue ?
thank you, Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
--
Brian West brian@freeswitch.com
Twitter: @FreeSWITCH , @cluecon
http://www.freeswitchbook.com http://www.freeswitchcookbook.com
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
You should read how the digest authentication works. Then you will realize this, as you want won't work. Google smart DNS for freeswitch You will find good stuff that will resolve your issue in a different approach. On Oct 9, 2017 4:53 PM, "Sharath Kumar" <shakumarsoftware@gmail.com> wrote:
Hello, I have the below scenario.
FS talking to a service provider and the sip server has DNS load balancing.
(FS) INVITE --> abc.com( ip = 10.10.10.10) 407 <------abc.com Ack-----------> abc.com
INVITE(credentials)-->abc.com (ip = 11.11.11.11) 407<-------------------abc.com Ack------------> abc.com
The session is destroyed at this point and Freeswitch does not resend the INVITE. I want the FS not to give up and keep the INV/407/ACK cycle going.
The sofia traces indicate session terminated [904]. I understand that if DNS is going to load balance for every INVITE then the call will never be established. But I still would like to see if it can be done? Anyone else run into this issue ?
thank you, Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
participants (4)
-
Brian :
-
Brian West
-
Luis Daniel Lucio Quiroz
-
Sharath Kumar