An old system that I was supporting needed hw and sw upgrades. It had over two thousand iax extensions. The old system was AAH version 1.? and had been operational for 3 years. It was running on a Dell Optiplex GX270 with 1G RAM.
The upgraded system is running on a Dell PE1750, dual 2.8Ghz, 4G RAM.
Using PIAF with all latest updates:
- Running Asterisk Version : Asterisk 1.4.21.2
- Asterisk Source Version : 1.4.21.2
- Zaptel Source Version : 1.4.12.1
- Libpri Source Version : 1.4.7
- Addons Source Version : 1.4.7
The extensions on the old system had been done using the AMP (FreePBX) GUI but I did not want to install 2,000 extensions using the GUI so I just created all of them in iax_custom.conf. Things seemed to be working fine until we tried dialing from one extension to another extension. Although we can dial outbound on a trunk, the extension to extension calls fail. In trying to fix this, I created several iax & sip extensions using FreePBX and discovered that they can dial each other ok. It is just the extensions in iax_custom.conf that cannot dial each other. The log file shows this when it fails:
[Nov 12 14:32:34] VERBOSE[18750] logger.c: – dialparties.agi: dbset CALLTRACE/303378 to 300001
[Nov 12 14:32:34] VERBOSE[18750] logger.c: – dialparties.agi: Filtered ARG3: 303378
[Nov 12 14:32:34] VERBOSE[18750] logger.c: dialparties.agi: Setting default NOANSWER DIALSTATUS since no extensions available
And this is the log when it works:
[Nov 12 14:34:36] VERBOSE[18794] logger.c: – dialparties.agi: dbset CALLTRACE/300004 to 300001
[Nov 12 14:34:36] VERBOSE[18794] logger.c: – dialparties.agi: Filtered ARG3: 300004
[Nov 12 14:34:36] VERBOSE[18794] logger.c: – AGI Script dialparties.agi completed, returning 0
[Nov 12 14:34:36] DEBUG[18794] app_macro.c: Executed application: AGI
[Nov 12 14:34:36] VERBOSE[18794] logger.c: – Executing [s@macro-dial:7] Dial(“IAX2/300001-2004”, “IAX2/300004||tr”) in new stack
Any ideas would be appreciated.