Update from-twilio dialplan: ring ext 100 directly instead of Stasis (no ARI client yet)

This commit is contained in:
2026-03-11 18:07:49 +00:00
parent 7258b973e8
commit fb14e18bd0

View File

@@ -173,13 +173,20 @@ data:
writeprotect=no writeprotect=no
[from-twilio] [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() 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() same => n,Hangup()
exten => _X.,1,Answer() 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() same => n,Hangup()
[from-internal] [from-internal]
@@ -197,7 +204,7 @@ data:
same => n,Dial(PJSIP/${EXTEN}@twilio-trunk,60) same => n,Dial(PJSIP/${EXTEN}@twilio-trunk,60)
same => n,Hangup() 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) exten => *100,1,Stasis(flowercore-pbx,internal,ivr)
same => n,Hangup() same => n,Hangup()