Background music


#1

Another question,

 is there on Asterisk some function for background music, a little like HOLD, when the phone ringing?

I mean something like a mobil phone in Czech,when somebody call you so he hear the music during ringing before you pick up the phone…

David…


#2

Use a Queue maybe? Queue answers the call, and plays hold music. It then offers the call to an agent based on certain criteria.


#3

I will try it, maybe this is the way…:smile:
Thanx

David


#4

ObDisclaimer: I’m so new to * that I don’t even have my install up and running right yet.

It also sounds a lot like you’re describing what is known as “ringback”. I’m not sure Asterisk supports changing the ringback sound, but presumably there’s a single sound file “somewhere” that contains the ringback sound, which could theoretically be replaced with whatever you wanted as ringback – a song, a person saying “This phone is ringing”, a ringback sound from a different type of phone (e.g., UK vs. US ringback sounds are different), etc.

Like I said… I don’t know * that well yet, but if you can’t do this, then that might be a feature-suggestion for the * devel folks, especially given the rising popularity of “custom ringback tones”.


#5

there is an easier way.

In your dial plan include m after the timeout line.

it should work


#6

example:

exten => s,n(dial),Dial(${ALLHOUSE},20,Ttmg)

The “m” flag plays music to the caller while the extensin is ringing.


#7

[quote=“dredd”]ObDisclaimer: I’m so new to * that I don’t even have my install up and running right yet.

It also sounds a lot like you’re describing what is known as “ringback”. I’m not sure Asterisk supports changing the ringback sound, but presumably there’s a single sound file “somewhere” that contains the ringback sound, which could theoretically be replaced with whatever you wanted as ringback – a song, a person saying “This phone is ringing”, a ringback sound from a different type of phone (e.g., UK vs. US ringback sounds are different), etc.

Like I said… I don’t know * that well yet, but if you can’t do this, then that might be a feature-suggestion for the * devel folks, especially given the rising popularity of “custom ringback tones”.[/quote]

Asterisk doesn’t store the tones in sound files same way music-on-hold files are. The indications.conf file describes the frequencies to produce and the sounds you hear are dynamically generated. Check out the config file for more info.