cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6583
Views
0
Helpful
1
Replies

cisco 8800 series 8851 SIP change language without CUCM

acaciadynamic
Level 1
Level 1

Hi all,

My customer have buyed a cisco phone 8851 SIP.

I haven't account on CUCM, I have use a tftp server to configure it (great thanks to cisco for this beautifull idea : no interface administration on phone's GUI or http server).

So, now I must change the language.. I have downloaded the "po-locale-fr_FR-k3-11.5.1.3000-1.cop.sgn"but how to use it without CUCM ??

 

Thanks a lot,

1 Accepted Solution

Accepted Solutions

acaciadynamic
Level 1
Level 1

I found.

1>decompress the .cop.sgn via the script (http://usecallmanager.nz/includes/stripsgn) 

#!/usr/bin/perl

use strict;
use POSIX qw/EXIT_FAILURE EXIT_SUCCESS/;
use English qw/-no_match_vars/;
use IO::File;

our $GZIP_HEADER = "\x1f\x8b";

eval {
    my $cop_sgn = shift;

    die 'no input file' unless (length $cop_sgn);
    die 'invalid suffix (must be .cop.sgn)' unless ($cop_sgn =~ m/\.cop.sgn$/);

    (my $tar_gz = $cop_sgn) =~ s/\.cop\.sgn$/.tar.gz/;

    die 'open: ' . $OS_ERROR unless (my $input = IO::File->new ($cop_sgn, '<'));
    die 'read: ' . $OS_ERROR unless ($input->read (my $content, 512));

    my $offset = index ($content, $GZIP_HEADER);

    die 'gzip header not found' unless ($offset > -1);
    die 'open: ' . $OS_ERROR unless (my $output = IO::File->new ($tar_gz, '>', 0600));

    $output->print (substr ($content, $offset));

    while ($input->read (my $content, 4096)) {
	$output->print ($content);
    }

    $output->close;
    $input->close;
};

if (length $EVAL_ERROR) {
    $EVAL_ERROR =~ s/ at \S+ line \d+\.//;
    warn $EVAL_ERROR;

    exit EXIT_FAILURE;
}

exit EXIT_SUCCESS;

2> decompress the archive created into a tmp directory 

3>copy from the tmp directory to your tftpd directory the directory usr/local/cm/tftp/<my language>

4>modify your config .cnf.xml section <userLocale> 

example :

<userLocale>
<name>french_france</name>
<uid>1</uid>
<langCode>fr_FR</langCode>
<version>1.0.0.0-1</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>

et voilà!

Thanks Cisco for this simply way to administrate your phone

View solution in original post

1 Reply 1

acaciadynamic
Level 1
Level 1

I found.

1>decompress the .cop.sgn via the script (http://usecallmanager.nz/includes/stripsgn) 

#!/usr/bin/perl

use strict;
use POSIX qw/EXIT_FAILURE EXIT_SUCCESS/;
use English qw/-no_match_vars/;
use IO::File;

our $GZIP_HEADER = "\x1f\x8b";

eval {
    my $cop_sgn = shift;

    die 'no input file' unless (length $cop_sgn);
    die 'invalid suffix (must be .cop.sgn)' unless ($cop_sgn =~ m/\.cop.sgn$/);

    (my $tar_gz = $cop_sgn) =~ s/\.cop\.sgn$/.tar.gz/;

    die 'open: ' . $OS_ERROR unless (my $input = IO::File->new ($cop_sgn, '<'));
    die 'read: ' . $OS_ERROR unless ($input->read (my $content, 512));

    my $offset = index ($content, $GZIP_HEADER);

    die 'gzip header not found' unless ($offset > -1);
    die 'open: ' . $OS_ERROR unless (my $output = IO::File->new ($tar_gz, '>', 0600));

    $output->print (substr ($content, $offset));

    while ($input->read (my $content, 4096)) {
	$output->print ($content);
    }

    $output->close;
    $input->close;
};

if (length $EVAL_ERROR) {
    $EVAL_ERROR =~ s/ at \S+ line \d+\.//;
    warn $EVAL_ERROR;

    exit EXIT_FAILURE;
}

exit EXIT_SUCCESS;

2> decompress the archive created into a tmp directory 

3>copy from the tmp directory to your tftpd directory the directory usr/local/cm/tftp/<my language>

4>modify your config .cnf.xml section <userLocale> 

example :

<userLocale>
<name>french_france</name>
<uid>1</uid>
<langCode>fr_FR</langCode>
<version>1.0.0.0-1</version>
<winCharSet>iso-8859-1</winCharSet>
</userLocale>

et voilà!

Thanks Cisco for this simply way to administrate your phone

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: