Hi,

I have to set call length to 3min, but before hangup have to warn caller. There are many IVRmenu and submenu options with different warning audio. I have to measure somehow the audio file length and subtract it from 3 minutes.

exten => _X.,1,Set(_AudioLegth=MeasureAudioLength(WarningAudioX))
exten => _X.,n,Set(TIMEOUT(absolute)=${${MaxCallDuration}-${AudioLength}})


Any idea?



Thank you!
--
Suich
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to