[Kamailio-Users] Choosing IP address when relaying request

mayamatakeshi mayamatakeshi at gmail.com
Thu Aug 20 19:46:55 CEST 2009


On Thu, Aug 20, 2009 at 9:19 PM, Daniel-Constantin
Mierla<miconda at gmail.com> wrote:
>
>
> 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

That's very nice.
thanks.




More information about the sr-users mailing list