[Spce-user] cfu with clir

Andrew Pogrebennyk apogrebennyk at sipwise.com
Mon Apr 30 06:03:31 EDT 2012


Hello!

On 04/29/2012 10:09 PM, HFC-Network Kft - Szabó János wrote:
> I'm maintaining a 2.4 sipwise system and I noticed, if the user enables
> the clir and he redirects his number to another number by cfu, then the
> user gets anonym calls everytime on it's mobile.
> 
> A(my first mobile, disabled clir) ----------------->B(sipwise account,
> enabled clir) ------------------->C(my other mobile, show anonymous calls)
> 
> What Can I do, if I want to show the original caller's number on the cfu
> device?

The call forward part has been greatly redesigned in 2.5 release and now
it's working exactly as you are expecting. I should recommend upgrade to
version 2.5:
http://www.sipwise.com/doc/2.5/spce/ar01s02.html#_upgrade_from_v2_4_to_v2_5

Alternatively, you can copy
/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.tt2 to
/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2,
then edit the file - find route[ROUTE_LOAD_CALLER_PREF]
	
and replace:
	if(is_avp_set("$avp(s:caller_clir)/n") &&
avp_check("$avp(s:caller_clir)", "eq/i:1"))
	{
		setflag(FLAG_CLIR);
	}

with:
	if(is_avp_set("$avp(s:caller_clir)/n") &&
avp_check("$avp(s:caller_clir)", "eq/i:1") &&
$var(forward) != 1)
	{
		setflag(FLAG_CLIR);
	}

this should work but I haven't tested it, need to setup 2.4 first.
Regards,
Andrew




More information about the Spce-user mailing list