[asterisk-dev] cisco-check-cfg
Klaus Darilion
klaus.mailinglists at pernau.at
Tue Aug 16 07:55:36 CDT 2011
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.
regards
Klaus
More information about the asterisk-dev
mailing list