[SR-Users] UAC dynamic reg_contact_addr()

Yuriy Gorlichenko ovoshlook at gmail.com
Sat Dec 5 08:08:22 CET 2015


do I need to recompile kamailio with

make EXTRA_DEFS="-DWITH_EVENT_LOCAL_REQUEST" cfg

?
 Because at my installation adding  event_route[tm:local-request]
fives me syntax error.


2015-12-05 0:04 GMT+03:00 Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
>
> On 04/12/15 14:13, Yuriy Gorlichenko wrote:
> > I have multiple ip addresses at my kamailio. I use uac module for
> > registration to sip providers. I have one provider but want to
> > register form different ip addresses used by my server. When register
> > sends it takes ip address form reg_contact_addr(). But if I want to
> > register from another interface with different ip i need to get to
> > this parametr another ip address. So As I understand it imposibleto do
> > with avp. Does kamailio have some methods to do this?
> >
> perhaps makes sense to add some extra columns to be able to specify the
> local socket and contact addresses.
>
> For now, I expect to work by using event_route[tm:local-request] where
> you force the socket with $fs.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Book: SIP Routing With Kamailio - http://www.asipto.com
> http://miconda.eu
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151205/2d34a043/attachment.html>


More information about the sr-users mailing list