Search

Saturday, June 16, 2012

MOH not working in Asterisk 1.4.x

According to Asterisk documentation, we need to answer a channel before playing back or moh.

In 1.4.x, if you encounter problem where moh is not working even after answer, you might fix it as below:

exten => s, 1, Answer
exten => s, n, SetMusicOnHold(default)
exten => s, n, Playback(silence/1) ; play back something to trigger the audio flow
exten => s, n, Queue(myqueue)

No comments:

Post a Comment