Factory for announcement sessions. More...
#include <DtmfTester.h>
Public Member Functions | |
| DtmfTesterFactory (const string &_app_name) | |
| int | onLoad () |
| AmSession * | onInvite (const AmSipRequest &req, const string &app_name, const map< string, string > &app_params) |
| AmSession * | onInvite (const AmSipRequest &req, const string &app_name, AmArg &session_params) |
Static Public Attributes | |
| static string | AnnouncePath |
| static string | AnnounceFile |
Factory for announcement sessions.
| AmSession * DtmfTesterFactory::onInvite | ( | const AmSipRequest & | req, | |
| const string & | app_name, | |||
| const map< string, string > & | app_params | |||
| ) | [virtual] |
Creates a dialog state on new UAS request.
Warning: This method should not make any expensive processing as it would block the server.
Implements AmSessionFactory.
| AmSession * DtmfTesterFactory::onInvite | ( | const AmSipRequest & | req, | |
| const string & | app_name, | |||
| AmArg & | session_params | |||
| ) | [virtual] |
Creates a dialog state on new UAC request.
| session_params | parameters passed to the new session by the caller. |
Warning: This method should not make any expensive processing as it would block the server.
Reimplemented from AmSessionFactory.
References AmUACAuth::enable(), and AmUACAuth::unpackCredentials().
| int DtmfTesterFactory::onLoad | ( | ) | [virtual] |
Enables the plug-in to initialize whatever it needs. Ex. load the configuration.
Implements AmPluginFactory.
References AmSessionFactory::configureModule(), file_exists(), and AmConfig::ModConfigPath.
1.7.1