ya, you should not use make distclean with any of our code, we do not have it properly implemented since we have a very large and challenging build system/<br><br><br><div class="gmail_quote">On Wed, Jan 6, 2010 at 5:37 PM, Jerry Richards <span dir="ltr">&lt;<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left">
<div dir="ltr" align="left"><span><font face="Arial"><font color="#0000ff"><font size="2"><span>Thank you for your 
suggestions.  </span>Yes, I have the series of three 
lksctp-tools-1.0.6<span> (SCTP)</span> packages 
installed, and I do have the Development Tools installed because the rest of the 
system is building <span>okay</span>.</font></font></font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Regarding the openzap.conf file, we have only 1 D-channel and 
23 B-channels and the openzap.conf file is auto-generated without a D-channel 
line<span>, so I don&#39;t think this is the 
issue</span>.  <span>Just to be sure, 
</span>I did try adding a D-channel line (<font face="Courier New">d-channel 
=&gt; 1:1</font>), but this produced another error (<font face="Courier New">failed to open wanpipe device span 1 channel 1</font>) and 
the original error still exists.</font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font face="Arial"><font color="#0000ff"><font size="2"><span>So I am trying to 
figure out why th</span><span>e <span>openzap </span>make is not compiling the 
ozmod_sangoma_boost.c source file<span> (<a href="http://pastebin.freeswitch.org/11694" target="_blank">http://pastebin.freeswitch.org/11694</a>)</span>.<span>  And I don&#39;t know why 
yet?</span></span></font></font></font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Thank You and Regards,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Jerry</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div></div><br>
<blockquote style="margin-right: 0px;" dir="ltr">
  <div dir="ltr" align="left" lang="en-us">
  <hr>
  <font face="Tahoma" size="2"><div class="im"><b>From:</b> Jerry Richards 
  [mailto:<a href="mailto:jerry.richards@teotech.com" target="_blank">jerry.richards@teotech.com</a>] <br></div><b>Sent:</b> Wednesday, January 06, 
  2010 2:22 PM<div><div></div><div class="h5"><br><b>To:</b> 
  <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> Re: 
  [Freeswitch-users] DESTINATION_OUT_OF_ORDER<br></div></div></font><br></div><div><div></div><div class="h5">
  <div></div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>By the way, I posted another pastebin log (<a href="http://pastebin.freeswitch.org/11694" target="_blank">http://pastebin.freeswitch.org/11694</a>) 
  that shows the output of the &quot;make&quot; and &quot;make install sounds-install 
  moh-install...&quot; commands.  Just prior to these makes I executed &quot;make 
  clean&quot; and &quot;make distclean&quot;.  You will notice in the makefile output that 
  ozmod_sangoma_boost.c never appears to get compiled.  Shouldn&#39;t 
  everything be compiled in this case?  I also confirmed that my working 
  server does have the ozmod_sangoma_boost.so file located in the right place, 
  which is why it&#39;s working.</span></font></div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Could version 1.0.5pre9 introduced this bug?  
  Could that be why the older server (which original ran with 1.0.4) works and 
  the new one doesn&#39;t?</span></font></div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Thanks and Best Regards,</span></font></div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span>Jerry</span></font></div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
  <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><span></span></font> </div><br>
  <blockquote style="margin-right: 0px;" dir="ltr">
    <div dir="ltr" align="left" lang="en-us">
    <hr>
    <font face="Tahoma" size="2"><b>From:</b> Jerry Richards 
    [mailto:<a href="mailto:jerry.richards@teotech.com" target="_blank">jerry.richards@teotech.com</a>] <br><b>Sent:</b> Wednesday, January 06, 
    2010 11:52 AM<br><b>To:</b> 
    &#39;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&#39;<br><b>Subject:</b> RE: 
    [Freeswitch-users] DESTINATION_OUT_OF_ORDER<br></font><br></div>
    <div></div>
    <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">I capured logs of my FS startup and put them into the 
    pastebin (<a href="http://pastebin.freeswitch.org/11692" target="_blank">http://pastebin.freeswitch.org/11692</a>).  
    At line 722, I see some errors:</font></span></div>
    <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"><span></span></font></span> </div>
    <div dir="ltr" align="left"><span><font face="Arial"><font color="#0000ff"><font size="2"><span>2010</span><span>-01</span><span>-06</span> <span>11</span>:<span>42</span>:<span>49.907861</span> <span>[</span>ERR<span>]</span> zap_io.c:<span>2562</span> Error loading 
    /usr/local/freeswitch/mod/ozmod_sangoma_boost.so <span>[</span>/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot 
    open shared object file: No such file or directory<span>]</span></font></font></font></span></div>
    <div><font face="Arial"><font color="#0000ff"><font size="2"><span>2010</span><span>-01</span><span>-06</span> 
    <span>11</span>:<span>42</span>:<span>49.907883</span> <span>[</span>ERR<span>]</span> zap_io.c:<span>2722</span> can&#39;t find 
    &#39;sangoma_boost</font></font></font></div>
    <div><font face="Arial"><font color="#0000ff"><font size="2"><span>2010</span><span>-01</span><span>-06</span> 
    <span>11</span>:<span>42</span>:<span>49.907902</span> <span>[</span>ERR<span>]</span> mod_openzap.c:<span>2379</span> Error starting 
    OpenZAP span <span>1</span> error</font></font></font></div>
    <div><font face="Arial"><font color="#0000ff"><font size="2"><span>2010</span><span>-01</span><span>-06</span> 
    <span>11</span>:<span>42</span>:<span>49.907929</span> <span>[</span>CONSOLE<span>]</span> switch_loadable_module.c:<span>890</span> 
    Successfully Loaded <span>[</span>mod_openzap<span>]</span></font></font></font></div>
    <div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
    <div><span><span><font color="#0000ff" face="Arial" size="2">Do you know why I would get this?  Where is the 
    ozmod_sangoma_boost.so file supposed to come 
from?</font></span></span></div>
    <div><span><span><font color="#0000ff" face="Arial" size="2"></font></span></span> </div>
    <div><span><span><font color="#0000ff" face="Arial" size="2">Thanks,<br>Jerry</font></span></span></div>
    <div><span><span><font color="#0000ff" face="Arial" size="2"></font></span></span> </div>
    <div><span><span><font color="#0000ff" face="Arial" size="2"></font></span></span> </div><br>
    <blockquote style="margin-right: 0px;" dir="ltr">
      <div dir="ltr" align="left" lang="en-us">
      <hr>
      <font face="Tahoma" size="2"><b>From:</b> Jerry Richards 
      [mailto:<a href="mailto:jerry.richards@teotech.com" target="_blank">jerry.richards@teotech.com</a>] <br><b>Sent:</b> Wednesday, January 
      06, 2010 10:00 AM<br><b>To:</b> 
      &#39;<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>&#39;<br><b>Subject:</b> RE: 
      [Freeswitch-users] DESTINATION_OUT_OF_ORDER<br></font><br></div>
      <div></div>
      <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2">When I 
      attempt an internal-to-PSTN call, there are no Q931 packets sent out the 
      PRI (I confirmed this using the Sangoma wanpipemon utility).  I 
      suspect this has something to do with my XML 
      configuration.  <span>Below </span>are 
      my openzap/wanpipe configurations (which should all be defaulted)<span>.  Do you seen anything wrong with these 
      defaults, which might cause the following FS console 
      error?</span></font></div>
      <div><font color="#0000ff" face="Arial" size="2"><span></span></font> </div>
      <div><font color="#0000ff" face="Arial" size="2"><span><font face="Courier New">zap_io.c:1197 
      outgoing_call method not 
      implemented!</font></span><br> <br></font><font face="Arial"><font color="#0000ff"><font size="2"><b>openzap.conf:<br></b><font face="Courier New">[span wanpipe smg_prid]<br>name =&gt; 
      smg_prid<br>trunk_type =&gt;t1<br>b-channel =&gt; 
      1:1-23</font></font></font></font></div>
      <div> </div>
      <div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><b>autoload_configs/openzap.conf.xml:</b><br></font></font><font color="#0000ff"><font size="2"><font face="Courier New">&lt;configuration 
      name=&quot;openzap.conf&quot; description=&quot;OpenZAP 
      Configuration&quot;&gt;<br>  &lt;settings&gt;<br>    
      &lt;param name=&quot;debug&quot; value=&quot;9&quot;/&gt;<br>    
      &lt;!--&lt;param name=&quot;hold-music&quot; 
      value=&quot;$${moh_uri}&quot;/&gt;--&gt;<br>    &lt;!--&lt;param 
      name=&quot;enable-analog-option&quot; 
      value=&quot;call-swap&quot;/&gt;--&gt;<br>    &lt;!--&lt;param 
      name=&quot;enable-analog-option&quot; value=&quot;3-way&quot;/&gt;--&gt;<br>  
      &lt;/settings&gt;<br>  &lt;boost_spans&gt;<br> <span>   </span>&lt;span 
      id=&quot;smg_prid&quot;&gt;<br> <span>     </span>&lt;!--&lt;param 
      name=&quot;hold-music&quot; value=&quot;$${moh_uri}&quot;/&gt;--&gt;<br> <span>     </span>&lt;param 
      name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br> <span>     </span>&lt;param 
      name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>  <span>    </span>&lt;!-- regex to 
      stop dialing when it matches --&gt;<br> <span>     </span>&lt;!--&lt;param 
      name=&quot;dial-regex&quot; value=&quot;5555&quot;/&gt;--&gt;<br> <span>     </span>&lt;!-- regex to 
      stop dialing when it does not match --&gt;<br> <span>     </span>&lt;!--&lt;param 
      name=&quot;fail-dial-regex&quot; value=&quot;^5&quot;/&gt;--&gt;<br> <span>   </span>&lt;/span&gt;<br>  
      &lt;/boost_spans&gt;<br>  &lt;analog_spans&gt;<br>  
      &lt;/analog_spans&gt;<br></font>&lt;/configuration&gt;</font></font></font></div>
      <div> </div>
      <div dir="ltr" align="left"><font face="Arial"><font color="#0000ff"><font size="2"><b><span>w</span>anpipe.conf:</b><br><font face="Courier New">[defaults]<br>codec_ms =&gt; 20<br>wink_ms =&gt; 
      150<br>flash_ms =&gt; 750</font></font></font></font></div>
      <div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"></font> </div>
      <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Thanks and Best Regards,</font></span></div>
      <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Jerry</font></span></div>
      <div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div><br>
      <blockquote style="margin-right: 0px;">
        <div dir="ltr" align="left" lang="en-us">
        <hr>
        <font face="Tahoma" size="2"><b>From:</b> Michael Collins 
        [mailto:<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>] <br><b>Sent:</b> Tuesday, January 05, 2010 
        4:33 PM<br><b>To:</b> 
        <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br><b>Subject:</b> Re: 
        [Freeswitch-users] DESTINATION_OUT_OF_ORDER<br></font><br></div>
        <div></div><br><br>
        <div class="gmail_quote">On Mon, Jan 4, 2010 at 3:49 PM, Jerry Richards 
        <span dir="ltr">&lt;<a href="mailto:jerry.richards@teotech.com" target="_blank">jerry.richards@teotech.com</a>&gt;</span> wrote:<br>
        <blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"><br>Hello,<br><br>I have one FS instance that is 
          working well with a PRI and running FS<br>version 1.0.5pre9. 
           Originally, it was running FS version 1.0.4 and I 
          then<br>upgraded it.<br><br>Now, I am trying to bring up another FS 
          instance (basically a clone of the<br>first), but the PRI does not 
          work.  When I attempt to make an<br>internal-to-PSTN call, I get 
          a &quot;502 Bad Gateway&quot; reply.  I verified that<br>both servers are 
          using the latest Sangoma Wanpipe driver, and I copied the<br>conf XML 
          file tree from the old server to the new one.  I think the 
          problem<br>has to do with the openzap module, but I&#39;m having 
          difficulty isolating the<br>problem.  Could it have built the 
          openzap module incorrectly?  Another<br>difference is that I 
          installed 1.0.5pre9 from scratch on the new server<br>(i.e. it never 
          had 1.0.4 running on it).<br><br>I put the FS log into the pastebin 
          when an outbound call attempt is made:<br><br><a href="http://pastebin.freeswitch.org/11675" target="_blank">http://pastebin.freeswitch.org/11675</a><br><br>Could 
          someone give me a pointer on what to try next?<br></blockquote>
        <div><br>Jerry, I noticed this 
        line:<br><span><span>(</span>OpenZAP/<span>1</span>:<span>1</span>/<span>3491028</span>@g1<span>)<br><br>Is 
        your </span></span>carrier wanting full ten digit phone numbers? Try 
        adding the area code on this and see what happens. The error usually 
        would be something like &quot;invalid number format&quot; but I&#39;ve seen carriers 
        do stupid things like this. Try that first and see if it makes a 
        difference. If not you&#39;ll need to turn on Q931 debugging as per the 
        Sangoma wiki. (See <a href="http://wiki.freeswitch.org/wiki/OpenZAP#Debugging_PRI_With_wanpipemon" target="_blank">http://wiki.freeswitch.org/wiki/OpenZAP#Debugging_PRI_With_wanpipemon</a> 
        for the 
  link.)<br><br>-MC<br></div></div><br></blockquote></blockquote></blockquote></div></div></blockquote></div>
<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>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>