09-05-2017 05:55 AM - edited 03-17-2019 11:07 AM
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,
Solved! Go to Solution.
09-05-2017 07:46 AM
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
09-05-2017 07:46 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide