[Spce-user] Source CLI billing and redirection with Diversion Header on 4.5.5 with wrong source_cli

Matthias Hohl matthias.hohl at telematica.at
Mon Jan 15 17:03:02 EST 2018


Hello Andrew,

yes this did the trick :)
now the source_cli is the NPN number and source_cli billing should be right now, I couldn't test it with a foreign number but in CDR the source_cli is the NPN so I think billing also should be done right now.

We upgrade to 5.5.2 the Wednesday... how can I fix it there?
	change that line to
		$var(acc_caller_source_cli) = $avp(s:caller_cli_netprov);

Btw: will this hotfix be available in your next update too, or is this just customized change? 

Thanks for your help :) 

-----Ursprüngliche Nachricht-----
Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von Matthias Hohl
Gesendet: Montag, 15. Jänner 2018 15:57
An: 'Andrew Pogrebennyk' <apogrebennyk at sipwise.com>; 'Spce-user' <Spce-user at lists.sipwise.com>
Betreff: Re: [Spce-user] Source CLI billing and redirection with Diversion Header on 4.5.5 with wrong source_cli

Hello,

i will test this tonight evening and keep you up2date with that.
Thanks for the hint.



-----Ursprüngliche Nachricht-----
Von: Andrew Pogrebennyk [mailto:apogrebennyk at sipwise.com] 
Gesendet: Montag, 15. Jänner 2018 13:29
An: Matthias Hohl <matthias.hohl at telematica.at>; 'Spce-user' <Spce-user at lists.sipwise.com>
Betreff: Re: AW: [Spce-user] Source CLI billing and redirection with Diversion Header on 4.5.5 with wrong source_cli

Hi,

On 01/15/2018 01:22 PM, Matthias Hohl wrote:
> Hmm... i checked the /etc/ngcp-config/templates/etc/kamailio/proxy/proxy.cfg.customtt.tt2 file but I can't find your descriped value "acc_caller_source_cli" or any related to that.
> 
> In "ROUTE_ACC_CALLER" there is just this:
> Maybe cause I have just 4.5.5 ?

yes, on mr4.5.5 it is just the 4th field in $avp(i:901) in the same route (line 2173 or so), so you can try replacing
$avp(s:caller_cli_userprov) with $avp(s:caller_cli_netprov)..

Hope this helps,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5532 bytes
Desc: not available
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20180115/e3a58304/attachment-0001.p7s>


More information about the Spce-user mailing list