[asterisk-users] missing chan_dahdi.o in debian asterisk 1.4.x

2009-06-16 Thread Alex Samad
Hi 

it seems like chan_dahdi.so is missing in debian asterisk 1.4.21

so I have upgraded to 1.6 and no I can load chan_dahdi.so

Command 'module load chan_dahdi.so' failed.
[Jun 16 21:22:30] WARNING[4360]: loader.c:417 load_dynamic_module: Error
loading module 'chan_dahdi.so': /usr/lib/asterisk/modules/chan_dahdi.so:
undefined symbol: ast_smdi_interface_unref
[Jun 16 21:22:30] WARNING[4360]: loader.c:653 load_resource: Module
'chan_dahdi.so' could not be loaded.


for a simple change over, its turning out to be not so simple


-- 
A dictatorship would be a heck of a lot easier, there's no question about it.

- George W. Bush
07/27/2001


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] missing chan_dahdi.o in debian asterisk 1.4.x

2009-06-16 Thread Kevin P. Fleming
Alex Samad wrote:

 it seems like chan_dahdi.so is missing in debian asterisk 1.4.21
 
 so I have upgraded to 1.6 and no I can load chan_dahdi.so
 
 Command 'module load chan_dahdi.so' failed.
 [Jun 16 21:22:30] WARNING[4360]: loader.c:417 load_dynamic_module: Error
 loading module 'chan_dahdi.so': /usr/lib/asterisk/modules/chan_dahdi.so:
 undefined symbol: ast_smdi_interface_unref

Moving from Asterisk 1.4 to 1.6 is not a 'simple changeover' :-) It's a
major upgrade.

In spite of that, for the time being chan_dahdi in Asterisk 1.6 requires
that res_smdi be loaded first. If you are manually loading modules
(instead of using 'autoload=yes' in /etc/asterisk/modules.conf'), you
need to ensure that you load res_smdi before chan_dahdi. There are other
modules that have dependencies like this as well, you can see what they
are by running 'make menuselect' and looking at the dependency list for
each module you want to load.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] missing chan_dahdi.o in debian asterisk 1.4.x

2009-06-16 Thread Alex Samad
On Tue, Jun 16, 2009 at 07:03:06AM -0500, Kevin P. Fleming wrote:
 Alex Samad wrote:
 
  it seems like chan_dahdi.so is missing in debian asterisk 1.4.21
  
  so I have upgraded to 1.6 and no I can load chan_dahdi.so
  
  Command 'module load chan_dahdi.so' failed.
  [Jun 16 21:22:30] WARNING[4360]: loader.c:417 load_dynamic_module: Error
  loading module 'chan_dahdi.so': /usr/lib/asterisk/modules/chan_dahdi.so:
  undefined symbol: ast_smdi_interface_unref
 
 Moving from Asterisk 1.4 to 1.6 is not a 'simple changeover' :-) It's a
 major upgrade.
 
 In spite of that, for the time being chan_dahdi in Asterisk 1.6 requires
 that res_smdi be loaded first. If you are manually loading modules
 (instead of using 'autoload=yes' in /etc/asterisk/modules.conf'), you
 need to ensure that you load res_smdi before chan_dahdi. There are other
 modules that have dependencies like this as well, you can see what they
 are by running 'make menuselect' and looking at the dependency list for
 each module you want to load.

ta, well I have banged my head against the wall for a bit and all seems
to be working. for some reason i had no_load res_smdi which caused the
problem.

some question I have now is when i do a dahdi show channel 1 i get these
interesting results

Echo Cancellation:
128 taps
currently OFF
I have a hardware echo can and I have asked for it to be turned on !

Default law: ulaw

I have a alaw:1-4 in the conf file, but it doesn't seem to take 

my last bug bear (maybe bug) is

 core show translation 
 Translation times between formats (in microseconds) for one
second of data
  Source Format (Rows) Destination Format (Columns)

g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10   g729 speex  
ilbc  g726  g722 slin16
 g723  - 56003 12001 1200128001 12001 12000 48002 164010 300018 
- 28001 20001  40002
  gsm 312020 - 16002 1600232002 16002 16001 52003 168011 304019 
- 32002 24002  44003
 ulaw 296020 44004 - 116002 2 1 36003 152011 288019 
- 16002  8002  28003
 alaw 296020 44004 1 -16002 2 1 36003 152011 288019 
- 16002  8002  28003
 g726aal2 312020 60004 16002 16002- 16002 16001 52003 168011 304019 
- 1 24002  44003
adpcm 296020 44004 2 216002 - 1 36003 152011 288019 
- 16002  8002  28003
 slin 296019 44003 1 116001 1 - 36002 152010 288018 
- 16001  8001  28002
lpc10 320022 68006 24004 2400440004 24004 24003 - 176013 312021 
- 40004 32004  52005
 g729 336021 84005 40003 4000356003 40003 40002 76004  - 328020 
- 56003 48003  68004
speex 336022 84006 40004 4000456004 40004 40003 76005 192013 - - 
56004 48004  68005
 ilbc  - - - -- - - -  - - -
 - -  -
 g726 312020 60004 16002 160021 16002 16001 52003 168011 304019 
- - 24002  44003
 g722 312020 60004 16002 1600232002 16002 16001 52003 168011 304019 
- 32002 -  20001
   slin16 332021 80005 36003 3600352003 36003 36002 72004 188012 324020 
- 52003 20001  -

the numbers seem to be way off, it seems to be able to do g729 - ulaw,
my vsp only sends g729. but compared to 1.4 the numbers came back as
single or maybe 2 digit - the g729 was 3 digits - I am on a soekris
board, a amd geode machine.

Something is I think going askew

Thanks

Alex

 

-- 
I am a person who recognizes the fallacy of humans.

- George W. Bush
09/19/2000
Oprah
from Bush courts women in cozy 'Oprah' visit by William Goldshclag printed in 
the New York City edition of the Daily News, Sept. 20, 2000, page 5


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] missing chan_dahdi.o in debian asterisk 1.4.x

2009-06-16 Thread Kevin P. Fleming
Alex Samad wrote:

 some question I have now is when i do a dahdi show channel 1 i get these
 interesting results
 
 Echo Cancellation:
   128 taps
   currently OFF
 I have a hardware echo can and I have asked for it to be turned on !

This is nothing new; the echo canceller on a channel is not enabled
unless the channel is in an active call and the call hasn't caused it to
be disabled (via tones). If you are looking at a channel that is
inactive, this is exactly what you will see.

 Default law: ulaw
 
 I have a alaw:1-4 in the conf file, but it doesn't seem to take 

That is not valid syntax for /etc/dahdi/system.conf, correct syntax
would be 'alaw=1-4'.

 my last bug bear (maybe bug) is
 
  core show translation 
  Translation times between formats (in microseconds) for one
 second of data
   Source Format (Rows) Destination Format (Columns)

Note the phrase (in microseconds) here. This behavior has changed from
Asterisk 1.4, and is documented in the documentation that came with
Asterisk 1.6. If you haven't read the CHANGES and UPGRADE files
thoroughly, you are spending time trying to understand things (assuming
they are problems) that you don't need to spend.

 Something is I think going askew

It sounds like you are trying to do a major upgrade without actually
taking the time to learn what has changed and what that will require you
to do. That's really very important, which is why we spend time writing
that documentation in the first place :-)

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpflem...@digium.com
Check us out at www.digium.com  www.asterisk.org

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] missing chan_dahdi.o in debian asterisk 1.4.x

2009-06-16 Thread Alex Samad
On Tue, Jun 16, 2009 at 08:06:57AM -0500, Kevin P. Fleming wrote:
 Alex Samad wrote:
 
  some question I have now is when i do a dahdi show channel 1 i get these
  interesting results
  
  Echo Cancellation:
  128 taps
  currently OFF
  I have a hardware echo can and I have asked for it to be turned on !

that makes sense, I think the confusion here is that the documentation
has lots of stuff on the software ec, but not much on the hardware ones

for example to use the hardware echo can do I leave echocanceller blank
in /etc/dahdi/system.conf ?

Why doesn't dahd_cfg -vv show up the hardware ec


 
 This is nothing new; the echo canceller on a channel is not enabled
 unless the channel is in an active call and the call hasn't caused it to
 be disabled (via tones). If you are looking at a channel that is
 inactive, this is exactly what you will see.
 
  Default law: ulaw
  
  I have a alaw:1-4 in the conf file, but it doesn't seem to take 
 
 That is not valid syntax for /etc/dahdi/system.conf, correct syntax
 would be 'alaw=1-4'.

typo in the email, I actually had alaw=1-4

 
  my last bug bear (maybe bug) is
  
   core show translation 
   Translation times between formats (in microseconds) for one
  second of data
Source Format (Rows) Destination Format (Columns)
 
 Note the phrase (in microseconds) here. This behavior has changed from
 Asterisk 1.4, and is documented in the documentation that came with
 Asterisk 1.6. If you haven't read the CHANGES and UPGRADE files
 thoroughly, you are spending time trying to understand things (assuming
 they are problems) that you don't need to spend.

very true

 
  Something is I think going askew
 
 It sounds like you are trying to do a major upgrade without actually
 taking the time to learn what has changed and what that will require you
 to do. That's really very important, which is why we spend time writing
 that documentation in the first place :-)

yes that is true, but its a home system, I will do work after falling
over the pitfalls at home.


 

-- 
Just when you think Life's a Bitch, it has puppies.


signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] missing chan_dahdi.o in debian asterisk 1.4.x

2009-06-16 Thread Alex Samad
On Wed, Jun 17, 2009 at 07:16:53AM +1000, Alex Samad wrote:
 On Tue, Jun 16, 2009 at 08:06:57AM -0500, Kevin P. Fleming wrote:
  Alex Samad wrote:

[snip]

   Default law: ulaw
   
   I have a alaw:1-4 in the conf file, but it doesn't seem to take 
  
  That is not valid syntax for /etc/dahdi/system.conf, correct syntax
  would be 'alaw=1-4'.
 
 typo in the email, I actually had alaw=1-4
just to follow up I have the above set

placed a call to voicemail and did a dahdi show channel 1

the relevant bits 
Default law: ulaw
Echo Cancellation:
256 taps
currently ON


 

Alex






signature.asc
Description: Digital signature
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users