[asterisk-dev] Dial() generating ringback until answer or early media

Alec Davis sivad.a at paradise.net.nz
Tue Feb 24 16:51:30 CST 2009


I posted a patch yesterday http://bugs.digium.com/view.php?id=14504 that
allows you to play a ringback tone from indications.conf, I hadn't seen bug
10934. Maybe I've done some of the work already required, and are able to
combine what you suggest this.

I need to have a good look at 10934.
Alec

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Klaus Darilion
Sent: Wednesday, 25 February 2009 09:42 a.m.
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Dial() generating ringback until answer or early
media

Kevin P. Fleming wrote:
> Klaus Darilion wrote:
> 
>> To solve this the following behavior is needed: if Dial() receives an 
>> AST_CONTROL_FRAME like RINGING or CONGESTION, it should check if the 
>> incoming channel has already early media (is in state PROGRESS?) and 
>> if yes, activate the tone generator with the corresponding tone, 
>> until PROGRESS (early media), ANSWER or HANGUP is received on the 
>> outgoing channel.
>>
>> There was once a patch which was related to this,
>> http://bugs.digium.com/view.php?id=10934
>>
>> but I think it should be solved in a more general way. (Either always 
>> or by adding a new Dial option).
> 
> I agree that this seems like a reasonable course of action.

I fear my skills are yet to low to implement this. Should I add it to the
bugtracker?

klaus

_______________________________________________
--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




More information about the asterisk-dev mailing list