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"><<a href="mailto:jerry.richards@teotech.com">jerry.richards@teotech.com</a>></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'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
=> 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'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 "make" and "make install sounds-install
moh-install..." commands. Just prior to these makes I executed "make
clean" and "make distclean". You will notice in the makefile output that
ozmod_sangoma_boost.c never appears to get compiled. Shouldn'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'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'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>
'<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>
<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't find
'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>
'<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>
<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 =>
smg_prid<br>trunk_type =>t1<br>b-channel =>
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"><configuration
name="openzap.conf" description="OpenZAP
Configuration"><br> <settings><br>
<param name="debug" value="9"/><br>
<!--<param name="hold-music"
value="$${moh_uri}"/>--><br> <!--<param
name="enable-analog-option"
value="call-swap"/>--><br> <!--<param
name="enable-analog-option" value="3-way"/>--><br>
</settings><br> <boost_spans><br> <span> </span><span
id="smg_prid"><br> <span> </span><!--<param
name="hold-music" value="$${moh_uri}"/>--><br> <span> </span><param
name="dialplan" value="XML"/><br> <span> </span><param
name="context" value="default"/><br> <span> </span><!-- regex to
stop dialing when it matches --><br> <span> </span><!--<param
name="dial-regex" value="5555"/>--><br> <span> </span><!-- regex to
stop dialing when it does not match --><br> <span> </span><!--<param
name="fail-dial-regex" value="^5"/>--><br> <span> </span></span><br>
</boost_spans><br> <analog_spans><br>
</analog_spans><br></font></configuration></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 => 20<br>wink_ms =>
150<br>flash_ms => 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"><<a href="mailto:jerry.richards@teotech.com" target="_blank">jerry.richards@teotech.com</a>></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 "502 Bad Gateway" 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'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 "invalid number format" but I've seen carriers
do stupid things like this. Try that first and see if it makes a
difference. If not you'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>