[pjsip] contact tag contains official IP (not local ip)

Michael Barthold Michael.Barthold at unicope.com
Thu Apr 14 07:34:31 EDT 2016

Hi there,

We have a problem running pjsip on Android:

our server sets our sip phones to "warning" state, as in the <contact > pjsip delivers the official ip, not the local ip oft he android device.
The contact looks like this:


But it should look like
<sip:gs.mobile at;ob>

We tried several settings like contact rewrite and played around with NAT config values but we didn't find the clou so far.
Can anyone help us out here, which flags we have to set, that <contact> contains the local ip address of the device?
("Leave all default" does not work - we tried that - still our official ip the headers)

We use pjsip 2.4.5
On Android 4, 5 and 6 - everywhere the same behavior
Transport is TCP

Thanks in advance!
Cheers, Mike

mit freundlichen Grüßen | kind regards

Michael Barthold
Senior Software Architect
Heiligenstädter Lände 27c
A-1190 Wien
T +43 5 06216-5285
F +43 5 06216-9285
M +43 699 155 800 54
E michael.barthold at unicope.com<mailto:michael.barthold at unicope.com>
Zentrale | UNICOPE GmbH
Pfongauer Straße 67
A-5202 Neumarkt am Wallersee
UID: ATU64785735 | Sitz: Neumarkt a. W.
FN 322728a | Landesgericht Salzburg
DVR: 4013966

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160414/490c492c/attachment-0002.html>

More information about the pjsip mailing list