[Spce-user] applying NCOS to all users

Andreas Granig agranig at sipwise.com
Wed Jan 23 13:59:52 EST 2013


Hi,

Please provide the CDRs for this call, fetched like this:

mysql> select * from accounting.cdr where call_id = 
'5cccf9732b0cedac110509986c7a9920 at 55.55.55.165:5060'\G

(note the \G instead of the semi-colon for better readability).

 From what I can see, the 302 is converted to a CFB, but the callee-uuid 
is not carried over to the new caller-uuid. You should still have two 
CDRs with the correct CLIs though, as I can see from the logs that two 
call legs are written.

I'd say (without having reproduced the scenario), a fix would be to 
search for this line in proxy.cfg.tt2:

if(!get_redirects("1:1"))

and add these two lines right before that line:

$(avp(s:caller_uuid)[*]) = $avp(s:callee_uuid);
$(avp(s:callee_uuid)[*]) = $null;

This should do the trick, but let's see first what the content of your 
CDRs actually is.

Andreas

On 01/23/2013 05:30 PM, Joan Cifre (ibred) wrote:
> Hi all,
> here I send a log with a call that comes from outside as anonymous to
> 555555243 and is forwarded to 0018005555111. The ip 55.55.55.165 is our
> providers server and 141.105.55.55 is our ngcp server. This is all the
> lines with same Caller-id but I don't know if after forwarding the
> caller id changes. This call is marked in CDR as an incoming call of 29
> seconds, but no outgoing call.
>
>
> El 2013-01-23 14:49, Daniel Tiefnig escribió:
>> On 01/23/2013 01:24 PM, Joan Cifre (ibred) wrote:
>>> *Not in 2.6 version! I plan to upgrade to 2.7 but not now, and this
>>> is urgent for me!*
>> Oh, I see. You could change your Peering Rules instead, to prevent
>> certain destinations from being reachable at all.
>>
>>> *Our problem is that a fraudulent user configures a forwarding in a
>>> phone (NOT in the NGCP) and then calls from outside to this phone.
>>> The call is fowarded to an international number. Calls come from a
>>> "anonymous" or "unknown" user and are forwarded with a Caller
>>> "anonymous" or "unknown". In CDR only Incoming calls are seen.
>>> Forwarded calls does not have a known Caller so they do not appear
>>> on CDR.
>> The calls should still appear in the CDRs, as they are written with the
>> username and the IDs of the forwarding subscriber. A subscriber needs to
>> authenticate its invites, so we always know where a local call is coming
>> from, and that information is written to the CDRs. Unless you have
>> changed the configuration of course.
>>
>> br,
>> daniel
>>
>> _______________________________________________
>> Spce-user mailing list
>> Spce-user at lists.sipwise.com
>> http://lists.sipwise.com/listinfo/spce-user
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>




More information about the Spce-user mailing list