I would like to change music on hold after some time when user is ConfBridge and in empty room(only one user)
I have something like this in confbridge.conf:
[ext-confbridge-guest-test]
exten => entry,1,GosubIf($["true" == "true"]?sub-record-file,s,1)
same => n,ConfBridge(${ConferenceId},,guest_user_profile-test)
same => n,Verbose(After conf bridge)
And I would like to set some sort of Timer that will after for example 1 minute change moh sound to another file(we will get to you as soon as possible etc.), then back to classic moh and in some cases hangup after third minute.
My easy solution is to create new playlist in musiconhold.conf with files with according length but with this solution I can’t hangup call.
Does anyone have experience or idea with that problem?
Thanks Pooh, any help is appreciated. That was my first idea, but this solution does not solve the problem with Hangup. I would like to hangup the call when only one participant(guest) is in the room after some time so I thought about some timer but I can’t find clean solution to that.
So I’m out of ideas and don’t know if this is even possible. I will probably end up with using AMI to hangup after defined time on some sort of Middleware