Gilbert,<br><br>Thank you for collecting all of this information. You did quite a bit of work and that will help the developers figure out what&#39;s going on. Would you mind creating a ticket at <a href="http://jira.freeswitch.org">jira.freeswitch.org</a> and adding all this information? That will help the developers keep track of the issue and avoid any unnecessary delays.<br>
<br>Thanks!<br>-MC<br><br><div class="gmail_quote">On Thu, Jan 24, 2013 at 10:25 AM, Gilbert Amar <span dir="ltr">&lt;<a href="mailto:gamar@center.com" target="_blank">gamar@center.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="FR"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Hello,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">I succeeded in building mod_opal, but it crash FreeSWITCH (segmentation default) after simple test.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Here are the steps on Debian &ldquo;squeeze&rdquo;.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">After getting all required packages including swig<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Advice,&nbsp; check that you do not have any version of ptlib or h323plus or opal already somewhere.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">use find /- name &quot;*libpt*.so&quot;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">use find /- name &quot;*libopal*.so&quot;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">My FreeSWITCH is in /usr/local/src/ and I am root when I build.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">cd /usr/local/src/<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">svn co <a href="https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_12_0/" target="_blank">https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/tags/v2_12_0/</a> ptlib-2.12.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">cd /usr/local/src/ptlib-2.12.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">./configure&nbsp; --disable-plugins --disable-v4l2 --prefix=/opt/lib<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">make &amp;&amp; make install<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">export PKG_CONFIG_PATH=/opt/lib/lib/pkgconfig <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">cd /usr/local/src/<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">svn co <a href="https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/tags/v3_12_0" target="_blank">https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/tags/v3_12_0</a> opal-3.12.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">cd /usr/local/src/opal-3.12.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">./configure --disable-plugins --prefix=/opt/lib<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">make &amp;&amp; make install<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">As the install fails to copy include/ep/<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">cd /usr/local/src/opal-3.12.0<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;" lang="EN-US">mkdir -p /opt/lib/include/opal/ep ; chmod 755 /opt/lib/include/opal/ep ; ( for fn in include/ep/*.h ; do /usr/bin/install -c -m 644 $fn /opt/lib/include/opal/ep ; done);<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Please notice that the mkdir line is one long line.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Add mod_opal to your modules.conf<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Go to your mod_opal src dir in my case <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">cd /usr/local/src/freeswitch/src/mod/endpoints/mod_opal<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Edit mod_opal.h<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">You need to change 2 lines<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">#include &lt;opal/localep.h&gt; <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">to<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">#include &lt;ep/localep.h&gt;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">then <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">#define HAVE_T38 (OPAL_CHECK_VERSION(3,11,2) &amp;&amp; OPAL_T38_CAPABILITY)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">to<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">#define HAVE_T38 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Now you can build mod_opal type make <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Go back to your FS dir and do make and make install to check all is ok.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Before launch FreeSWITCH you need to set LD_LIBRARY_PATH<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">export LD_LIBRARY_PATH=/opt/lib/lib<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">start your FreeSWITCH <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Then try to call extension 9197 it should work despite the errors lines like <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">2013-01-24 03:12:25.597058 [WARNING] switch_core_codec.c:802 Codec is not initialized!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">2013-01-24 03:12:25.597058 [WARNING] switch_core_codec.c:802 Codec is not initialized!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">2013-01-24 03:12:25.597058 [ERR] switch_core_timer.c:117 Timer is not properly configured.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">In my case I have a sip phone registered to FS at extension 1000<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">If I call from openphone this extension<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">the call get thru, I pick up but mod_opal isn&rsquo;t&nbsp; aware of this and when I hang up on the sip phone FreeSWITCH crash.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US">Segmentation fault&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /opt/freeswitch-v1.2stable/bin/freeswitch -conf /home/center/freeswitch/conf -log /home/center/freeswitch/log -db /home/center/freeswitch/db -sounds /home/center/freeswitch/sounds -nonat -nonatmap<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;" lang="EN-US"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">Gilbert<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Steven Ayre<br>
<b>Sent:</b> Wednesday, January 23, 2013 3:26 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] building mod_opal and v1.2stable<u></u><u></u></span></p><p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">Do you mean you built opal in /root/opal? You shouldn&#39;t build things as root, but that&#39;s not the reason for your troubles.<u></u><u></u></p><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div>
<p class="MsoNormal">I have to say I&#39;m a bit puzzled, it looks like you&#39;ve installed opal to multiple locations.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">
/usr/local/freeswitch/opal looks the best match (opal/localep.h) but it&#39;s in the wrong location.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><div><p class="MsoNormal">/usr/local/src/freeswitch/libs/opal/include/ep/localep.h<u></u><u></u></p>
</div></div><div><p class="MsoNormal">Not sure why it&#39;s installed here, opal isn&#39;t shipped under libs/<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><div><p class="MsoNormal">/usr/local/include/ep/localep.h<u></u><u></u></p>
</div><div><p class="MsoNormal">/usr/include/ep/localep.h<u></u><u></u></p></div></div><div><p class="MsoNormal">Close but the directory is wrong as it needs to be opal/localep.h, not ep/localep.h<u></u><u></u></p></div><div>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">/usr/include/opal/localep.h<u></u><u></u></p></div><div><div><p class="MsoNormal">Should be the correct filename, but you don&#39;t have a copy.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">It could be a change in the opal library but I find that unlikely since it&#39;d break apps using the library like FS. More likely there&#39;s a problem with the prefixes given to opal&#39;s configure command.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">-Steve<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p><div><p class="MsoNormal">
<u></u>&nbsp;<u></u></p><div><p class="MsoNormal">On 23 January 2013 10:46, Anton Rostotskiy &lt;<a href="mailto:rostotskiy.a@gmail.com" target="_blank">rostotskiy.a@gmail.com</a>&gt; wrote:<u></u><u></u></p><p class="MsoNormal">
Search results:<u></u><u></u></p><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p><div><div><p class="MsoNormal">/usr/local/freeswitch/opal/include/opal/localep.h<u></u><u></u></p></div><div><p class="MsoNormal">/usr/local/src/freeswitch/libs/opal/include/ep/localep.h<u></u><u></u></p>
</div><div><p class="MsoNormal">/usr/local/include/ep/localep.h<u></u><u></u></p></div><div><p class="MsoNormal">/usr/include/ep/localep.h<u></u><u></u></p></div><div><p class="MsoNormal">/root/opal/include/ep/localep.h<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><p class="MsoNormal">As I &nbsp;said earlier, I installed ptlib and opal in /root directory.<u></u><u></u></p></div><div><div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<div><p class="MsoNormal">2013/1/23 Steven Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;<u></u><u></u></p><div><p class="MsoNormal">It&#39;s localep.h, not local.h:<u></u><u></u></p>
</div><div><p class="MsoNormal">/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.h:41:26: error: opal/localep.h: No such file or directory<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div>
<div><div><p class="MsoNormal">find / -name localep.h<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">Sorry, seems my phone did an annoying autouncorrection!<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">-Steve<u></u><u></u></p></div><div><div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div>
<div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><div><p class="MsoNormal">On 23 January 2013 08:16, Anton Rostotskiy &lt;<a href="mailto:rostotskiy.a@gmail.com" target="_blank">rostotskiy.a@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<p class="MsoNormal">Thanks for reply, Steven!<u></u><u></u></p><div><p class="MsoNormal">Tried to search&nbsp;<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">local.h file, but search returned nothing. That are all local.h files in my system:</span><u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">/usr/local/src/freeswitch/libs/spandsp/src/gsm0610_local.h<u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">/usr/local/src/freeswitch/libs/spandsp/src/t30_local.h<u></u><u></u></span></p></div><div><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">/usr/local/src/freeswitch/libs/spandsp/src/t42_t43_local.h<u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222"><u></u>&nbsp;<u></u></span></p>
</div></div><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#222222">About -devel packages - at first tried to install ptlib, opal and -devel&nbsp;&nbsp;from yum&nbsp;but their versions have been too low for mod_opal.</span><u></u><u></u></p>
</div><div><div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p><div><p class="MsoNormal">2013/1/22 Steven Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;<u></u><u></u></p><div><div>
<p class="MsoNormal">Run:<u></u><u></u></p></div><div><p class="MsoNormal">find / -name local.h<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">It&#39;s failing to include opal/local.h. All the other errors are because its missing the definitions in that file.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">Normally I would say to instal the -devel package, but since you built from svn that doesn&#39;t apply. Perhaps it&#39;s not installed or installed to the wrong place. The find command will tell us where that file is.<u></u><u></u></p>
</div><div><p class="MsoNormal"><br>Steve on iPhone<u></u><u></u></p></div><div><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>On 22 Jan 2013, at 16:07, Anton Rostotskiy &lt;<a href="mailto:rostotskiy.a@gmail.com" target="_blank">rostotskiy.a@gmail.com</a>&gt; wrote:<u></u><u></u></p>
</div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">Also tried to install mod_opal and also failed.<u></u><u></u></p><div><p class="MsoNormal">CentOS 6.3 x86_64<u></u><u></u></p><div><p class="MsoNormal">
ptlib and opal are &nbsp;the last version obtained from svn <a href="http://wiki.freeswitch.org/wiki/Mod_opal" target="_blank">as it is said in wiki</a>.<u></u><u></u></p></div><div><p class="MsoNormal">but just a bunch of errors after make mod_opal&nbsp;<a href="http://pastebin.com/HHUPLCLV" target="_blank">http://pastebin.com/HHUPLCLV</a><u></u><u></u></p>
<div><p class="MsoNormal"><u></u>&nbsp;<u></u></p><div><p class="MsoNormal">2013/1/18 Steven Ayre &lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;<u></u><u></u></p><div><div><p class="MsoNormal">
The latest version of opal in Debian (even in Sid) isn&#39;t new enough for mod_opal. It needed various features added that are only only available in the svn version.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p>
</div><div><p class="MsoNormal">The wiki page states you have to install ptlib and opal from svn - this is why.<u></u><u></u></p></div><div><p class="MsoNormal"><span style="font-size:11.5pt;font-family:&quot;.HelveticaNeueUI&quot;,&quot;serif&quot;"><a href="http://wiki.freeswitch.org/wiki/Mod_opal" target="_blank">http://wiki.freeswitch.org/wiki/Mod_opal</a></span><br>
<br>Of course that can then cause conflicts unless you package it yourself or install a dummy package, or problems with other libraries/apps that are built against the libopal that&#39;s already packaged.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">Ptlib and h323plus/opal are also notorious for having to get matching versions. If you don&#39;t pair exactly the right version of ptlib with the specific version of h323plus/opal you can get instability problems. So the official Debian ptlib package probably wouldn&#39;t be good with opal from svn...<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">As for mod_h323, it does compile and work, at least on Wheezy and possibly Squeeze too. I&#39;ve never had any luck getting mod_opal working but have got mod_h323 working. I don&#39;t actively use it though - all my traffic is currently SIP.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal">Another option is to run Yate as a SIP-&gt;H323 proxy. It only handles the signalling, media still goes directly caller-&gt;FS. It worked quite well, although it would occasionally crash - but at least that only dropped the H323 calls and didn&#39;t take FS down with it, and Yate automatically restarted. That was on Lenny so a long time ago...<u></u><u></u></p>
</div><div><p class="MsoNormal"><br>Steve on iPhone<u></u><u></u></p></div><div><div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
<br>On 17 Jan 2013, at 20:54, &quot;Gilbert Amar&quot; &lt;<a href="mailto:gamar@center.com" target="_blank">gamar@center.com</a>&gt; wrote:<u></u><u></u></p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><p class="MsoNormal">Hi,<br><br>I am trying to build mod_opal in FS v1.2stable, using ptlib 2.10.7 and opal<br>3.10.7 on a debian <br>Ptlib and opal get build with no error, but when trying mod_opal I get <br><br>Compiling<br>
/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp...<br>quiet_libtool: compile: &nbsp;g++ -g -ggdb<br>-I/usr/local/src/freeswitch/libs/curl/include<br>-I/usr/local/src/freeswitch/src/include<br>-I/usr/local/src/freeswitch/src/include<br>
-I/usr/local/src/freeswitch/libs/libteletone/src<br>-I/usr/local/src/freeswitch/libs/stfu -fPIC -fvisibility=hidden<br>-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DP_64BIT<br>-DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions<br>
-I/usr/local/include -I/usr/local/include/opal -I/usr/include/SDL<br>-DHAVE_CONFIG_H -c<br>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp &nbsp;-fPIC<br>-DPIC -o .libs/mod_opal.o<br>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member<br>
function &#39;switch_status_t FSConnection::read_frame(const OpalMediaType&amp;,<br>switch_frame_t**, switch_io_flag_t)&#39;:<br>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1208:<br>error: &#39;class OpalCall&#39; has no member named &#39;IsSwitchingT38&#39;<br>
/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member<br>function &#39;switch_status_t FSConnection::write_frame(const OpalMediaType&amp;,<br>const switch_frame_t*, switch_io_flag_t)&#39;:<br>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1225:<br>
error: &#39;class OpalCall&#39; has no member named &#39;IsSwitchingT38&#39;<br>make[3]: *** [mod_opal.lo] Error 1<br>make[2]: *** [install] Error 1<br>make[1]: *** [mod_opal-install] Error 1<br>make: *** [mod_opal-install] Error 2<br>
<br><br>Has anyone succeded in building mod_opal ?<br><br>Should I go with mod_h323 instead ?<br><br>Thanks for your help<br><br><br><br><br><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div></blockquote></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><p class="MsoNormal">
-- <br>С уважением, Антон Ростоцкий <u></u><u></u></p></div></div></div></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div></blockquote></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><p class="MsoNormal">
-- <br>С уважением, Антон Ростоцкий <u></u><u></u></p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div><p class="MsoNormal">
-- <br>С уважением, Антон Ростоцкий <u></u><u></u></p></div></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></div><p class="MsoNormal"><u></u>&nbsp;<u></u></p></div></div></div></div></div><br>_________________________________________________________________________<br>

Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>