Start moh in the middle

InnovIP

New Member
Joined
Apr 27, 2021
Messages
1
Reaction score
0
Hello asterisk gurus,

I have a strange questions for you:
would it be possible pour starting playing a moh as of second X. What I mean, is that let's imagine I have a music (sound) that runs for 90 seconds. I want the playback to start at second 30, to skip the first 30 seconds.

Something like
exten => s,n,Set(CALLOPTIONS=${CALLOPTIONS}m(moh1)) (start at the beginning of the moh)
becomes
exten => s,n,Set(CALLOPTIONS=${CALLOPTIONS}m(moh1,30)) (start at second 30 of the moh)

It that possible ?

Or another way to turn the thing around, I would like ONE moh (90 seconds) to be played during multiple calls (dial...) without restarting at each call at the beginning. Ex: in the beginning, dial ext1.
After 30 secs, dial ext2, CONTINUING the moh (starting at sec 30)
After another 30 secs, dial ext3 still continuing the moh (starting at sec 60).

Would that be possible ?
Thank you all in advance.
 
The answer is no, you cannot. Music on Hold can be a single file, multiple files or a stream. You can set the MoH class and how long to play MoH but you cant choose a starting point or continue it on new channels.
 

Members online

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top