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:<div>
<br></div><div><div>2010-05-05 09:42:02.573743 [CRIT] ozmod_sangoma_boost.c:257 SPAN is not online.</div><div>2010-05-05 09:42:02.573743 [ERR] switch_ivr_originate.c:2480 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION]</div>
<div><br></div><div>When I start FreeSWITCH up I get this error on the console right after all the channels are activated.</div><div><br></div><div><div>2010-05-05 07:25:59.414444 [ERR] ozmod_sangoma_boost.c:1534 Error: Opening MCON Socket [-1] Address already in use</div>
<div><br></div><div>The configs are below:</div><div><br></div><div>openzap.conf</div><div><div>[span wanpipe 1]</div><div>name => 1</div><div>trunk_type =>t1</div><div>b-channel => 1:1-23</div><div>[span wanpipe 2]</div>
<div>name => 2</div><div>trunk_type =>t1</div><div>b-channel => 2:1-23</div><div><br></div><div>openzap.conf.xml</div><div><div><configuration name="openzap.conf" description="OpenZAP Configuration"></div>
<div> <settings></div><div> <param name="debug" value="0"/></div><div> </settings></div><div> <boost_spans></div><div><span style="white-space:pre">        </span><span id="1"></div>
<div> <param name="node" value="cpe"/></div><div> <param name="switch" value="ni2"/></div><div><span style="white-space:pre">        </span><param name="dialplan" value="XML"/></div>
<div><span style="white-space:pre">        </span><param name="context" value="public"/></div><div><span style="white-space:pre">        </span></span></div>
<div><span style="white-space:pre">        </span><span id="2"></div><div> <param name="node" value="cpe"/></div><div> <param name="switch" value="ni2"/></div>
<div><span style="white-space:pre">        </span><param name="dialplan" value="XML"/></div><div><span style="white-space:pre">        </span><param name="context" value="public"/></div>
<div> </boost_spans></div><div> <analog_spans></div><div> </analog_spans></div><div></configuration></div><div><br></div><div>I'm dialing with this dial string.</div><div><br></div><div><div>
<action application="bridge" data="{origination_caller_id_number=${outbound_caller_id_number}}openzap/2/a/$1"/></div><div><br></div><div>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 d-channel.</div>
<div><br></div><div>My question is how can I get two PRI's working with Sangoma's smg_prid? Thank you.</div><div><br></div><div>Bryan</div>
</div></div></div></div></div>