[Asterisk-Users] Music on hold not initiating RTP stream?

Michael George george at mutualdata.com
Mon Oct 3 05:16:06 MST 2005


On Fri, Sep 30, 2005 at 06:47:51PM -0500, Kevin P. Fleming wrote:
> Ray Van Dolson wrote:
> 
> >The ATA's are Sipura SPA-2002's and I have MOH Server set to 899 on each.
> 
> Take that out, you don't need it.

He had this in there for testing to show that the problem was not mpg123,
which he did.

> >However, with a call in progress, if I hit hold or flash on SIP ATA 1, it
> >behaves correctly, but no music on hold is heard on SIP ATA 2.  I can see 
> >in
> >my Asterisk console that MusicOnHold() gets called and tcpdump shows the
> >INVITE that first sets the RTP source to 0.0.0.0 then sets it to the IP of 
> >my
> >Asterisk box.
> 
> None of this is needed; Asterisk will stream MOH to ATA 2 all by itself, 
> just by the fact that ATA 1 put ATA 2 on hold. You have 
> over-complexified the setup :-)

I'm not sure what you mean here.  You do have to defind a MOH class for any
channel not using default.

I think the problem you have is that you have not indicated anywhere that you
have set the MOH class for either channel to "random".  If you do not do that,
it will try to use MOH class "default". 

Make sure you test the default class with your 899 extension, or set the MOH
class to random for the channels you are testing.

HTH.

-- 
-M

There are 10 kinds of people in this world:
	Those who can count in binary and those who cannot.



More information about the asterisk-users mailing list