Subject: | GateSet (GateID) |
Date: | Sun, 13 May 2012 23:39:54 +0200 |
To: | bug-COPS-Client [...] rt.cpan.org |
From: | Ivan Prostran <ivan.prostran [...] gmail.com> |
Hello ,
Referring to PKT-SP-MM-I05-091029 :
6.5.6 Procedures for Modifying a Gate
Show quoted text
>
> To modify the Traffic Profile associated with an existing Gate, an
> Application Manager MAY send a Gate-Set
> message with the GateID of the Gate to be modified and the new Traffic
> Profile.
>
To achieve this, the following patch should be applied.
+++ Client.pm 2012-05-13 23:36:03.353298461 +0200
@@ -1030,6 +1030,11 @@
my $amid_command = $self->encode_sub_amid(1,1);
my $subscriber_command = $self->encode_sub_subscriber_id(
$self->subscriber_type(),$subscriber_ip);
+ my $gate_id;
+ if ( $self->get_gate_id() )
+ {
+ $gate_id = $self->encode_gate_id ();
+ }
my $total_object;
@@ -1059,6 +1064,7 @@
$gate_command.
$amid_command.
$subscriber_command.
+ $gate_id.
$total_object
);
If you have any other suggestion, please let me know.
Regards,
Ivan Prostran