[Freeswitch-users] Sangoma prid and multiple PRIs with FreeSWITCH

Bryan Vyhmeister freeswitch at bsdjournal.net
Wed May 5 08:01:41 PDT 2010

I setup a FreeSWITCH pbx with a Sangoma A102D card, the latest FreeSWITCH as
of yesterday, and Wanpipe 3.5.11. I have found that I cannot use both PRI
ports with Sangoma's smg_prid. The first one always works great but the
second one never works. I get the following error:

2010-05-05 09:42:02.573743 [CRIT] ozmod_sangoma_boost.c:257 SPAN is not
2010-05-05 09:42:02.573743 [ERR] switch_ivr_originate.c:2480 Cannot create
outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION]

When I start FreeSWITCH up I get this error on the console right after all
the channels are activated.

2010-05-05 07:25:59.414444 [ERR] ozmod_sangoma_boost.c:1534 Error: Opening
MCON Socket [-1] Address already in use

The configs are below:

[span wanpipe 1]
name => 1
trunk_type =>t1
b-channel => 1:1-23
[span wanpipe 2]
name => 2
trunk_type =>t1
b-channel => 2:1-23

<configuration name="openzap.conf" description="OpenZAP Configuration">
    <param name="debug" value="0"/>
<span id="1">
        <param name="node" value="cpe"/>
        <param name="switch" value="ni2"/>
<param name="dialplan" value="XML"/>
 <param name="context" value="public"/>
 <span id="2">
        <param name="node" value="cpe"/>
        <param name="switch" value="ni2"/>
 <param name="dialplan" value="XML"/>
<param name="context" value="public"/>

I'm dialing with this dial string.

        <action application="bridge"

I am certain the rest of this config works fine because the other PRI works
great. I have also attempted to use FreeSWITCH without Sangoma's smg_prid by
specifying a d-channel in openzap.conf. That seems to work but calls tend to
drop frequently. I would rather just use Sangoma's smg_prid. I also
attempted a hybrid config where FreeSWITCH worked without smg_prid on the
first PRI and the second PRI was handled by smg_prid. That config worked
except for the dropped calls that happen with using FreeSWITCH to manage the

My question is how can I get two PRI's working with Sangoma's smg_prid?
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100505/96254783/attachment-0001.html 

More information about the FreeSWITCH-users mailing list