login | register
Tue 02 of Dec, 2008 [03:45 UTC]

voip-info.org

Discuss [3] History

Asterisk Manager API Action Monitor

Created by: mflorell,Last modification on Thu 25 of Aug, 2005 [16:40 UTC] by flobi

Asterisk Manager API Action: Monitor


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

Example Via Asterisk 1.0.9
SEND:
ACTION: Monitor
Channel: SIP/x7062618529-643d
File: channelsavefile
Mix: 1


RECEIVE:
Response: Success
Message: Started monitoring channel


RECIEVE ON FAIL:
Response: Error
Message: No such channel


This produced two files: channelsavefile-in.wav and channelsavefile-out.wav. Saved in this instance to /var/spool/asterisk/monitor/



Comments

Comments Filter
222

333Asterix - Monitor calls using phone extension

by Pujitha, Friday 06 of July, 2007 [01:37:53 UTC]
For monitor command,I need to use phone extension instead of channel name of the phone.

Is there anyway to do that?
222

333Re: how do you get the channel name to pass to the Monitor command

by solera, Wednesday 13 of July, 2005 [10:50:48 UTC]
You can send a statusAction to get all channels.
Check the extension field for each channel.
Also, you can check if the channel is linked with another channel.
222

333how do you get the channel name to pass to the Monitor command

by sg, Tuesday 05 of July, 2005 [19:45:29 UTC]
Is there any command to get the channel for the extension you want the call recorded for? Thanks.