Hi George,

If you see private IPs in the VIA or Contact hdrs of the requests coming from your UAC, it means STUN was not used.

You can run an ngrep on your opensips server on the IPs and ports used by STUN, to see if you receive anything from that UAC.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 10.10.2014 18:48, george wu wrote:
I think my client never send stun message to the server.
the client find its public ip from the OK VIA header:
Via: SIP/2.0/UDP 192.168.1.3:5070;received=192.168.1.3;branch=z9hG4bK.Klryaqrls;rport=5070

Am I right?


At 2014-10-10 23:36:18, "george wu" <[email protected]> wrote:

    Hi, all:

    I can't see any debug message for stun on the opensips server side.

    I have enabled debug and set up stun as below
    loadmodule "stun.so"
    modparam("stun", "primary_ip", "192.168.1.3")
    modparam("stun","alternate_ip","192.168.122.1")

    From the client linphone debug message, I can see
    ortp-message-channel [0x1fb3080]: discovered public ip and port
    are [192.168.1.3:5070]

    Just I don't see any debug message for stun, how to check it on
    the server side?
    Thanks.

    George








_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to