[Users] Duplicating SIP Messages

Klaus Darilion klaus.mailinglists at pernau.at
Sun Oct 1 22:58:46 CEST 2006


Hi!

You have to add a new branch.

try add_branch() after the first rewritehostport.

regards
klaus

On Sun, October 1, 2006 10:13, Adi Simon said:
> Hi,
>
> I'm trying to figure out if it is possible to duplicate SIP Messages. In a
> setup of a SER proxy and two asterisk boxes I want to send all the
> Register
> messages to both of the asterisks, I tried doing the following in the
> openser.cfg:
>
>    if (method=="REGISTER") {
>                 route(2);
>         } else { route(1); };
>
> route[2] {
>         rewritehostport("10.0.0.1:5060");
>           if (!t_relay()) {
>                 sl_reply_error();
>        };
>          rewritehostport("10.0.0.2:5060");
>           if (!t_relay()) {
>                 sl_reply_error();
>         };
>         exit;
> }
>
> But I keep getting :
>  0(22183) ERROR: t_newtran: transaction already in process 0xb6136318
>  0(22183) DEBUG:sl:sl_reply_error: error text is I'm terribly sorry,
> server
> error occurred (1/SL)
>
> Is it possible at all?
>
> Thanks,
>
> Adi.
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>






More information about the Users mailing list