Re: [sipX-dev] sipxbridge: "Use public address for call setup" parameter works for outgoing calls only
- From: "Nikolay Kondratyev" <kond@xxxxxxxx>
- Date: Mon, 29 Jun 2009 16:37:10 +0400
> > I found that in this configuration sipxbridge really uses internal
> address,
> > but only for outgoing calls. For incoming calls sipxbridge uses external
> > address anyway. See attached files.
>
> SipXbridge needs to know which ITSP account to associate the inbound
> INVITE. Using this information, it can rewrite the addresses in the
> OK response. To make this determination, sipxbridge uses the host and
> port of the topmost via header to try to find the account. In your
> configuration, you have a single "ITSP account" set up to the domain
> yate4.lab.nstel.ru. Try specifying an IP address in the ITSP proxy
> address ( you currently have yate4.lab.nstel.ru which is a domain name
> ). This should enable sipxbridge to find that account. Let me know if
> that works for you.
Yes, it worked for me. I changed "ITSP server address" from
'yate4.lab.nstel.ru' to ip address, and now I see in the trace that
sipxbridge uses internal address in 180 and 200 ok for Contact and SDP.
> Ranga.
Thanks a lot,
Nikolay.