first commit

This commit is contained in:
2026-07-18 01:25:01 +03:30
parent dee06ba093
commit c18a1c2298
22 changed files with 981 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
[general]
static=yes
writeprotect=no
; ==========================================================
; Incoming calls from SIP Trunk
; ==========================================================
[from-trunk]
; Incoming call without DID
exten => s,1,NoOp(Incoming call from trunk - CallerID: ${CALLERID(num)})
same => n,Answer()
same => n,Wait(1)
same => n,AGI(voicebot.py)
same => n,Hangup()
; Incoming call with DID
exten => _X.,1,NoOp(Incoming DID call: ${EXTEN} - CallerID: ${CALLERID(num)})
same => n,Answer()
same => n,Wait(1)
same => n,AGI(voicebot.py)
same => n,Hangup()
; ==========================================================
; Internal test extension
; Used with Zoiper / Linphone for testing
; ==========================================================
[from-internal]
; Match any dialed extension
exten => _X.,1,NoOp(Test call from internal extension ${EXTEN})
same => n,Answer()
same => n,Wait(1)
same => n,AGI(voicebot.py)
same => n,Hangup()