Hi all, I would like to ask please if there is a way to play a ring back tone from asterisk when the customer try to make a call...I already added the ringing function to the context in extensions .conf and it work perfectly...But the issue that the asterisk server is stoping playing back his own ring back tone as soon as it detect a ring back tone coming from the carrier side... Is there a way to play the asterisk ring back tone all the time? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081213/832d286c/attachment.htm
michel freiha schrieb:> I would like to ask please if there is a way to play a ring back tone from > asterisk when the customer try to make a call...I already added the ringing > function to the context in extensions .conf and it work perfectly...But the > issue that the asterisk server is stoping playing back his own ring back > tone as soon as it detect a ring back tone coming from the carrier side... > Is there a way to play the asterisk ring back tone all the time?Dial(,,r) ? Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 --
No, not on FXO ports. On FXO ports Asterisk considers the call answered as soon as dialing is finished. Asterisk has no way to detect when the far end answers when using FXO ports. michel freiha wrote:> I would like to ask please if there is a way to play a ring back tone from > asterisk when the customer try to make a call...I already added the ringing > function to the context in extensions .conf and it work perfectly...But the > issue that the asterisk server is stoping playing back his own ring back > tone as soon as it detect a ring back tone coming from the carrier side... > Is there a way to play the asterisk ring back tone all the time?
Philipp Kempgen wrote:> michel freiha schrieb: > >> I would like to ask please if there is a way to play a ring back tone from >> asterisk when the customer try to make a call...I already added the ringing >> function to the context in extensions .conf and it work perfectly...But the >> issue that the asterisk server is stoping playing back his own ring back >> tone as soon as it detect a ring back tone coming from the carrier side... >> Is there a way to play the asterisk ring back tone all the time? > > Dial(,,r) ?Much like violence and herding of llamas, the "r" option to Dial (and the Ringing app) almost never solve the problem they are intended to solve and frequently cause more, usually unforeseen, problems. Just say "No!" to "r".
On Fri, Dec 12, 2008 at 18:57, Eric ManxPower Wieling <eric at fnords.org> wrote:> > > Philipp Kempgen wrote: >> michel freiha schrieb: >> >>> I would like to ask please if there is a way to play a ring back tone from >>> asterisk when the customer try to make a call...I already added the ringing >>> function to the context in extensions .conf and it work perfectly...But the >>> issue that the asterisk server is stoping playing back his own ring back >>> tone as soon as it detect a ring back tone coming from the carrier side... >>> Is there a way to play the asterisk ring back tone all the time? >> >> Dial(,,r) ? > > Much like violence and herding of llamas, the "r" option to Dial (and > the Ringing app) almost never solve the problem they are intended to > solve and frequently cause more, usually unforeseen, problems. > > Just say "No!" to "r".If these are inbound calls you are answering, "r" can be acceptable. But ONLY on the final leg where the call might actually be ringing. But for outbound I fully agree. Let the carrier generate the ringing. A second or 2 of dead air is acceptable.
Andrew Joakimsen schrieb:> On Fri, Dec 12, 2008 at 18:57, Eric ManxPower Wieling <eric at fnords.org> wrote: >> Philipp Kempgen wrote: >>> michel freiha schrieb: >>> >>>> I would like to ask please if there is a way to play a ring back tone from >>>> asterisk when the customer try to make a call...I already added the ringing >>>> function to the context in extensions .conf and it work perfectly...But the >>>> issue that the asterisk server is stoping playing back his own ring back >>>> tone as soon as it detect a ring back tone coming from the carrier side... >>>> Is there a way to play the asterisk ring back tone all the time? >>> >>> Dial(,,r) ? >> >> Much like violence and herding of llamas, the "r" option to Dial (and >> the Ringing app) almost never solve the problem they are intended to >> solve and frequently cause more, usually unforeseen, problems. >> >> Just say "No!" to "r". > > If these are inbound calls you are answering, "r" can be acceptable. > But ONLY on the final leg where the call might actually be ringing. > > But for outbound I fully agree. Let the carrier generate the ringing.r is never acceptable. :-) Philipp Kempgen -- http://www.das-asterisk-buch.de - http://www.the-asterisk-book.com Amooma GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 --