* You are viewing Posts Tagged ‘module’

swift_port_close

Hi,

i am trying to install the just from git cloned app_swift version.
Compiling works fine. Install as well. But if i try to load the module
at Asterisk it fails with.

Command ‘module load app_swift.so ‘ failed.
[Jun 20 11:29:51] WARNING[24217]: loader.c:460 load_dynamic_module:
Error loading module ‘app_swift.so’:
/usr/lib/asterisk/modules/app_swift.so: undefined symbol: swift_port_close
[Jun 20 11:29:51] WARNING[24217]: loader.c:850 load_resource: Module
‘app_swift.so’ could not be loaded.

My System Informations:

server*CLI> core show version
Asterisk 1.8.13.0 built by root @ server on a x86_64 running Linux on
2012-06-20 08:55:14 UTC

root@server:~# uname -r
3.2.0-25-generic

root@server:~# ldd /usr/lib/asterisk/modules/app_swift.so
linux-vdso.so.1 => (0x00007fff6d3ff000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2010a65000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2011041000)

root@server:~# cat /etc/ld.so.conf.d/swift.conf
/opt/swift/lib

root@server:~#ldconfig -v | grep swift
/opt/swift/lib:

libswift.so.6 -> libswift.so.6.0
libceplex_de.so.6 -> libceplex_de.so.6.0
libceplang_de.so.6 -> libceplang_de.so.6.0

root@server:~# swift -V

Cepstral Swift v6.0.1, March 2012

Default Voice: Matthias-8kHz v6.0.0
Language: German v5.1.0
Lexicon: unknown v0.0.0

Concurrency: 1 Port(s) Registered
0 Port(s) In Use

Distribution: No audio distribution license was found.
Saving audio to a file is disabled.

Copyright (C) 2000-20012, Cepstral LLC.

Do You have any Ideas why that won’t work?

Best Regards Jakob Böttger

default iconsmime.p7s

Missing voicemail prompt beginning

Hello,

I am using the voicemail module of asterisk. When I did some test calls
from my mobile phone, sometimes the beginning of the prompt was missing,
e.g. instead of something like “number 12345 not available” I was only
hearing “345 not available”. Verbose level 5 on the asterisk console didn’t
give me any hint on this, it only shows that playback of the prompt started
correctly in every test case. Any hints on how I can debug this? I think
it’s some problem on my local configuration, I doubt it’s a problem with my
SIP provider or mobile phone provider, they are both very reliable (Sipgate
and T-Mobile).

Thanks for any hint!

Best regards
Stefan

Problems installing DPMA

Hi,

I’m just trying to install the DPMA on my Asterisk. I already made the
upgrade from Asterisk 1.8.5 to Asterisk 1.8.11-cert2. This is what i did:

*mv /usr/lib/asterisk/modules /usr/lib/asterisk/modules-185
*
*compiling Asterisk-Cert2 1.8.11*
*./configure
make
make install
make config
*
Afther that i register the DPMA license, and finally copied the *
res_digium_phone.so* to */usr/lib/asterisk/modules *

When i try to load the module on asterisk console this is what i get>

**CLI> module load res_digium_phone.so
Unable to load module res_digium_phone.so
Command ‘module load res_digium_phone.so’ failed. *

With *tail -f /var/log/asterisk/message *

*[Jun 11 18:53:26] WARNING[2554] loader.c: Error loading module
‘res_digium_phone.so’: libavahi-client.so.3: cannot open shared object
file: No such file or directory
[Jun 11 18:53:26] WARNING[2554] loader.c: Module ‘res_digium_phone.so’
could not be loaded. *

Hope you can help

Hylafax + OpenVz + Iptables

Hello,

I know this a little bit off topic but maybe someone of you has experience
with this topic.

I want to run a hylafax install in an openvz container with iptables.
My Problem is that I can load the kernel module for ftp connection tracking
(nf_conntrack_ftp) in the containers config file but no idea how to set the
parameter to track the right ports.

My vz config looks like:

IPTABLES=”ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit
ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl
ipt_length ipt_state iptable_nat ip_nat_ftp ip_conntrack_ftp ipt_conntrack
ip_tables ”

On the host machine the module nf_conntrack_ftp ports is loaded with the
parameter ports=21,4559.

With best regards

David Oppermann
Voip Engineer // voip@sil.at // Tel 059944-2440 //

Fax over IP?

Hi Tim,

Thanks for your response. Here is my topology as listing down below;

PSTN Line –> Cisco Voice GW –> IP Cloud –> Asterisk

Will Asterisk able to receive the fax (as in topology above) using its’ fax
module? In sip.conf I enabled fax detection and T.38. Actually I don’t
want
to use Hylafax + iaxmodem as per requirement.

Please advice.

> Date: Fri, 1 Jun 2012 10:19:12 -0400
> From: Ahmed Munir
> Subject: [asterisk-users] Fax over IP ?
> To: asterisk-users@lists.digium.com
> Message-ID:
> > >
> Content-Type: text/plain; charset=”iso-8859-1″
>
> Hi all,
>
> Couple of things I would like ask, does Asterisk provides free license for
> FoIP (for 1 channel) or need to purchase it? Couple of years back, I was
> able to send and receive the fax using Digium T1 card, in term of FoIP how
> can I able to receive fax from traditional telephone lines / T1 lines? As
> far my understanding, the functionality for FoIP is to send fax to email or
> receive fax from email i.e. using T.38 protocol.
>
> The thing I would like to know how I can implement this solution i.e.
> receiving fax via IP? Correct me if I’m wrong, while receiving fax from
> traditional telephone lines will the topology looks like as listed below;
>
> PSTN Lines –> Asterisk (mounted a T1/ analog card) –> IP –> Asterisk
> (receive Fax over IP)
>
> or else?
>
> Please advice.
>
>
> –
> Regards,
>
> Ahmed Munir Chohan
> ————– next part ————–
> An HTML attachment was scrubbed…
> URL: <
> http://lists.digium.com/pipermail/asterisk-users/attachments/20120601/3c861c56/attachment-0001.htm
> >
>
> ——————————
>
> Message: 15
> Date: Fri, 1 Jun 2012 09:29:19 -0500 (CDT)
> From: Tim Nelson
> Subject: Re: [asterisk-users] Fax over IP ?
> To: Asterisk Users Mailing List – Non-Commercial Discussion
>
> Message-ID: <2939915.57880.1338560959074.JavaMail.root@rockbochs.com>
> Content-Type: text/plain; charset=utf-8
>
> —– Original Message —–
> > Hi all,
> > Couple of things I would like ask, does Asterisk provides free
> > license for FoIP (for 1 channel) or need to purchase it? Couple of
> > years back, I was able to send and receive the fax using Digium T1
> > card, in term of FoIP how can I able to receive fax from traditional
> > telephone lines / T1 lines? As far my understanding, the
> > functionality for FoIP is to send fax to email or receive fax from
> > email i.e. using T.38 protocol.
> > The thing I would like to know how I can implement this solution i.e.
> > receiving fax via IP? Correct me if I’m wrong, while receiving fax
> > from traditional telephone lines will the topology looks like as
> > listed below;
> > PSTN Lines –> Asterisk (mounted a T1/ analog card) –> IP –>
> > Asterisk (receive Fax over IP)
> > or else?
>
> FoIP typically means the fax session traverses an IP link at some point,
> most commonly at the ‘last mile’. What happens to the fax after that is up
> to your requirements. The faxes can be emailed out, stored in a web
> application, printed to a printer, etc. The possibilities are endless.
>
> Asterisk does have a few options for faxing. Those are most notably:
>
> 1. Fax for Asterisk – Free license available for 1 channel, or paid
> licenses for 2+ channels
> 2. app_fax (I think this is the current module name) – Free fax module for
> Asterisk, no channel limit, based on SpanDSP
> 3. Hylafax+ and IAXmodem – Most complicated method of fax setup, but most
> robust and reliable (in my testing). Would require use of Asterisk 10 with
> T.38 gateway functionality for proper fax reception.
>
> Just keep in mind raw fax audio over VoIP is a bad idea, see here:
> http://www.soft-switch.org/foip.html
>
> If you can provide some additional details on what you’re planning to do,
> we can give more info.
>
> –Tim
>
>
>
> ——————————
>
> Message: 16
> Date: Fri, 1 Jun 2012 09:36:50 -0500 (CDT)
> From: Tim Nelson
> Subject: Re: [asterisk-users] Fax Server for Asterisk
> To: Asterisk Users Mailing List – Non-Commercial Discussion
>
> Message-ID: <13867195.58161.1338561410617.JavaMail.root@rockbochs.com>
> Content-Type: text/plain; charset=utf-8
>
> —– Original Message —–
> > Hi Tim,
> > Unfortunately i can’t reproduce the scenario because it was a long
> > time ago. But it would be nice to hear from you, what things can be
> > verified within fax and Asterisk? Any TIP on wireshark monitoring?
>
> Within Asterisk, the debug logs can be helpful for routing/connectivity
> diagnostics. With Hylafax, all of your details will be found in the session
> logs in /var/spool/hylafax/log. Here you can see each session’s interaction
> with the remote fax device. It is an art deciphering the various protocols,
> but the folks on the Hylafax lists are incredibly helpful until you’ve
> learned the magic of understanding the logs directly. :)
>
> –Tim
>

g729 freezes 1.8

Hi folks,

I was recently installing g729 support as usual (register, cp codec_g729 to
modules) and found out that the resulting asterisk instances freezes
whenever g729 commands are executed in the command line.

The registration process went OK and I can see the module being loaded by
asterisk:

[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: G.729A transcoding module
version 1.8.0_3.1.5, Copyright (C) 1999-2009 Digium, Inc.
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: This module is supplied
under a commercial license granted by Digium, Inc.
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: Please see the full license
text supplied by the accompanying
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: “register” utility, or ask
for a copy from Digium.
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: This product includes
software developed by the OpenSSL Project
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: for use in the OpenSSL
Toolkit. (http://www.openssl.org/)
[Apr 18 09:54:29] NOTICE[23775] codec_g729a.c: Copyright (C) 1998-2006 The
OpenSSL Project

[Apr 18 09:54:29] VERBOSE[23775] manager.c: == Manager registered action
G729LicenseStatus
[Apr 18 09:54:29] VERBOSE[23775] manager.c: == Manager registered action
G729LicenseList
[Apr 18 09:54:29] VERBOSE[23775] codec_g729a.c: == Host-ID:
7e:f8:73:46:bf:58:23:8f:82:10:6d:e5:59:6f:90:04:a8:30:74:fe
[Apr 18 09:54:29] VERBOSE[23775] codec_g729a.c: == Found license
‘G729-ZNSEND59XW4H’ providing 25 channels
[Apr 18 09:54:29] VERBOSE[23775] codec_g729a.c: == Found total of 25
G.729 licenses

After I can, sometimes, execute g729 CLI commands:
*CLI> g729 show hostid
Host-ID: 7e:f8:73:46:bf:58:23:8f:82:10:6d:e5:59:6f:90:04:a8:30:74:fe

But no g729 seems to be loaded:
*CLI> 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 siren7 siren14 slin16 g719 speex16 testlaw
g723 – – – – – – – – -
- – – – – – – – – -
gsm – – 2 2 – 2 1 2 – -
4001 – 2 – – 4003 – – 2
ulaw – 2 – 2 – 2 1 2 – -
4001 – 2 – – 4003 – – 2
alaw – 2 2 – – 2 1 2 – -
4001 – 2 – – 4003 – – 2
g726aal2 – – – – – – – – -
- – – – – – – – – -
adpcm – 2 2 2 – – 1 2 – -
4001 – 2 – – 4003 – – 2
slin – 1 1 1 – 1 – 1 – -
4000 – 1 – – 4002 – – 1
lpc10 – 2 2 2 – 2 1 – – -
4001 – 2 – – 4003 – – 2
g729 – – – – – – – – -
- – – – – – – – – -
speex – – – – – – – – -
- – – – – – – – – -
ilbc – 2 2 2 – 2 1 2 -
- – – 2 – – 4003 – – 2
g726 – – – – – – – – -
- – – – – – – – – -
g722 – 2 2 2 – 2 1 2 – -
4001 – – – – 4001 – – 2
siren7 – – – – – – – – -
- – – – – – – – – -
siren14 – – – – – – – – -
- – – – – – – – – -
slin16 – 3 3 3 – 3 2 3 – -
4002 – 1 – – – – – 3
g719 – – – – – – – – -
- – – – – – – – – -
speex16 – – – – – – – – -
- – – – – – – – – -
testlaw – 2 2 2 – 2 1 2 – -
4001 – 2 – – 4003 – – -

Whenever I try to execute g729 show licencese, the CLI freezes and, in a
few, asterisk itself freeezes:
*CLI> g729 show licenses
*CLI> core show translation
*CLI> core show translation

I’ve tried both 1.8.8.1 and 1.8.11.0 asterisk versions, and generic and
barcelona g729 binaries from
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-1.8.0/x86-64/

Whenever I delete the codec_g729a.so module everything runs smoothly.

Is there any issue or incompatibility between 1.8 and g729?

Thank you very much in advance,
Samuel.