does not provide codecs to translate on hardy

Bug #220136 reported by Martin Emrich
24
Affects Status Importance Assigned to Milestone
asterisk-chan-capi (Debian)
Fix Released
Unknown
asterisk-chan-capi (Ubuntu)
Fix Released
Undecided
Lionel Porcheron

Bug Description

Binary package hint: asterisk-chan-capi

chan-capi provided in hardy gave me the following error message when trying to call out via ISDN:

channel.c: No path to translate from CAPI/ISDN1#02/01234567890123-0(0) to SIP/martin-08206fe0(4)

So chan-capi did not provide any audio codec ("(0)") to translate to codec 4 for SIP. I rebuilt the package with version 1.1.1, and this works fine now.
I uploaded the updated packages to my PPA:

 deb http://ppa.launchpad.net/emme/ubuntu hardy main

Ciao

Martin

== SRU ==

Install asterisk-chan-capi package, comment the "unload chan_capi.so", make your phone call (with capi), and you will get a message like:
channel.c: No path to translate from CAPI/ISDN1#02/01234567890123-0(0) to SIP/martin-08206fe0(4)
(your phone call does not succeed.)

With the proposed package, phone will ring and you can have your call.

Revision history for this message
Leo Moll (tuxpoldo) wrote :

I can confirm this bug. After some inquiry, I found that the package containing chan_capi is not up to date in respect of the supplied asterisk version. It is possible to fix the problem by rebuilding asterisk-chan-capi (See http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/7ad0e44a2df613ff/05d2725ad1b48657?#05d2725ad1b48657 for details)

To rebuild the package:

tuxpoldo /usr/src # apt-get update
...
tuxpoldo /usr/src # apt-get build-dep asterisk-chan-capi
...
tuxpoldo /usr/src # apt-get source --build asterisk-chan-capi
...
tuxpoldo /usr/src # dpkg -i asterisk-chan-capi_1.0.2-1_amd64.deb

Since apt-get upgrade would overwrite your newly built and installed chan_capi, you have to place the debian package on hold until the bug will be fixed. You can achieve this with:

tuxpoldo /usr/src # wajig hold asterisk-chan-capi

Revision history for this message
Jan Girlich (vollkorn) wrote :

I can confirm this bug. Rebuilding the module as decribed in the previous post works for me, too.

The bug is also know at Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=462410

OT: I rarely report bugs so I don't know how it works. Should I set the status to "confirmed" now?

Leo Moll (tuxpoldo)
Changed in asterisk-chan-capi:
status: New → Confirmed
Revision history for this message
everflux (tklaunchpad) wrote :

This packages indeed breaks asterisk when using with capi!
Installing the intrepid package with dpkg --force-depends fixes the problem, too. :)

Changed in asterisk-chan-capi:
status: Unknown → Fix Released
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

I hit this bug migrating my asterisk server from dapper to hardy this morning. Looking at Debian bug and Leo comments, a simple rebuild is needed. Should be possible to have an SRU (Stable Release Update) on that.
Does on of you still have access to an asterisk on hardy machine to test the SRU?

Here is the proposed changelog (no other change):
asterisk-chan-capi (1.0.2-1build0.1) hardy-proposed; urgency=low

  * Rebuild with asterisk in hardy for asterisk ABI bump (LP: #220136)
    Complete details are at Debian bug #462410.

 -- Lionel Porcheron <email address hidden> Sun, 29 Mar 2009 15:04:06 +0200

Changed in asterisk-chan-capi (Ubuntu):
assignee: nobody → lionel.porcheron
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

I subscribed motu-sru to get their approval for the Stable Release Update.

description: updated
Revision history for this message
Martin Emrich (emme) wrote :

Yes, i still run my home server with hardy, and I still successfully use my 1.1.1 package. Just tell me where to get the proposed SRU package, and I'll give it a try.

Ciao

Martin

Revision history for this message
Leo Moll (tuxpoldo) wrote :

I also run my server with hardy - I will be glad to test the SRU if you tell me how to get it.

Regards
Leo

Revision history for this message
Cody A.W. Somerville (cody-somerville) wrote :

ACK

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

Martin, Leo: could you test the package Martin refers? The wiki page give all the details on how to get the package.
Thanks for your feed-back.

Revision history for this message
Leo Moll (tuxpoldo) wrote :

Hi Lionel!

I can confirm that the fix works as desired. Thank you very much!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package asterisk-chan-capi - 1.0.2-1build0.1

---------------
asterisk-chan-capi (1.0.2-1build0.1) hardy-proposed; urgency=low

  * Rebuild with asterisk in hardy for asterisk ABI bump (LP: #220136)
    Complete details are at Debian bug #462410.

 -- Lionel Porcheron <email address hidden> Sun, 29 Mar 2009 15:04:06 +0200

Changed in asterisk-chan-capi (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.