Update from-twilio dialplan: ring ext 100 directly instead of Stasis (no ARI client yet)
This commit is contained in:
@@ -173,13 +173,20 @@ data:
|
||||
writeprotect=no
|
||||
|
||||
[from-twilio]
|
||||
; Inbound calls from Twilio SIP trunk → ARI Stasis app
|
||||
; Inbound calls from Twilio SIP trunk
|
||||
; Ring reception (100) for 30s, then try all extensions in ring group
|
||||
exten => _+X.,1,Answer()
|
||||
same => n,Stasis(flowercore-pbx,twilio,${EXTEN})
|
||||
same => n,Playback(silence/1)
|
||||
same => n,Dial(PJSIP/100,30,t)
|
||||
same => n,Dial(PJSIP/101&PJSIP/102&PJSIP/103,30,t)
|
||||
same => n,Playback(vm-goodbye)
|
||||
same => n,Hangup()
|
||||
|
||||
exten => _X.,1,Answer()
|
||||
same => n,Stasis(flowercore-pbx,twilio,${EXTEN})
|
||||
same => n,Playback(silence/1)
|
||||
same => n,Dial(PJSIP/100,30,t)
|
||||
same => n,Dial(PJSIP/101&PJSIP/102&PJSIP/103,30,t)
|
||||
same => n,Playback(vm-goodbye)
|
||||
same => n,Hangup()
|
||||
|
||||
[from-internal]
|
||||
@@ -197,7 +204,7 @@ data:
|
||||
same => n,Dial(PJSIP/${EXTEN}@twilio-trunk,60)
|
||||
same => n,Hangup()
|
||||
|
||||
; IVR access from internal phones
|
||||
; IVR access from internal phones (when ARI is connected)
|
||||
exten => *100,1,Stasis(flowercore-pbx,internal,ivr)
|
||||
same => n,Hangup()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user