[Serusers] REGISTER msg fork

Antanas Masevicius zolia at z1sys.com
Fri Aug 20 08:07:34 CEST 2004


Hello,

i've been trying to fork the same REGISTER message to two separete SIP
proxies with:

if(message == "REGISTER" && uri=~"sip:my_first_proxy") {
  append_branch("sip:my_second_proxy");
}

also tried with:

if(message == "REGISTER" && uri=~"sip:my_first_proxy") {
 seturi("sip:my_first_proxy");
 forward(uri:host, uri:port);
 seturi("sip:my_second_proxy");
 forward(uri:host, uri:port);
 break;
}

but neither case works. Registration request is forwarded only for the
first proxy. It seams that seturi() and other uri rewriting functions
doesn't affect REGISTER uri?

What could we other solution for such situation?

Antanas
NTT





More information about the sr-users mailing list