[OpenSIPS-Users] Help with "t_relay"
spady
spady77 at gmail.com
Fri Nov 23 15:17:06 CET 2012
Hi all, solved with following solution:
if (src_ip == IP_MEDIANT || (method=="INVITE")) {
rewritehostport("FQDN_IPPBX1:PORT_IPPBX1");
route(10);
exit;
}
......
......
route[10] {
append_branch();
rewritehostport("IP_IPPBX2:PORT_IPPBX2");
$du = "sip:IP_IPPBX2:PORT_IPPBX2";
# display branches
$(branch(duri)[0]) = "sip:IP_IPPBX1:PORT_IPPBX1;transport=tcp";
t_relay();
exit;
}
Hope could help someone else.
Regards
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Help-with-t-relay-tp7583170p7583185.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list