Usage Modes
mod_phonenumber module can be invoked in three modes: as a dialplan application, via the API interface or through hooks. Determining which mode (or combinations of modes) works best is highly depending on your application’s use case.
- Dialplan Application - suitable for flexible integration within your dialplans;
- API Interface - great for ad hoc execution, via ESL or from other modules;
- Hooks - ideal for wider integrations, the module being invoked for newly created channels;