Guest

Preview Tool

Cisco Bug: CSCuj20217 - Number dropdown not including DDI's assigned to EM Profile on Registe

Last Modified

May 20, 2015

Products (1)

  • Cisco Hosted Collaboration Solution (HCS)

Known Affected Releases

8.1(1)ER6

Description (partial)

Symptom:
Details:
BT reported a change in the behaviour around the availability of DDI's already
assigned to a Mobility Profile

Old behaviour:
Assign a mobility profile to a user
Go to voice gateway and try to assign the user extension, this would show up
as a shared number, and would be available for allocation on the VG

New behaviour:
Assign a mobility profile to a user
Go to voice gateway and the user's extension doesn't show up in the VG line
config drop down box. The only extensions that show up there, aren't
assigned to mobility profiles.

I could see in the file iptanaloguelinemgt/analog_line_reg_form2.cgi we make
the following call to perllib/bvsm.pm:

bvsm::show_individual_line_options($dbh,
                                       1,
                                       $requested_incoming_lines,
                                       $int_discriminator,
                                       $nearlyisocountrycode,
                                       undef, # agentline
                                       undef, # clonedline_feature
                                       undef, # location_id
                                       $hide_cos,
                                       undef, # select_cos
                                       undef, # current_numbers
                                       undef, # buildingname
                                       undef, # actual_line_total
                                       undef, # line_count
                                       undef, # first_line_num
                                       undef, # do_button_mask
                                       undef, # button_number
                                       undef, # button_hash
                                       undef, # numbers_in_use
                                       undef, # numbers_in_use_keys
                                       undef, # printed_line_count
                                       undef, # boundries
                                       \@exclude_coss,
                                       'F');


In bvsm.pm (sub show_individual_line_options) we initialize
include_shared_lines to 'T'

    my $include_shared_lines = 'T';
    $include_shared_lines = $_[$ix] if defined $_[$ix];

The value is then replaced with whatever value is defined in the parameter of
the calling code, in this case 'F'

Later in the bvsm.pm code we see that shared DDI's are only shown when the
following condition is met:

        if ($include_shared_lines eq 'T') {
            ($shared_ddi_lineset,$totallinecount,$fint_numbers,$selected_fint)
=
            get_shared_ddi_lines($dbh,$location_id,$nearlyisocountrycode,      
                          $totallinecount,$fint_numbers,\@numbers_selected,    
                            $line,$current_numbers,$form_line,$selected_fint);

In this case it will never display these since the passed parameter for
include_shared_lines is set to 'F'


Steps to Reproduce:
1.User > add mobility profile > assign a number > add
2.Location Administration > Analogue Line Mgt
3.Select gateway
4.Click register
5.Fill in details > Next
6.On this page you will see the number dropdown does not include the DDI you
assigned to the mobility profile

Conditions:
Details:
BT reported a change in the behaviour around the availability of DDI's already
assigned to a Mobility Profile

Old behaviour:
Assign a mobility profile to a user
Go to voice gateway and try to assign the user extension, this would show up
as a shared number, and would be available for allocation on the VG

New behaviour:
Assign a mobility profile to a user
Go to voice gateway and the user's extension doesn't show up in the VG line
config drop down box. The only extensions that show up there, aren't
assigned to mobility profiles.

I could see in the file iptanaloguelinemgt/analog_line_reg_form2.cgi we make
the following call to perllib/bvsm.pm:

bvsm::show_individual_line_options($dbh,
                                       1,
                                       $requested_incoming_lines,
                                       $int_discriminator,
                                       $nearlyisocountrycode,
                                       undef, # agentline
                                       undef, # clonedline_feature
                                       undef, # location_id
                                       $hide_cos,
                                       undef, # select_cos
                                       undef, # current_numbers
                                       undef, # buildingname
                                       undef, # actual_line_total
                                       undef, # line_count
                                       undef, # first_line_num
                                       undef, # do_button_mask
                                       undef, # button_number
                                       undef, # button_hash
                                       undef, # numbers_in_use
                                       undef, # numbers_in_use_keys
                                       undef, # printed_line_count
                                       undef, # boundries
                                       \@exclude_coss,
                                       'F');


In bvsm.pm (sub show_individual_line_options) we initialize
include_shared_lines to 'T'

    my $include_shared_lines = 'T';
    $include_shared_lines = $_[$ix] if defined $_[$ix];

The value is then replaced with whatever value is defined in the parameter of
the calling code, in this case 'F'

Later in the bvsm.pm code we see that shared DDI's are only shown when the
following condition is met:

        if ($include_shared_lines eq 'T') {
            ($shared_ddi_lineset,$totallinecount,$fint_numbers,$selected_fint)
=
            get_shared_ddi_lines($dbh,$location_id,$nearlyisocountrycode,      
                          $totallinecount,$fint_numbers,\@numbers_selected,    
                            $line,$current_numbers,$form_line,$selected_fint);

In this case it will never display these since the passed parameter for
include_shared_lines is set to 'F'


Steps to Reproduce:
1.User > add mobility profile > assign a number > add
2.Location Administration > Analogue Line Mgt
3.Select gateway
4.Click register
5.Fill in details > Next
6.On this page you will see the number dropdown does not include the DDI you
assigned to the mobility profile
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.