How to use pjsip with video in local loopback mode?

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

 



The console log below first lists codecs and devices using 'vid ' commands.

After entry of 'a' (answer) command and response code 200 the log soon shows 'Opening device SDL' and Opening device Colorbar. I don't know if that is the way it should be or if it indicates something is wrong and the colour bars are being brought on instead of live video.

Again, the little light of the web-camera never came on. When configuring the web-cam for Cheese, guvcview and skype it is known as device 'UVC Camera 046d:0825' where the hex number is a USB ID. 

Ken

The console log:? 

ken at meijin-desktop:~$ ./pjs201c/pjproject-2.0.1/pjsip-apps/bin/pjsua-i686-pc-linux-gnu --video --vcapture-dev=-1 --vrender-dev=-2 sip:127.0.0.1:5060
16:05:44.290 os_core_unix.c !pjlib 2.0.1 for POSIX initialized
lots skipped
....
+=============================================================================+
You have 2 active calls
Current call id=0 to sip:127.0.0.1:5060 [CALLING]
>>> 16:05:44.757 os_core_unix.c? Info: possibly re-registering existing thread
]
16:05:47.188??? pjsua_app.c !Current dialog: <sip:192.168.0.2>
>>> vid codec list
16:05:53.536??? pjsua_app.c? Found 1 video codecs:
16:05:53.537??? pjsua_app.c? codec id????? prio? fps??? bw(kbps)?? size
16:05:53.537??? pjsua_app.c? ------------------------------------------
16:05:53.537??? pjsua_app.c? H263-1998/96? 128?? 15.00?? 256/ 256? 352x288
>>> vid dev list
16:06:06.568??? pjsua_app.c? Video device list:
16:06:06.569??? pjsua_app.c? 2 device(s) detected:
16:06:06.569??? pjsua_app.c?? -2 SDL renderer [SDL][render] (default renderer device)
16:06:06.569??? pjsua_app.c????? Supported capabilities: format, window, resize, wndflags
16:06:06.569??? pjsua_app.c????? Supported formats: RGBA, RGB24, BGRA, DIB , YUY2, UYVY, YVYU, I420, YV12, I420JPG, I422JPG
16:06:06.569??? pjsua_app.c?? -1 Colorbar generator [Colorbar][capture] (default capture device)
16:06:06.569??? pjsua_app.c????? Supported capabilities: format
16:06:06.569??? pjsua_app.c????? Supported formats: YUY2, UYVY, YVYU, RGBA, RGB24, BGRA, YV12, I420, I422, I420JPG, I422JPG
16:06:06.569??? pjsua_app.c??? 0 Colorbar generator [Colorbar][capture] 
16:06:06.569??? pjsua_app.c????? Supported capabilities: format
16:06:06.569??? pjsua_app.c????? Supported formats: YUY2, UYVY, YVYU, RGBA, RGB24, BGRA, YV12, I420, I422, I420JPG, I422JPG
16:06:06.569??? pjsua_app.c??? 1 SDL renderer [SDL][render] 
16:06:06.569??? pjsua_app.c????? Supported capabilities: format, window, resize, wndflags
16:06:06.569??? pjsua_app.c????? Supported formats: RGBA, RGB24, BGRA, DIB , YUY2, UYVY, YVYU, I420, YV12, I420JPG, I422JPG
>>> a
Answer with code (100-699) (empty to cancel): 200
16:06:28.148?? pjsua_call.c? Answering call 1: code=200
16:06:28.149? pjsua_media.c? ...Call 1: updating media..
16:06:28.149??? pjsua_aud.c? ....Audio channel update..
16:06:28.149? strm0xabd06ec? .....VAD temporarily disabled
16:06:28.149? strm0xabd06ec? .....Encoder stream started
16:06:28.149? strm0xabd06ec? .....Decoder stream started
16:06:28.149? pjsua_media.c? ....Audio updated, stream #0: speex (sendrecv)
16:06:28.149??? pjsua_vid.c? ....Video channel update..
16:06:28.316 vstenc0xabe249? .....Encoder stream started
16:06:28.316 vstdec0xabe249? .....Decoder stream started
16:06:28.316??? pjsua_vid.c? .....Setting up RX..
16:06:28.316??? pjsua_vid.c? ......Creating video window: type=stream, cap_id=-1, rend_id=1
16:06:28.317???? vid_port.c? .......Opening device SDL renderer [SDL] for render: format=I420, size=352x288 @45000:1001 fps
16:06:28.344?? udp0xa899a20 !Remote RTP address switched to 192.168.0.2:40004
16:06:28.782? strm0xabd06ec !VAD re-enabled
16:06:29.308???? vid_port.c !.......Device SDL renderer [SDL] opened: format=I420, size=352x288 @45000:1001 fps
16:06:29.308??? pjsua_vid.c? .......stream window id 0 created for cap_dev=-1 rend_dev=1
16:06:29.308??? pjsua_vid.c? .......Window 0 created
16:06:29.308????? sdl_dev.c? ......Starting sdl video stream
16:06:29.308??? pjsua_vid.c? .....Setting up TX..
16:06:29.308??? pjsua_vid.c? ......Creating video window: type=preview, cap_id=0, rend_id=1
16:06:29.308???? vid_port.c? .......Opening device Colorbar generator [Colorbar] for capture: format=I420, size=352x288 @30000:2002 fps
16:06:29.308???? vid_port.c? .......Device Colorbar generator [Colorbar] opened: format=I420, size=352x288 @30000:2002 fps
16:06:29.308???? vid_port.c? .......Opening device SDL renderer [SDL] for render: format=I420, size=352x288 @30000:2002 fps
16:06:29.825???? vid_port.c !.......Device SDL renderer [SDL] opened: format=I420, size=352x288 @30000:2002 fps
16:06:29.826??? pjsua_vid.c? .......preview window id 1 created for cap_dev=0 rend_dev=1
16:06:29.826??? pjsua_vid.c? .......Window 1 created
16:06:29.826 colorbar_dev.c? ......Starting cbar video stream
16:06:29.826? pjsua_media.c? ....Video updated, stream #1: H263-1998 (sendrecv)
16:06:29.826??? pjsua_app.c? ...Call 1 media 0 [type=audio], status is Active
16:06:29.826??? pjsua_aud.c? ...Conf disconnect: 2 -x- 0
16:06:29.826?? conference.c? ....Port 2 (ring) stop transmitting to port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0))
16:06:29.826??? pjsua_aud.c? ...Conf connect: 3 --> 0
16:06:29.826?? conference.c? ....Port 3 (sip:192.168.0.2) transmitting to port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0))
16:06:29.826??? pjsua_aud.c? ...Conf connect: 0 --> 3
16:06:29.826?? conference.c? ....Port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) transmitting to port 3 (sip:192.168.0.2)
16:06:29.826??? pjsua_app.c? ...Call 1 media 1 [type=video], status is Active
16:06:29.831?? pjsua_core.c? ....TX 1036 bytes Response msg 200/INVITE/cseq=5177 (tdta0xabcbd28) 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=z9hG4bKPjkVU8ttXgsKaWz2oucilKON7gLS3ba1V.
Call-ID: iO6e5n3zt9P35BedMggNq3-XoaktNx3C
From: <sip:192.168.0.2>;tag=4UHLaQT.O6VFoJJkKEpGkOuayaP2OWVC
To: <sip:127.0.0.1>;tag=eCvGYF1Re8QNwoazNH0OxE9gIKcA4cUS
CSeq: 5177 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=- 3552476744 3552476745 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--
16:06:29.831??? pjsua_app.c? .......Call 1 state changed to CONNECTING
>>> 16:06:29.831?? pjsua_core.c? .RX 1036 bytes Response msg 200/INVITE/cseq=5177 (rdata0xa89c35c) 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=z9hG4bKPjkVU8ttXgsKaWz2oucilKON7gLS3ba1V.
Call-ID: iO6e5n3zt9P35BedMggNq3-XoaktNx3C
From: <sip:192.168.0.2>;tag=4UHLaQT.O6VFoJJkKEpGkOuayaP2OWVC
To: <sip:127.0.0.1>;tag=eCvGYF1Re8QNwoazNH0OxE9gIKcA4cUS
CSeq: 5177 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=- 3552476744 3552476745 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--
16:06:29.831??? pjsua_app.c? .....Call 0 state changed to CONNECTING
16:06:29.831? pjsua_media.c? .....Call 0: updating media..
16:06:29.831??? pjsua_aud.c? ......Audio channel update..
16:06:29.832? strm0xb640ef4? .......VAD temporarily disabled
16:06:29.832? strm0xb640ef4? .......Encoder stream started
16:06:29.832? strm0xb640ef4? .......Decoder stream started
16:06:29.832? pjsua_media.c? ......Audio updated, stream #0: speex (sendrecv)
16:06:29.832??? pjsua_vid.c? ......Video channel update..
16:06:29.834 vstenc0xb6420e? .......Encoder stream started
16:06:29.834 vstdec0xb6420e? .......Decoder stream started
16:06:29.834??? pjsua_vid.c? .......Setting up RX..
16:06:29.834??? pjsua_vid.c? ........Creating video window: type=stream, cap_id=-1, rend_id=1
16:06:29.834???? vid_port.c? .........Opening device SDL renderer [SDL] for render: format=I420, size=352x288 @45000:1001 fps
16:06:30.461? strm0xb640ef4? VAD re-enabled
16:06:30.859???? vid_port.c !.........Device SDL renderer [SDL] opened: format=I420, size=352x288 @45000:1001 fps
16:06:30.859??? pjsua_vid.c? .........stream window id 2 created for cap_dev=-1 rend_dev=1
16:06:30.859??? pjsua_vid.c? .........Window 2 created
16:06:30.859????? sdl_dev.c? ........Starting sdl video stream
16:06:30.859??? pjsua_vid.c? .......Setting up TX..
16:06:30.859? pjsua_media.c? ......Video updated, stream #1: H263-1998 (sendrecv)
16:06:30.859??? pjsua_app.c? .....Call 0 media 0 [type=audio], status is Active
16:06:30.859??? pjsua_aud.c? .....Conf connect: 4 --> 0
16:06:30.859?? conference.c? ......Port 4 (sip:127.0.0.1:5060) transmitting to port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0))
16:06:30.859??? pjsua_aud.c? .....Conf connect: 0 --> 4
16:06:30.859?? conference.c? ......Port 0 (Intel 82801DB-ICH4: Intel 82801DB-ICH4 (hw:0,0)) transmitting to port 4 (sip:127.0.0.1:5060)
16:06:30.859??? pjsua_app.c? .....Call 0 media 1 [type=video], status is Active
16:06:30.868?? pjsua_core.c? .....TX 341 bytes Request msg ACK/cseq=5177 (tdta0xbc25bb0) 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=z9hG4bKPj23LtWMaasN.gNp9ohbEJaOQzPccaYEwZ
Max-Forwards: 70
From: <sip:192.168.0.2>;tag=4UHLaQT.O6VFoJJkKEpGkOuayaP2OWVC
To: sip:127.0.0.1;tag=eCvGYF1Re8QNwoazNH0OxE9gIKcA4cUS
Call-ID: iO6e5n3zt9P35BedMggNq3-XoaktNx3C
CSeq: 5177 ACK
Content-Length:? 0


--end msg--
16:06:30.868??? pjsua_app.c? .....Call 0 state changed to CONFIRMED
16:06:30.868?? pjsua_core.c? .RX 341 bytes Request msg ACK/cseq=5177 (rdata0xa89c35c) 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=z9hG4bKPj23LtWMaasN.gNp9ohbEJaOQzPccaYEwZ
Max-Forwards: 70
From: <sip:192.168.0.2>;tag=4UHLaQT.O6VFoJJkKEpGkOuayaP2OWVC
To: sip:127.0.0.1;tag=eCvGYF1Re8QNwoazNH0OxE9gIKcA4cUS
Call-ID: iO6e5n3zt9P35BedMggNq3-XoaktNx3C
CSeq: 5177 ACK
Content-Length:? 0


--end msg--
16:06:30.869??? pjsua_app.c? ...Call 1 state changed to CONFIRMED
16:06:32.363?? sound_port.c? EC suspended because of inactivity
16:06:32.433?? sound_port.c? EC activated
16:06:37.966?? sound_port.c? EC suspended because of inactivity
16:06:38.360?? sound_port.c? EC activated
q
16:06:41.640?? pjsua_core.c !Shutting down, flags=0...
rest skipped...



--- On Sat, 28/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: Saturday, 28 July, 2012, 1:21 AM

Hi Ken,

Well the cam should be the default video capture device, as it is on
my machine.
Try "vid dev list" and see if your cam is listed there. You'll perhaps
also need "vid help" :)

BR,
nanang


On Fri, Jul 27, 2012 at 11:12 PM, Ken Resander <kresander at yahoo.com> wrote:
>
> Hi Nanang,
>
> I changed the command-line parameter --vrender-dev=-1 to --vrender-dev=-2.
> Then entered ] command, the a command and 200 response code.
> A black window with title 'pjmedia-SDL video' appeared. About a second
> later one more black window with same caption appeared below and to the
> right of the first. A short moment later the windows were repositioned and
> aligned vertically and filled with vertical bright colour bars. The two
> windows remained and I could close them one by one before quitting.
>
> When using the web camera with Cheese Webcam Booth (on Linux/Ubuntu) and
> Skype (for Linux/Ubuntu) an indicator light at the front of the camera comes
> on. This did not happen in this experiment. The camera remained inactive and
> also the microphone that is built into it, so could not test the sound.
>
> The web-cam is clip-on and connects to a USB port. There is only one so I
> thought it would be selected by the vrender-dev=-2 default.
>
> If there is more than one webcamera connected then I would need to select
> which to use from a drop-downlist for Cheese (in Cheese), Skype (in Skype)
> or from Sound options (for audio) on the system/preferences menu of Ubuntu.
> Is this type of feature available for the pjsua command-line to
> force/encourage a specific camera to be used?
>
> How can I make the web-cam spring to life?
>
> Ken
>
>
>
>
>
> --- 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, 10:03 PM
>
>
> Hi Ken,
>
> From the log, the audio setup looks fine, so audio should be there.
> Please make sure that the sound device works fine. Here are wiki pages
> for audio problems:
> - https://trac.pjsip.org/repos/wiki/sound-problems
> - https://trac.pjsip.org/repos/wiki/Testing_Audio_Device_with_pjsystest
>
> Re: video, there is "Invalid video device (PJMEDIA_EVID_INVDEV)" in
> the log, checked the code it seems there is typo, default val for
> "--vrender-dev" option should be -2 (just fixed it in SVN trunk r4216,
> thanks for the report!). So please update the pjsua param or just
> simply remove it.
>
> BR,
> nanang
>
>
> On Fri, Jul 27, 2012 at 7:08 PM, Ken Resander <kresander at yahoo.com> wrote:
> >
> > 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
> >
> >
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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/20120728/51eab84e/attachment-0001.html>


[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