Dear OpenSIPS development team,
I have come across a strange case that sometime when I use
topology_hiding("UD"), it makes a mistake in changing Contact field.
Scenario is:

A: (Contact: <sip:90006969@172.24.8.5:5060>) sends Invite to private IP of
opensips, opensips changes Contact field to: (Contact:
<sip:90006969.did.29c.2ed2...@public.ip>) and sends Invite from public IP
to B.
Then B sends 200 OK back to Opensips public IP, with correct Contact:
(Contact: <sip:90006969.did.29c.2ed2...@bpublic.ip:5060>). so far so good.
Now Opensips sends 200 OK back to A from its private IP, and changes
Contact to:
Contact: <sip:90006969.did.29c.2ed202e.did.29c.2ed202e@172.24.8.37>

As you see, did part is repeated twice.. and that means when A replies with:
ACK sip:90006969.did.29c.2ed202e.did.29c.2ed202e@172.24.8.37 SIP/2.0

Opensips throws an error: ERROR:dialog:dlg_onroute: malformed route param
[29c.2ed202e.did.29c.2ed202e]

Is this a bug? I am using Opensips 3.1.0.

Thanks,
Mark
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to