PJSUA Crash when using stun server

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

 



On Fri, Jun 27, 2008 at 12:48 PM, Pedro Gon?alves
<pedro.pandre at gmail.com> wrote:
> Hi
>
> I was testing PJSUA with asterisk server and SourceForge's stund STUN
> server, and PJSUA crashed.
> I include in attachment the PJSUA output in log.txt and the capture I've
> made with wireshark
>
> Anyone knows why?
>

First of all, can you try with the latest SVN version? And secondly,
since I assume you're using Visual Studio, can't you just run the
application inside a debug session and find out where the problem is?

Cheers
 Benny


> Cheers
>
>  13:12:43.997 os_core_win32. pjlib 0.8.0-trunk for win32 initialized
>  13:12:44.037 sip_endpoint.c Creating endpoint instance...
>  13:12:44.037          pjlib WinNT IOCP I/O Queue created (00A807F8)
>  13:12:44.037 sip_endpoint.c Module "mod-msg-print" registered
>  13:12:44.037 sip_transport. Transport manager created.
>  13:12:44.037 sip_endpoint.c Module "mod-pjsua-log" registered
>  13:12:44.037 sip_endpoint.c Module "mod-tsx-layer" registered
>  13:12:44.037 sip_endpoint.c Module "mod-stateful-util" registered
>  13:12:44.037 sip_endpoint.c Module "mod-ua" registered
>  13:12:44.037 sip_endpoint.c Module "mod-100rel" registered
>  13:12:44.037 sip_endpoint.c Module "mod-pjsua" registered
>  13:12:44.037 sip_endpoint.c Module "mod-invite" registered
>  13:12:44.037   pjsua_core.c STUN server 172.18.2.17 resolved, address is
> 172.18.2.17:3478
>  13:12:44.357      pasound.c PortAudio sound library initialized, status=0
>  13:12:44.357      pasound.c PortAudio host api count=3
>  13:12:44.357      pasound.c Sound device count=10
>  13:12:44.357          pjlib WinNT IOCP I/O Queue created (00AA4654)
>  13:12:44.398 sip_endpoint.c Module "mod-evsub" registered
>  13:12:44.398 sip_endpoint.c Module "mod-presence" registered
>  13:12:44.398 sip_endpoint.c Module "mod-refer" registered
>  13:12:44.398 sip_endpoint.c Module "mod-pjsua-pres" registered
>  13:12:44.398 sip_endpoint.c Module "mod-pjsua-im" registered
>  13:12:44.398 sip_endpoint.c Module "mod-pjsua-options" registered
>  13:12:44.398   pjsua_core.c 1 SIP worker threads created
>  13:12:44.398   pjsua_core.c pjsua version 0.8.0-trunk for win32 initialized
>  13:12:44.398     stun_msg.c Unrecognized attribute type 32800
>  13:12:44.408   pjsua_core.c SIP UDP socket reachable at 172.18.0.212:5060
>  13:12:44.408    udp0035FC30 SIP UDP transport started, published address is
> 172.18.0.212:5060
>  13:12:44.408    pjsua_acc.c Account <sip:172.18.0.212:5060> added with id 0
>  13:12:44.408    tcplis:5060 SIP TCP listener ready for incoming connections
> at 172.18.0.212:5060
>  13:12:44.408    pjsua_acc.c Account <sip:172.18.0.212:5060;transport=TCP>
> added with id 1
>  13:12:44.408    pjsua_acc.c Account sip:311 at wcs.wit-software.com added with
> id 2
>  13:12:44.408   pjsua_core.c TX 444 bytes Request msg REGISTER/cseq=33038
> (tdta00AB1C58) to UDP 192.168.1.110:5060:
> REGISTER sip:311 at wcs.wit-software.com SIP/2.0
>
> Via: SIP/2.0/UDP
> 172.18.0.212:5060;rport;branch=z9hG4bKPj1bed138f58004178b0848a08a87d1d3b
>
> Max-Forwards: 70
>
> From: <sip:311@xxxxxxxxxxxxxxxxxxxx>;tag=17a1828963f74bc39b6cfe9d8119406b
>
> To: <sip:311 at wcs.wit-software.com>
>
> Call-ID: 2c5a34a83f5f42e9aa0df4346c272d08
>
> CSeq: 33038 REGISTER
>
> User-Agent: PJSUA v0.8.0-trunk/win32
>
> Contact: <sip:311 at 172.18.0.212:5060>
>
> Expires: 300
>
> Content-Length:  0
>
>
>
>
> --end msg--
>  13:12:44.408    pjsua_acc.c Registration sent
>  13:12:44.408        icetp00 Creating ICE stream transport with 2
> component(s)
>  13:12:44.408     stun_msg.c Unrecognized attribute type 32800
>  13:12:44.408 stuntp0035BFE0 STUN mapped address found/changed:
> 172.18.0.212:1067
>  13:12:44.418        icetp00 Comp 1: srflx candidate starts Binding
> discovery
>  13:12:44.428        icetp00 Comp 1: host candidate 172.18.0.212:1067 added
>  13:12:44.448        icetp00 Comp 2: srflx candidate starts Binding
> discovery
>  13:12:44.458        icetp00 Comp 2: host candidate 172.18.0.212:1068 added
>  13:12:44.458        icetp00 ICE stream transport created
>  13:12:44.458   pjsua_core.c RX 484 bytes Response msg
> 100/REGISTER/cseq=33038 (rdata00AAD0DC) from UDP 192.168.1.110:5060:
> SIP/2.0 100 Trying
>
> Via: SIP/2.0/UDP
> 172.18.0.212:5060;branch=z9hG4bKPj1bed138f58004178b0848a08a87d1d3b;received=172.18.0.212;rport=5060
>
> From: <sip:311@xxxxxxxxxxxxxxxxxxxx>;tag=17a1828963f74bc39b6cfe9d8119406b
>
> To: <sip:311 at wcs.wit-software.com>
>
> Call-ID: 2c5a34a83f5f42e9aa0df4346c272d08
>
> CSeq: 33038 REGISTER
>
> User-Agent: Asterisk PBX
>
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
>
> Supported: replaces
>
> Contact: <sip:311 at 192.168.1.110>
>
> Content-Length: 0
>
>
>
>
> --end msg--
>  13:12:44.458   pjsua_core.c RX 559 bytes Response msg
> 401/REGISTER/cseq=33038 (rdata00AAD
> _______________________________________________
> 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
>
>



[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