Project

General

Profile

extensions.conf

asterisk conf - duo_kali, 09/13/2018 03:45 AM

 
1
#include extensions-range.conf							;System dialplan
2

    
3

    
4

    
5
[gsmsubscriber]
6
exten=>_XXXX,1,Answer()
7
exten=>_XXXX,2,Set(CallTime=${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)}) 
8
exten=>_XXXX,3,Set(CALLFILENAME=${EXTEN}_${CallTime}_${CALLERID(num)}) 
9
exten=>_XXXX,4,MixMonitor(/tmp/GSM/${CALLFILENAME}.wav,b)
10
exten=>_XXXX,5,Dial(SIP/GSM/${EXTEN})
11
exten=>_XXXX,n,Hangup
12
				
13

    
Add picture from clipboard (Maximum size: 48.8 MB)