[Asterisk-Users] ChangeMonitor syntax

Holger Schurig hs4233 at mail.mn-solutions.de
Mon Aug 9 23:38:17 MST 2004


Oh, sorry, for not reading that far.

In DeStar at http://www.holgerschurig.de I have a manager.py script where 
I digged out all possible manager commands that I found. Here is an 
excerpt:


############################ manager.c:

# Action:     Ping
# Parameters: none
res = conn.action('Ping')

# Action:     ListCommands
# Parameters: none
#res = conn.action('ListCommands')

# Action:     Events
# Parameters: EventMask (on, off, system,call,log etc)
#res = conn.action('Events', EventMask='off'

# Action:     Logoff
# Parameters: none
#res = conn.action('Logoff')

# Action:     Hangup
# Parameters: Channel
#res = conn.action('Hangup', ...)

# Action:     SetVar
# Parameter:  Channel, Variable, Value
#res = conn.action('SetVar', ...)

# Action:     GetVar
# Parameter:  Channel, Variable
#res = conn.action('GetVar', ...)

# Action:     Status
# Parameter:  Channel
#res = conn.action('Status', Channel=...)

# Action:     Redirect
# Parameters: Channel, ExtraChannel, Exten, Context, Priority
#res = conn.action('Redirect', ...)

# Action:     Command
# Parameters: Command
#res = conn.action('Command', Command='sip show peers')

# Action:     Originate
# Parameters: Channel, Exten, Context, Priority, Timeout (in ms),
#             CallerID, Variable, Account, Application, Data, Async
#res = conn.action('Originate', Channel='SIP/dnarotam', 
Application='Milliwatt')

# Action:     MailboxStatus
# Parameters: Mailbox
#res = conn.action('MailboxStatus', Mailbox='1234')

# Action:     MailboxCount
# Parameters: Mailbox
#res = conn.action('MailboxCount', Mailbox='1234')

# Action:     ExtenstionState
# Parameters: Exten, Context
#res = conn.action('ExtensionState', Exten='26', Context='default')

# Action:     Timeout
# Parameters: Channel, Timeout (in ms?)
#res = conn.action('Timeout', Timeout=30)


############################ apps/app_queue.c:

# Action:     Queues
# Parameters: none
#res = conn.action('Queues')

# Action:     QueueStatus
# Parameters: none
#res = conn.action('QueueStatus')


############################ apps/app_setcdruserfield.c:

# Action:     SetCDRUserField
# Parameters: Channel, UserField, Append


############################ channels/chan_iax.c:

# Action:     IAX1peers
# Parameters: none


############################ channels/chan_iax2.c:

# Action:     IAXpeers
# Parameters: none


############################ channels/chan_zap.c:

# Action:     ZapTransfer
# Parameters: ZapChannel

# Action:     ZapHangup
# Parameters: ZapChannel

# Action:     ZapDialOffhook
# Parameters: ZapChannel

# Action:     ZapDNDon
# Parameters: ZapChannel

# Action:     ZapDNDoff
# Parameters: ZapChannel

# Action:     ZapShowChannels
# Parameters: none


############################ res/res_monitor.c

# Action:     Monitor
# Parameters: Channel, File, Format, Mix

# Action:     StopMonitor
# Parameters: Channel

# Action:     ChangeMonitor
# Parameters: Channel, File


############################ res/res_features.c:

# Action:     ParkedCalls
# Parameters: none


############################ app_valetparking.c:

# Action:     ValetparkedCalls
# Parameters: none




More information about the asterisk-users mailing list