[Asterisk-bsd] Re: ast_lookup_iface in acl.c

Olle E. Johansson oej at edvina.net
Mon Nov 15 13:09:23 CST 2004


Tom Ivar Helbekkmo wrote:

> "Olle E. Johansson" <oej at edvina.net> writes:
> 
> 
>>The problem I am trying to solve is that we send FROM the wrong IP
>>address, so I need to know what addresses there is to pick from...
> 
> 
> In what situation?  Which part of the code is failing, and why isn't
> ast_ouraddrfor() sufficient?
Well, at this point, no part of the code is failing. I am building some
new stuff in chan_sip2 and need to know which address we are sending from
and which interfaces we are connected to in a more intelligent way than
now - every interface or just one.

/O


More information about the Asterisk-BSD mailing list