Call.preroute
From Yate Documentation
(Difference between revisions)
(Created page with "'''call.preroute''' is a message sent by a module requesting additional information required to route an incoming call. === Parameters === '''caller''' :::The caller id of t...") |
|||
(3 intermediate revisions by one user not shown) | |||
Line 14: | Line 14: | ||
=== Handlers === | === Handlers === | ||
− | [[regexroute]] | + | [[Regular_expressions|regexroute]] |
− | Classify the call (set the context parameter) using the caller parameter. | + | :::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. | + | '''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]] | [[register]] | ||
− | Run a query in the database from message's parameters. | + | :::Run a query in the database from message's parameters. |
+ | |||
+ | |||
+ | '''See also''' | ||
+ | |||
+ | * [[call.update]] |
Latest revision as of 12:46, 21 January 2013
call.preroute is a message sent by a module requesting additional information required to route an incoming call.
[edit] Parameters
caller
- The caller id of the call originator
[edit] 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 "-".
[edit] Handlers
- 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.
- Run a query in the database from message's parameters.
See also