<div>It&#39;s localep.h, not local.h:</div><div>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.h:41:26: error: opal/localep.h: No such file or directory</div><div><br></div><div><div>find / -name localep.h</div>

</div><div><br></div><div>Sorry, seems my phone did an annoying autouncorrection!</div><div><br></div><div>-Steve</div><div><br></div><div><br></div><div><br></div><div><div class="gmail_quote">On 23 January 2013 08:16, Anton Rostotskiy <span dir="ltr">&lt;<a href="mailto:rostotskiy.a@gmail.com" target="_blank">rostotskiy.a@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for reply, Steven!<div>Tried to searchš<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">local.h file, but search returned nothing. That are all local.h files in my system:</span></div>


<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div>
/usr/local/src/freeswitch/libs/spandsp/src/gsm0610_local.h</div><div>/usr/local/src/freeswitch/libs/spandsp/src/t30_local.h</div><div>/usr/local/src/freeswitch/libs/spandsp/src/t42_t43_local.h</div><div><br></div></span></div>


<div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">About -devel packages - at first tried to install ptlib, opal and -develš</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">š</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">from yum</span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">šbut their versions have been too low for mod_opal.</span></div>

<div class="HOEnZb"><div class="h5">
<div><br><div class="gmail_quote">2013/1/22 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="auto"><div>Run:</div><div>find / -name local.h</div><div><br></div><div>It&#39;s failing to include opal/local.h. All the other errors are because its missing the definitions in that file.</div><div><br></div><div>


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.</div>


<div><br>Steve on iPhone</div><div><div><div><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:<br><br></div><blockquote type="cite">


<div>Also tried to install mod_opal and also failed.<div>CentOS 6.3 x86_64<br><div>ptlib and opal are šthe last version obtained from svn <a href="http://wiki.freeswitch.org/wiki/Mod_opal" target="_blank">as it is said in wiki</a>.</div>


<div>but just a bunch of errors after make mod_opalš<a href="http://pastebin.com/HHUPLCLV" target="_blank">http://pastebin.com/HHUPLCLV</a><br>
<div><br><div class="gmail_quote">2013/1/18 Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto"><div>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.</div><div><br></div><div>The wiki page states you have to install ptlib and opal from svn - this is why.</div>



<div><span style="font-family:&#39;.HelveticaNeueUI&#39;;font-size:15px;line-height:19px;white-space:nowrap"><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.</div><div><br></div>



<div>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...</div>



<div><br></div><div>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.</div>



<div><br></div><div>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...</div>



<div><br>Steve on iPhone</div><div><div><div><br></div><div><br></div><div><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:<br>
<br></div><blockquote type="cite"><div><span>Hi,</span><br><span></span><br><span>I am trying to build mod_opal in FS v1.2stable, using ptlib 2.10.7 and opal</span><br><span>3.10.7 on a debian </span><br><span>Ptlib and opal get build with no error, but when trying mod_opal I get </span><br>



<span></span><br><span>Compiling</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp...</span><br><span>quiet_libtool: compile: šg++ -g -ggdb</span><br><span>-I/usr/local/src/freeswitch/libs/curl/include</span><br>



<span>-I/usr/local/src/freeswitch/src/include</span><br><span>-I/usr/local/src/freeswitch/src/include</span><br><span>-I/usr/local/src/freeswitch/libs/libteletone/src</span><br><span>-I/usr/local/src/freeswitch/libs/stfu -fPIC -fvisibility=hidden</span><br>



<span>-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DP_64BIT</span><br><span>-DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions</span><br><span>-I/usr/local/include -I/usr/local/include/opal -I/usr/include/SDL</span><br>



<span>-DHAVE_CONFIG_H -c</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp š-fPIC</span><br><span>-DPIC -o .libs/mod_opal.o</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member</span><br>



<span>function &#39;switch_status_t FSConnection::read_frame(const OpalMediaType&amp;,</span><br><span>switch_frame_t**, switch_io_flag_t)&#39;:</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1208:</span><br>



<span>error: &#39;class OpalCall&#39; has no member named &#39;IsSwitchingT38&#39;</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp: In member</span><br><span>function &#39;switch_status_t FSConnection::write_frame(const OpalMediaType&amp;,</span><br>



<span>const switch_frame_t*, switch_io_flag_t)&#39;:</span><br><span>/usr/local/src/freeswitch/src/mod/endpoints/mod_opal/mod_opal.cpp:1225:</span><br><span>error: &#39;class OpalCall&#39; has no member named &#39;IsSwitchingT38&#39;</span><br>



<span>make[3]: *** [mod_opal.lo] Error 1</span><br><span>make[2]: *** [install] Error 1</span><br><span>make[1]: *** [mod_opal-install] Error 1</span><br><span>make: *** [mod_opal-install] Error 2</span><br><span></span><br>



<span></span><br><span>Has anyone succeded in building mod_opal ?</span><br><span></span><br><span>Should I go with mod_h323 instead ?</span><br><span></span><br><span>Thanks for your help</span><br><span></span><br><span></span><br>



<span></span><br><span></span><br><span></span><br><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br>



<span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br>



<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></span><br>



<span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>



<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>



<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></div></div><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><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>ó Õ×ÁÖÅÎÉÅÍ, áÎÔÏΠòÏÓÔÏÃËÉÊ
</div></div></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a></span><br>


<span><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a></span><br>


<span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a></span><br>


<span><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a></span><br>


<span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br>


<span><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><br></div></blockquote></div></div></div><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><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>ó Õ×ÁÖÅÎÉÅÍ, áÎÔÏΠòÏÓÔÏÃËÉÊ
</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></div>