Feature suggestion for call blocking

kenn10

Member
Sep 11, 2018
82
17
8
69
I'd like to see a change on the block calls screen at the actions drop-down so that you could route the blocked call to an extension or any other type of destination or to a recording you specify. I'd like to send a blocked call to an early media recording and then drop the call.

1781741081330.png
 
  • Like
Reactions: yaboc
It has an option to send them to VM. It's close to what you are trying to do. I'll think of adding another option in there.
 
It has an option to send them to VM. It's close to what you are trying to do. I'll think of adding another option in there.
It would just be nice to have the flexibility to route to a number or an announcement. I have an early media recording (so I am not billed for the time) which tells the caller the number is not in service. The extension is actually a dial-plan addition with an assigned number but the number is not in the extensions list. In my case, that recording is accessed by dialing 9200 which is custom dial plan.

It would be great if the dropdown had the addition of extensions, ring groups, recordings, call flows, etc., with the added addition of calling anything in the dial plan. My early media addition is a simple dial plan addition:

Code:
<extension name="Not in service" continue="" uuid="14127878-37ec-42eb-8b4c-c4f60a4565ad">
    <condition field="destination_number" expression="^9200$">
        <action application="pre_answer" data=""/>
        <action application="sleep"  data="1000"/>
        <action application="playback" data="/var/lib/freeswitch/recordings/<my FQDN>/uploaded_greeting_20260530_182412.wav"/>
        <action application="hangup" data="USER_NOT_FOUND"/>
    </condition>
</extension>
 
I was trying to keep the module simple. Question though. When you select a reject option, you also don't get billed, and in my tests from my cell phone, I heard a message generated by my cell phone carrier that the number is not in service. Same thing, no?
 
I was trying to keep the module simple. Question though. When you select a reject option, you also don't get billed, and in my tests from my cell phone, I heard a message generated by my cell phone carrier that the number is not in service. Same thing, no?
Nope. When I reject or send a busy, my carrier sends a busy tone, which is not optimal. They keep calling back. But you're correct that it does not bill on the reject. Just on the voicemail. I like sending an early media recording with the SIT tone so auto-dialers (in theory) remove the number.