Loop on dial

When dialing an IP extension using it’s configured Inbound route from my mobile, I get an infinite redial loop when nobody picks up that phone which shouldn’t be the case. I’ve set an announcement for that certain extension but it wouldn’t play, it just continue ringing.

Ring Time hadn’t been touched, it’s using the default values.

I tried setting the announcement from a different IP extension with different Inbound route and it’s working fine, 5 rings with no answer automatically plays the Announcement.

What am I missing here? Are there other values or fields to check?

What does it say the system is doing in “/var/log/asterisk/full”. I’m pretty sure the answer will be right there.

Hi,

This is what shows up when I tail the file “full”, I can’t seem to decipher what it means as it works I configure the Inbound number to another extension… it only happens to one specific extension.

[root@localhost asterisk]# tail /var/log/asterisk/full
[2016-11-09 08:46:53] WARNING[27251] pbx.c: Context ‘app-announcement-2’ tries t o include nonexistent context ‘app-announcement-2-custom’
[2016-11-09 08:46:53] WARNING[27251] pbx.c: Context ‘macro-record-enable’ tries to include nonexistent context ‘macro-record-enable-custom’
[2016-11-09 08:46:53] WARNING[27251] pbx.c: Context ‘macro-hangupcall’ tries to include nonexistent context ‘macro-hangupcall-custom’
[2016-11-09 08:46:53] NOTICE[27251] res_config_ldap.c: No directory user found, anonymous binding as default.
[2016-11-09 08:46:53] ERROR[27251] res_config_ldap.c: No directory URL or host f ound.
[2016-11-09 08:46:53] NOTICE[27251] res_config_ldap.c: Cannot reload LDAP RealTi me driver.
[2016-11-09 08:46:53] NOTICE[27251] res_odbc.c: Connecting asteriskcdrdb
[2016-11-09 08:46:53] WARNING[27251] res_odbc.c: res_odbc: Error SQLConnect=-1 e rrno=0 [unixODBC][Driver Manager]Data source name not found, and no default driv er specified
[2016-11-09 08:46:53] WARNING[27251] res_odbc.c: Failed to connect to asteriskcd rdb
[2016-11-09 08:46:53] NOTICE[27251] res_odbc.c: Registered ODBC class ‘asteriskc drdb’ dsn->[MySQL-asteriskcdrdb]
[root@localhost asterisk]#

I don’t see the call hitting your inbound route.