[SR-Users] UAC dynamic reg_contact_addr()

Daniel-Constantin Mierla miconda at gmail.com
Fri Dec 4 22:04:30 CET 2015


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




More information about the sr-users mailing list