| Asterisk
SSH?
Asterisk .
, , . Dial, call , , :
Channel: SIP/flowroute/84951112233 MaxRetries: 1 RetryTime: 60 WaitTime: 30 Context: test_forcall Extension: 1 Priority: 1 Set: variablename=variablevalue CallerID: Test <84954445566>
, , , 84951112233. , Asterisk . . Context , , .
, CallerID ( ), - Test <84954445566>.
, .call , /var/spool/asterisk/outgoing/ - , mv, . , , , .
, :
- .call
- chmod
chmod 777 callfile.call
3. mv
mv callfile.call /var/spool/asterisk/outgoing/
, , , :
[test_forcall] exten => 1,1,Answer() exten => 1,n,Record(/home/test/asterisk_sounds/rec/incoming_call.gsm,5,30) exten => 1,n,Playback(vm-goodbye) exten => 1,n,Hangup()
, 1, (.call ).
.call , Asterisk . touch, .
touch -t YYYYMMDDHHMM.SS filename //
touch -t 202101240857.00 callfile.call // , Asterisk 24 2021 08:57.
:)
, , :
ls --full-time /var/spool/asterisk/outgoing/
, , , .