Why my cyber mega phone 2k takes up to 2mins to show the echo stream?
Asterisk version: 15.4.1
Ubuntu version: 14.04
Repeat step: call the ‘echo’ extension
http.conf:
[general]
enabled=yes
bindaddr=0.0.0.0
bindport=8088
tlsenable=yes
tlsbindaddr=0.0.0.0:8089
tlscertfile=/etc/asterisk/keys/asterisk.pem
extensions.conf:
[default]
exten => echo,1,Answer()
same => n,StreamEcho(3)
same => n,Hangup()
exten => video-conference,1,Answer()
same => n,ConfBridge(6001)
same => n,Hangup()
exten => 200,1,Answer()
same => n,Playback(demo-congrats)
same => n,Hangup()
pjsip.conf:
[transport-wss]
type=transport
bind=0.0.0.0
protocol=wss
[6001]
type = endpoint
context=default
direct_media=no
disallow=all
allow=ulaw,vp8
aors = 6001
auth = auth6001
max_audio_streams=10
max_video_streams=10
webrtc=yes
[6001]
type = aor
max_contacts = 10
[auth6001]
type=auth
auth_type=userpass
password=1234
username=6001
[6002]
type = endpoint
context=default
direct_media=no
disallow=all
allow=ulaw,vp8
aors = 6002
auth = auth6002
max_audio_streams=10
max_video_streams=10
webrtc=yes
[6002]
type = aor
max_contacts = 10
[auth6002]
type=auth
auth_type=userpass
password=1234
username=6002
modules.conf:
[modules]
autoload=yes
noload => pbx_gtkconsole.so
load => res_musiconhold.so
noload => chan_alsa.so
noload => chan_console.so
noload => chan_sip.so
confbridge.conf:
[general]
[default_bridge]
type=bridge
video_mode=sfu
[default_user]
type=user
music_on_hold_when_empty=yes
music_on_hold_class=default