Re: [SR-Users] REGISTER replication to multiple hosts

2012-08-05 Thread Daniel-Constantin Mierla
Hello, seturi() just sets the request uri, then the t_replicate function you call is sending to 2.2.2.2. You can use km_append_branch(...) which is the function to append branches inherited from openser times. It is in the kex module: http://kamailio.org/docs/modules/stable/modules_k/kex.ht

[SR-Users] REGISTER replication to multiple hosts

2012-08-03 Thread Henning Holtschneider
Hello, I'm trying to migrate an existing configuration from OpenSIPS 1.4.x to Kamailio 3.2.x. The old configuration replicates REGISTER requests to multiple servers using this code in the REGISTER routing block: add_sock_hdr("Local-Sock"); add_rcv_param(); append_branch(