Hello,
I am trying to make video call between two ubuntu laptops using pjsip-2.5.5.
Both laptops run ubuntu 16.04. The pjsip compiles successfully and the preview screen is seen.
But when a video call is initiated from either side, in one system it fails with error -
vidgui: ../src/pjsip-ua/sip_inv.c:1135: pjsip_inv_verify_request3: Assertion `(status=pjmedia_sdp_validate(l_sdp))==PJ_SUCCESS' failed.
Aborted (core dumped)
While the same setup runs successfully on two other systems.
I am using qt5 for the gui display. The dump of screen and vidgui.log are attached with the mail.
Any leads on how to resolve this error, would be a big help.
Thank you.
Thanks & Regards
Meenakshi
I am trying to make video call between two ubuntu laptops using pjsip-2.5.5.
Both laptops run ubuntu 16.04. The pjsip compiles successfully and the preview screen is seen.
But when a video call is initiated from either side, in one system it fails with error -
vidgui: ../src/pjsip-ua/sip_inv.c:1135: pjsip_inv_verify_request3: Assertion `(status=pjmedia_sdp_validate(l_sdp))==PJ_SUCCESS' failed.
Aborted (core dumped)
While the same setup runs successfully on two other systems.
I am using qt5 for the gui display. The dump of screen and vidgui.log are attached with the mail.
Any leads on how to resolve this error, would be a big help.
Thank you.
Thanks & Regards
Meenakshi
11:48:23.064 sip_endpoint.c .Module "mod-pjsua-log" registered 11:48:23.064 sip_endpoint.c .Module "mod-tsx-layer" registered 11:48:23.064 sip_endpoint.c .Module "mod-stateful-util" registered 11:48:23.064 sip_endpoint.c .Module "mod-ua" registered 11:48:23.064 sip_endpoint.c .Module "mod-100rel" registered 11:48:23.064 sip_endpoint.c .Module "mod-pjsua" registered 11:48:23.064 sip_endpoint.c .Module "mod-invite" registered 11:48:23.080 alsa_dev.c ..Added sound device default 11:48:23.082 alsa_dev.c ..Added sound device pulse 11:48:23.084 alsa_dev.c ..Added sound device hdmi:CARD=HDMI,DEV=0 11:48:23.085 alsa_dev.c ..Added sound device hdmi:CARD=HDMI,DEV=1 11:48:23.085 alsa_dev.c ..Added sound device hdmi:CARD=HDMI,DEV=2 11:48:23.087 alsa_dev.c ..Added sound device sysdefault:CARD=PCH 11:48:23.087 alsa_dev.c ..Added sound device front:CARD=PCH,DEV=0 11:48:23.088 alsa_dev.c ..Added sound device surround40:CARD=PCH,DEV=0 11:48:23.089 alsa_dev.c ..Added sound device surround51:CARD=PCH,DEV=0 11:48:23.089 alsa_dev.c ..Added sound device surround71:CARD=PCH,DEV=0 11:48:23.089 alsa_dev.c ..ALSA driver found 10 devices 11:48:23.089 alsa_dev.c ..ALSA initialized 11:48:23.089 pjlib ..select() I/O Queue created (0x1f329e8) 11:48:23.089 conference.c ..Creating conference bridge with 254 ports 11:48:23.089 Master/sound ..Using delay buffer with WSOLA. 11:48:23.091 pjsua_vid.c ..Initializing video subsystem.. 11:48:23.176 v4l2_dev.c ...Found capture device Lenovo EasyCamera 11:48:23.176 v4l2_dev.c ... Enumerating formats: 11:48:23.176 v4l2_dev.c ... Unsupported: Motion-JPEG 11:48:23.176 v4l2_dev.c ... Supported: YUYV 4:2:2 11:48:23.176 v4l2_dev.c ... Unsupported: RGB3 11:48:23.176 v4l2_dev.c ... Supported: BGR3 11:48:23.176 v4l2_dev.c ... Unsupported: YU12 11:48:23.176 v4l2_dev.c ... Unsupported: YV12 11:48:23.314 v4l2_dev.c ...Video4Linux2 has 1 devices 11:48:23.314 sdl_dev.c ...SDL 2.0 initialized 11:48:23.314 colorbar_dev.c ...Colorbar video src initialized with 2 device(s): 11:48:23.314 colorbar_dev.c ... 0: Colorbar generator 11:48:23.314 colorbar_dev.c ... 1: Colorbar-active 11:48:23.314 sip_endpoint.c .Module "mod-evsub" registered 11:48:23.314 sip_endpoint.c .Module "mod-presence" registered 11:48:23.314 evsub.c .Event pkg "presence" registered by mod-presence 11:48:23.314 sip_endpoint.c .Module "mod-mwi" registered 11:48:23.314 evsub.c .Event pkg "message-summary" registered by mod-mwi 11:48:23.314 sip_endpoint.c .Module "mod-refer" registered 11:48:23.314 evsub.c .Event pkg "refer" registered by mod-refer 11:48:23.314 sip_endpoint.c .Module "mod-pjsua-pres" registered 11:48:23.314 sip_endpoint.c .Module "mod-pjsua-im" registered 11:48:23.314 sip_endpoint.c .Module "mod-pjsua-options" registered 11:48:23.314 pjsua_core.c .1 SIP worker threads created 11:48:23.314 pjsua_core.c .pjsua version 2.5.5 for Linux-4.4.0.34/x86_64/glibc-2.23 initialized 11:48:23.314 pjsua_core.c .PJSUA state changed: CREATED --> INIT 11:48:23.314 pjsua_core.c SIP UDP socket reachable at 10.107.63.140:5080 11:48:23.314 udp0x1f4ebe0 SIP UDP transport started, published address is 10.107.63.140:5080 11:48:23.315 tcptp:36276 SIP TCP listener ready for incoming connections at 10.107.63.140:36276 11:48:23.315 pjsua_acc.c Adding account: id=sip:vidgui@10.107.63.140:5080 11:48:23.315 pjsua_acc.c .Account sip:vidgui@10.107.63.140:5080 added with id 0 11:48:23.315 vidgui.cpp Starting stack.. 11:48:23.315 pjsua_core.c PJSUA state changed: INIT --> STARTING 11:48:23.315 sip_endpoint.c .Module "mod-unsolicited-mwi" registered 11:48:23.315 pjsua_core.c .PJSUA state changed: STARTING --> RUNNING 11:48:23.315 vidgui.cpp Ready 11:48:23.315 sip_endpoint.c Module "mod-default-handler" registered 11:48:26.520 pjsua_vid.c Starting preview for cap_dev=-1, show=0 11:48:26.520 pjsua_vid.c .Creating video window: type=preview, cap_id=-1, rend_id=-2 11:48:26.520 vid_port.c ..Opening device Lenovo EasyCamera [v4l2] for capture: format=YUY2, size=320x240 @25:1 fps 11:48:26.619 v4l2_dev.c .. mmap streaming initialized 11:48:26.619 vid_port.c ..Device Lenovo EasyCamera [v4l2] opened: format=YUY2, size=320x240 @25:1 fps 11:48:26.619 vid_port.c ..Opening device SDL renderer [SDL] for render: format=YUY2, size=320x240 @25:1 fps 11:48:26.653 vid_port.c ..Device SDL renderer [SDL] opened: format=YUY2, size=320x240 @25:1 fps 11:48:26.653 pjsua_vid.c ..preview window id 0 created for cap_dev=0 rend_dev=-2 11:48:26.653 pjsua_vid.c ..Window 0 created 11:48:26.653 sdl_dev.c .Starting sdl video stream 11:48:26.653 v4l2_dev.c .Starting v4l2 video stream Lenovo EasyCamera 11:48:26.802 vidwin.cpp 0x4600007 size = 320x240 11:48:26.802 vidwin.cpp 0x4600007 new parent handle = 0x4800029, err = 1 11:48:26.803 vidwin.cpp [0x1e2cb30,0x4600007] new size = 320x240, err = 1 11:48:26.803 vidgui.cpp Preview started 11:51:37.767 sip_endpoint.c !Processing incoming message: Request msg INVITE/cseq=15833 (rdata0x1f50668) 11:51:37.767 pjsua_core.c .RX 1635 bytes Request msg INVITE/cseq=15833 (rdata0x1f50668) from UDP 10.107.63.162:5080: INVITE sip:10.107.63.140:5080 SIP/2.0 Via: SIP/2.0/UDP 10.107.63.162:5080;rport;branch=z9hG4bKPjd89c3eb9-97fa-447b-906c-1ff69ceb55b5 Max-Forwards: 70 From: sip:vidgui@10.107.63.162;tag=ec2eaf0b-6944-4c55-8b7b-0d515afaa5c2 To: sip:10.107.63.140 Contact: <sip:vidgui@10.107.63.162:5080;ob>;+sip.ice Call-ID: ef18877b-bcf2-4ced-a3ba-b2c908d4208d CSeq: 15833 INVITE Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800 Min-SE: 90 Content-Type: application/sdp Content-Length: 1028 v=0 o=- 3681699582 3681699582 IN IP4 10.107.63.162 s=pjmedia b=AS:352 t=0 0 a=X-nat:0 m=audio 48810 RTP/AVP 98 97 99 104 3 0 8 9 96 c=IN IP4 10.107.63.162 b=TIAS:64000 a=rtcp:44641 IN IP4 10.107.63.162 a=sendrecv a=rtpmap:98 speex/16000 a=rtpmap:97 speex/8000 a=rtpmap:99 speex/32000 a=rtpmap:104 iLBC/8000 a=fmtp:104 mode=30 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:9 G722/8000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-16 a=ice-ufrag:2c0e0b57 a=ice-pwd:122b2949 a=candidate:Ha6b3fa2 1 UDP 2130706431 10.107.63.162 48810 typ host a=candidate:Ha6b3fa2 2 UDP 2130706430 10.107.63.162 44641 typ host m=video 34029 RTP/AVP 97 c=IN IP4 10.107.63.162 b=TIAS:256000 a=rtcp:42307 IN IP4 10.107.63.162 a=sendrecv a=rtpmap:97 H264/90000 a=fmtp:97 profile-level-id=42e01e; packetization-mode=1 a=ice-ufrag:198c76c0 a=ice-pwd:711a9e6a a=candidate:Ha6b3fa2 1 UDP 2130706431 10.107.63.162 34029 typ host a=candidate:Ha6b3fa2 2 UDP 2130706430 10.107.63.162 42307 typ host --end msg-- 11:51:37.768 pjsua_call.c .Incoming Request msg INVITE/cseq=15833 (rdata0x1f50668) 11:51:37.768 tsx0x7f11b4005 ...Transaction created for Request msg INVITE/cseq=15833 (rdata0x1f50668) 11:51:37.768 tsx0x7f11b4005 ..Incoming Request msg INVITE/cseq=15833 (rdata0x1f50668) in state Null 11:51:37.768 tsx0x7f11b4005 ...State changed from Null to Trying, event=RX_MSG 11:51:37.768 dlg0x7f11b4004 ....Transaction tsx0x7f11b40058e8 state changed to Trying 11:51:37.768 dlg0x7f11b4004 ..UAS dialog created 11:51:37.768 dlg0x7f11b4004 ..Module mod-invite added as dialog usage, data=0x7f11b4006cb8 11:51:37.768 dlg0x7f11b4004 ...Session count inc to 3 by mod-invite 11:51:37.768 inv0x7f11b4004 ..UAS invite session created for dialog dlg0x7f11b4004898 11:51:37.768 dlg0x7f11b4004 ...Session count inc to 3 by mod-pjsua 11:51:37.768 pjsua_media.c ..Call 0: initializing media.. 11:51:37.768 icetp00 ...Creating ICE stream transport with 2 component(s) 11:51:37.768 stuntp0x7f11b4 ....SO_RCVBUF set to 212992 11:51:37.768 stuntp0x7f11b4 ....SO_SNDBUF set to 212992 11:51:37.768 icetp00 ....Comp 1: host candidate 10.107.63.140:43272 added 11:51:37.768 stuntp0x7f11b4 ....SO_RCVBUF set to 212992 11:51:37.768 stuntp0x7f11b4 ....SO_SNDBUF set to 212992 11:51:37.768 icetp00 ....Comp 2: host candidate 10.107.63.140:43697 added 11:51:37.768 icetp00 ....ICE stream transport 0x7f11b400a318 created 11:51:37.768 icetp01 ...Creating ICE stream transport with 2 component(s) 11:51:37.768 stuntp0x7f11b4 ....SO_RCVBUF set to 212992 11:51:37.768 stuntp0x7f11b4 ....SO_SNDBUF set to 212992 11:51:37.768 icetp01 ....Comp 1: host candidate 10.107.63.140:33619 added 11:51:37.768 stuntp0x7f11b4 ....SO_RCVBUF set to 212992 11:51:37.768 stuntp0x7f11b4 ....SO_SNDBUF set to 212992 11:51:37.768 icetp01 ....Comp 2: host candidate 10.107.63.140:50913 added 11:51:37.768 icetp01 ....ICE stream transport 0x7f11b4010208 created 11:51:37.768 pjsua_media.c ...Media index 0 selected for audio call 0 11:51:37.768 pjsua_call.c ..Call 0: remote NAT type is 0 (Unknown) 11:51:37.768 endpoint ...Response msg 100/INVITE/cseq=15833 (tdta0x7f11b4015cc0) created 11:51:37.768 dlg0x7f11b4004 ...Initial answer Response msg 100/INVITE/cseq=15833 (tdta0x7f11b4015cc0) 11:51:37.769 inv0x7f11b4004 ...Sending Response msg 100/INVITE/cseq=15833 (tdta0x7f11b4015cc0) 11:51:37.769 dlg0x7f11b4004 ....Sending Response msg 100/INVITE/cseq=15833 (tdta0x7f11b4015cc0) 11:51:37.769 tsx0x7f11b4005 ....Sending Response msg 100/INVITE/cseq=15833 (tdta0x7f11b4015cc0) in state Trying 11:51:37.769 pjsua_core.c .....TX 333 bytes Response msg 100/INVITE/cseq=15833 (tdta0x7f11b4015cc0) to UDP 10.107.63.162:5080: SIP/2.0 100 Trying Via: SIP/2.0/UDP 10.107.63.162:5080;rport=5080;received=10.107.63.162;branch=z9hG4bKPjd89c3eb9-97fa-447b-906c-1ff69ceb55b5 Call-ID: ef18877b-bcf2-4ced-a3ba-b2c908d4208d From: <sip:vidgui@10.107.63.162>;tag=ec2eaf0b-6944-4c55-8b7b-0d515afaa5c2 To: <sip:10.107.63.140> CSeq: 15833 INVITE Content-Length: 0 --end msg-- 11:51:37.769 tsx0x7f11b4005 .....State changed from Trying to Proceeding, event=TX_MSG 11:51:37.769 dlg0x7f11b4004 ......Transaction tsx0x7f11b40058e8 state changed to Proceeding 11:51:37.769 vidgui.cpp ..Incoming call from <sip:vidgui@10.107.63.162> 11:51:37.770 icetp00 ICE session created, comp_cnt=2, role is Controlled agent 11:51:37.770 icetp00 ICE nomination type set to aggressive 11:51:37.770 icetp00 Candidate 0 added: comp_id=1, type=host, foundation=Ha6b3f8c, addr=10.107.63.140:43272, base=10.107.63.140:43272, prio=0x7effffff (2130706431) 11:51:37.770 icetp00 Candidate 1 added: comp_id=2, type=host, foundation=Ha6b3f8c, addr=10.107.63.140:43697, base=10.107.63.140:43697, prio=0x7efffffe (2130706430) 11:51:37.770 icetp01 ICE session created, comp_cnt=2, role is Controlled agent 11:51:37.770 icetp01 ICE nomination type set to aggressive 11:51:37.770 icetp01 Candidate 0 added: comp_id=1, type=host, foundation=Ha6b3f8c, addr=10.107.63.140:33619, base=10.107.63.140:33619, prio=0x7effffff (2130706431) 11:51:37.770 icetp01 Candidate 1 added: comp_id=2, type=host, foundation=Ha6b3f8c, addr=10.107.63.140:50913, base=10.107.63.140:50913, prio=0x7efffffe (2130706430) 11:51:37.770 dlg0x7f11b4004 .Session count dec to 3 by mod-pjsua 11:51:37.770 icetp00 Processing SDP: support ICE=1, common comp_cnt=2, ice_mismatch=0, ice_restart=0, local_role=Controlled 11:51:37.770 icetp01 Processing SDP: support ICE=1, common comp_cnt=2, ice_mismatch=0, ice_restart=0, local_role=Controlled
Attachment:
screendump
Description: Binary data
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org