[Users] Duplicating SIP Messages

Adi Simon adi.simon at gmail.com
Sun Oct 1 10:13:54 CEST 2006


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20061001/fcf09684/attachment.htm 


More information about the Users mailing list