[OpenSIPS-Users] REGISTER request to other servers
jehanzaib
jehanzaib_kiani at hotmail.com
Wed Mar 11 06:36:08 CET 2015
Hi team,
I am looking for a solution of my problem. i have 1 opensip server and 2
other asterisk servers. i want to get my user registered on asterisk
servers. so user will send the regsiter request to opensip and opensip will
redirect the regsiter request to one of the asteirsk servers. So user will
actually register on asterisk server but all the request would come directly
to opensip.
i tried it many ways but no luck yet.
this is what i am doing?
#if (method=="REGISTER") {
xlog("REGISTER from $fu");
# rewrite current URI, which is always part of destination ser
rewritehostport("asterisk1.com:5060");
append_branch("sip:redirect at asterisk2.com");
sl_send_reply("300", "Redirect");
return;
}
its not working i see on the phone says Redirect but the REGISTER request is
not going to anywhere.
any help please
thanks
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/REGISTER-request-to-other-servers-tp7595776.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list