News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

asterisk chan_sccp not load

Started by cfernandes, October 21, 2015, 01:08:49 PM

Previous topic - Next topic

cfernandes

after  last update    asterisk chan_sccp  not load  all my phones  not workling

WARNING[10412]: loader.c:486 load_dynamic_module: Error loading module 'chan_sccp.so': /usr/lib/asterisk/modules/chan_sccp.so: undefined symbol: sched_context_destroy
[Oct 21 09:04:36] WARNING[10412]: loader.c:902 load_resource: Module 'chan_sccp.so' could not be loaded.


apt-get dist-upgrade  install asterisk-11 

i downgrade to asterisk 1.8  and  now  is working


phenigma

#1
I've updated svn with the latest sccp channel driver, it'll hit the 1204 repository after the next update.  Follow: http://wiki.linuxmce.org/index.php/LinuxMCE-1204_pre-alpha to keep up with what's happening.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

phenigma

This was caused by my not upgrading the asterisk -dev pkgs on the builder before chan_sccp was pkg'd.  I believe it is resolved now, let us know if this is still an issue.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

cfernandes

is  working  now

thank you   

Marie.O

cfernandes,

is that with the latest package or with the manually installed package I gave to you?
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

cfernandes

Posde,

is a manually installed 

apt-get install --reinstall chan-sccp-b   

can`t  download  package


Marie.O

Please paste apt-cache policy chan-sccp-b
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

cfernandes

Posde,

chan-sccp-b:
   Installed: 4.2.0-4
   Candidate: 4.2.0-4
version table:
*** 4.2.0-4 0
         100 /var/lib/dpkg/status
4.2.0-4-precise1 0
       500 file:/usr/pluto/deb-cache/Ubuntu-precise-i386/ . / Packages
       500 http://deb.linuxmce.org/ubuntu/ precise/main i386 packages


apt-get install --reinstall chan-sccp-b 
Reading package lists ... Done
Reading state information... Done
Reinstallation of  chan-sccp-b is not possible, it cannot be downloaded.

Marie.O

please remove it, and reinstall it

dpkg -r chan-sccp-b
apt-get install chan-sccp-b


should do the trick. There is a slight difference in version numbering which probably causes the issue of apt-get install --reinstall not working.

Feedback is appreciated.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

cfernandes

posde,

I try this, but lmce-asterisk depends chan-sccp-b




Marie.O

If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

cfernandes

posde,


after force  remove chan-sccp-b

apt-get update
apt-get install chan-sccp-b

The following NEW packages will be installed:
  chan-sccp-b
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 0 B/377 kB of archives.
After this operation, 10.2 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  chan-sccp-b
Authentication warning overridden.
Err file:/usr/pluto/deb-cache/ubuntu-precise-i386/ ./ chan-sccp-b 4.2.0-4~precise1
  File not found
Get:1 http://deb.linuxmce.org/ubuntu/ precise/main chan-sccp-b i386 4.2.0-4~precise1 [377 kB]
Fetched 1 B in 0s (2 B/s)
Failed to fetch http://deb.linuxmce.org/ubuntu/dists/precise/main/binary-i386/chan-sccp-b_4.2.0-4~precise1_i386.deb  Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
dcerouter_1041767:~#

phenigma

That's some weird shit right there.  Yup.


rm /usr/pluto/deb-cache/ubuntu-precise-i386/chan-sccp*
/usr/pluto/bin/UpdateDebCache.sh

then you *should* be able to


apt-get update
apt-get install chan-sccp-b

again.  Drop into IRC at somepoint for faster troubleshooting here.  The issue has arisen due to how we version our packages, our current version is actually considered older than the pkg you had installed (it's not, but it's how we have to version our pkgs to have multiple distributions use the same pkg version and use debian package maintenance utilities like reprepro for repository creation.)

If posde create the package he sent you from the same source then I don't expect any differences at all.  But it would be best for you to have the same version we are using, since you help us out with asterisk so much.  I thank you for that btw!  :)

Jason
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

pointman87

If you delete /usr/lib/asterisk/modules/chan_sccp.so and then apt-get install --reinstall chan-sccp-b it works
BR Daniel

[url="http://wiki.linuxmce.org/index.php/User:Pointman87"]http://wiki.linuxmce.org/index.php/User:Pointman87[/url]