Outside call comes in from DID number. Extension 3300 or 3301 or 3302 parks the call. If outside call hangs up while in parking lot, this starts the endless loop.
Background. We where running FreePBX 2.4xx on an Asterisk 1.2xx box. Upgraded FreePBX to 2.5 and that is when the problem started. Then I used backup utility in FreePBX to backup data, Then did a fresh install of PBXinAFlash 1.3 64 bit asterisk version 1.4xx. Installed all patches and updates then restored data. Result is same problem but system no longer crashes. When condition happens, CPU goes up to 80% and cannot transfer calls.
Asterisk Version 1.4.22 Freepbx Version 2.5.0.1 Below is from the full log file
VERBOSE[15739] logger.c: == Spawn extension (park-dial, SIP/3301, 1) exited non-zero on 'IAX2/PSTN-VoIP-6799'
[Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [h@park-dial:1] NoOp?("IAX2/PSTN-VoIP-6799", "Parked Call Timed Out and Got Orphaned") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [h@park-dial:2] Set("IAX2/PSTN-VoIP-6799", "CALLERID(name)=Park:MS2104760115") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [h@park-dial:3] Goto("IAX2/PSTN-VoIP-6799", "ext-group|600|1") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (ext-group,600,1) [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:1] Macro("IAX2/PSTN-VoIP-6799", "user-callerid|") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [s@macro-user-callerid:1] Set("IAX2/PSTN-VoIP-6799", "AMPUSER=2104760115") in new stack [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Executed application: Set [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Extension s, macroexten 600, priority 1 returned normally even though call was hung up [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:2] GotoIf?("IAX2/PSTN-VoIP-6799", "0?skipdb") in new stack [Oct 22 12:35:43] VERBOSE[27573] logger.c: Extension Changed 3301[ext-local] new state Idle for Notify User 3302 [Oct 22 12:35:43] VERBOSE[27573] logger.c: Extension Changed 3301[ext-local] new state Idle for Notify User 3301 [Oct 22 12:35:43] VERBOSE[27573] logger.c: Extension Changed 3301[ext-local] new state Idle for Notify User 3300 [Oct 22 12:35:43] DEBUG[15739] func_db.c: DB: BLKVM/600/IAX2/PSTN-VoIP-6799 not found in database. [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:3] GotoIf?("IAX2/PSTN-VoIP-6799", "0?skipov") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:4] Set("IAX2/PSTN-VoIP-6799", "NODEST=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:5] Set("IAX2/PSTN-VoIP-6799", "BLKVM_OVERRIDE=BLKVM/600/IAX2/PSTN-VoIP-6799") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:6] Set("IAX2/PSTN-VoIP-6799", "BLKVM_BASE=600") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:7] Set("IAX2/PSTN-VoIP-6799", "DB(BLKVM/600/IAX2/PSTN-VoIP-6799)=TRUE") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:8] Set("IAX2/PSTN-VoIP-6799", "RRNODEST=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:9] Set("IAX2/PSTN-VoIP-6799", "NODEST=600") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:10] GotoIf?("IAX2/PSTN-VoIP-6799", "0?REPCID") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:11] GotoIf?("IAX2/PSTN-VoIP-6799", "1?REPCID") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (ext-group,600,15) [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:15] NoOp?("IAX2/PSTN-VoIP-6799", "CALLERID(name) is Park:MS2104760115") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:16] Set("IAX2/PSTN-VoIP-6799", "_RGPREFIX=MS") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:17] Set("IAX2/PSTN-VoIP-6799", "CALLERID(name)=MSPark:MS2104760115") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:18] Set("IAX2/PSTN-VoIP-6799", "RecordMethod?=Group") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:19] Macro("IAX2/PSTN-VoIP-6799", "record-enable|3300-3301-3302-3309|Group") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [s@macro-record-enable:1] GotoIf?("IAX2/PSTN-VoIP-6799", "1?check") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (macro-record-enable,s,4) [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Executed application: GotoIf? [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Extension s, macroexten 600, priority 3 returned normally even though call was hung up [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:20] Set("IAX2/PSTN-VoIP-6799", "RingGroupMethod?=ringall") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:21] Macro("IAX2/PSTN-VoIP-6799", "dial|20|trw|3300-3301-3302-3309") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [s@macro-dial:1] GotoIf?("IAX2/PSTN-VoIP-6799", "1?dial") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (macro-dial,s,3) [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Executed application: GotoIf? [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Extension s, macroexten 600, priority 2 returned normally even though call was hung up [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:22] Set("IAX2/PSTN-VoIP-6799", "RingGroupMethod?=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:23] GotoIf?("IAX2/PSTN-VoIP-6799", "0?nodest") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:24] Set("IAX2/PSTN-VoIP-6799", "NODEST=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:25] DBdel("IAX2/PSTN-VoIP-6799", "BLKVM/600/IAX2/PSTN-VoIP-6799") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- DBdel: family=BLKVM, key=600/IAX2/PSTN-VoIP-6799 [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [600@ext-group:26] Goto("IAX2/PSTN-VoIP-6799", "ext-group|601|1") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (ext-group,601,1) [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:1] Macro("IAX2/PSTN-VoIP-6799", "user-callerid|") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [s@macro-user-callerid:1] Set("IAX2/PSTN-VoIP-6799", "AMPUSER=2104760115") in new stack [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Executed application: Set [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Extension s, macroexten 601, priority 1 returned normally even though call was hung up [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:2] GotoIf?("IAX2/PSTN-VoIP-6799", "0?skipdb") in new stack [Oct 22 12:35:43] DEBUG[15739] func_db.c: DB: BLKVM/600/IAX2/PSTN-VoIP-6799 not found in database. [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:3] GotoIf?("IAX2/PSTN-VoIP-6799", "0?skipov") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:4] Set("IAX2/PSTN-VoIP-6799", "NODEST=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:5] Set("IAX2/PSTN-VoIP-6799", "BLKVM_OVERRIDE=BLKVM/601/IAX2/PSTN-VoIP-6799") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:6] Set("IAX2/PSTN-VoIP-6799", "BLKVM_BASE=601") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:7] Set("IAX2/PSTN-VoIP-6799", "DB(BLKVM/601/IAX2/PSTN-VoIP-6799)=TRUE") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:8] Set("IAX2/PSTN-VoIP-6799", "RRNODEST=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:9] Set("IAX2/PSTN-VoIP-6799", "NODEST=601") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:10] GotoIf?("IAX2/PSTN-VoIP-6799", "0?REPCID") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:11] GotoIf?("IAX2/PSTN-VoIP-6799", "0?REPCID") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:12] NoOp?("IAX2/PSTN-VoIP-6799", "Current RGPREFIX is MS....stripping from Caller ID") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:13] Set("IAX2/PSTN-VoIP-6799", "CALLERID(name)=Park:MS2104760115") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:14] Set("IAX2/PSTN-VoIP-6799", "_RGPREFIX=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:15] NoOp?("IAX2/PSTN-VoIP-6799", "CALLERID(name) is Park:MS2104760115") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:16] Set("IAX2/PSTN-VoIP-6799", "_RGPREFIX=MS") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:17] Set("IAX2/PSTN-VoIP-6799", "CALLERID(name)=MSPark:MS2104760115") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:18] Set("IAX2/PSTN-VoIP-6799", "RecordMethod?=Group") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:19] Macro("IAX2/PSTN-VoIP-6799", "record-enable|3300-3301-3302-3308-3309|Group") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [s@macro-record-enable:1] GotoIf?("IAX2/PSTN-VoIP-6799", "1?check") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (macro-record-enable,s,4) [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Executed application: GotoIf? [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Extension s, macroexten 601, priority 3 returned normally even though call was hung up [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:20] Set("IAX2/PSTN-VoIP-6799", "RingGroupMethod?=ringall") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:21] Macro("IAX2/PSTN-VoIP-6799", "dial|25|trw|3300-3301-3302-3308-3309") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [s@macro-dial:1] GotoIf?("IAX2/PSTN-VoIP-6799", "1?dial") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Goto (macro-dial,s,3) [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Executed application: GotoIf? [Oct 22 12:35:43] DEBUG[15739] app_macro.c: Extension s, macroexten 601, priority 2 returned normally even though call was hung up [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:22] Set("IAX2/PSTN-VoIP-6799", "RingGroupMethod?=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:23] GotoIf?("IAX2/PSTN-VoIP-6799", "0?nodest") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:24] Set("IAX2/PSTN-VoIP-6799", "NODEST=") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:25] DBdel("IAX2/PSTN-VoIP-6799", "BLKVM/601/IAX2/PSTN-VoIP-6799") in new stack [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- DBdel: family=BLKVM, key=601/IAX2/PSTN-VoIP-6799 [Oct 22 12:35:43] VERBOSE[15739] logger.c: -- Executing [601@ext-group:26] Goto("IAX2/PSTN-VoIP-6799", "ext-group|600|1") in new stack