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. Below
are my openzap/wanpipe configurations (which should all be
defaulted). Do you seen anything wrong with
these defaults, which might cause the following FS console
error?
zap_io.c:1197 outgoing_call method not
implemented!
openzap.conf:
[span wanpipe smg_prid]
name => smg_prid
trunk_type
=>t1
b-channel => 1:1-23
autoload_configs/openzap.conf.xml:
<configuration
name="openzap.conf" description="OpenZAP
Configuration">
<settings>
<param name="debug" value="9"/>
<!--<param
name="hold-music" value="$${moh_uri}"/>-->
<!--<param name="enable-analog-option"
value="call-swap"/>-->
<!--<param
name="enable-analog-option" value="3-way"/>-->
</settings>
<boost_spans>
<span
id="smg_prid">
<!--<param
name="hold-music" value="$${moh_uri}"/>-->
<param
name="dialplan" value="XML"/>
<param
name="context" value="default"/>
<!-- regex to stop
dialing when it matches -->
<!--<param
name="dial-regex" value="5555"/>-->
<!-- regex to stop
dialing when it does not match -->
<!--<param
name="fail-dial-regex" value="^5"/>-->
</span>
</boost_spans>
<analog_spans>
</analog_spans>
</configuration>
wanpipe.conf:
[defaults]
codec_ms => 20
wink_ms =>
150
flash_ms => 750
Thanks and Best Regards,
Jerry
On Mon, Jan 4, 2010 at 3:49 PM, Jerry Richards
<jerry.richards@teotech.com> wrote:
Hello,
I have one FS instance that is working
well with a PRI and running FS
version 1.0.5pre9. Originally, it
was running FS version 1.0.4 and I then
upgraded it.
Now, I am
trying to bring up another FS instance (basically a clone of the
first),
but the PRI does not work. When I attempt to make
an
internal-to-PSTN call, I get a "502 Bad Gateway" reply. I
verified that
both servers are using the latest Sangoma Wanpipe driver,
and I copied the
conf XML file tree from the old server to the new one.
I think the problem
has to do with the openzap module, but I'm
having difficulty isolating the
problem. Could it have built the
openzap module incorrectly? Another
difference is that I installed
1.0.5pre9 from scratch on the new server
(i.e. it never had 1.0.4 running
on it).
I put the FS log into the pastebin when an outbound call
attempt is made:
http://pastebin.freeswitch.org/11675
Could someone
give me a pointer on what to try next?
Jerry, I noticed this
line:
(OpenZAP/1:1/3491028@g1)
Is
your 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
http://wiki.freeswitch.org/wiki/OpenZAP#Debugging_PRI_With_wanpipemon
for the link.)
-MC