Wednesday, August 11, 2010

Video Calling via Asterik

Asterik based system are mainly used for Voice Call over IP. With some modification, it can be also use for Video calling.

In the guide I pasted above, they say to add the following to sip.conf:

In Red Hat Based System, you will find sip.com at /etc/asterik/sip.conf

[general]
videosupport=yes ; enable Asterisk video support

[101]
type=friend
username=101
secret=hidden
host=dynamic
context=internal
callerid=Video Phone <101>
disallow=all ; better for custom-tunning codec selection
allow=ulaw
allow=alaw
allow=gsm
allow=h263 ; H.263 is our video codec
allow=h263p ; H.263p is the enhanced video codec
dtmfmode=rfc2833 ; inband is not supported in compressed codecs like gsm, so we better set it to rfc2833
canreinvite=no ; canreinvite must be set to 'no'


However, with TrixBox you actually just add

[general]
videosupport=yes ; enable Asterisk video support


to sip.conf and the rest,

[101]
type=friend
username=101
secret=hidden
host=dynamic
context=internal
callerid=Video Phone <101>
disallow=all ; better for custom-tunning codec selection
allow=ulaw
allow=alaw
allow=gsm
allow=h263 ; H.263 is our video codec
allow=h263p ; H.263p is the enhanced video codec
dtmfmode=rfc2833 ; inband is not supported in compressed codecs like gsm, so we better set it to rfc2833
canreinvite=no ; canreinvite must be set to 'no'

No comments: