Blacklisted numbers do not disconnect ... stumped

I have asterisk 1.4 and FreePBX 2.6.0.0 installed on Ubuntu 9.04 Jaunty. Everything works fine except for the blacklist module. If I add my cell number as a test to the blacklist, and then call my phone, CLI shows the incoming call, and filtering through the blacklist, but instead of playing a SIT tone, or auto disconnecting the call, the call just hangs until I hang up from my cell.

Here is the output from the CLI interface:

  -- Executing [1777********@from-sip-external:1] NoOp("SIP/66.193.176.35-09cfd8a0", "Received incoming SIP connection from unknown peer to 1777********") in new stack
    -- Executing [1777********@from-sip-external:2] Set("SIP/66.193.176.35-09cfd8a0", "DID=1777********") in new stack
    -- Executing [1777********@from-sip-external:3] Goto("SIP/66.193.176.35-09cfd8a0", "s|1") in new stack
    -- Goto (from-sip-external,s,1)
    -- Executing [s@from-sip-external:1] GotoIf("SIP/66.193.176.35-09cfd8a0", "1?checklang:noanonymous") in new stack
    -- Goto (from-sip-external,s,2)
    -- Executing [s@from-sip-external:2] GotoIf("SIP/66.193.176.35-09cfd8a0", "0?setlanguage:from-trunk|1777********|1") in new stack
    -- Goto (from-trunk,1777********,1)
    -- Executing [1777********@from-trunk:1] Set("SIP/66.193.176.35-09cfd8a0", "__FROM_DID=1777********") in new stack
    -- Executing [1777********@from-trunk:2] Gosub("SIP/66.193.176.35-09cfd8a0", "app-blacklist-check|s|1") in new stack
    -- Executing [s@app-blacklist-check:1] LookupBlacklist("SIP/66.193.176.35-09cfd8a0", "") in new stack
    -- Executing [s@app-blacklist-check:2] GotoIf("SIP/66.193.176.35-09cfd8a0", "1?blacklisted") in new stack
    -- Goto (app-blacklist-check,s,5)
    -- Executing [s@app-blacklist-check:5] Answer("SIP/66.193.176.35-09cfd8a0", "") in new stack
    -- Executing [s@app-blacklist-check:6] Wait("SIP/66.193.176.35-09cfd8a0", "1") in new stack
    -- Executing [s@app-blacklist-check:7] Zapateller("SIP/66.193.176.35-09cfd8a0", "") in new stack
  == Spawn extension (app-blacklist-check, s, 7) exited non-zero on 'SIP/66.193.176.35-09cfd8a0'
virtubuntu*CLI>

If I remove my cell number from the blacklist it rings through fine. Same goes for uninstalling blacklist, the call goes through fine.

I have a working Asterisk + FreePBX on a ubuntu 8.10 install with blacklist working, but I’d like to upgrade. For some reason this blacklist issue is only occurring on a Ubuntu 9.04 install. Any help would be appreciated.

I was able to load the patch for ubuntu 9.04 and compile zaptel without errors, but I am still having the same issues, blacklist detects the incoming number, black list starts, but just silence. When my wife calls me I can hear her just fine, and outbound calls I can here the other party. If I try to manually add a number with *30 I get a busy tone.

“/var/log/asterisk/full” shows no data during the blacklist session.

“/var/log/asterisk/cdr-csv” Master.csv shows:

“”,“18002225555”,“s”,“app-blacklist-check”,""“18002225555"” <118002225555>",“SIP/66.193.176.35-0a28f790”,"",“Zapateller”,"",“2009-11-07 14:52:05”,“2009-11-07 14:52:05”,“2009-11-07 14:52:13”,8,8,“ANSWERED”,“DOCUMENTATION”,“1257605525.10”,""
"",“18002225555”,“s”,“app-blacklist-check”,""“18002225555"” <18002225555>",“SIP/66.193.176.35-0a2a9020”,"",“Zapateller”,"",“2009-11-07 16:31:27”,“2009-11-07 16:31:27”,“2009-11-07 16:31:32”,5,5,“ANSWERED”,“DOCUMENTATION”,“1257611487.11”,""

but shows nothing error related. All other logs show no errors. All other sounds seem to work just fine, too

When you don’t use blacklist and call your phone, do you actually hear the sound and can you “talk” between your cell phone and your asterisk connected phone?

If not, then it could be an audio problem, you don’t hear the zapateller tones.

virtubuntuCLI> module show like zapateller
Module Description Use Count
app_zapateller.so Block Telemarketers with Special Informa 0
1 modules loaded
virtubuntu
CLI>

Open up an asterisk CLI and type:
module show like zapateller

You should get the result:

Module                         Description                              Use Count
app_zapateller.so              Block Telemarketers with Special Informa 0
1 modules loaded

You probably don’t have this application compiled and loaded and that is why the dialplan exits.