I’m using Asterisk 13.6.0 with codec Opus and VP8 and trying to make a video call between 2 extensions.
Video and Audio only work when I use the option directmedia=yes and directrtpsetup = yes. However I do need to use directmedia=no and directrtpsetup=no, but with this configuration the only thing that works is the audio… the video doesn’t work.
I’ve tried to change the codec to ullaw and h264 but happens the same, the video doesn’t work.
Any tips?
I really appreciate some help.
Technical information:
[100001]
type = friend
fullname = 100001
username = 100001
secret = 100001
host = dynamic
context = teste_video
dtmfmode = rfc2833
setvar = id_agent=894369
disallow=all
allow = opus
allow = vp8
videosupport = yes
directmedia=no
directrtpsetup=no
[100002]
type = friend
fullname = 100002
username = 100002
secret = 100002
host = dynamic
context = teste_video
dtmfmode = rfc2833
setvar = id_agent=894370
disallow=all
allow = opus
allow = vp8
videosupport = yes
directmedia=no
directrtpsetup=no
Extensions
[teste_video]
exten => _1x.,1,NoOp(Dial)
exten => _1x.,n,Dial(SIP/${EXTEN},60)
exten => _1x.,n,Hangup