Call.preroute

From Yate Documentation
Revision as of 10:25, 8 October 2012 by Dana (Talk | contribs)

Jump to: navigation, search

call.preroute is a message sent by a module requesting additional information required to route an incoming call.

Parameters

caller

The caller id of the call originator

Return

None defined.

The router of an incoming channel will drop (reject) the call if the message is processed and the returned value of the message is set to "error" or "-".

Handlers

regexroute

Classify the call (set the context parameter) using the caller parameter.

Note: The module won't process the message if it contains a context parameter (even empty) or the caller parameter is missing or empty.

register

Run a query in the database from message's parameters.

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers