Hello,
Could someone possibly take a quick look at my extensions.conf below please.
I am having an issue. As you can see I have 5 DDI’s configured, 2 of them are configured to forward to IVR and 3 are configured to forward direct to extensions. The IVR setup (TEST-IVR) is configured with 3 options with forwarding to 3 extensions.
The problem is, whenever someone rings any of the 5 DDI’s, they still hear the IVR audio message (even on the numbers which are not configured to go there). Also when the IVR audio file is playing, extension 102 and 103 rings, before the caller has even pressed any options. Can you see an issue with the below configuration?
Any help would be great, thank you.
[general]
static=yes
writeprotect=no
[default]
exten => 101,1,Answer()
exten => 101,n,Dial(SIP/101,20,tr)
exten => 101,n,Hangup
[default]
exten => 102,1,Answer()
exten => 102,n,Dial(SIP/102,20,tr)
exten => 102,n,Hangup
[default]
exten => 103,1,Answer()
exten => 103,n,Dial(SIP/103,20,tr)
exten => 103,n,Hangup
[sip-in]
exten => 02031234567,1,Goto(TEST-IVR,s,1)
exten => 02031234568,1,Goto(TEST-IVR,s,1)
exten => 02031234569,1,Dial(SIP/102)
exten => 2548981,1,Dial(SIP/103)
exten => 02031234570,1,Dial(SIP/103)
exten => _X.,1,Dial(SIP/sip-out/${EXTEN})
[TEST-IVR]
exten => s,1,Background(test-ivr)
exten => 1,1,Dial(SIP/101)
exten => 2,1,Dial(SIP/102)
exten => 3,1,Dial(SIP/103)