Asterisk cmd WaitMusicOnHold

WaitMusicOnHold

Synopsis

Wait, playing Music On Hold

Description

WaitMusicOnHold(delay)

Plays hold music specified number of seconds.

Deprecated in newer versions. Use MusicOnHold with duration parameter instead.

Return code

Returns 0 when done, or -1 on hangup. If no hold music is available, the delay will
still occur with no sound.

Example

See Campon in tips and tricks.

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

WaitMusicOnHold

Synopsis

Wait, playing Music On Hold

Description

WaitMusicOnHold(delay)

Plays hold music specified number of seconds.

Deprecated in newer versions. Use MusicOnHold with duration parameter instead.

Return code

Returns 0 when done, or -1 on hangup. If no hold music is available, the delay will
still occur with no sound.

Example

See Campon in tips and tricks.

See also



Asterisk | Applications | Functions | Variables | Expressions | Asterisk FAQ

Created by: oej, Last modification: Thu 26 of Jul, 2012 (15:09 UTC) by dlewis7444
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+