Yes if you have each caller connecting to streaming MOH it will start a new instance for each caller.
But I did the following and it may work for you.
setup a conference (in my case I use confbridge)
set leader wait, and enter admin pin
and optionally enter user pin ( users can just press # when prompted if no user pin is set)
set moh and class to desired stream
and I set mute on join to keep things quiet
as long as leader doesn’t join all members will be listening to the streaming MOH and be muted from hearing each other.
this only used one instance to feed the conference on my server, and I verified on my shoutcast server and it only showed one connection and I had several listeners in the conference.
I pasted the context below:
exten => 5555,1,Macro(user-callerid,)
exten => 5555,n,Set(MEETME_ROOMNUM=5555)
exten => 5555,n,Set(MAX_PARTICIPANTS=0)
exten => 5555,n,Set(MEETME_MUSIC=STAR)
exten => 5555,n,Gosub(sub-record-check,s,1(conf,5555,never))
exten => 5555,n,GotoIf($["${DIALSTATUS}" = “ANSWER”]?READPIN)
exten => 5555,n,Answer
exten => 5555,n,Wait(1)
exten => 5555,n,Set(PINCOUNT=0)
exten => 5555,n(READPIN),Read(PIN,enter-conf-pin-number,)
exten => 5555,n,GotoIf($[x${PIN} = x1234]?USER)
exten => 5555,n,GotoIf($[x${PIN} = x5555]?ADMIN)
exten => 5555,n,Set(PINCOUNT=$[${PINCOUNT}+1])
exten => 5555,n,GotoIf($[${PINCOUNT}>3]?h)
exten => 5555,n,Playback(conf-invalidpin)
exten => 5555,n,Goto(READPIN)
exten => 5555,n(ADMIN),Set(MEETME_OPTS=aAwM)
exten => 5555,n,Goto(STARTMEETME,1)
exten => 5555,n(USER),Set(MEETME_OPTS=wMm)
exten => 5555,n,Goto(STARTMEETME,1)
If you have any questions feel free to email me
[email protected]
Regards,
Josh