[asterisk-dev] cisco-check-cfg
Kevin P. Fleming
kpfleming at digium.com
Tue Aug 16 08:02:23 CDT 2011
On 08/16/2011 07:55 AM, Klaus Darilion wrote:
>
>
> On 29.07.2011 16:40, Kevin P. Fleming wrote:
>> When a SIP request or response is going to be sent to a UA, Asterisk
>> needs to know the proper IP address to include that message so that the
>> other UA can respond. This can only be "guessed" based on the other UA's
>> address and the system's routing table. As you say, this is a hack, but
>> we need *something*.
>
> FYI: IIRC, in Kamailio (when mhomed=1) this is done by temporarily
> opening a new socket to the destination and querying the socket's local
> address. This address will then be used in the header. Then the new
> socket will be closed and the message will be sent via an existing socket.
Indeed... this is the same thing that Asterisk does.
--
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list