Asterisk record remote conference
First put this into your extensions.conf
[monitor]
exten => s,1,Answer
exten => s,2,Monitor(wav|/tmp/devcon)
exten => t,1,NoOp
Then make a sample.call file with the following contents and save it into /tmp/sample.call
Channel: IAX2/astricon@voip-gw.voismart.net/meetmeq
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: monitor
Extension: s
Priority: 1
Change the first line to be the address of the remote conference.
Then at the command line type:
at time
where time is the time you would like it to run at
then you will be presented with:
at>
type cp /tmp/sample.call /var/spool/asterisk/outgoing
then press ctrl-D
This now means that at the time you specified it will start recording the conference.
When the conf is finished you should go to the asterisk console and type soft hangup, press tab and select the conf and press enter. This will end the call.
Someone may have a better idea on how to end it. If so, post it here.
[monitor]
exten => s,1,Answer
exten => s,2,Monitor(wav|/tmp/devcon)
exten => t,1,NoOp
Then make a sample.call file with the following contents and save it into /tmp/sample.call
Channel: IAX2/astricon@voip-gw.voismart.net/meetmeq
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: monitor
Extension: s
Priority: 1
Change the first line to be the address of the remote conference.
Then at the command line type:
at time
where time is the time you would like it to run at
then you will be presented with:
at>
type cp /tmp/sample.call /var/spool/asterisk/outgoing
then press ctrl-D
This now means that at the time you specified it will start recording the conference.
When the conf is finished you should go to the asterisk console and type soft hangup, press tab and select the conf and press enter. This will end the call.
Someone may have a better idea on how to end it. If so, post it here.
Comments