<p dir="ltr">That looks good to me, give it a try... </p>
<div class="gmail_quote">On 26 Nov 2015 19:55, Aziz Palmer <Aziz.Palmer@AirFIBER.com> wrote:<br type='attribution'><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>is this correct?<br /><br />if not can you pleas tell me what i should change it to?<br /><br />Thanks<br /><br />route[ROUTE_CLIR]<br />{<br />        [% debug_dump('start', 'ROUTE_CLIR') %]<br />        if($avp(s:from_pstn) == 0 && uri =~ "^sip:\*[% sems.vsc.clir_code %]")<br />        {<br />                strip([% sems.vsc.clir_code.length + 1 %]);<br /><br />________________________________________<br />From: Andrew Pogrebennyk [apogrebennyk@sipwise.com]<br />Sent: Thursday, November 26, 2015 2:46 AM<br />To: Aziz Palmer; spce-user@lists.sipwise.com<br />Subject: Re: [Spce-user] Caller ID Blocking<br /><br />Hi,<br />you should change<br />/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2<br />namely the "if" and strip lines:<br /><br />########################################################################<br /># Check for anonymization<br />########################################################################<br />route[ROUTE_CLIR]<br />{<br />        if($avp(s:from_pstn) == 0 && uri =~ "^sip:\*[%<br />sems.vsc.clir_code %]\*")<br />        {<br />                strip([% sems.vsc.clir_code.length + 2 %]);<br /><br /><br />On 11/25/2015 05:54 PM, Aziz Palmer wrote:<br />> sems -> vsc ->clir_code<br />><br />> right now for someone to block caller ID they would need to dial *31*XXXXXX<br />><br />> i would like to change to *31XXXXXXX<br />><br />> without using a rewrite rule (basically i would like sipwise to except<br />> the caller ID blocking without the second "*"<br />><br />><br />><br />> how can i get that done? what config files do i need to change?<br />><br />><br />> Thank you<br /><br /></div></blockquote></div>