Dial By Name Directory Issue

I’ve recently been asked to reconfigure the auto attendant for someone with an older build of Asterisk, They wanted me to add a new IVR and add some recordings. I haven’t played with this stuff in a while, but it was a pretty simple setup. Just a time condition for business hours and after hours, pointing to a different IVR depending on the time/day etc. For some reason, on the after hours IVR, the dial by name directory seems to activate itself around 38 seconds into the IVR recording. I’m not really sure why. The daytime IVR doesn’t have this issue. The directory is supposed to be an option in the menu by pressing 1, and it works fine. I’ve even switched the recordings to check the cause, and I’ve found that whichever IVR has the after hours recording will have this issue occur. It seems strange to me that the recording is causing the dial by name directory to initialize.

Does anyone know what might be causing this, or have some input that could point me in the right direction?

hi,

please kindly post your dial plan for further investigation.

regards,

here is an example of something i use for my main number. Note the “Directory” function for the dial by name.

[1300-greeting]
include => to-internal
exten => s,1,Ringing(4)
exten => s,n,NoOp(---- Call from ${CALLERID(number)} ----)
exten => s,n,Answer()
exten => s,n,Background(1300-greeting)
exten => s,n,WaitExten(15)
exten => 2,1,Directory(vmdomain,context,fb)
exten => 4,1,Dial(LOCAL/XXX@to-internal)
exten => 5,1,Dial(LOCAL/XXX@to-internal)
exten => 6,1,GoTo(support-greeting,1XXXXXXXXXX,1)
exten => 9,1,Dial(SIP/${ERNUMBER}@provider)
exten => _13XX,1,Dial(LOCAL/${EXTEN}@to-internal)
exten => i,1,Goto(1300-greeting,s,1)
exten => t,1,Goto(1300-greeting,s,1)

What does the include => to-internal add? Based on the posted code I don’t notice anything wrong. What version of Asterisk is it for?

Could you post the console output for this issue?

My apologies for the delayed reply. Thank you all for trying to help.

I turns out that there was a tone in the recorded message that was triggering the Dial By Name Directory. They re-recorded the the message because they wanted to change something. When I uploaded and changed it to the new recording the issue went away.

Thanks anyways. :smiley:

Nice. That is definately one that you would be chasing a while. :>

Thanks for posting your findings. I’m always interesting in knowing how peoples issues turn out.