Hi All,
How reliable is forward_tcp? I have 3 SIP servers, 1 acting as the database of the three, I used forward tcp to replicate registration, unfortunately there are some instance that a local extension cannot contact another extension. Here's a part of my config
if ((src_ip == 10.10.10.149) || (src_ip == 10.10.10.151)) { save_memory("location"); };
if (!www_authorize("sipdomain.com", "subscriber")) { www_challenge("sipdomain.com", "0"); break; };
if (!save("location")) { sl_reply_error(); } else { if ((!src_ip == 10.10.10.149) && (!src_ip == 10.10.10.151)) { forward_tcp("10.10.10.149", 5060); forward_tcp("10.10.10.151", 5060); }; break;
should I use savce_memory? becuase I'm seeing some config that uses save_noreply, should I use this one?
also should I changed the db_url parameter of usrloc and point it to the database of the main server?
e.g.
modparam("usrloc", "db_mode", 2) modparam("usrloc", "db_url", "mysql://ser:heslo@10.10.10.146/ser")
Hope you guys can help me
TIA
Regards, Nhadie
________________________________________________ Message sent using UebiMiau 2.7