[SR-Users] UAC dynamic reg_contact_addr()

Daniel-Constantin Mierla miconda at gmail.com
Mon Dec 7 07:46:00 CET 2015


What version of Kamailio do you have? You should not need to recompile
anything with the latest several stable versions.

Cheers,
Daniel

On 05/12/15 08:08, Yuriy Gorlichenko wrote:
> 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
> <mailto: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://twitter.com/#%21/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 <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151207/9c07e180/attachment.html>


More information about the sr-users mailing list