Had a little bit of trouble doing this because I was getting the following error in the Asterisk console:
Ignoring video media offer because port number is zero
Ultimately, the issue was that I needed to add allow=h264
to each user in sip.conf
. For some reason, adding the allow=h264
to a context didn’t work; you have to explicitly specify it per user. There’s probably a way to do it for a group of users but this works for me now, on to the next thing! 😉
Here’s my sip.conf:
[general] videosupport=yes [some_user1] . . . allow=h264 [some_user2] . . . allow=h264