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

Benny Amorsen benny+usenet at amorsen.dk
Wed Feb 25 03:49:56 CST 2009


Klaus Darilion <klaus.mailinglists at pernau.at> writes:

> Yes, that sounds good. I think a new option is needed, e.g. e (like 
> early media).
>
> e([tone]): If a tone is specified, it behaves like your current patch 
> and generates a certain tone. If tone is not specified, it will generate 
> the tone dynamically based on the control frames received on the 
> outgoing channel. (AST_CONTROL_RINGING -> ring, AST_CONTROL_CONGESTION 
> -> congestion)

Doing the right thing should be the default. It's silly to have it as
an option.

The option is only necessary when you want a specific tone.


/Benny




More information about the asterisk-dev mailing list