Hello All,
I have two Kamailio servers and shared the database between two Kamailio.
Below are my usrloc configuration in kamailio.cfg
# ----- usrloc params -----
modparam("usrloc", "db_url", DBURL) *modparam("usrloc", "db_mode", 3)* modparam("usrloc", "use_domain", MULTIDOMAIN)
modparam("usrloc", "timer_interval", 30) modparam("usrloc", "matching_mode", 1) modparam("usrloc", "cseq_delay", 10) modparam("usrloc", "fetch_rows", 3000) modparam("usrloc", "hash_size", 12) modparam("usrloc", "timer_procs", 4) modparam("usrloc", "handle_lost_tcp", 1) modparam("usrloc", "close_expired_tcp", 1) modparam("usrloc", "db_timer_clean", 1)
# ----- registrar params -----
modparam("registrar", "method_filtering", 1) modparam("registrar", "gruu_enabled", 0) modparam("registrar", "received_avp", "$avp(RECEIVED)") modparam("registrar", "default_expires", 3600) modparam("registrar", "min_expires", 1200) modparam("registrar", "max_expires", 3600) modparam("registrar", "default_q", 1000) modparam("registrar", "max_contacts", 10) modparam("registrar", "retry_after", 10) modparam("registrar", "xavp_cfg", "reg") modparam("registrar", "use_path", 1) modparam("registrar", "path_mode", 0) modparam("registrar", "path_use_received", 1) modparam("registrar", "contact_max_size", 1024)
modparam("registrar", "path_check_local", 1) modparam("registrar", "sock_flag", 18) modparam("registrar", "sock_hdr_name", "Sock-Info")
#------------------------------------------------------------
I have two users in same domain.
1. 1000@dev.domain.com --> Registered on kamailio 1 2. 1001@dev.domain.com --> Registered on kamailio 2
I am not able to make a call from 1000@dev.domain.com to 1001@dev.domain.com and vice versa.
It will be appreciable if anyone help to resolve the issue.
Thank you in advance!