[Spce-user] cfu with clir

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


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:

Alternatively, you can copy
/etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.tt2 to
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"))

	if(is_avp_set("$avp(s:caller_clir)/n") &&
avp_check("$avp(s:caller_clir)", "eq/i:1") &&
$var(forward) != 1)

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

More information about the Spce-user mailing list