Starting CDR Ring Timer on call.progress

From Yate Documentation
Revision as of 15:23, 10 October 2013 by Marian (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cdrbuild module starts ring timer when processing call.ringing or call.progress with early media.
It can be forced to start ring timer on call progress.

Configuration

Starting ring timer on call progress can be enabled for all calls in the configuration file.

cdrbuild.conf

[general]
ring_on_progress=yes

Alter the call.progress message

The call progress message can be altered to override the cdrbuild 'ring_on_progress' configuration parameter by a 'ringing' parameter.

Here is a javascript example:

function onCallProgress(msg)
{
    msg.ringing = true;
    return false;
}

Message.install(onCallProgress,"call.progress",25);

Here is a regexroute.conf example:

[extra]
call.progress=25

[call.progress]
.*=;ringing=true


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers