[SR-Users] t_replicate() and Contact

Marc Soda msoda at coredial.com
Thu Sep 5 14:40:10 CEST 2013


Also, I tried setting the Contact header in onsend_route, but it seems that
it's overwritten after that.  Perhaps I need to modify it on the second
Kamailio server?  Is it possible to change it before it's sent on the first
server?


On Wed, Sep 4, 2013 at 8:53 AM, Marc Soda <msoda at coredial.com> wrote:

> Hey all,
>
> I have 2 Kamailio systems replicating REGISTER's to each other.  However,
> I've noticed that the Contact header seems to be wrong on the second server.
>
> For example, if I have endpoint 1.1.1.1 registering to 2.2.2.2, then
> 2.2.2.2 is calling t_replicate() to 3.3.3.3, the Contact header once it is
> received on 3.3.3.3 is user at 2.2.2.2.  I think it should be user at 1.1.1.1.
>
> Where's the best place to change this before it is sent?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130905/50236a78/attachment.html>


More information about the sr-users mailing list