Outbound Call Privacy not working

Status
Not open for further replies.

Win

Member
Feb 12, 2024
49
1
8
Hi,

I'm trying to outbound call privacy by adding *67 on the outbound dialplan as below, and set the Caller Id In From to false (Gateway -> Advanced),
it works properly for internal call but it keeps still showing the gateway caller id number for external call, what did I do wrong? or is this the sip trunk provider's issue or limitation?

<extension name="CallPrivacy-Out" continue="true" uuid="9b5f89c8-a524-111-111-22222">
<condition field="${user_exists}" expression="false"/>
<condition field="destination_number" expression="^\*67(\d+)$(\d*)$">
<action application="set" data="sip_h_accountcode=${accountcode}"/>
<action application="export" data="call_direction=outbound" inline="true"/>
<action application="unset" data="call_timeout"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="effective_caller_id_name=Anonymous"/>
<action application="set" data="effective_caller_id_number=Anonymous"/>
<action application="set" data="inherit_codec=true"/>
<action application="set" data="ignore_display_updates=true"/>
<action application="set" data="callee_id_number=$1"/>
<action application="set" data="continue_on_fail=1,2,3,6,18,21,27,28,31,34,38,41,42,44,58,88,111,403,501,602,607,809"/>
<action application="bridge" data="sofia/gateway/aaaa-aaa-aaaaa-222-aaaaaaaa/$1"/>
</condition>
</extension>
 
Last edited:
Status
Not open for further replies.