contact tag contains official IP (not local ip)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

 

<sip:gs.mobile@*ourofficialipfromoutside*:5060;ob>

 

But it should look like

<sip:gs.mobile@10.80.40.27:5060;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

----------------------------------------------------
UNICOPE GmbH | Wien

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@xxxxxxxxxxx

----------------------------------------------------
Zentrale | UNICOPE GmbH

Pfongauer Straße 67

A-5202 Neumarkt am Wallersee

----------------------------------------------------
UID: ATU64785735 | Sitz: Neumarkt a. W.

FN 322728a | Landesgericht Salzburg

DVR: 4013966

----------------------------------------------------

 

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux