<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">After the channels are bridged, the<br>connected line updates cannot be blocked.<br>Why?</p></blockquote></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">I have already indicated why you cannot suppress connected line update events after the initial connection.<br>https://gerrit.asterisk.org/#/c/asterisk/+/9558/</p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;"><br>> Besides you can already simulate blocking connected line updates<br>> with the interception routines if you need to by resetting the<br>> party id's back to your preferred values.<br>I can not block connected line updates with the interception<br>routines.<br>Because interception routines is called after connected line<br>information<br>already modified.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">You seem to be missing the point of an interception routine.  An interception routine is there so you can modify the connected line information to WHATEVER you want before it gets passed to the channel driver.  Since you want the data to be fixed, you simply have to set it to your fixed information.  You can have that fixed information readily at hand either as routine arguments or in channel variables you setup before the call is placed.  I don't generally recommend database lookups here as the interception routine should be quick.</p><p style="white-space: pre-wrap; word-wrap: break-word;">https://blogs.asterisk.org/2017/03/29/dialplan-handler-routines-allow-customization/</p><p style="white-space: pre-wrap; word-wrap: break-word;">exten = _x.,1,NoOp()<br>; I supplied all the optional fields for the 'b' predial routine option so you can see what they are.<br>; Since I put it in the same exten I only really needed to specify the predial label and not CONTEXT and EXTEN.<br>same = n,Dial(PJSIP/charlie,,b(${CONTEXT}^${EXTEN}^predial(arg1^arg2)))<br>same = n,Hangup()</p><p style="white-space: pre-wrap; word-wrap: break-word;">same = n(predial),NoOp(ARG1='${ARG1}' ARG2='${ARG2}')<br>same = n,Set(NAME=charlie_fixed_name)<br>same = n,Set(NUMBER=charlie_fixed_number)<br>same = n,Set(CONNECTED_LINE_SEND_SUB=subroutines,colp_fixed,1)<br>same = n,Set(CONNECTED_LINE_SEND_SUB_ARGS=${NAME},${NUMBER})<br>same = n,Set(CONNECTEDLINE(name,i)=${NAME})<br>same = n,Set(CONNECTEDLINE(num)=${NUMBER})<br>same = n,Return()</p><p style="white-space: pre-wrap; word-wrap: break-word;">[subroutines]<br>exten = colp_fixed,1,NoOp(ARG1='${ARG1}' ARG2='${ARG2}')<br>same = n,Set(CONNECTEDLINE(name,i)=${ARG1})<br>same = n,Set(CONNECTEDLINE(num,i)=${ARG2})<br>same = n,Return()</p><p><a href="https://gerrit.asterisk.org/10286">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10286">change 10286</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/10286"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I6ce9e151a2220ce9e95aa66666933cfb9e2a4a01 </div>
<div style="display:none"> Gerrit-Change-Number: 10286 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 27 Sep 2018 21:31:23 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>