Confbridge => keep on ringing until at least 2 people are in

Hey, i have simple dialplan below, with in default_user profile => wait_marked=yes
But when i call 444 , i already enter the conference, i have though a music on hold… but thats not what i want, i want to keep it ringing, untill someone other user calls 444 or 555 , so at least 2 people should be there… is that possible?

exten => 444,1,Progress()
exten => 444,2,Wait(1)
exten => 444,3,ConfBridge(1,myconferenceroom,default_user)

exten => 555,1,Progress()
exten => 555,2,Wait(1)
exten => 555,3,ConfBridge(1,myconferenceroom,admin_user)

confbridge settings:


[admin_user]
type=user
marked=yes
wait_marked=no
end_marked=yes
admin=yes
music_on_hold_when_empty=yes
quiet=yes

[default_user]
type=user
marked=yes
wait_marked=yes
end_marked=yes
admin=no
music_on_hold_when_empty=yes
quiet=yes

[myconferenceroom]
type=bridge
max_members=10
video_mode=follow_talker
1 Like

I think i need some check like => if confbridge (1) has people , the continue with this line?

exten => 444,3,ConfBridge(1,myconferenceroom,default_user)

smale note you should use Answer or Ringing, and change to use same
also try change one of these

music_on_hold_class=default ;create on that will plat ringing
answer_channel=no ;may work in combination with Ringing()
exten => 333,1,Ringing() ;test do not know if it will work
same => n,ConfBridge(1,myconferenceroom,default_user)

exten => 444,1,Answer(1000)
same => n,ConfBridge(1,myconferenceroom,default_user)

exten => 555,1,Answer1000)
same => n,ConfBridge(1,myconferenceroom,admin_user)
dev-asterisk*CLI> core show function CONFBRIDGE_INFO

  -= Info about function 'CONFBRIDGE_INFO' =- 

[Synopsis]
Get information about a ConfBridge conference. 

[Description]
This function returns a non-negative integer for valid conference names and an
empty string for invalid conference names.

[Syntax]
CONFBRIDGE_INFO(type,conf)

[Arguments]
type
    What conference information is requested.
    admins - Get the number of admin users in the conference.
    locked - Determine if the conference is locked. (0 or 1)
    marked - Get the number of marked users in the conference.
    muted - Determine if the conference is muted. (0 or 1)
    parties - Get the number of users in the conference.
conf
    The name of the conference being referenced.

[See Also]
Not available

ok, changing dialplan to “same” :slight_smile:

tried that ringing, but it statys ringing :slight_smile: , even when another partie is joined :slight_smile:

gonna try with this one : CONFBRIDGE_INFO, doing a check if parties => “1” , then join

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.