And using following: Node#1 # opensips -V
version: opensips 3.3.2 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. main.c compiled on with gcc 11 Node#2 # opensips -V version: opensips 3.3.1 (x86_64/linux) flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: bf7c0eb89 main.c compiled on 14:53:50 Aug 30 2022 with gcc 10 Both Nodes are using OpenSIPS Control Panel 9.3.2. On Wed, Jan 18, 2023 at 12:15 PM Nitesh Divecha <[email protected]> wrote: > Hello All, > > I got two nodes in cluster formation and they are in sync. Running CLI > opensips-cli -x mi ul_dump | grep "AOR\":\|Contact\":" on both nodes I can > see ALL the registered endpoints . For testing purposes I have two > endpoints registered on each node so a total four endpoints are visible. > > Node #1 - IP: 66.x.x.1, registered endpoint 2001 and 2002 > Node #2 - IP: 3.x.x.9, registered endpoint 5467901 and 5467902 > > Endpoints in Node#1 can call each other (2001 <--> 2002) and endpoints in > Node#2 can call each other (5467901 <--> 5467902) > > root@archer:/etc/opensips# opensips-cli -x mi ul_dump | grep > "AOR\":\|Contact\":" > "AOR": [email protected], > "Contact":sip:[email protected]:29100, > "AOR": [email protected], > "Contact":sip:[email protected]:5062, > "AOR": [email protected], > "Contact":sip:[email protected]:12339;ob, > "AOR": [email protected], > "Contact":sip:[email protected]:5060;ob, > > But none of the nodes can call each other... Meaning Node#1-2001 or 2 can > not call Node#2-5467901 or 2 and vice versa... On log it shows SIP 404, Not > Found... and looking further in detail it shows it is only looking for the > endpoint in the same Node, meaning when 2001 calls 5467901 it is looking > for [email protected] on Node#1 instead of [email protected] on Node#2. > > > #### USeR LOCation module > loadmodule "usrloc.so" > modparam("usrloc", "nat_bflag", "NATED_CALLEE") > modparam("usrloc", "location_cluster", 2) > modparam("usrloc", "working_mode_preset", "full-sharing-cluster") > > route[to_user] { > # do lookup with method filtering > if (!lookup("location","m")) { > if (!db_does_uri_exist("$ru","subscriber")) { > send_reply(404,"Not Found"); > xlog("ERROR: rU is: ($rU) and ru is: $ru --> Not > Found\n"); > exit; > } > if(isflagset('HUNTGROUP')) { > route(huntgroup); > } > t_reply(480, "Temporarily Unavailable"); > exit; > } > $acc_extra(TYPE) = "USER"; > route(relay); > } > > > Any help will be highly appreciated... > > Cheers, > Nitesh > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
