Program crash when hungup

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

 



I couldn't make anything up from the log, sorry. I just tried
simple_pjsua and it's alright here. But then again I use XP, Visual
Studio, the latest 1.4, and OpenSER, so maybe one of the setup
difference has caused it. Best to debug it I think.

Cheers
 Benny

On Wed, Aug 19, 2009 at 6:03 AM, Somnuk Wongkhan<wearetherock at gmail.com> wrote:
> I also attach source code (not difference from
> http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm)
>
> When start program with "myapp.exe sip:2222 at 192.168.1.106" it work well
> this program make call to another phone.? hangup from 2222 is ok
>
> But make call from 2222 to this program then hang it up , it crash (program
> terminate)
> I don't know what wrong because i copy this code from
> http://www.pjsip.org/pjsip/docs/html/page_pjsip_sample_simple_pjsuaua_c.htm
>
> I compile myapp.cpp with MinGW under Windows 7.
> Anyone can help? Thank.
>
> Last message before crash
> --end msg--
> ?11:38:06.769??????????? APP? Call 1 state=CONFIRMED
> ?11:38:06.809??? ec0x1a9d688? Underflow, buf_cnt=0, will generate 1 frame
> ?11:38:07.289? strm0x1a991b4? VAD re-enabled
> ?11:38:28.819?? pjsua_core.c? RX 535 bytes Request msg OPTIONS/cseq=102
> (rdata0x1a88864) from UDP 192.168.1.106:5060:
> OPTIONS sip:1111 at 192.168.1.100:5060 SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.106:5060;branch=z9hG4bK2b9f16c4;rport
> Max-Forwards: 70
> From: "Unknown" <sip:Unknown@192.168.1.106>;tag=as577732a7
> To: <sip:1111 at 192.168.1.100:5060>
> Contact: <sip:Unknown at 192.168.1.106>
> Call-ID: 26ae8aee33ec93a37ca4095a663299d0 at 192.168.1.106
> CSeq: 102 OPTIONS
> User-Agent: Asterisk PBX 1.6.0.9-samy-r27
> Date: Wed, 19 Aug 2009 04:38:53 GMT
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
> Supported: replaces, timer
> Content-Length: 0
>
>
> --end msg--
> ?11:38:34.053?? Master/sound? Underflow, buf_cnt=0, will generate 1 frame
>
>
> _______________________________________________
> 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