Hello Awesome people,

I have configured Kamailio in front of two Freeswitch servers. I am using the 
dispatcher module to load and balance the traffic between the two FS boxes. My 
dispatcher is configured in a round-robin fashion.

If I send a register to my FS servers, the re-register post-challenge (401) 
message is routed to the second FS server and the registration fails. I want to 
check with you guys how are you handling this in your setups. I am sure a lot 
of companies are using Kamailio to load balance traffic toward the FS and 
Asterisk servers.

UAC --- > Kamailio --- > FS1
REG ---- > REG ---- > REG
401 <---- 401 < ---- 401

re-register with authorization data:
UAC --- > Kamailio --- > FS2
REG --- > REG  ---- > REG
401 <---- 401 < ---- 401

it just create this loop and register fails.

Ideally, I want Kamailio to send the re-register (with auth data) to the same 
FS server that challenged it.

Any ideas or pointers to fix this issue would be highly appreciated, maybe I am 
missing some very basic configuration. Or maybe there is another simpler way 
instead of using a dispatcher module.


Thank you!

Regards,
Shah Hussain



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to