[OpenSIPS-Users] IP from received column ignored

Julian Santer julian.santer at rolmail.net
Thu Feb 25 12:57:13 CET 2016


Hi guys,

maybe you got a hint for me.

We have the following situation:
UAC -> edge 2.1.2 (NAT, topology hiding) -> core 2.1.2 (registrar, topology_hiding)

It's all fine, but now we got a NAT issue.

The usrloc looks like:
Contact:: sip:michael at IP_PRIVATE_UMTS:43097;transport=udp Q=0
Expires:: 3172
Callid:: 51bc3c64d04979d789fc2221f6efbbb8 at IP_PRIVATE_UMTS
Cseq:: 9875
User-agent:: SIPAUA/0.1.001
Received:: sip:IP_UMTS:1472
Path:: <sip:IP_EDGE;lr;received=sip:IP_UMTS:1472>

So in the contact column we have the private IP, but in the received and path column we have the public IP.

But if we make a ingoing call to this client, the INVITE is send to the private IP:
1)
Invite from REGISTRAR to EDGE:
Request-Line: INVITE sip:michael at 10.97.174.161:43097;transport=udp SIP/2.0
Route: <sip:195.254.254.4;lr;received=sip:5.90.78.161:1472>

2)
Invite from EDGE to UAC:
Request-Line: INVITE sip:michael at 10.97.174.161:43097;transport=udp SIP/2.0

Why the received param is not set as Request-Line? Not on REGISTRAR and not on EDGE server.
How can I tell the REGISTRAR or EDGE to use the IP from the received column?

Kind regards,
Julian Santer
Raiffeisen OnLine




More information about the Users mailing list