How to stop Music On Hold once the user hangs up

I am using a stream for my music on hold using mpg123. This starts correctly and plays no problem. but when the user hangs up, the stream continues to play. How can you get it to start and stop only when needed. So this utilizes bandwidth.

:question:

Using Asterisk 1.8.7.0
mpg123 1.14.2
Freepbx 2.10.0.8
Elastix 2.2.0

Thanks In advance

This is how music on hold works. If you do not like it write another asterisk module. You could also hookup your radio to the sound card and stream from it without using bandwidth. In most of the civilized countries on this planet the bandwidth utilized by radio streams is considered insignificant so the likelihood of having this “feature” incorporated in some future asterisk release is very small IMHO.

Thanks for the information.