[Spce-user] Caller ID Blocking
Aziz Palmer
Aziz.Palmer at AirFIBER.com
Thu Nov 26 13:40:44 EST 2015
is this correct?
if not can you pleas tell me what i should change it to?
Thanks
route[ROUTE_CLIR]
{
[% debug_dump('start', 'ROUTE_CLIR') %]
if($avp(s:from_pstn) == 0 && uri =~ "^sip:\*[% sems.vsc.clir_code %]")
{
strip([% sems.vsc.clir_code.length + 1 %]);
________________________________________
From: Andrew Pogrebennyk [apogrebennyk at sipwise.com]
Sent: Thursday, November 26, 2015 2:46 AM
To: Aziz Palmer; spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Caller ID Blocking
Hi,
you should change
/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2
namely the "if" and strip lines:
########################################################################
# Check for anonymization
########################################################################
route[ROUTE_CLIR]
{
if($avp(s:from_pstn) == 0 && uri =~ "^sip:\*[%
sems.vsc.clir_code %]\*")
{
strip([% sems.vsc.clir_code.length + 2 %]);
On 11/25/2015 05:54 PM, Aziz Palmer wrote:
> sems -> vsc ->clir_code
>
> right now for someone to block caller ID they would need to dial *31*XXXXXX
>
> i would like to change to *31XXXXXXX
>
> without using a rewrite rule (basically i would like sipwise to except
> the caller ID blocking without the second "*"
>
>
>
> how can i get that done? what config files do i need to change?
>
>
> Thank you
More information about the Spce-user
mailing list