Edit the following file /etc/asterisk/sip_general_custom.conf and add the following lines (For old version edit sip.conf)

videosupport=yes
maxcallbitrate=384

allow=h261
allow=h263
allow=h263p
allow=h264

Then restart asterisk so that it reloads the config files.