1) We need to modify default digimap for this this work. Modify the default to the following. See link for explanation.
([^*+]@@[^+].<+:@>@@.|[^*]@@.'@'@@.)
SIP URI Dialling From OBion/OBiapp via OBiTALK (as per ianobi)
http://www.obitalk.com/forum/index.php?topic=3662.02) Set speed dials with **x format for the ditmap rules to apply:
**1music@iptel.org
**19999@qxip.net
3) Conference in the speed dial to the calling party. They will get the MOH.
If you prefer your own music or want to deliver in house advertising messages, an in house streaming server is the solution. One interesting product which can be used in sip uri fashion is available in the link below. The unique feature of this app is that is has conferencing abilities built in. It can become your audio streamer for MOH since it can be called using a sip uri and automatically connect you to an audio source. It can also be used as a video streamer if you have an ip phone/softphone with video capabilities.
Homer Conferencing
http://www.homer-conferencing.com/en/index.htmlHomer Conferencing (short: Homer) is a free SIP softphone with advanced audio and video support. The software is available for Windows, Linux and OS X. Homer was originally developed as tool for video conferences. Over the years the functions were extended for additional application areas. Therefore, the basic functions can be separated into the following 4 areas: video conferencing, streaming, recording, screencasting.
This could be an add on to the following project (ianobi):
Using Any OBi as a Home PBX
http://www.obitalk.com/forum/index.php?topic=4944.0