03-15-2015 03:02 AM - edited 03-21-2019 08:34 AM
Hi,
I've found problem executing new version of SPC complier for linux. Old version (7.5.6) is working fine but when I'm trying to execute I've got an error:
"cannot execute binary file"
Problem is with ALL 7.5.7 spc compilers:
spa50x-30x-sccp-7-5-7-spc-linux-i386 spa50x-30x-sip-7-5-7-spc-linux-i386 spa525g-sccp-7-5-7-spc-linux-i386 spa525g-sip-7-5-7-spc-linux-i386
I've checked and it looks that binary file is broken:
file output from OLD working file:
spa525g-sip-7-5-6-spc-linux-i386: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for GNU/Linux 2.6.24, BuildID[sha1]=0x5b072277982537f4aa99678835caaf975728ce8f, stripped
NEW NOT working:
spa525g-sip-7-5-7-spc-linux-i386: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), corrupted program header size, corrupted section header size
I've chcecked under Debian wheezy and Ubuntu 14.10 distributions.
03-15-2015 03:26 AM
It may not be recognized as answer to your's question, but did you considered to use XML style of configuration file instead of SPC compiled one ?
03-15-2015 03:33 AM
I've made a "whole system" to bulk provisioning based ond SPC compliers and I'm not going to change it (I don't have time now for such project). Great (for me) functionality is "--target" options which give me "a little encrypion" for config files. I know that it's not a perfect sollution for encrypting config files but it's working so far.
03-15-2015 03:52 AM
it's working so far.
The matter of this thread is - it's not working now.
You need to wait for Cisco help as no one else can provide correct SPC compiler to you. This discussion forum is not the best place for your request. Call Cisco Small Business Support Center for help.
So I mentioned the XML style. It can be used in "whole system" you have. All remain same but format of file. XML style configuration provide the same service, including the encryption, but it doesn't create superfluous dependency to Cisco support.
Of course, such advice doesn't help you right now. Now you need just to wait for Cisco turn only.
03-15-2015 04:04 AM
Actually I've had a similiar problem a few years ago (broken spc compiler) and Cisco stuff provided a fixed version.
03-15-2015 05:19 AM
So I wish they will help you even now ...
03-12-2016 06:55 AM
Has anyone got spa50x-30x-sip-7-6-1-spc-linux-i386 working ? The SPC tool (filename above) I downloaded just gives me a 'Segmentation fault (core dumped)' error under 32bit Linux (Ubuntu 14.04.4)
I desperately need blank XML profile files for 7.6.1
03-12-2016 07:20 AM
I grabbed a config via spacfg.xml from the web ui. All good.
03-13-2016 04:48 AM
Actually, not all good ! The spacfg.xml file does not have all the default user access values ie. ua="rw" etc
03-13-2016 11:39 AM
True. Use Report_Rule to obtain current configuration including the ua values.
03-14-2016 12:47 AM
Thats seemed straight forward until I realised I had to find a way to send a 'SIP NOTIFY' message to the phone. No idea how to do that. My test lab is running FreePBX.
03-14-2016 12:55 AM
I'm not familiar with FreePBX features (we are using plain Asterisk). Ask in FreePBX related forum how to send it (if possible at all).
Or create simple C program that will send such packet to phone for you.
03-15-2016 05:27 AM
FreePBX just wraps around Asterisk. Do you know the Asterisk CLI commands to achieve this ?
03-15-2016 05:44 AM
Add following section to sip_notify.conf:
[cisco-get-report]
Event=>report
Restart the server, then use sip notify cisco-get-report [device name]
03-15-2016 05:44 AM
heheheh I was just waiting for the server to reboot after making that exact change when I saw this ;)
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