[Kamailio-Users] Choosing IP address when relaying request

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 20 14:19:17 CEST 2009



On 20.08.2009 15:06 Uhr, mayamatakeshi wrote:
> On Thu, Aug 20, 2009 at 8:54 PM, mayamatakeshi<mayamatakeshi at gmail.com> wrote:
>   
>> Hello,
>> I have 2 ip addresses being listened in my cfg file.
>> Is it possible to set which ip address will be used when relaying a request?
>>     
>
> OK. I've found it in the docs:
> force_send_socket([proto:]address[:port])
>   
alternative, if you need dynamic parameters, you can assign string value 
to $fs:
http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.5.x#forced_socket

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list