Many thanks Nanang, I tried both [ and ] commands, but they did not solve the problem. Had not noticed these before because as a beginner I have never thought of using more than one call at time. Actually, I think there is only one active call in the loopback too; the outgoing call with the incoming looped-back call becoming active when answered. It would seem to be natural then to use the a (answer call) command. After entering [ or ] pjsip responded to the 'a' command by asking for a response code, but no resulting video or audio came out. Hoping for your continued guidance about video & audio in loopback mode. Ken Here is the log when using the ] command: (the [ command produced same/similar output): ken at meijin-desktop:~$ ./pjs201c/pjproject-2.0.1/pjsip-apps/bin/pjsua-i686-pc-linux-gnu --video --vcapture-dev=-1 --vrender-dev=-1 sip:127.0.0.1:5060 12:04:58.049 os_core_unix.c !pjlib 2.0.1 for POSIX initialized lots OMITTED ... ... +-----------------------------------------------------------------------------+ |? q? QUIT?? L? ReLoad?? sleep MS?? echo [0|1|txt]???? n: detect NAT type???? | +=============================================================================+ You have 2 active calls Current call id=0 to sip:127.0.0.1:5060 [CALLING] >>> 12:04:58.259 os_core_unix.c? Info: possibly re-registering existing thread ] 12:05:03.688??? pjsua_app.c !Current dialog: <sip:192.168.0.2> >>> a Answer with code (100-699) (empty to cancel): 200 12:05:08.664?? pjsua_call.c? Answering call 1: code=200 12:05:08.665? pjsua_media.c? ...Call 1: updating media.. 12:05:08.665??? pjsua_aud.c? ....Audio channel update.. 12:05:08.665? strm0xa847dcc? .....VAD temporarily disabled 12:05:08.665? strm0xa847dcc? .....Encoder stream started 12:05:08.665? strm0xa847dcc? .....Decoder stream started 12:05:08.665? pjsua_media.c? ....Audio updated, stream #0: speex (sendrecv) 12:05:08.665??? pjsua_vid.c? ....Video channel update.. 12:05:08.670 vstenc0xa859af? .....Encoder stream started 12:05:08.670 vstdec0xa859af? .....Decoder stream started 12:05:08.670??? pjsua_vid.c? .....Setting up RX.. 12:05:08.670??? pjsua_vid.c? ......Creating video window: type=stream, cap_id=-1, rend_id=-1 12:05:08.670??? pjsua_vid.c? .......Window 0: destroying.. 12:05:08.670? pjsua_media.c? ....pjsua_vid_channel_update() failed for call_id 1 media 1: Invalid video device (PJMEDIA_EVID_INVDEV) 12:05:08.670??? pjsua_app.c? ...Call 1 media 0 [type=audio], status is Active 12:05:08.670??? pjsua_aud.c? ...Conf disconnect: 2 -x- 0 12:05:08.670?? conference.c? ....Port 2 (ring) stop transmitting to port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) 12:05:08.670??? pjsua_aud.c? ...Conf connect: 3 --> 0 12:05:08.670?? conference.c? ....Port 3 (sip:192.168.0.2) transmitting to port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) 12:05:08.670??? pjsua_aud.c? ...Conf connect: 0 --> 3 12:05:08.670?? conference.c? ....Port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) transmitting to port 3 (sip:192.168.0.2) 12:05:08.670??? pjsua_app.c? ...Call 1 media 1 [type=video], status is Active 12:05:08.670?? pjsua_core.c? ....TX 1037 bytes Response msg 200/INVITE/cseq=17057 (tdta0xa843408) to UDP 127.0.0.1:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.2:5060;rport=5060;received=127.0.0.1;branch=z9hG4bKPjDNgP7QBHHE7-YXcwk.bCCs9TDVLUKmyh Call-ID: Hfh833eVNu5I6QxSndeE2SvcjCYu3IY- From: <sip:192.168.0.2>;tag=BzCLEQshG-pvjgyncIVT-kSqR.GkgitZ To: <sip:127.0.0.1>;tag=Pep-2NvlQfdjBmYD4fPs7nbCD-wdgX.h CSeq: 17057 INVITE Contact: <sip:192.168.0.2:5060> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800;refresher=uac Content-Type: application/sdp Content-Length:?? 458 v=0 o=- 3552375898 3552375899 IN IP4 192.168.0.2 s=pjmedia c=IN IP4 192.168.0.2 b=AS:352 t=0 0 a=X-nat:0 m=audio 40004 RTP/AVP 98 96 c=IN IP4 192.168.0.2 b=TIAS:64000 a=rtcp:40005 IN IP4 192.168.0.2 a=sendrecv a=rtpmap:98 speex/16000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 m=video 40006 RTP/AVP 96 c=IN IP4 192.168.0.2 b=TIAS:256000 a=rtcp:40007 IN IP4 192.168.0.2 a=sendrecv a=rtpmap:96 H263-1998/90000 a=fmtp:96 CIF=1;QCIF=1 --end msg-- 12:05:08.670?? pjsua_core.c? .RX 1037 bytes Response msg 200/INVITE/cseq=17057 (rdata0xa4ef1f4) from UDP 127.0.0.1:5060: SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.0.2:5060;rport=5060;received=127.0.0.1;branch=z9hG4bKPjDNgP7QBHHE7-YXcwk.bCCs9TDVLUKmyh Call-ID: Hfh833eVNu5I6QxSndeE2SvcjCYu3IY- From: <sip:192.168.0.2>;tag=BzCLEQshG-pvjgyncIVT-kSqR.GkgitZ To: <sip:127.0.0.1>;tag=Pep-2NvlQfdjBmYD4fPs7nbCD-wdgX.h CSeq: 17057 INVITE Contact: <sip:192.168.0.2:5060> Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS Supported: replaces, 100rel, timer, norefersub Session-Expires: 1800;refresher=uac Content-Type: application/sdp Content-Length:?? 458 v=0 o=- 3552375898 3552375899 IN IP4 192.168.0.2 s=pjmedia c=IN IP4 192.168.0.2 b=AS:352 t=0 0 a=X-nat:0 m=audio 40004 RTP/AVP 98 96 c=IN IP4 192.168.0.2 b=TIAS:64000 a=rtcp:40005 IN IP4 192.168.0.2 a=sendrecv a=rtpmap:98 speex/16000 a=rtpmap:96 telephone-event/8000 a=fmtp:96 0-15 m=video 40006 RTP/AVP 96 c=IN IP4 192.168.0.2 b=TIAS:256000 a=rtcp:40007 IN IP4 192.168.0.2 a=sendrecv a=rtpmap:96 H263-1998/90000 a=fmtp:96 CIF=1;QCIF=1 --end msg-- 12:05:08.671??? pjsua_app.c? .....Call 0 state changed to CONNECTING 12:05:08.671? pjsua_media.c? .....Call 0: updating media.. 12:05:08.671??? pjsua_aud.c? ......Audio channel update.. 12:05:08.671? strm0xaa77934? .......VAD temporarily disabled 12:05:08.671? strm0xaa77934? .......Encoder stream started 12:05:08.671? strm0xaa77934? .......Decoder stream started 12:05:08.671? pjsua_media.c? ......Audio updated, stream #0: speex (sendrecv) 12:05:08.671??? pjsua_vid.c? ......Video channel update.. 12:05:08.673 vstenc0xaa895d? .......Encoder stream started 12:05:08.673 vstdec0xaa895d? .......Decoder stream started 12:05:08.673??? pjsua_vid.c? .......Setting up RX.. 12:05:08.673??? pjsua_vid.c? ........Creating video window: type=stream, cap_id=-1, rend_id=-1 12:05:08.673??? pjsua_vid.c? .........Window 0: destroying.. 12:05:08.673? pjsua_media.c? ......pjsua_vid_channel_update() failed for call_id 0 media 1: Invalid video device (PJMEDIA_EVID_INVDEV) 12:05:08.673??? pjsua_app.c? .....Call 0 media 0 [type=audio], status is Active 12:05:08.673??? pjsua_aud.c? .....Conf connect: 4 --> 0 12:05:08.674?? conference.c? ......Port 4 (sip:127.0.0.1:5060) transmitting to port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) 12:05:08.674??? pjsua_aud.c? .....Conf connect: 0 --> 4 12:05:08.674?? conference.c? ......Port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) transmitting to port 4 (sip:127.0.0.1:5060) 12:05:08.674??? pjsua_app.c? .....Call 0 media 1 [type=video], status is Active 12:05:08.674?? pjsua_core.c? .....TX 342 bytes Request msg ACK/cseq=17057 (tdta0xa737370) to UDP 192.168.0.2:5060: ACK sip:192.168.0.2:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5060;rport;branch=z9hG4bKPjK1Y4HUs6QkI6mhnXtvYCWKv86hZTEOpq Max-Forwards: 70 From: <sip:192.168.0.2>;tag=BzCLEQshG-pvjgyncIVT-kSqR.GkgitZ To: sip:127.0.0.1;tag=Pep-2NvlQfdjBmYD4fPs7nbCD-wdgX.h Call-ID: Hfh833eVNu5I6QxSndeE2SvcjCYu3IY- CSeq: 17057 ACK Content-Length:? 0 --end msg-- 12:05:08.674??? pjsua_app.c? .....Call 0 state changed to CONFIRMED 12:05:08.674?? pjsua_core.c? .RX 342 bytes Request msg ACK/cseq=17057 (rdata0xa4ef1f4) from UDP 192.168.0.2:5060: ACK sip:192.168.0.2:5060 SIP/2.0 Via: SIP/2.0/UDP 192.168.0.2:5060;rport;branch=z9hG4bKPjK1Y4HUs6QkI6mhnXtvYCWKv86hZTEOpq Max-Forwards: 70 From: <sip:192.168.0.2>;tag=BzCLEQshG-pvjgyncIVT-kSqR.GkgitZ To: sip:127.0.0.1;tag=Pep-2NvlQfdjBmYD4fPs7nbCD-wdgX.h Call-ID: Hfh833eVNu5I6QxSndeE2SvcjCYu3IY- CSeq: 17057 ACK Content-Length:? 0 --end msg-- 12:05:08.674??? pjsua_app.c? .......Call 1 state changed to CONNECTING >>> 12:05:08.674??? pjsua_app.c? ...Call 1 state changed to CONFIRMED 12:05:09.303? strm0xa847dcc? VAD re-enabled 12:05:09.304? strm0xaa77934? VAD re-enabled 12:05:11.665?? sound_port.c? EC suspended because of inactivity 12:05:11.726?? sound_port.c? EC activated 12:05:17.025?? sound_port.c? EC suspended because of inactivity 12:05:17.243?? sound_port.c? EC activated 12:05:22.726?? sound_port.c? EC suspended because of inactivity 12:05:23.163?? sound_port.c? EC activated 12:05:23.186??? ec0xa4f34e8? Buffer size adjusted from 960 to 481 (eff_cnt=477) rest OMITTED ..... --- On Fri, 27/7/12, Nanang Izzuddin <nanang at pjsip.org> wrote: From: Nanang Izzuddin <nanang@xxxxxxxxx> Subject: Re: How to use pjsip with video in local loopback mode? To: "pjsip list" <pjsip at lists.pjsip.org> Date: Friday, 27 July, 2012, 2:32 PM Hi Ken, Perhaps you should switch the active call first, check ']'/'[' command. BR, nanang On Fri, Jul 27, 2012 at 12:22 AM, Ken Resander <kresander at yahoo.com> wrote: > > I am new to pjsip and need to learn how to use video & audio step-by-step > by using local loopback. Friends and relatives would not know how to be a > remote test site of course and cannot assist. > > I tried:? pjsua --video --vcapture-dev=-1 -vrender-dev=-1 > sip:127.0.0.1:5060 > > Q1. Is the command above the right way? > > Q2. If the command is correct, what else might be the problem? (console > log >? ???attached) > > I expected the web-camera (a Logitech) to pick me up me sitting in front > of the computer and transfer video and sound (mic built into to the webcam) > to the same local computer. Then as an incoming call. I could hear the ring > tone, but user-interface command-letter 'a' (answer call) did not have any > effect. Could only enter letter q to quit. Also have tried local loopback > with the --play-avi=AVIFILE option with the same result (started a thread > describing this). The webcamera works fine with Cheese and Skype. > > > Q3.? sip:music at iptel.org plays music. Are there other sip URIs that > provide video&audio in a similar fashion? Would be useful for learning and > testing pjsip video. > > > A bit long maybe, but here is the console log text: > > ken at meijin-desktop:~$ > ./pjs201c/pjproject-2.0.1/pjsip-apps/bin/pjsua-i686-pc-linux-gnu --video > --vcapture-dev=-1 --vrender-dev=-1 sip:127.0.0.1:5060 > 12:36:17.591 os_core_unix.c !pjlib 2.0.1 for POSIX initialized > 12:36:17.592 sip_endpoint.c? .Creating endpoint instance... > 12:36:17.593? ? ? ? ? pjlib? .select() I/O Queue created (0xa6c9170) > 12:36:17.593 sip_endpoint.c? .Module "mod-msg-print" registered > 12:36:17.593 sip_transport.? .Transport manager created. > 12:36:17.593???pjsua_core.c? .PJSUA state changed: NULL --> CREATED > 12:36:17.593 sip_endpoint.c? .Module "mod-pjsua-log" registered > 12:36:17.593 sip_endpoint.c? .Module "mod-tsx-layer" registered > 12:36:17.593 sip_endpoint.c? .Module "mod-stateful-util" registered > 12:36:17.593 sip_endpoint.c? .Module "mod-ua" registered > 12:36:17.593 sip_endpoint.c? .Module "mod-100rel" registered > 12:36:17.593 sip_endpoint.c? .Module "mod-pjsua" registered > 12:36:17.593 sip_endpoint.c? .Module "mod-invite" registered > bt_audio_service_open: connect() failed: Connection refused (111) > bt_audio_service_open: connect() failed: Connection refused (111) > bt_audio_service_open: connect() failed: Connection refused (111) > bt_audio_service_open: connect() failed: Connection refused (111) > 12:36:17.666? ? ???pa_dev.c? ..PortAudio sound library initialized, > status=0 > 12:36:17.666? ? ???pa_dev.c? ..PortAudio host api count=2 > 12:36:17.666? ? ???pa_dev.c? ..Sound device count=10 > 12:36:17.666? ? ? ? ? pjlib? ..select() I/O Queue created (0xa6e8bd4) > 12:36:17.696? ? pjsua_vid.c? ..Initializing video subsystem.. > 12:36:17.698 ffmpeg_vid_cod? ...Cannot find H264 encoder in ffmpeg library > 12:36:17.698 colorbar_dev.c? ...Colorbar video src initialized with 1 > device(s): > 12:36:17.698 colorbar_dev.c? ... 0: Colorbar generator > 12:36:17.772? ? ? sdl_dev.c? ...SDL 2.0 initialized > 12:36:17.772 sip_endpoint.c? .Module "mod-evsub" registered > 12:36:17.772 sip_endpoint.c? .Module "mod-presence" registered > 12:36:17.772 sip_endpoint.c? .Module "mod-mwi" registered > 12:36:17.772 sip_endpoint.c? .Module "mod-refer" registered > 12:36:17.772 sip_endpoint.c? .Module "mod-pjsua-pres" registered > 12:36:17.772 sip_endpoint.c? .Module "mod-pjsua-im" registered > 12:36:17.772 sip_endpoint.c? .Module "mod-pjsua-options" registered > 12:36:17.773???pjsua_core.c? .1 SIP worker threads created > 12:36:17.773???pjsua_core.c? .pjsua version 2.0.1 for > Linux-2.6.32.41/i686/glibc-2.11 initialized > 12:36:17.773???pjsua_core.c? .PJSUA state changed: CREATED --> INIT > 12:36:17.773 sip_endpoint.c? Module "mod-default-handler" registered > 12:36:17.773???pjsua_core.c? SIP UDP socket reachable at 192.168.0.2:5060 > 12:36:17.773???udp0xa7111e0? SIP UDP transport started, published address > is 192.168.0.2:5060 > 12:36:17.773? ? pjsua_acc.c? Adding account: id=<sip:192.168.0.2:5060> > 12:36:17.773? ? pjsua_acc.c? .Account <sip:192.168.0.2:5060> added with id > 0 > 12:36:17.773? ? pjsua_acc.c? Modifying accunt 0 > 12:36:17.773? ? pjsua_acc.c? Acc 0: setting online status to 1.. > 12:36:17.774? ? tcplis:5060? SIP TCP listener ready for incoming > connections at 192.168.0.2:5060 > 12:36:17.774? ? pjsua_acc.c? Adding account: > id=<sip:192.168.0.2:5060;transport=TCP> > 12:36:17.774? ? pjsua_acc.c? .Account <sip:192.168.0.2:5060;transport=TCP> > added with id 1 > 12:36:17.774? ? pjsua_acc.c? Modifying accunt 1 > 12:36:17.774? ? pjsua_acc.c? Acc 1: setting online status to 1.. > 12:36:17.774???pjsua_pres.c? Adding buddy: sip:127.0.0.1:5060 > 12:36:17.774???pjsua_pres.c? .Buddy 0 added. > 12:36:17.774???pjsua_pres.c? .Buddy 0: unsubscribing presence.. > 12:36:17.774???pjsua_pres.c? ..Buddy 0: updating presence.. > 12:36:17.774???pjsua_core.c? PJSUA state changed: INIT --> STARTING > 12:36:17.774? pjsua_media.c? ..NAT type detection failed: Invalid STUN > server or server not configured (PJNATH_ESTUNINSERVER) > 12:36:17.774 sip_endpoint.c? .Module "mod-unsolicited-mwi" registered > 12:36:17.774???pjsua_core.c? .PJSUA state changed: STARTING --> RUNNING > 12:36:17.774???pjsua_call.c? Making call with acc #1 to sip:127.0.0.1:5060 > 12:36:17.774? ? pjsua_aud.c? .Set sound device: capture=-1, playback=-2 > 12:36:17.774? ? pjsua_app.c? ..Turning sound device ON > 12:36:17.774? ? pjsua_aud.c? ..Opening sound device PCM at 16000/1/20ms > 12:36:17.777? ? ec0xa7304e8? ...AEC created, clock_rate=16000, channel=1, > samples per frame=320, tail length=200 ms, latency=100 ms > 12:36:17.777? pjsua_media.c? .Call 0: initializing media.. > 12:36:17.777? pjsua_media.c? ..RTP socket reachable at 192.168.0.2:40000 > 12:36:17.777? pjsua_media.c? ..RTCP socket reachable at 192.168.0.2:40001 > 12:36:17.778? pjsua_media.c? ..RTP socket reachable at 192.168.0.2:40002 > 12:36:17.778? pjsua_media.c? ..RTCP socket reachable at 192.168.0.2:40003 > 12:36:17.778? pjsua_media.c? ..Media index 0 selected for audio call 0 > 12:36:17.779???pjsua_core.c? ....TX 1266 bytes Request msg INVITE/cseq=634 > (tdta0xaa6cae0) to UDP 127.0.0.1:5060: > INVITE sip:127.0.0.1:5060 SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.2:5060;rport;branch=z9hG4bKPjt-FyKRLPJg5xEJpfGH8jOodfbKsHXt0d > Max-Forwards: 70 > From: <sip:192.168.0.2>;tag=knD2N3cRRPB8JbWQchIdnohvz4BLCu-j > To: sip:127.0.0.1 > Contact: <sip:192.168.0.2:5060;ob> > Call-ID: 7q3ZVMr2iBByiJVjO6qULHQWBriOBsUh > CSeq: 634 INVITE > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, > MESSAGE, OPTIONS > Supported: replaces, 100rel, timer, norefersub > Session-Expires: 1800 > Min-SE: 90 > User-Agent: PJSUA v2.0.1 Linux-2.6.32.41/i686/glibc-2.11 > Content-Type: application/sdp > Content-Length:???656 > > v=0 > o=- 3552291377 3552291377 IN IP4 192.168.0.2 > s=pjmedia > c=IN IP4 192.168.0.2 > b=AS:352 > t=0 0 > a=X-nat:0 > m=audio 40000 RTP/AVP 98 97 99 104 3 0 8 9 96 > c=IN IP4 192.168.0.2 > b=TIAS:64000 > a=rtcp:40001 IN IP4 192.168.0.2 > 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-15 > m=video 40002 RTP/AVP 96 > c=IN IP4 192.168.0.2 > b=TIAS:256000 > a=rtcp:40003 IN IP4 192.168.0.2 > a=sendrecv > a=rtpmap:96 H263-1998/90000 > a=fmtp:96 CIF=1;QCIF=1 > > --end msg-- > 12:36:17.779???pjsua_core.c? .RX 1266 bytes Request msg INVITE/cseq=634 > (rdata0xa72c1f4) from UDP 127.0.0.1:5060: > INVITE sip:127.0.0.1:5060 SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.2:5060;rport;branch=z9hG4bKPjt-FyKRLPJg5xEJpfGH8jOodfbKsHXt0d > Max-Forwards: 70 > From: <sip:192.168.0.2>;tag=knD2N3cRRPB8JbWQchIdnohvz4BLCu-j > To: sip:127.0.0.1 > Contact: <sip:192.168.0.2:5060;ob> > Call-ID: 7q3ZVMr2iBByiJVjO6qULHQWBriOBsUh > CSeq: 634 INVITE > Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, > MESSAGE, OPTIONS > Supported: replaces, 100rel, timer, norefersub > Session-Expires: 1800 > Min-SE: 90 > User-Agent: PJSUA v2.0.1 Linux-2.6.32.41/i686/glibc-2.11 > Content-Type: application/sdp > Content-Length:???656 > > v=0 > o=- 3552291377 3552291377 IN IP4 192.168.0.2 > s=pjmedia > c=IN IP4 192.168.0.2 > b=AS:352 > t=0 0 > a=X-nat:0 > m=audio 40000 RTP/AVP 98 97 99 104 3 0 8 9 96 > c=IN IP4 192.168.0.2 > b=TIAS:64000 > a=rtcp:40001 IN IP4 192.168.0.2 > 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-15 > m=video 40002 RTP/AVP 96 > c=IN IP4 192.168.0.2 > b=TIAS:256000 > a=rtcp:40003 IN IP4 192.168.0.2 > a=sendrecv > a=rtpmap:96 H263-1998/90000 > a=fmtp:96 CIF=1;QCIF=1 > > --end msg-- > 12:36:17.779? ? pjsua_app.c? .......Call 0 state changed to CALLING > 12:36:17.779???pjsua_call.c !.Incoming Request msg INVITE/cseq=634 > (rdata0xa72c1f4) > 12:36:17.779? pjsua_media.c? ..Call 1: initializing media.. > 12:36:17.780? pjsua_media.c? ...RTP socket reachable at 192.168.0.2:40004 > 12:36:17.780? pjsua_media.c? ...RTCP socket reachable at 192.168.0.2:40005 > 12:36:17.780? pjsua_media.c? ...RTP socket reachable at 192.168.0.2:40006 > 12:36:17.780? pjsua_media.c? ...RTCP socket reachable at 192.168.0.2:40007 > 12:36:17.780? pjsua_media.c? ...Media index 0 selected for audio call 1 > 12:36:17.781???pjsua_core.c? .....TX 300 bytes Response msg > 100/INVITE/cseq=634 (tdta0xaa80408) to UDP 127.0.0.1:5060: > SIP/2.0 100 Trying > Via: SIP/2.0/UDP > 192.168.0.2:5060;rport=5060;received=127.0.0.1;branch=z9hG4bKPjt-FyKRLPJg5xEJpfGH8jOodfbKsHXt0d > Call-ID: 7q3ZVMr2iBByiJVjO6qULHQWBriOBsUh > From: <sip:192.168.0.2>;tag=knD2N3cRRPB8JbWQchIdnohvz4BLCu-j > To: <sip:127.0.0.1> > CSeq: 634 INVITE > Content-Length:? 0 > > > --end msg-- > 12:36:17.781? ? pjsua_aud.c? ..Conf connect: 2 --> 0 > 12:36:17.781???conference.c? ...Port 2 (ring) transmitting to port 0 > (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) > 12:36:17.781? ? pjsua_app.c? ..Incoming call for account 0! > Media count: 1 audio & 1 video > To reject the video, type "vid disable" first, before answering the call! > From: <sip:192.168.0.2> > To: <sip:127.0.0.1> > Press a to answer or h to reject call > 12:36:17.781???pjsua_core.c? .RX 300 bytes Response msg > 100/INVITE/cseq=634 (rdata0xa72c1f4) from UDP 127.0.0.1:5060: > SIP/2.0 100 Trying > Via: SIP/2.0/UDP > 192.168.0.2:5060;rport=5060;received=127.0.0.1;branch=z9hG4bKPjt-FyKRLPJg5xEJpfGH8jOodfbKsHXt0d > Call-ID: 7q3ZVMr2iBByiJVjO6qULHQWBriOBsUh > From: <sip:192.168.0.2>;tag=knD2N3cRRPB8JbWQchIdnohvz4BLCu-j > To: <sip:127.0.0.1> > CSeq: 634 INVITE > Content-Length:? 0 > > > --end msg-- > >>>> > Account list: >???[ 0] <sip:192.168.0.2:5060>: does not register >? ? ? ? Online status: Online >? *[ 1] <sip:192.168.0.2:5060;transport=TCP>: does not register >? ? ? ? Online status: Online > Buddy list: >? [ 1] <?>? sip:127.0.0.1:5060 > > > +=============================================================================+ > |? ? ???Call Commands:? ? ? ???|???Buddy, IM & Presence:? |? ???Account: > | > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |? ? ? ? ? ? ? ? ? ? ? ? ? | > | > |? m? Make new call? ? ? ? ? ? | +b? Add new buddy? ? ???.| +a? Add new > accnt | > |? M? Make multiple calls? ? ? | -b? Delete buddy? ? ? ???| -a? Delete > accnt. | > |? a? Answer call? ? ? ? ? ? ? |? i? Send IM? ? ? ? ? ? ? | !a? Modify > accnt. | > |? h? Hangup call? (ha=all)? ? |? s? Subscribe presence???| rr > (Re-)register | > |? H? Hold call? ? ? ? ? ? ? ? |? u? Unsubscribe presence | ru? Unregister > | > |? v? re-inVite (release hold) |? t? ToGgle Online status |? >? Cycle next > ac.| > |? U? send UPDATE? ? ? ? ? ? ? |? T? Set online status? ? |? <? Cycle prev > ac.| > | ],[ Select next/prev call > +--------------------------+-------------------+ > |? x? Xfer call? ? ? ? ? ? ? ? |? ? ? Media Commands:? ???|? Status & > Config: | > |? X? Xfer with Replaces? ? ???|? ? ? ? ? ? ? ? ? ? ? ? ? | > | > |? #? Send RFC 2833 DTMF? ? ???| cl? List ports? ? ? ? ???|? d? Dump > status???| > |? *? Send DTMF with INFO? ? ? | cc? Connect port? ? ? ???| dd? Dump > detailed | > | dq? Dump curr. call quality? | cd? Disconnect port? ? ? | dc? Dump > config???| > |? ? ? ? ? ? ? ? ? ? ? ? ? ? ? |? V? Adjust audio Volume? |? f? Save > config???| > |? S? Send arbitrary REQUEST???| Cp? Codec priorities? ???| > | > > +-----------------------------------------------------------------------------+ > | Video: "vid help" for more info > | > > +-----------------------------------------------------------------------------+ > |? q? QUIT???L? ReLoad???sleep MS???echo [0|1|txt]? ???n: detect NAT type > | > > +=============================================================================+ > | Video will be enabled in the next offer/answer > | > > +=============================================================================+ > >>> a > No pending incoming call > >>> q > 12:36:26.218???pjsua_core.c !Shutting down, flags=0... > > > _______________________________________________ > 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 > _______________________________________________ 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120727/8138f707/attachment-0001.html>