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).


Field Summary
 
Fields inherited from class sunlabs.brazil.template.Template
debug
 
Constructor Summary
AsteriskTemplate()
           
 
Method Summary
 void tag_asterisk(RewriteContext hr)
           
 
Methods inherited from class sunlabs.brazil.template.Template
done, init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsteriskTemplate

public AsteriskTemplate()
Method Detail

tag_asterisk

public void tag_asterisk(RewriteContext hr)

Version 2.1, Generated 12/30/04
Copyright (c) 2001-2004, Sun Microsystems.