[Asterisk-Users] problem with MUSICONHOLD

Gianluca Colucci gianluca.colucci at logostech.it
Wed Mar 16 10:53:53 MST 2005


Hi there!

	I'm trying to set up a Asterisk server.
	I'm having some problems with the music I should listen during
on hold.

	Here a piece of extensions.conf I used to test this feature:

		exten => 98,1,Answer
		exten => 98,2,MusicOnHold()

	So, it seems to work: when I call the 98 extension I can hear
the music.
	
	The problem is when I try to make some test with three other
extensions: I call one of these from my SIP client, the called answers
me and I try to transfer the call to a third extension, the called
listen no music.

	I defined in extensions.conf these three users so:

		exten => 61,1,Dial(SIP/61,30,Tt)
		exten => 61,2,Goto(61-${DIALSTATUS},1)
		exten => 61-NOANSWER,1,Voicemail(b61)
		exten => 61-BUSY,1,Voicemail(b61)
		exten => 61-CHANUNAVAIL,1,Voicemail(u61)

		exten => 62,1,Dial(SIP/62,30,Tt)
		exten => 62,2,Goto(62-${DIALSTATUS},1)
		exten => 62-NOANSWER,1,Voicemail(b62)
		exten => 62-BUSY,1,Voicemail(b62)
		exten => 62-CHANUNAVAIL,1,Voicemail(u62)

		exten => 63,1,Dial(SIP/63,30,Tt)
		exten => 63,2,Goto(63-${DIALSTATUS},1)
		exten => 63-NOANSWER,1,Voicemail(b63)
		exten => 63-BUSY,1,Voicemail(b63)
		exten => 63-CHANUNAVAIL,1,Voicemail(u63)

	Am I mistaking anything? Do u see any error? Why I can't get the
music on hold?

Thank you in advance,
Bye,
Gianluca Colucci





More information about the asterisk-users mailing list