[asterisk-r2] asterisk-r2 Digest, Vol 18, Issue 3
Evandro Arruda
evandro at ezvoice.com.br
Tue Feb 16 19:43:14 CST 2010
David,
Please, let me know about your openr2 version and what is the version of your openr2-asterisk patch.
If you have how can give to me remote access using ssh, please, my email is evandro at ezvoice.com.br
Bye bye,
Evandro
On Feb 16, 2010, at 4:00 PM, asterisk-r2-request at lists.digium.com wrote:
> Send asterisk-r2 mailing list submissions to
> asterisk-r2 at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.digium.com/mailman/listinfo/asterisk-r2
> or, via email, send a message with subject or body 'help' to
> asterisk-r2-request at lists.digium.com
>
> You can reach the person managing the list at
> asterisk-r2-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-r2 digest..."
>
>
> Today's Topics:
>
> 1. Re: asterisk-r2 Digest, Vol 18, Issue 1 (David Matias Hernandez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Feb 2010 12:09:28 +0100
> From: David Matias Hernandez <dmatias at optenet.com>
> Subject: Re: [asterisk-r2] asterisk-r2 Digest, Vol 18, Issue 1
> To: asterisk-r2 at lists.digium.com
> Message-ID: <4B7A7CE8.6050302 at optenet.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Evandro,
> Thank you very much for your support.
>
> I've tried what you told me, but it doesn't work. It looks like ldconfig
> was correctly configured:
>
> pbx:/usr/src/asterisk/asterisk-1.6.0.22# ldconfig -p | grep openr2
> libopenr2.so.1 (libc6) => /usr/lib/libopenr2.so.1
> libopenr2.so (libc6) => /usr/lib/libopenr2.so
>
> Also, Asterisk shows that OpenR2.h is going to be used at configuration
> time:
>
> checking for libpri.h... (cached)
> yes
> checking for resample_open in -lresample...
> no
> checking for minimum version of SpanDSP...
> no
> checking for ss7_pollflags in -lss7...
> no
> checking for openr2_chan_new in -lopenr2...
> yes
> checking openr2.h usability...
> yes
> checking openr2.h presence...
> yes
> checking for openr2.h... yes
>
> Most likely, i think it's something about errors at compilation time
> (something that prevents static links between asterisk and OpenR2
> libraries). But Asterisk doesn't show any errors:
>
> [CC] chan_agent.c ->
> chan_agent.o
>
> [LD] chan_agent.o ->
> chan_agent.so
>
> [CC] chan_dahdi.c ->
> chan_dahdi.o
>
> [LD] chan_dahdi.o -> chan_dahdi.so <-----------
>
>
> [CC] chan_iax2.c -> chan_iax2.o
>
> Any ideas?
>
> Thanks,
>
> David
>
> Evandro Arruda escribi?:
>> Hey David,
>>
>> Did you add on the /etc/ld.so.conf or similar on your linux this line:
>>
>> /usr/local/lib
>>
>> and execute ldconfig?
>>
>> Try this, recompile and reboot the system after try to load asterisk.
>>
>> If you need more help, let me know.
>>
>> Regards,
>> Evandro Arruda
>> evandro at ezvoice.com.br
>>
>> On Feb 15, 2010, at 4:00 PM, asterisk-r2-request at lists.digium.com wrote:
>>
>>
>>> Send asterisk-r2 mailing list submissions to
>>> asterisk-r2 at lists.digium.com
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> http://lists.digium.com/mailman/listinfo/asterisk-r2
>>> or, via email, send a message with subject or body 'help' to
>>> asterisk-r2-request at lists.digium.com
>>>
>>> You can reach the person managing the list at
>>> asterisk-r2-owner at lists.digium.com
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of asterisk-r2 digest..."
>>>
>>>
>>> Today's Topics:
>>>
>>> 1. Patched chan_dahdi.so refuses to be loaded
>>> (David Matias Hernandez)
>>>
>>>
>>> ----------------------------------------------------------------------
>>>
>>> Message: 1
>>> Date: Mon, 15 Feb 2010 13:07:22 +0100
>>> From: David Matias Hernandez <dmatias at optenet.com>
>>> Subject: [asterisk-r2] Patched chan_dahdi.so refuses to be loaded
>>> To: asterisk-r2 at lists.digium.com
>>> Message-ID: <4B7938FA.8040102 at optenet.com>
>>> Content-Type: text/plain; charset=UTF-8
>>>
>>> Hi all,
>>> I'm currently trying to install an Asterisk 1.6.0.22 with OpenR2 - MFC signalling for an E1 link.
>>> I have installed Dahdi-Linux, Dahdi-tools, libpri and openr2 libraries without any problem, always using --prefix=/usr as it's told in almost every forums/manuals.
>>> Chan_dahdi.c has been manually patched (Hunk #19 fails) with openr2-asterisk-1.6.0.6 patch, it's attached on the email. It looks like there's no problem at compilation time.
>>> But when asterisk starts, chan_dahdi.so refuses to load. Setting log => verbose on logger.conf, that's what I see when i try to load manually the module:
>>>
>>> pbx*CLI> module load chan_dahdi.so
>>> Unable to load module chan_dahdi.so
>>> Command 'module load chan_dahdi.so ' failed.
>>> [Feb 14 16:10:30] WARNING[11204]: loader.c:446 load_dynamic_module: Error loading module 'chan_dahdi.so': /usr/lib/asterisk/modules/chan_dahdi.so: undefined symbol: openr2_chan_disable_read
>>> [Feb 14 16:10:30] WARNING[11204]: loader.c:770 load_resource: Module 'chan_dahdi.so' could not be loaded.
>>>
>>> Also, chan_dahdi.so is not static linked to openr2 libraries:
>>>
>>> pbx:~# ldd /usr/lib/asterisk/modules/chan_dahdi.so
>>> linux-gate.so.1 => (0xb7f49000)
>>> libtonezone.so.2.0 => /usr/lib/libtonezone.so.2.0 (0xb7ea8000)
>>> libpri.so.1.4 => /usr/lib/libpri.so.1.4 (0xb7e7d000)
>>> libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7e63000)
>>> libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7d08000)
>>> libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7ce2000)
>>> /lib/ld-linux.so.2 (0xb7f4a000)
>>>
>>> I'm using Debian Lenny 5.02, with these links to install asterisk stuff:
>>>
>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.22.tar.gz
>>> http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.2.1.tar.gz
>>> http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.2.1.tar.gz
>>> http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz
>>> http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.0.4.tar.gz
>>>
>>> Any help to solve this problem would be kindly appreciated :)
>>> Thanks in advance,
>>>
>>> David
>>>
>>>
>>>
>>>
>>> ------------------------------
>>>
>>> _______________________________________________
>>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>>
>>> asterisk-r2 mailing list
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-r2
>>>
>>> End of asterisk-r2 Digest, Vol 18, Issue 1
>>> ******************************************
>>>
>>
>>
>>
>
> --
>
>
> C/ Jos? Echegaray n? 8 Edif. 3
> Parque empresarial Alvia
> 28230 Las Rozas
> Madrid, Espa?a
> DAVID MAT?AS HERN?NDEZ
> SYSTEMS ENGINEER
> T +34 902 154 604 Ext.1085
> F +34 91 357 54 33 dmatias at optenet.com <Mailto:dmatias at optenet.com>
> www.optenet.com <http://www.optenet.com> M + 34 648 283 351
>
>
>
> This information is private and confidential and intended for the
> recipient only. If you are not the intended recipient of this message
> you are hereby informed that you shall notify the sender immediately and
> delete the message. Dissemination, distribution or copying of this
> message is strictly prohibited. OPTENET, S.A. is entitled to complete
> the corresponding legal actions against people that access unlawfully to
> the content of the messages that have been sent from any of the
> companies within the structure of OPTENET, S.A. This communication is
> for information purposes only and should not be regarded as an official
> statement from OPTENET, S.A. Email transmission cannot be guaranteed to
> be secure. Therefore, we do not represent that this information is
> complete or accurate and it should not be relied upon as such. All
> information is subject to change without notice. This email has been
> scanned by our Antivirus system.
>
>
>
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-r2 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-r2
>
> End of asterisk-r2 Digest, Vol 18, Issue 3
> ******************************************
More information about the asterisk-r2
mailing list