[OpenSIPS-Users] Broken Loose Routing?

Brett Nemeroff brett at nemeroff.com
Thu Oct 30 02:38:37 CET 2008


Hey All,I'm having a problem with a multi-homed proxy. It operates on two
IPs, one is an internal address and the other is an external public IP.

The call I'm having trouble with goes like this:

Call from PSTN->SIP gateway on internal network TO OpenSIPs

OpenSIPs uses LCR + RTProxy and sends call to Provider

Call is established just fine.

Hangup on Provider side. Provider sends OpenSIPs BYE

OpenSIPs sends BYE to INTERNAL IP (why?)

INTERNAL IP on OpenSIPs replies with "404 Not here" to  PUBLIC IP on
OpenSIPs.

PUBLIC IP on OpenSIPs relays the "404 Not here" to the Provider

I can't figure out why the loose routing is sending calls from interface to
interface rather than relaying them onto the destination.. I *DO* see on the
Route Headers, both IPs in there (I am double record routing), but shouldn't
OpenSIPs recognize that both IPs belog to "myself" and skip them?

Here's the trace. Please let me know if you have any ideas.. I haven't
touched the loose route section of the configuration, it's boilerplate from
the sample configuration.

http://www.pastebin.ca/1240174



More information about the Users mailing list