Asterisk Project : Application_AgentMonitorOutgoing

Asterisk Project : Application_AgentMonitorOutgoing This page last changed on Mar 30, 2011 by wikibot. # AgentMonitorOutgoing() ### Synopsis Record agent's outgoing call. ### Description Tries to figure out the id of the agent who is placing outgoing call based on comparison of the callerid of the current interface and the global variable placed by the AgentCallbackLogin application. That's why it should be used only with the AgentCallbackLogin app. Uses the monitoring functions in chan_agent instead of Monitor application. That has to be configured in the `agents.conf` file. Normally the app returns `0` unless the options are passed. ### Syntax
    AgentMonitorOutgoing([options])
##### Arguments `options` `d` - make the app return `-1` if there is an error condition. `c` - change the CDR so that the source of the call is `Agent/agent_id` `n` - don't generate the warnings when there is no callerid or the agentid is not known. It's handy if you want to have one context for agent and non-agent calls. ### See Also `agents.conf` ### Import Version This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42