<!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>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></BODY></HTML>