For halloween: a phantom transfer mystery

I was recently left to fend for myself supporting our asterisk server after the old admin was let go. I have a pretty good working knowledge and get around well, but I can’t figure this one out.

All calls to extension 437 forward to extension 453. It doesn’t matter where the call originates and it doesn’t matter if it is a queue call or direct. There is no forwarding setup on the phone itself and no follow me settings in freepbx. (I am extension 477, as you’ll see in the logs I post, just so there’s no confusion.)

In the full log, when I dial 437, I have included the lines I see when extension 453 first appears:

[Oct 26 11:42:00] DEBUG[7702] app_macro.c: Executed application: Macro
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Executing [s@macro-exten-vm:9] Macro(“SIP/477-b6c1e350”, “dial|20|tr|437”) in new stack
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Executing [s@macro-dial:1] GotoIf(“SIP/477-b6c1e350”, “1?dial”) in new stack
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Goto (macro-dial,s,3)
[Oct 26 11:42:00] DEBUG[7702] app_macro.c: Executed application: GotoIf
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Executing [s@macro-dial:3] AGI(“SIP/477-b6c1e350”, “dialparties.agi”) in new stack
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[Oct 26 11:42:00] VERBOSE[7702] logger.c: dialparties.agi: Starting New Dialparties.agi
[Oct 26 11:42:00] VERBOSE[7702] logger.c: dialparties.agi: Caller ID name is ‘Ben Andersen’ number is ‘477’
[Oct 26 11:42:00] VERBOSE[7702] logger.c: dialparties.agi: Methodology of ring is ‘none’
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – dialparties.agi: Added extension 437 to extension map
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – dialparties.agi: Extension 437 cf is disabled
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – dialparties.agi: Extension 437 do not disturb is disabled
[Oct 26 11:42:00] VERBOSE[7702] logger.c: dialparties.agi: ExtensionState: 0
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – dialparties.agi: dbset CALLTRACE/437 to 477
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – dialparties.agi: Filtered ARG3: 437
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – AGI Script dialparties.agi completed, returning 0
[Oct 26 11:42:00] DEBUG[7702] app_macro.c: Executed application: AGI
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Executing [s@macro-dial:7] Dial(“SIP/477-b6c1e350”, “SIP/453|20|tr”) in new stack
[Oct 26 11:42:00] WARNING[7702] rtp.c: Unable to set TOS to 184
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – Called 453
[Oct 26 11:42:00] VERBOSE[7702] logger.c: – SIP/453-08796208 is ringing

Any ideas?

That was it! thanks Mikael! So easy and makes me look like I have no idea what I’m doing when in fact I don’t but I greatly appreciate the help

Click on Extensions, click on 437, check the field dial, it should read SIP/437 but I bet is reads SIP/453