On 16:16, Wed 12 Sep 07, Gaspar Zoltan wrote: > Hi, > > I was asked to develop a feature thar switches between the ringing tone and > early media. So when you dial asterisk starts generating ringing tone, but > when the called channels starts sendig RTP (like mobile carriers: "The > person you are trying to reach is unavailable") with or without answering > the channel, the asterisk would have to end generating the ringing tone and > send the media it receives. > > The fix of this issue is simple: > On line 659 of app_dial (1.4.11) we have > if (!ast_test_flag(outgoing, OPT_RINGBACK | OPT_MUSICBACK)) > > if we remove this if or conditionate it with a channel variable it will have > the functionality mentioned above. > > I suggest to create a variable called DIALEARLYMEDIA This would default to > false (current functionality). If you set this to True the channel will have > the new improved functionality.
sounds good to me. -- Michiel van Baak [EMAIL PROTECTED] http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?" _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
