... lookup("location"); switch ($retcode) { case -1: case -3: sl_send_reply("404", "Not Found"); exit; case -2: sl_send_reply("405", "Not Found"); exit; }; ...
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 12. 1001@dev.domain.com --> Registered on kamailio 2I 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!--Regards,Suresh Talasaniya.Contact : +91-9724264776
Skype : suresh.talsaniya
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr- users