Direct Dial isn’t working for me. I just installed the newest TrixBox 2.8.0.3, got all of our company’s IVR’s added, and everything. Here’s the flow of the “not working” part:
- XXX-XXX-XXXX - Our company’s toll-free number
- The IVR picks up… "Thank you for calling. If you know your party’s extension, please enter it at any time. Press 1 for Tech Support, Press 2 for Customer Service.
In this first IVR, I have “Enable Directory” & “Enable Direct Dial” checked. Also the number 1 for the first option and 2 for the second… they’re both going to a Queue.
If I press 1, the PBX comes back with, “Sorry, that’s not a valid extension, please try again.” If I press my extension number, the PBX says the same thing. Here is the output from the Asterisk CLI:
Connected to Asterisk 1.6.0.10-FONCORE-r40 currently running on pbx (pid = 2875)
Verbosity is at least 3
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
== Using SIP VRTP TOS bits 136
== Using SIP VRTP CoS mark 6
– Executing [xxxxxxxxxx@from-pstn:1] Set(“SIP/64.152.60.74-b7640608”, “__FROM_DID=xxxxxxxxxx”) in new stack
– Executing [xxxxxxxxxx@from-pstn:2] Gosub(“SIP/64.152.60.74-b7640608”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/64.152.60.74-b7640608”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Return(“SIP/64.152.60.74-b7640608”, “”) in new stack
– Executing [xxxxxxxxxx@from-pstn:3] ExecIf(“SIP/64.152.60.74-b7640608”, “1 ?Set(CALLERID(name)=xxxxxxxxxx)”) in new stack
– Executing [xxxxxxxxxx@from-pstn:4] Set(“SIP/64.152.60.74-b7640608”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [xxxxxxxxxx@from-pstn:5] Set(“SIP/64.152.60.74-b7640608”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [xxxxxxxxxx@from-pstn:6] Goto(“SIP/64.152.60.74-b7640608”, “timeconditions,1,1”) in new stack
– Goto (timeconditions,1,1)
– Executing [1@timeconditions:1] GotoIfTime(“SIP/64.152.60.74-b7640608”, “10:00-15:59|sat-sun||?ivr-2,s,1”) in new stack
– Executing [1@timeconditions:2] GotoIfTime(“SIP/64.152.60.74-b7640608”, “09:00-19:29|mon-fri||?ivr-2,s,1”) in new stack
– Goto (ivr-2,s,1)
– Executing [s@ivr-2:1] Set(“SIP/64.152.60.74-b7640608”, “MSG=custom/DayMenu”) in new stack
– Executing [s@ivr-2:2] Set(“SIP/64.152.60.74-b7640608”, “LOOPCOUNT=0”) in new stack
– Executing [s@ivr-2:3] Set(“SIP/64.152.60.74-b7640608”, “__DIR-CONTEXT=default”) in new stack
– Executing [s@ivr-2:4] Set(“SIP/64.152.60.74-b7640608”, “_IVR_CONTEXT_ivr-2=”) in new stack
– Executing [s@ivr-2:5] Set(“SIP/64.152.60.74-b7640608”, “_IVR_CONTEXT=ivr-2”) in new stack
– Executing [s@ivr-2:6] GotoIf(“SIP/64.152.60.74-b7640608”, “0?begin”) in new stack
– Executing [s@ivr-2:7] Answer(“SIP/64.152.60.74-b7640608”, “”) in new stack
– Executing [s@ivr-2:8] Wait(“SIP/64.152.60.74-b7640608”, “1”) in new stack
– Executing [s@ivr-2:9] Set(“SIP/64.152.60.74-b7640608”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3
– Executing [s@ivr-2:10] Set(“SIP/64.152.60.74-b7640608”, “TIMEOUT(response)=10”) in new stack
– Response timeout set to 10
– Executing [s@ivr-2:11] Set(“SIP/64.152.60.74-b7640608”, “__IVR_RETVM=”) in new stack
– Executing [s@ivr-2:12] ExecIf(“SIP/64.152.60.74-b7640608”, “1?Background(custom/DayMenu)”) in new stack
– Playing ‘custom/DayMenu.slin’ (language ‘en’)
– Invalid extension ‘555’ in context ‘ivr-2’ on SIP/64.152.60.74-b7640608
== CDR updated on SIP/64.152.60.74-b7640608
– Executing [i@ivr-2:1] Playback(“SIP/64.152.60.74-b7640608”, “invalid”) in new stack
– Playing ‘invalid.gsm’ (language ‘en’)
– Executing [i@ivr-2:2] Goto(“SIP/64.152.60.74-b7640608”, “loop,1”) in new stack
– Goto (ivr-2,loop,1)
– Executing [loop@ivr-2:1] Set(“SIP/64.152.60.74-b7640608”, “LOOPCOUNT=1”) in new stack
– Executing [loop@ivr-2:2] GotoIf(“SIP/64.152.60.74-b7640608”, “0?hang,1”) in new stack
– Executing [loop@ivr-2:3] Goto(“SIP/64.152.60.74-b7640608”, “ivr-2,s,begin”) in new stack
– Goto (ivr-2,s,9)
– Executing [s@ivr-2:9] Set(“SIP/64.152.60.74-b7640608”, “TIMEOUT(digit)=3”) in new stack
– Digit timeout set to 3
– Executing [s@ivr-2:10] Set(“SIP/64.152.60.74-b7640608”, “TIMEOUT(response)=10”) in new stack
– Response timeout set to 10
– Executing [s@ivr-2:11] Set(“SIP/64.152.60.74-b7640608”, “__IVR_RETVM=”) in new stack
– Executing [s@ivr-2:12] ExecIf(“SIP/64.152.60.74-b7640608”, “1?Background(custom/DayMenu)”) in new stack
– Playing ‘custom/DayMenu.slin’ (language ‘en’)
== Spawn extension (ivr-2, s, 12) exited non-zero on ‘SIP/64.152.60.74-b7640608’
– Executing [h@ivr-2:1] Hangup(“SIP/64.152.60.74-b7640608”, “”) in new stack
== Spawn extension (ivr-2, h, 1) exited non-zero on ‘SIP/64.152.60.74-b7640608’
(xxxxxxxxxx=hidden phone numbers)
The extension I just typed in on my phone was “5510” and as you can see, Asterisk is seeing extension “555” …I don’t have an extension “555” …so that’s where my issue is. But… WHY??? Also, if I uncheck the Direct Dial option on the IVR and choose 1 for Tech Support, it works fine and I get dropped into the Queue. So it’s just the Direct Dial option that’s giving me grief.
Thanks for any help this awesome forum can give me!