[Asterisk-video] Enabling Video
David Wessell
dwessell at itsgcorp.com
Mon Apr 25 21:54:16 CDT 2011
I am attempting to get a video call to work.. I am running asterisk 1.6.2.5, installed on an Ubuntu machine using apt-get install.
1) In sip.conf I have videosupport=yes
2) I have two extensions that look like:
[200]
deny=0.0.0.0/0.0.0.0
secret=xxx
dtmfmode=rfc2833
canreinvite=no
context=users
host=dynamic
type=friend
nat=yes
port=5060
qualify=yes
callgroup=
pickupgroup=
dial=SIP/200
permit=0.0.0.0/0.0.0.0
callerid=device <200>
call-limit=50
disallow=all ; better for custom-tunning codec selection
allow=ulaw
allow=h264 ;
But when I dial extension to extension, using Bria (h264 is enabled in the codec list of Bria) I have no video. In the CLI I see:
== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
-- Executing [200 at users:1] Dial("SIP/100-00000024", "SIP/200") in new stack
== Using SIP RTP CoS mark 5
== Using SIP VRTP CoS mark 6
-- Called 200
-- SIP/200-00000025 is ringing
-- SIP/200-00000025 answered SIP/100-00000024
And if I look at the channels I see:
test*CLI> sip show channels
Peer User/ANR Call ID Format Hold Last Message Expiry
173.246.203.191 100 Y2U5ZDg1OTQ3ZTg 0x4 (ulaw) No Rx: ACK
173.246.203.191 200 4aa104971c4f930 0x4 (ulaw) No Rx: ACK
2 active SIP dialogs
But I do see that h264 is enabled.
test*CLI> core show codecs
Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
INT BINARY HEX TYPE NAME DESC
--------------------------------------------------------------------------------
1 (1 << 0) (0x1) audio g723 (G.723.1)
2 (1 << 1) (0x2) audio gsm (GSM)
4 (1 << 2) (0x4) audio ulaw (G.711 u-law)
8 (1 << 3) (0x8) audio alaw (G.711 A-law)
16 (1 << 4) (0x10) audio g726aal2 (G.726 AAL2)
32 (1 << 5) (0x20) audio adpcm (ADPCM)
64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)
128 (1 << 7) (0x80) audio lpc10 (LPC10)
256 (1 << 8) (0x100) audio g729 (G.729A)
512 (1 << 9) (0x200) audio speex (SpeeX)
1024 (1 << 10) (0x400) audio ilbc (iLBC)
2048 (1 << 11) (0x800) audio g726 (G.726 RFC3551)
4096 (1 << 12) (0x1000) audio g722 (G722)
65536 (1 << 16) (0x10000) image jpeg (JPEG image)
131072 (1 << 17) (0x20000) image png (PNG image)
262144 (1 << 18) (0x40000) video h261 (H.261 Video)
524288 (1 << 19) (0x80000) video h263 (H.263 Video)
1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)
2097152 (1 << 21) (0x200000) video h264 (H.264 Video)
Can someone point me in the right direction?
Thanks
David
[cid:image001.png at 01CC039B.7C0E54F0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110425/4b741814/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 11661 bytes
Desc: image001.png
URL: <http://lists.digium.com/pipermail/asterisk-video/attachments/20110425/4b741814/attachment-0001.png>
More information about the asterisk-video
mailing list