Re: [Asterisk-Users] ChangeMonitor syntax

2004-08-09 Thread Holger Schurig
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

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ChangeMonitor syntax

2004-08-09 Thread Seth Remington
On Mon, 2004-08-09 at 12:57, Holger Schurig wrote:
> try "help application changemonitor" in the Asterisk CLI

I'm sure you meant "show application changemonitor". That will show the
dialplan application ChangeMonitor but not the Manager API ChangeMonitor
command. The "show manager command ChangeMonitor" gives the very
unhelpful help that was mentioned in the original post.

I had to grep the source in order to find the proper parameters. In fact
none of the "show manager command ..." CLI commands give any of the
required parameters. Some patches would probably be in order.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ChangeMonitor syntax

2004-08-09 Thread Holger Schurig
try "help application changemonitor" in the Asterisk CLI

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ChangeMonitor syntax

2004-08-09 Thread Seth Remington
On Mon, 2004-08-09 at 11:24, [EMAIL PROTECTED] wrote:
> I'm trying to use the ChangeMonitor command on the asterisk manager API, but I 
> can't find the syntax anywhere. Asterisk only tells me:
> 
> Action: ChangeMonitor
> 
> But I don't know the parameters. Can anybody help me?

It takes two parameters: Channel and File.

"Channel" is the channel that you are monitoring and want to change the
filename being recorded to and "File" is the new filename.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] ChangeMonitor syntax

2004-08-09 Thread eduardo
I'm trying to use the ChangeMonitor command on the asterisk manager API, but I 
can't find the syntax anywhere. Asterisk only tells me:

Action: ChangeMonitor

But I don't know the parameters. Can anybody help me?
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users