Hi,
wir versuchen gerade von meetme auf confbridge umzustellen und haben aktuell noch das Problem, dass das Verhalten hinsichtlich der Beendigung einer Telco nicht 1:1 nachgestellt werden kann.
Bei meetme gab es das folgende was auch funktionierte:
k - Close the conference if there's only one active participant left at exit.
Bei confbridge versuchen wir das über die Parameter marked = yes und end_marked = yes zu realisieren.
Leider funktioniert es nicht.
Die confbridge.conf sieht so aus:
Sieht jemand was wir hier falsch machen?
wir versuchen gerade von meetme auf confbridge umzustellen und haben aktuell noch das Problem, dass das Verhalten hinsichtlich der Beendigung einer Telco nicht 1:1 nachgestellt werden kann.
Bei meetme gab es das folgende was auch funktionierte:
k - Close the conference if there's only one active participant left at exit.
Bei confbridge versuchen wir das über die Parameter marked = yes und end_marked = yes zu realisieren.
Leider funktioniert es nicht.
Die confbridge.conf sieht so aus:
Code:
[general]
;
[default_bridge]
type=bridge
;
[admin_user]
type=user
admin=yes
marked=yes
music_on_hold_when_empty=yes
dsp_drop_silence=yes
end_marked=yes
;
[default_user]
type=user
marked=yes
music_on_hold_when_empty=yes
announce_user_count=yes
announce_join_leave=yes
end_marked=yes
dsp_drop_silence=yes
Und so der Dialplan:
[join_conference]
exten => s,1,Read(CONFERENCENUM,conf-getconfno,,,3,5)
; Check if the conference doesn't exist, if so, go to statement 10
same => n,GotoIf($[${GROUP_COUNT(${CONFERENCENUM}@conference)} == 0] ? 10)
; Dump the user into the conference
same => n,ConfBridge(${CONFERENCENUM},default_bridge,default_user)
; Tell the user they entered an invalid number and take them back to the top to try again
same => 10,Playback(conf-invalid)
same => 11,Goto(1)
same => n(return),Return()
[create_conference]
exten => s,1,Wait(1)
same => n,Read(__CONFERENCENUM,conf-getconfno,,,3,5)
; If it already exists, jump back and increment it again
same => n,GotoIf($[${GROUP_COUNT(${CONFERENCENUM}@conference)} > 0] ? 1)
; Mark it as existing.
; For the observant, yes there's a race condition here, but the number of concurrent conferences will probably be low
same => n,Set(GROUP(conference)=${CONFERENCENUM})
; Tell the user which conference this is
; same => n,Playback(conf-youareinconfnum)
; same => n,SayDigits(${CONFERENCENUM})
; Create the conference using the default Bridge Profile and default User Profile
same => n,ConfBridge(${CONFERENCENUM},default_bridge,admin_user)
same => n(return),Return()
Sieht jemand was wir hier falsch machen?
[CODE] TAG [/CODE] gesetzt by stoney
Zuletzt bearbeitet von einem Moderator: