<pre>The following link have the openzap.conf,openzap.conf.xml ,smg_pri.conf, output of oz list <br>and oz dump.<br><br><a href="http://www.pastebin.org/81929">http://www.pastebin.org/81929</a><br><br></pre><br><br><div class="gmail_quote">
On Mon, Jan 25, 2010 at 9:55 AM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com">thangappan143@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here I mentioned the link which has the details of /etc/wanpipe/smg_pri.conf <br><a href="http://www.pastebin.org/81895" target="_blank">http://www.pastebin.org/81895</a><div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Sat, Jan 23, 2010 at 10:02 AM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com" target="_blank">thangappan143@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Updated the latest version of freeswitch ( 1.0.5-20100121-0400) and run the wanrouter then freeswitch. While executing the freeswtich it said the following error.<br>
<br><pre>[ERR] zap_io.c:2562 Error loading/usr/local/freeswitch/mod/ozmod_sangoma_boost.so<br>
[/usr/local/freeswitch/mod/ozmod_sangoma_boost.so: cannot open shared object<br>file: No such file or directory]<br>[ERR] zap_io.c:2722 can't find 'sangoma_boost<br><br><br><br><br></pre>Searched about this in freeswitch mailing list and found one post was there regarding the same problem. Finally found the problem. I missed to install the SCTP packages. Installed it and compiled the freeswitch again now the inbound call was landed on freeswitch. <br>
<br>But I am unable to make a outbound call. When I was trying the following was get.<br><br>freeswitch@internal> originate openzap/smg_prid/a/9940464753@g1 openzap/smg_prid/a/9940464753@g1<br>-ERR NORMAL_CIRCUIT_CONGESTION<br>
<br>2010-01-23 10:00:45.688854 [WARNING] ozmod_sangoma_boost.c:348 TX EVENT: CALL_START:(80) [w1g1] CSid=2 Seq=2 Cn=[FreeSWITCH] Cd=[9940464753] Ci=[0000000000] Rdnis=[]<br>freeswitch@internal> 2010-01-23 10:00:46.709355 [WARNING] ozmod_sangoma_boost.c:1373 RX EVENT (N): CALL_START_NACK:(82) [w256g256] Rc=0 CSid=2 Seq=2<br>
2010-01-23 10:00:46.709355 [WARNING] sangoma_boost_client.c:220 TX EVENT (N): CALL_START_NACK_ACK:(83) [w1g1] Rc=0 CSid=2 Seq=3<br>2010-01-23 10:00:46.709355 [ERR] mod_openzap.c:1162 No channels available<br>2010-01-23 10:00:46.709355 [ERR] switch_ivr_originate.c:2411 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION]<br>
2010-01-23 10:00:46.709355 [DEBUG] switch_ivr_originate.c:3211 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]<br><br>Please help me...........<div><div></div><div><br><br><br><div class="gmail_quote">
On Fri, Jan 22, 2010 at 10:15 AM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com" target="_blank">thangappan143@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The following link have the openzap.conf,openzap.conf.xml ,smg_prid.conf , debug log of mod_openzap , oz list and oz dump 1 output.<br>
<br><a href="http://pastebin.org/80095" target="_blank">http://pastebin.org/80095</a><div><div></div><div><br><br><br><div class="gmail_quote">
On Thu, Jan 21, 2010 at 10:34 AM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com" target="_blank">thangappan143@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OpenZap is loading the ss7 signalling type. As per your concern openzap does not know the details of the signalling then how it is loading the ss7_boost libraries?<br><br>FreeSWITCH log:<br>-----------------------------<br>
2010-01-21 10:10:46.707844 [INFO] zap_io.c:2374 Configured 30 channel(s)<br>2010-01-21 10:10:46.708600 [INFO] zap_io.c:2468 Loading SIG from /usr/local/freeswitch/mod/ozmod_ss7_boost.so<br>2010-01-21 10:10:46.709031 [INFO] zap_io.c:2584 auto-loaded 'ss7_boost'<br>
2010-01-21 10:10:46.709466 [DEBUG] ss7_boost_client.c:124 Creating L=<a href="http://127.0.0.65:53000" target="_blank">127.0.0.65:53000</a> R=<a href="http://127.0.0.66:53000" target="_blank">127.0.0.66:53000</a><br>2010-01-21 10:10:46.709834 [DEBUG] ss7_boost_client.c:124 Creating L=<a href="http://127.0.0.65:53001" target="_blank">127.0.0.65:53001</a> R=<a href="http://127.0.0.66:53001" target="_blank">127.0.0.66:53001</a><br>
2010-01-21 10:10:46.710424 [WARNING] ss7_boost_client.c:244 TX EVENT (P): SYSTEM_RESTART:(87) [w1g1] Rc=0 CSid=0 Seq=0<br><br>The signalling type might be anything but when I used the oz list command it showed the span details. But I am unable to make a inbound and outbound call.<br>
<br>Outbound call result:<br>============<br>> originate openzap/smg_prid/a/9940464753 openzap/smg_prid/a/9843171457<br>-ERR NORMAL_CIRCUIT_CONGESTION<br><br>2010-01-21 10:26:14.304816 [CRIT] ozmod_ss7_boost.c:244 SPAN is not online.<br>
freeswitch@internal> 2010-01-21 10:26:14.304816 [ERR] mod_openzap.c:1043 No channels available<br>2010-01-21 10:26:14.304816 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [openzap] cause: [NORMAL_CIRCUIT_CONGESTION]<br>
2010-01-21 10:26:14.304816 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 34 [NORMAL_CIRCUIT_CONGESTION]<br><br>Inbound call result:<br>-----------------------------<br><br> I made incoming call for the dial plan which is specified in the earlier post at that time it said the number is busy. We did the packet capture using the following command.<br>
<br>wanpipemon -i w1g1 -pcap -pcap file isdn.pcap -port ISDN -full -systime -c trd <br><br>Here I attached the pcap file for that.<br><br><br>Where I did mistake or Did I miss any thing to do?<br>Please help me.......<div>
<div></div><div><br>
<br><br><div class="gmail_quote">On Wed, Jan 20, 2010 at 7:40 PM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com" target="_blank">thangappan143@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br> I noticed the 'oz list' output in that span type is 'ss7 (boost)'. How can I change this to isdn?<div><div></div><div><br><br><br><div class="gmail_quote">On Wed, Jan 20, 2010 at 12:43 PM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com" target="_blank">thangappan143@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I found the error in it. The file name is used as openzap.conf.xml ( smg_prid is specified here) and another file name as openzap.conf.wiki.xml ( PRI_1 span is specified here ). FreeSWITCH referred the PRI_1 span from openzap.conf.wiki.xml file.<br>
<br>Now the another problem is raised here.<br>When I was using oz list command , the details of the smg_prid shown. When I was using 'oz dump smg_prid' command it shows all the channels' details. But all the channels' states are DOWN. why? How can I make it the states to UP?<br>
<br>When I was making the call , the number is busy message was get. The call was not at all landed to the freeswitch.<br><br>Dial plan Example:<br>-------------------------------<br> <extension name="PRI_Testing"><br>
<condition field="destination_number" expression="^39114600$"><br> <action application="playback" data="ivr-welcome_to_freeswitch"/><br> </condition><br>
</extension><br><br>Please help me...........<br><br><b>Output Reference:</b><br><a href="http://pastebin.org/79074" target="_blank">http://pastebin.org/79074</a><div><div></div><div><br><br><div class="gmail_quote">
On Wed, Jan 20, 2010 at 11:25 AM, Thangappan.M <span dir="ltr"><<a href="mailto:thangappan143@gmail.com" target="_blank">thangappan143@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear all,<br><br> I have successfully configured wanpipe with freeswitch. When I was the running wancfg_fs script the following files openzap.conf , autoload_confg/openzap.conf.xml , /etc/wanpipe/wanpipe1.xml, smg_pri.conf are created.<br>
<br> I started the wanrouter command then executed the freeswitch.<br> When I was executing freeswitch mod_openzap.c said the error as "Error for finding the span id. name:PRI_1".<br> But in the openzap.conf and openzap.conf.xml files the span name is smg_prid.<br>
<br> Why the freeswitch is referring the span name as PRI_1 ? <br> Whether this has to configured in anywhere? <br><br> In the freeswitch CLI using oz command I tried to dump the PRI_1 span id but it said te error as "PRI_1 is not found". When I was trying the command 'oz dump smg_prid' all the channel states and details shown.<br>
<br> It seems that smg_prid span configured in openzap perfectly (Its my assumption). Then Why freeswitch is referring the span name as PRI_1. <br><br>DID I MAKE ANY MISTAKE OR DID I MISS ANYTHING TO DO?<br><br>Could anyone please help me?<br>
<br>REFERENCE:<br><br>openzap.conf <br>[span wanpipe smg_prid]<br>name => smg_prid<br>trunk_type =>e1<br>b-channel => 1:1-15<br>b-channel => 1:17-31<br><br><br>openzap.conf.xml <br><configuration name="openzap.conf" description="OpenZAP Configuration"><br>
<settings><br> <param name="debug" value="0"/><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 id="smg_prid"><br> <!--<param name="hold-music" value="$${moh_uri}"/>--><br>
<param name="dialplan" value="XML"/><br> <param name="context" value="default"/><br> <!-- regex to stop dialing when it matches --><br> <!--<param name="dial-regex" value="5555"/>--><br>
<!-- regex to stop dialing when it does not match --><br> <!--<param name="fail-dial-regex" value="^5"/>--><br> </span><br> </boost_spans><br> <analog_spans><br>
</analog_spans><br></configuration><br><br><br><br> <br><br clear="all"><br>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Regards,<br><font color="#888888">Thangappan.M<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Thangappan.M<br>