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