<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hey all;<BR>
<BR>
I am experiencing an issue with music on Hold. I am running asterisk version 1.4.22, and have a default script set up in two places for MoH playback. For internal devices to my network that are SIP peering with asterisk, they simply dial 123 and hear the MoH music immediately. I'm using the default setup, where it just plays the wave files in the /var/lib/asterisk/moh directory. I also have in my General settings in sip.conf to use the default musicclass.<BR>
<BR>
<STRONG>On-net context script for MoH in extensions.conf:</STRONG><BR>
exten => 123,1,Answer()<BR>exten => 123,2,MusicOnHold(default)<BR>
<BR>
<STRONG>Calls from the PSTN are matching this Moh setup in extensions.conf:</STRONG><BR>
exten => _1720XXXXXXX,1,Answer()<BR>exten => _1720XXXXXXX,2,MusicOnHold(default)<BR>
<BR>
<STRONG>Output captured when internal devices attempt to dial number associated with MoH:(MoH is heard)</STRONG><BR>
-- Executing [123@Home:1] Answer("SIP/10.1.1.254-b77089b0", "") in new stack<BR>-- Executing [123@Home:2] MusicOnHold("SIP/10.1.1.254-b77089b0", "default") in new stack<BR>-- Started music on hold, class 'default', on SIP/10.1.1.254-b77089b0<BR>
<BR>
<STRONG>Output captured when external callers dial into asterisk from the PSTN, they get dead air instead of MoH:</STRONG><BR>
-- Executing [1720XXXXXXX@Home:1] Answer("SIP/1720XXXXXXX-b7704a38", "") in new stack<BR> -- Executing [1720XXXXXXX@Home:2] MusicOnHold("SIP/1720XXXXXXX-b7704a38", "default") in new stack<BR> -- Started music on hold, class 'default', on SIP/1720XXXXXXX-b7704a38<BR>
<BR>
You see rule 1(answer) and rule 2(moh) being hit on both call attempts, but the external caller continues to get dead air. has anyone seen this one before? The internal devices requesting MoH are using the SCCP protocol load image(registered elsewhere) and then they are SIP trunked to Asterisk. Asterisk uses a second separate SIP trunk to peer with the PSTN.<BR>
<BR>
-Greg<BR><br /><hr />Windows Live™ SkyDrive: Get 25 GB of free online storage. <a href='http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009' target='_new'>Check it out.</a></body>
</html>