Asterisk Telegram -

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, . , , , .

, :

  1. .call
  2. 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 201709261208.00 callfile.call //    ,  Asterisk   26  2017   12:08.
:)

, , :

ls --full-time /var/spool/asterisk/outgoing/

, , , .


?

 .

P.S. , :)

"",