<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18852"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=542471722-06012010>By the way, I posted another pastebin log (<A
href="http://pastebin.freeswitch.org/11694">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 size=2 face=Arial><SPAN
class=542471722-06012010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=542471722-06012010>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 size=2 face=Arial><SPAN
class=542471722-06012010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=542471722-06012010>Thanks and Best Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=542471722-06012010>Jerry</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=542471722-06012010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=542471722-06012010></SPAN></FONT> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Jerry Richards
[mailto:jerry.richards@teotech.com] <BR><B>Sent:</B> Wednesday, January 06,
2010 11:52 AM<BR><B>To:</B>
'freeswitch-users@lists.freeswitch.org'<BR><B>Subject:</B> RE:
[Freeswitch-users] DESTINATION_OUT_OF_ORDER<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=456304719-06012010><FONT color=#0000ff
size=2 face=Arial>I capured logs of my FS startup and put them into the
pastebin (<A
href="http://pastebin.freeswitch.org/11692">http://pastebin.freeswitch.org/11692</A>).
At line 722, I see some errors:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=456304719-06012010><FONT color=#0000ff
size=2 face=Arial><SPAN class=nu0></SPAN></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=456304719-06012010><FONT face=Arial><FONT
color=#0000ff><FONT size=2><SPAN class=nu0>2010</SPAN><SPAN
class=nu0>-01</SPAN><SPAN class=nu0>-06</SPAN> <SPAN class=nu0>11</SPAN>:<SPAN
class=nu0>42</SPAN>:<SPAN class=nu0>49.907861</SPAN> <SPAN
class=br0>[</SPAN>ERR<SPAN class=br0>]</SPAN> zap_io.c:<SPAN
class=nu0>2562</SPAN> Error loading
/usr/local/freeswitch/mod/ozmod_sangoma_boost.so <SPAN
class=br0>[</SPAN>/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot
open shared object file: No such file or directory<SPAN
class=br0>]</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=nu0>2010</SPAN><SPAN class=nu0>-01</SPAN><SPAN class=nu0>-06</SPAN>
<SPAN class=nu0>11</SPAN>:<SPAN class=nu0>42</SPAN>:<SPAN
class=nu0>49.907883</SPAN> <SPAN class=br0>[</SPAN>ERR<SPAN class=br0>]</SPAN>
zap_io.c:<SPAN class=nu0>2722</SPAN> can't find
'sangoma_boost</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=nu0>2010</SPAN><SPAN class=nu0>-01</SPAN><SPAN class=nu0>-06</SPAN>
<SPAN class=nu0>11</SPAN>:<SPAN class=nu0>42</SPAN>:<SPAN
class=nu0>49.907902</SPAN> <SPAN class=br0>[</SPAN>ERR<SPAN class=br0>]</SPAN>
mod_openzap.c:<SPAN class=nu0>2379</SPAN> Error starting OpenZAP span <SPAN
class=nu0>1</SPAN> error</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=nu0>2010</SPAN><SPAN class=nu0>-01</SPAN><SPAN class=nu0>-06</SPAN>
<SPAN class=nu0>11</SPAN>:<SPAN class=nu0>42</SPAN>:<SPAN
class=nu0>49.907929</SPAN> <SPAN class=br0>[</SPAN>CONSOLE<SPAN
class=br0>]</SPAN> switch_loadable_module.c:<SPAN class=nu0>890</SPAN>
Successfully Loaded <SPAN class=br0>[</SPAN>mod_openzap<SPAN
class=br0>]</SPAN></FONT></FONT></FONT></DIV>
<DIV><SPAN class=br0><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=br0><SPAN class=456304719-06012010><FONT color=#0000ff size=2
face=Arial>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 class=br0><SPAN class=456304719-06012010><FONT color=#0000ff size=2
face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=br0><SPAN class=456304719-06012010><FONT color=#0000ff size=2
face=Arial>Thanks,<BR>Jerry</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=br0><SPAN class=456304719-06012010><FONT color=#0000ff size=2
face=Arial></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=br0><SPAN class=456304719-06012010><FONT color=#0000ff size=2
face=Arial></FONT></SPAN></SPAN> </DIV></SPAN><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Jerry Richards
[mailto:jerry.richards@teotech.com] <BR><B>Sent:</B> Wednesday, January 06,
2010 10:00 AM<BR><B>To:</B>
'freeswitch-users@lists.freeswitch.org'<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 size=2 face=Arial>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
class=228405317-06012010>Below </SPAN>are my openzap/wanpipe configurations
(which should all be defaulted)<SPAN class=228405317-06012010>. Do you
seen anything wrong with these defaults, which might cause the following FS
console error?</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=228405317-06012010></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=228405317-06012010><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><STRONG>openzap.conf:<BR></STRONG><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><STRONG>autoload_configs/openzap.conf.xml:</STRONG><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
class=228405317-06012010> </SPAN><span
id="smg_prid"><BR> <SPAN
class=228405317-06012010> </SPAN><!--<param
name="hold-music" value="$${moh_uri}"/>--><BR> <SPAN
class=228405317-06012010> </SPAN><param
name="dialplan" value="XML"/><BR> <SPAN
class=228405317-06012010> </SPAN><param
name="context" value="default"/><BR> <SPAN
class=228405317-06012010> </SPAN><!-- regex to
stop dialing when it matches --><BR> <SPAN
class=228405317-06012010> </SPAN><!--<param
name="dial-regex" value="5555"/>--><BR> <SPAN
class=228405317-06012010> </SPAN><!-- regex to
stop dialing when it does not match --><BR> <SPAN
class=228405317-06012010> </SPAN><!--<param
name="fail-dial-regex" value="^5"/>--><BR> <SPAN
class=228405317-06012010> </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><STRONG><SPAN
class=228405317-06012010>w</SPAN>anpipe.conf:</STRONG><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 size=2
face=Arial></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=228405317-06012010><FONT color=#0000ff
size=2 face=Arial>Thanks and Best Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=228405317-06012010><FONT color=#0000ff
size=2 face=Arial>Jerry</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=228405317-06012010><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> Michael Collins
[mailto:msc@freeswitch.org] <BR><B>Sent:</B> Tuesday, January 05, 2010
4:33 PM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<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: rgb(204,204,204) 1px solid; 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">http://wiki.freeswitch.org/wiki/OpenZAP#Debugging_PRI_With_wanpipemon</A>
for the
link.)<BR><BR>-MC<BR></DIV></DIV><BR></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>