TUTORIAL Send BLACKLIST Call to Voicemail

Wire Chief

New Member
Joined
Jul 13, 2013
Messages
1
Reaction score
0
I am running PIAF in the PURPLE mode.

I would like to change the message sent to 'BLACKLIST CALLERS' and have them go to VOICE MAIL. Anyone out there got any Ideas?

Wire Chief
 
The Lenny Blacklist mod will allow you to modify the send to destination of the blacklist. By default it sends callers to sip:[email protected] but you can change the destination. To send to mailbox at extension 100 use the format:
Code:
Local/*100@from-internal

I couldn't get this to run using FreePBX Version = 2.10.1.9 ; the normal default route is taken. The module loaded correctly and displayed the settings, however, when redirecting to an extension, the default route is always taken - SIT tone and message.

Where else should I look?
 
Just to confirm, you did select the check box to "enable redirect" ?

A little more information....

Yes, it is checked.

After the install, I added a number to the Blacklist to test, it now does an Apply Config while within the Blacklist screen and correctly adds the new Blacklist number, but it erases the Lenny entry.

If I add the Lenny table record back, it works fine, after the Apply Config is pressed.

If you can't recreate, let me know what logs to pull.
 
Well I just did a bunch of testing with FreePBX 2.11.0.2 and I can't reproduce any of what you are reporting. With the latest version (0.0.5) of the Lenny module installed, make sure 'enable redirect' is enabled, the changes saved and dialplan reloaded then at the Asterisk CLI give me the output from:
Code:
dialplan show app-blacklist-check

Then for good measure, de-select the 'enable redirect', save changes and reload dialplan then give me the CLI output again.

Enabled and redirect on (dialplan show app-blacklist-check):
Code:
[ Context 'app-blacklist-check' created by 'pbx_config' ]
  's' =>            1. GotoIf($["${BLACKLIST()}"="1"]?blacklisted) [pbx_config]
                    2. Set(CALLED_BLACKLIST=1)                    [pbx_config]
                    3. Return()                                   [pbx_config]
     [blacklisted]  4. Answer()                                   [pbx_config]
                    5. Dial(Local/3333@from-internal,60,rL,240000) [pbx_config]
                    6. Hangup()                                   [pbx_config]
                    7. Wait(1)                                    [pbx_config]
                    8. Zapateller()                               [pbx_config]
                    9. Playback(ss-noservice)                     [pbx_config]
                    10. Hangup()                                  [pbx_config]
  Include =>        'app-blacklist-check-custom'                  [pbx_config]

-= 1 extension (10 priorities) in 1 context. =-

Disabled and redirect on (dialplan show app-blacklist-check):

Code:
[ Context 'app-blacklist-check' created by 'pbx_config' ]
  's' =>            1. GotoIf($["${BLACKLIST()}"="1"]?blacklisted) [pbx_config]
                    2. Set(CALLED_BLACKLIST=1)                    [pbx_config]
                    3. Return()                                   [pbx_config]
     [blacklisted]  4. Answer()                                   [pbx_config]
                    5. Wait(1)                                    [pbx_config]
                    6. Zapateller()                               [pbx_config]
                    7. Playback(ss-noservice)                     [pbx_config]
                    8. Hangup()                                   [pbx_config]
  Include =>        'app-blacklist-check-custom'                  [pbx_config]

-= 1 extension (8 priorities) in 1 context. =-

The issue for me is when Lenny is enabled and you manually add a number, the Lenny entry is deleted.
By creating a new entry, all is well again.

What would be triggering the Lenny delete entry?
 
i want to do the followings
1. send all Unknown Calls & Private to a Pre-recodred MSG telling them ' we do not accept blocked calls '
2. Blacklisted for Each number i want to hear audio msg i want, not hearing that the number has been disconnected
 
i want to do the followings
1. send all Unknown Calls & Private to a Pre-recodred MSG telling them ' we do not accept blocked calls '

1. is done with the Privacy Manager optinon in Inbound routes. All Blocked and private numbers get an announcement saying that blocked calls are not accepted and given a chance to enter their phone number. If they don't enter it correctly in three tries the call is disconnected.
 
i tested this part, but they can enter any number they want and DOSE NOT have to be there Real number and it still lets them in, so that wont work! i feel that if you cant be real with me = SENDING UR CID, then you are a SHADY PERSON, if you cant Trust me, then i cant Trust you & i dont wanna talk to you, not to sound starnage but that is how i feel about UNknown calls! as of right now i has Google Voice set to Block all Unknown calls to voicemail BUT i hate it goes to voicemail i want it to END THERE call after it tells THEM ' we do not accept unknown calls, unblock it and try your call again ' unless i have the Privacy Manager setup worng hmmm ill have to play with it again!
 
You can block Unknown Calls by simply checking the box in the Blacklist app.
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,258
Latest member
RandomPerson
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top