nwaycn / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Call block not working #509

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create call block via App --> call block
2. followed the instructions on the configuration part here: 
http://wiki.fusionpbx.com/index.php?title=Call_block
3. call the DID

What is the expected output? What do you see instead?
Caller number should be reject as configured on the call block. The call is 
reaching the intended extension and call are not blocked

Logs shows the line below:

EXECUTE sofia/internal/caller-id@IP lua(call_block.lua C)
2013-11-26 11:38:23.048477 [ERR] mod_lua.cpp:199 cannot open 
/usr/local/freeswitch/scripts/call_block.lua: No such file or directory

What version of the product are you using? On what operating system?

FreeSWITCH Version 1.5.6b+git~20131101T213414Z~b86770f34c~64bit (git b86770f 
2013-11-01 21:34:14Z 64bit)

Fusionpbx 3.4

URL: http://fusionpbx.googlecode.com/svn/trunk/fusionpbx
Repository Root: http://fusionpbx.googlecode.com/svn
Repository UUID: e2954ef0-caed-11de-bd98-e341d93cc3cc
Revision: 4811
Node Kind: directory
Schedule: normal
Last Changed Author: markjcrane@gmail.com
Last Changed Rev: 4808
Last Changed Date: 2013-11-25 22:41:13 +0300 (Mon, 25 Nov 2013)

Please provide any additional information below.

Original issue reported on code.google.com by di3na...@gmail.com on 26 Nov 2013 at 8:57

GoogleCodeExporter commented 9 years ago
You might try setting it in the dialplan to.

application: lua
data: app.lua call_block

Original comment by markjcrane@gmail.com on 30 Nov 2013 at 4:52

GoogleCodeExporter commented 9 years ago
I edited the inbound route DID as suggested but it doesn't block the call it 
and doesn't show any errors on fs_cli.

lua(app.lua call_block)
2013-11-30 07:50:48.237459 [DEBUG] freeswitch_lua.cpp:352 DBH handle 
0x2ba2b0080620 Connected.
2013-11-30 07:50:48.237459 [DEBUG] freeswitch_lua.cpp:369 DBH handle 
0x2ba2b0080620 released.
2013-11-30 07:50:48.237459 [DEBUG] switch_cpp.cpp:1056 
sofia/internal/Caller-id-nUmber@provider destroy/unlink session from object
EXECUTE sofia/internal/Caller-id-nUmber@IP transfer(1000 XML domain_name)

Original comment by di3na...@gmail.com on 30 Nov 2013 at 5:07

GoogleCodeExporter commented 9 years ago
Fixed on the dev branch and soon to be released as FusionPBX 3.5

Original comment by markjcrane@gmail.com on 10 Mar 2014 at 2:51