Try insert below 2 records to the extension table, INSERT INTO `extensions_table` VALUES (1, 'mycontext', '_1.', 1, 'AGI', 'pstn.agi'); INSERT INTO `extensions_table` VALUES (2, 'mycontext', '_2.', 1, 'AGI', 'pstn.agi'); Asterisk will make CPU 100% load and hang.