sunlabs.brazil.sunlabs
Class AsteriskTemplate
java.lang.Object
|
+--sunlabs.brazil.template.Template
|
+--sunlabs.brazil.sunlabs.AsteriskTemplate
- All Implemented Interfaces:
- TemplateInterface
- public class AsteriskTemplate
- extends Template
Connect to Asterisk manager api. There is exactly one connection
per server. Take care.
Usage:
<asterisk host=host:port user=xxx pass=xxx queue=xxx>
<asterisk action=xxx name1=value1 ...>
<dequeue name=asterisk>
Connect to the Asterisk PBX management console. Actions are the management
api actions, followed by the appropriate name=value pairs. Results
are posted to a queue (see the QueueTemplate).
Fields inherited from class sunlabs.brazil.template.Template |
debug |
AsteriskTemplate
public AsteriskTemplate()
tag_asterisk
public void tag_asterisk(RewriteContext hr)