Your problem is most likely an error in the patch that I fixed a long time ago for 1.6.2 and 1.4 where the build was not linking to openr2 despite the library being present (because the build source code changed a bit at some point). Upgrade your installation (to 1.6.2 or downgrade to 1.4.latest), fix it yourself ( sorry, no I have no time to step by step fix procedure ) or contact me off-list if you want my quote for making a working patch for latest Asterisk 1.6.0.x<br>
<br>-- <br>Moises Silva<br>Senior Software Engineer<br>Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>t. 1 905 474 1990 x 128 | e. <a href="mailto:moy@sangoma.com">moy@sangoma.com</a><div>
<br><div class="gmail_quote">2010/2/17 David Matias Hernandez <span dir="ltr"><<a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Evandro,<br>
I'm currently using OpenR2-1.2.0 and Asterisk 1.6.0.22. The Asterisk<br>
patch for MFC-R2 is 1.6.0.6<br>
I'm afraid i can't let you access via ssh, due to security concerns. I<br>
would have to ask the IT team to set up the configuration in order to<br>
allow ssh connections, and that would be in a week or two, more or less...<br>
<br>
Could you please explain me what would you do, what would you look at,<br>
if you were inside the PBX?<br>
<br>
Thanks in advance,<br>
<br>
David<br>
<br>
Evandro Arruda escribió:<br>
> David,<br>
><br>
> Please, let me know about your openr2 version and what is the version of your openr2-asterisk patch.<br>
><br>
> If you have how can give to me remote access using ssh, please, my email is <a href="mailto:evandro@ezvoice.com.br">evandro@ezvoice.com.br</a><br>
><br>
> Bye bye,<br>
> Evandro<br>
><br>
><br>
> On Feb 16, 2010, at 4:00 PM, <a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a> wrote:<br>
><br>
><br>
>> Send asterisk-r2 mailing list submissions to<br>
>> <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
>><br>
>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>> or, via email, send a message with subject or body 'help' to<br>
>> <a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a><br>
>><br>
>> You can reach the person managing the list at<br>
>> <a href="mailto:asterisk-r2-owner@lists.digium.com">asterisk-r2-owner@lists.digium.com</a><br>
>><br>
>> When replying, please edit your Subject line so it is more specific<br>
>> than "Re: Contents of asterisk-r2 digest..."<br>
>><br>
>><br>
>> Today's Topics:<br>
>><br>
>> 1. Re: asterisk-r2 Digest, Vol 18, Issue 1 (David Matias Hernandez)<br>
>><br>
>><br>
>> ----------------------------------------------------------------------<br>
>><br>
>> Message: 1<br>
>> Date: Tue, 16 Feb 2010 12:09:28 +0100<br>
>> From: David Matias Hernandez <<a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a>><br>
>> Subject: Re: [asterisk-r2] asterisk-r2 Digest, Vol 18, Issue 1<br>
>> To: <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
>> Message-ID: <<a href="mailto:4B7A7CE8.6050302@optenet.com">4B7A7CE8.6050302@optenet.com</a>><br>
>> Content-Type: text/plain; charset=ISO-8859-1<br>
>><br>
>> Hi Evandro,<br>
>> Thank you very much for your support.<br>
>><br>
>> I've tried what you told me, but it doesn't work. It looks like ldconfig<br>
>> was correctly configured:<br>
>><br>
>> pbx:/usr/src/asterisk/asterisk-1.6.0.22# ldconfig -p | grep openr2<br>
>> libopenr2.so.1 (libc6) => /usr/lib/libopenr2.so.1<br>
>> libopenr2.so (libc6) => /usr/lib/libopenr2.so<br>
>><br>
>> Also, Asterisk shows that OpenR2.h is going to be used at configuration<br>
>> time:<br>
>><br>
>> checking for libpri.h... (cached)<br>
>> yes<br>
>> checking for resample_open in -lresample...<br>
>> no<br>
>> checking for minimum version of SpanDSP...<br>
>> no<br>
>> checking for ss7_pollflags in -lss7...<br>
>> no<br>
>> checking for openr2_chan_new in -lopenr2...<br>
>> yes<br>
>> checking openr2.h usability...<br>
>> yes<br>
>> checking openr2.h presence...<br>
>> yes<br>
>> checking for openr2.h... yes<br>
>><br>
>> Most likely, i think it's something about errors at compilation time<br>
>> (something that prevents static links between asterisk and OpenR2<br>
>> libraries). But Asterisk doesn't show any errors:<br>
>><br>
>> [CC] chan_agent.c -><br>
>> chan_agent.o<br>
>><br>
>> [LD] chan_agent.o -><br>
>> chan_agent.so<br>
>><br>
>> [CC] chan_dahdi.c -><br>
>> chan_dahdi.o<br>
>><br>
>> [LD] chan_dahdi.o -> chan_dahdi.so <-----------<br>
>><br>
>><br>
>> [CC] chan_iax2.c -> chan_iax2.o<br>
>><br>
>> Any ideas?<br>
>><br>
>> Thanks,<br>
>><br>
>> David<br>
>><br>
>> Evandro Arruda escribi?:<br>
>><br>
>>> Hey David,<br>
>>><br>
>>> Did you add on the /etc/ld.so.conf or similar on your linux this line:<br>
>>><br>
>>> /usr/local/lib<br>
>>><br>
>>> and execute ldconfig?<br>
>>><br>
>>> Try this, recompile and reboot the system after try to load asterisk.<br>
>>><br>
>>> If you need more help, let me know.<br>
>>><br>
>>> Regards,<br>
>>> Evandro Arruda<br>
>>> <a href="mailto:evandro@ezvoice.com.br">evandro@ezvoice.com.br</a><br>
>>><br>
>>> On Feb 15, 2010, at 4:00 PM, <a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a> wrote:<br>
>>><br>
>>><br>
>>><br>
>>>> Send asterisk-r2 mailing list submissions to<br>
>>>> <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
>>>><br>
>>>> To subscribe or unsubscribe via the World Wide Web, visit<br>
>>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>>>> or, via email, send a message with subject or body 'help' to<br>
>>>> <a href="mailto:asterisk-r2-request@lists.digium.com">asterisk-r2-request@lists.digium.com</a><br>
>>>><br>
>>>> You can reach the person managing the list at<br>
>>>> <a href="mailto:asterisk-r2-owner@lists.digium.com">asterisk-r2-owner@lists.digium.com</a><br>
>>>><br>
>>>> When replying, please edit your Subject line so it is more specific<br>
>>>> than "Re: Contents of asterisk-r2 digest..."<br>
>>>><br>
>>>><br>
>>>> Today's Topics:<br>
>>>><br>
>>>> 1. Patched chan_dahdi.so refuses to be loaded<br>
>>>> (David Matias Hernandez)<br>
>>>><br>
>>>><br>
>>>> ----------------------------------------------------------------------<br>
>>>><br>
>>>> Message: 1<br>
>>>> Date: Mon, 15 Feb 2010 13:07:22 +0100<br>
>>>> From: David Matias Hernandez <<a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a>><br>
>>>> Subject: [asterisk-r2] Patched chan_dahdi.so refuses to be loaded<br>
>>>> To: <a href="mailto:asterisk-r2@lists.digium.com">asterisk-r2@lists.digium.com</a><br>
>>>> Message-ID: <<a href="mailto:4B7938FA.8040102@optenet.com">4B7938FA.8040102@optenet.com</a>><br>
>>>> Content-Type: text/plain; charset=UTF-8<br>
>>>><br>
>>>> Hi all,<br>
>>>> I'm currently trying to install an Asterisk 1.6.0.22 with OpenR2 - MFC signalling for an E1 link.<br>
>>>> 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.<br>
>>>> 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.<br>
>>>> 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:<br>
>>>><br>
>>>> pbx*CLI> module load chan_dahdi.so<br>
>>>> Unable to load module chan_dahdi.so<br>
>>>> Command 'module load chan_dahdi.so ' failed.<br>
>>>> [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<br>
>>>> [Feb 14 16:10:30] WARNING[11204]: loader.c:770 load_resource: Module 'chan_dahdi.so' could not be loaded.<br>
>>>><br>
>>>> Also, chan_dahdi.so is not static linked to openr2 libraries:<br>
>>>><br>
>>>> pbx:~# ldd /usr/lib/asterisk/modules/chan_dahdi.so<br>
>>>> linux-gate.so.1 => (0xb7f49000)<br>
>>>> libtonezone.so.2.0 => /usr/lib/libtonezone.so.2.0 (0xb7ea8000)<br>
>>>> libpri.so.1.4 => /usr/lib/libpri.so.1.4 (0xb7e7d000)<br>
>>>> libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7e63000)<br>
>>>> libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7d08000)<br>
>>>> libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7ce2000)<br>
>>>> /lib/ld-linux.so.2 (0xb7f4a000)<br>
>>>><br>
>>>> I'm using Debian Lenny 5.02, with these links to install asterisk stuff:<br>
>>>><br>
>>>> <a href="http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.22.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.22.tar.gz</a><br>
>>>> <a href="http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.2.1.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases/dahdi-linux-2.2.1.tar.gz</a><br>
>>>> <a href="http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.2.1.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/dahdi-tools-2.2.1.tar.gz</a><br>
>>>> <a href="http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz</a><br>
>>>> <a href="http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.0.4.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.6.0.4.tar.gz</a><br>
>>>><br>
>>>> Any help to solve this problem would be kindly appreciated :)<br>
>>>> Thanks in advance,<br>
>>>><br>
>>>> David<br>
>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> ------------------------------<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> --Bandwidth and Colocation Provided by http://www.api-digital.com--<br>
>>>><br>
>>>> asterisk-r2 mailing list<br>
>>>> To UNSUBSCRIBE or update options visit:<br>
>>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>>>><br>
>>>> End of asterisk-r2 Digest, Vol 18, Issue 1<br>
>>>> ******************************************<br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>> --<br>
>><br>
>><br>
>> C/ Jos? Echegaray n? 8 Edif. 3<br>
>> Parque empresarial Alvia<br>
>> 28230 Las Rozas<br>
>> Madrid, Espa?a<br>
>> DAVID MAT?AS HERN?NDEZ<br>
>> SYSTEMS ENGINEER<br>
>> T +34 902 154 604 Ext.1085<br>
>> F +34 91 357 54 33 <a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a> <Mailto:<a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a>><br>
>> <a href="http://www.optenet.com" target="_blank">www.optenet.com</a> <<a href="http://www.optenet.com" target="_blank">http://www.optenet.com</a>> M + 34 648 283 351<br>
>><br>
>><br>
>><br>
>> This information is private and confidential and intended for the<br>
>> recipient only. If you are not the intended recipient of this message<br>
>> you are hereby informed that you shall notify the sender immediately and<br>
>> delete the message. Dissemination, distribution or copying of this<br>
>> message is strictly prohibited. OPTENET, S.A. is entitled to complete<br>
>> the corresponding legal actions against people that access unlawfully to<br>
>> the content of the messages that have been sent from any of the<br>
>> companies within the structure of OPTENET, S.A. This communication is<br>
>> for information purposes only and should not be regarded as an official<br>
>> statement from OPTENET, S.A. Email transmission cannot be guaranteed to<br>
>> be secure. Therefore, we do not represent that this information is<br>
>> complete or accurate and it should not be relied upon as such. All<br>
>> information is subject to change without notice. This email has been<br>
>> scanned by our Antivirus system.<br>
>><br>
>><br>
>><br>
>><br>
>> ------------------------------<br>
>><br>
>> _______________________________________________<br>
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--<br>
>><br>
>> asterisk-r2 mailing list<br>
>> To UNSUBSCRIBE or update options visit:<br>
>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
>><br>
>> End of asterisk-r2 Digest, Vol 18, Issue 3<br>
>> ******************************************<br>
>><br>
><br>
><br>
><br>
<br>
--<br>
<br>
<br>
C/ José Echegaray nº 8 Edif. 3<br>
Parque empresarial Alvia<br>
28230 Las Rozas<br>
Madrid, España<br>
DAVID MATÍAS HERNÁNDEZ<br>
SYSTEMS ENGINEER<br>
T +34 902 154 604 Ext.1085<br>
F +34 91 357 54 33 <a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a> <Mailto:<a href="mailto:dmatias@optenet.com">dmatias@optenet.com</a>><br>
<a href="http://www.optenet.com" target="_blank">www.optenet.com</a> <<a href="http://www.optenet.com" target="_blank">http://www.optenet.com</a>> M + 34 648 283 351<br>
<br>
<br>
<br>
This information is private and confidential and intended for the<br>
recipient only. If you are not the intended recipient of this message<br>
you are hereby informed that you shall notify the sender immediately and<br>
delete the message. Dissemination, distribution or copying of this<br>
message is strictly prohibited. OPTENET, S.A. is entitled to complete<br>
the corresponding legal actions against people that access unlawfully to<br>
the content of the messages that have been sent from any of the<br>
companies within the structure of OPTENET, S.A. This communication is<br>
for information purposes only and should not be regarded as an official<br>
statement from OPTENET, S.A. Email transmission cannot be guaranteed to<br>
be secure. Therefore, we do not represent that this information is<br>
complete or accurate and it should not be relied upon as such. All<br>
information is subject to change without notice. This email has been<br>
scanned by our Antivirus system.<br>
<font color="#888888"><br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-r2 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-r2" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-r2</a><br>
</font></blockquote></div><br><br clear="all"><br>
</div>