STUN changes in pjsip 1.4

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

 



Hi Klaus,

Klaus Darilion wrote:
> Hi Benny!
> 
> Using Alain's patch, Vovida STUN now responds to the STUN requests, but
> it somehow triggers another problem (see below).

thanks for testing the patch ;o)
This patch does fix a STUN attribute padding issue. Check RFC 5389
?15 page 31 if you are interested in the rational.

Did check your output and that is NOT related to the problem you are
having now.
I will suggest you rebuild your app and send a pcap (ICMP included)
afterwards if the problem still exist.

Cheers,
Alain


> 
> regards
> Klaus
> 
> ./pjsua-i686-pc-linux-gnu ...
>  17:41:23.689 os_core_unix.c  pjlib 1.4 for POSIX initialized
>  17:41:23.690 sip_endpoint.c  Creating endpoint instance...
>  17:41:23.690          pjlib  select() I/O Queue created (0x8d46e90)
>  17:41:23.690 sip_endpoint.c  Module "mod-msg-print" registered
>  17:41:23.690 sip_transport.  Transport manager created.
>  17:41:23.690 sip_endpoint.c  Module "mod-pjsua-log" registered
>  17:41:23.690   pjsua_core.c  Nameserver 127.0.0.1 added
>  17:41:23.690 sip_endpoint.c  Module "mod-tsx-layer" registered
>  17:41:23.690 sip_endpoint.c  Module "mod-stateful-util" registered
>  17:41:23.690 sip_endpoint.c  Module "mod-ua" registered
>  17:41:23.690 sip_endpoint.c  Module "mod-100rel" registered
>  17:41:23.690 sip_endpoint.c  Module "mod-pjsua" registered
>  17:41:23.690 sip_endpoint.c  Module "mod-invite" registered
>  17:41:23.690   pjsua_core.c  Trying STUN server stun.pjsip.org (1 of 1)..
>  17:41:23.691     resolver.c  Transmitting 43 bytes to NS 0
> (127.0.0.1:53): DNS SRV query for _stun._udp.stun.pjsip.org
>  17:41:23.695       pa_dev.c  PortAudio sound library initialized, status=0
>  17:41:23.695       pa_dev.c  PortAudio host api count=2
>  17:41:23.695       pa_dev.c  Sound device count=0
>  17:41:23.695          pjlib  select() I/O Queue created (0x8d5f4b4)
>  17:41:23.710 _stun._udp.stu  DNS SRV resolution failed for
> _stun._udp.stun.pjsip.org: DNS "Name Error" (PJLIB_UTIL_EDNS_NXDOMAIN)
>  17:41:23.710 _stun._udp.stu  DNS SRV resolution failed for
> _stun._udp.stun.pjsip.org, trying resolving A record for stun.pjsip.org
>  17:41:23.710     resolver.c  Transmitting 32 bytes to NS 0
> (127.0.0.1:53): DNS A query for stun.pjsip.org
>  17:41:23.868    stunresolve  STUN mapped address found/changed:
> 88.198.53.113:55799
> 
> 
>  17:41:23.868   pjsua_core.c  STUN resolution success, using
> stun.pjsip.org, address is 208.109.222.137:3478
> 
> 
>  17:41:23.868 sip_endpoint.c  Module "mod-evsub" registered
>  17:41:23.868 sip_endpoint.c  Module "mod-presence" registered
>  17:41:23.868 sip_endpoint.c  Module "mod-refer" registered
>  17:41:23.869 sip_endpoint.c  Module "mod-pjsua-pres" registered
>  17:41:23.869 sip_endpoint.c  Module "mod-pjsua-im" registered
>  17:41:23.869 sip_endpoint.c  Module "mod-pjsua-options" registered
>  17:41:23.869   pjsua_core.c  1 SIP worker threads created
>  17:41:23.869   pjsua_core.c  pjsua version 1.4 for i686-pc-linux-gnu
> initialized
>  17:41:23.869 sip_endpoint.c  Module "mod-default-handler" registered
> 
> 
>  17:41:24.131    pjsua_app.c  NAT detected as Open
> 
> 
>  17:41:27.868   pjsua_core.c  Error contacting STUN server: Received no
> response from STUN server (PJLIB_UTIL_ESTUNNOTRESPOND) [status=320010]
>  17:41:27.876   pjsua_core.c  Shutting down...
> 
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
> 
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
> 

-- 
                              |
                          \   |   /            _\/_
                            .-'-.              //o\  _\/_
                       --  /     \  --           |   /o\\
^~^~^~~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~~^^~~^~^|~^~~~|^~^^`
^~^~^~~^~^~^~^~^~^~^~^~^~^^~^~^~~^~^~^~^~^~^~^^-       |
1024D/A9F85A52  2000-01-18   Alain Totouom  <totouom at gmx.de>
PGP FingerPrint DA180DF2 FBD25F67 0656452D E3A27531 A9F85A52



[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