[asterisk-users] Confbridge Dynamic video_mode

Rizwan Hisham rizwanhasham at gmail.com
Wed May 8 07:55:20 CDT 2013


Hi All,
I want to set the video_mode of the confbridge dynamically in the dialplan.
SO say if 5 users join the conference with follow_talker mode, it should
work like that (and it does). But if 6th user changes the video_mode to
first_marked and gets marked in the dial plan and joins the conference, he
does not become the single  video source of the conf. The video mode stays
follow_talker.

I have tried changing conf mode dynamically in dialplan but does not work
following is my settings and dialplan:

confbridge.conf
----------------------
[common_bridge]
type=bridge
record_conference=yes
internal_sample_rate=auto
mixing_interval=20
video_mode = none
conference participants.
release_as_single_video_src

[default_user]
type=user
dsp_talking_threshold=128
dsp_silence_threshold=2000
talk_detection_events=yes

extensions.conf
-----------------------

exten => 200,1,Noop(Going to ConfBridge now)
same => n,SET(CONFBRIDGE(bridge,video_mode)=follow_talker)
same => n,Answer()
same => n,Confbridge(1234,common_bridge,,sample_user_menu)
same => n,NOOP(${CONFBRIDGESTATUS})


exten => 300,1,SET(CONFBRIDGE(user,marked)=yes)
same => n,SET(CONFBRIDGE(bridge,video_mode)=first_marked)
same => n,Answer()
same => n,Confbridge(1234,common_bridge,,sample_user_menu)
same => n,NOOP(${CONFBRIDGESTATUS})

Marked user dials 300 and all others dial 200.

-- 
Best Ragards
Rizwan H Qureshi

V: +971 (0) 528272154
linkedin.com/in/rhqureshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130508/fac924df/attachment.htm>


More information about the asterisk-users mailing list