[Serusers] REGISTER msg fork

Antanas Masevicius antanas.masevicius at z1sys.com
Fri Aug 20 13:28:46 CEST 2004


yes,
this case works if after t_replicate() break isn't placed and t_relay() is
called.

append_branch should have form of:
append_branch(sip:forwarded_proxy_address)

thank you,

Antanas
NTT


On Fri, 20 Aug 2004, Bogdan-Andrei IANCU wrote:

> try something like:
>     append_branch( dst1 );
>     append_branch( dst2 );
>     t_replicate( dst3 );
> let me know if it works.
>
> bogdan
>
>
> Antanas Masevicius wrote:
>
> >hello,
> >
> >t_replicate() works only for a single destination. If i want to forward
> >REGISTER message to more then a single destination (using two
> >t_replicate() calls), then it only forwards REGISTER message to the first
> >one.
> >
> >Antanas
> >NTT
> >
> >
> >On Thu, 19 Aug 2004, Richard wrote:
> >
> >
> >
> >>t_replicate() function is for forward REGISTER message.
> >>
> >>Richard
> >>
> >>
> >>-----Original Message-----
> >>From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
> >>Behalf Of Antanas Masevicius
> >>Sent: Thursday, August 19, 2004 8:08 PM
> >>To: serusers at lists.iptel.org
> >>Subject: [Serusers] REGISTER msg fork
> >>
> >>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
> >>
> >>
> >>_______________________________________________
> >>Serusers mailing list
> >>serusers at lists.iptel.org
> >>http://lists.iptel.org/mailman/listinfo/serusers
> >>
> >>
> >>
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
>




More information about the sr-users mailing list