Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-04-01 Thread Heikki Vatiainen
On 04/01/2014 09:52 PM, Arthur wrote: > File diameter_attrs.dat has for those AVP's: Thanks. If you can pass me diamter_attrs.dat and the tcpdump file, I can check what happens. If this is a bug, we'd be very interested to fix it. > Any ideas? May be you need a complete tcpdump for analysing? Y

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-04-01 Thread Arthur
1.04.2014 17:33, Heikki Vatiainen kirjutas: > On 04/01/2014 02:12 PM, Arthur wrote: > >> One mystery (or bug?) needs explaining, though. >> I have the following Diameter request part: > Can't really say why you need to use get_attrs. What does your > dictionary have for MMT-Information and > Callin

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-04-01 Thread Heikki Vatiainen
On 04/01/2014 02:12 PM, Arthur wrote: > One mystery (or bug?) needs explaining, though. > I have the following Diameter request part: Can't really say why you need to use get_attrs. What does your dictionary have for MMT-Information and Calling-Party-Address-Presentation-Status? Thanks, Heikki

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-04-01 Thread Arthur
31.03.2014 16:16, Heikki Vatiainen kirjutas: > On 03/31/2014 10:30 AM, Arthur wrote: > >>SDP-Session-Description: VM., v=0 >>SDP-Session-Description: VM., o=- 640284584 403958478 IN IP4 >> 94.50.86.245 >>SDP-Session-Description: VM., s=- >>SDP-Session-Description: VM

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-31 Thread Heikki Vatiainen
On 03/31/2014 10:30 AM, Arthur wrote: > SDP-Session-Description: VM., v=0 > SDP-Session-Description: VM., o=- 640284584 403958478 IN IP4 > 94.50.86.245 > SDP-Session-Description: VM., s=- > SDP-Session-Description: VM., c=IN IP4 94.50.120.5 > SDP-Session-Description:

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-31 Thread Arthur
30.03.2014 22:27, Heikki Vatiainen kirjutas: > On 03/30/2014 11:47 AM, Arthur wrote: > >> It seems that some tuning needed. I've the following hook code: >> sub >> { >> my $d=${$_[0]}; >> my $r=${$_[1]}; >> my $si = $d->get(873, 10415); >> my $sub_id = $si->get(443, 0); >> It pr

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-30 Thread Heikki Vatiainen
On 03/30/2014 11:47 AM, Arthur wrote: > It seems that some tuning needed. I've the following hook code: > sub > { > my $d=${$_[0]}; > my $r=${$_[1]}; > my $si = $d->get(873, 10415); > my $sub_id = $si->get(443, 0); > It produced an error: > ERR: Error in PostDiaToRadiusConversionH

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-30 Thread Arthur
> On 03/28/2014 11:50 AM, Arthur wrote: > >> dia_to_radius_hook.pl: >> sub >> { >> my $d=${$_[0]}; >> my $p=${$_[1]}; >> >> my $subscription = $p->get_attr('Subscription-Id-Data'); >> $subscription =~ s/^sip://g; >> $p->add_attr('User-Name', $subscription); >> &main::

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-28 Thread Heikki Vatiainen
On 03/28/2014 11:50 AM, Arthur wrote: > dia_to_radius_hook.pl: > sub > { > my $d=${$_[0]}; > my $p=${$_[1]}; > > my $subscription = $p->get_attr('Subscription-Id-Data'); > $subscription =~ s/^sip://g; > $p->add_attr('User-Name', $subscription); > &main::log($main::LOG_DEBU

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-28 Thread Arthur
Heikki, thanks for the tip. I've written the following. Config file part: OriginHost mm2.ims..xx OriginRealm ims..xx Port 3870 SupportedVendorIds DictVendors PostDiaToRadiusConversionHook file:"%D/dia_to_radius_hook.pl" dia_to_radius_ho

Re: [RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-27 Thread Heikki Vatiainen
On 03/27/2014 04:57 PM, Arthur wrote: > In my incoming Diameter Accounting message I have the following part: ... > 3GPP-Service-Information: VM., > Subscription-Id: .M., >Subscription-Id-Type: .M., END_USER_SIP_URI >Subscription-Id-Data: .M., sip:30...@

[RADIATOR] Some information lost during Diameter to Radius conversion

2014-03-27 Thread Arthur
In my incoming Diameter Accounting message I have the following part: Code: 271 (Accounting) Version:1 Flags: 0xc0 (RP) Application ID: 3 (Base Accounting) Hop-to-Hop ID: 1074033966 End-to-End ID: 1074033966 Attributes: Session-Id: .M., testmt