Hi all,<br>         I&#39;ve contacted the sangoma support, and they are looking into the issue.<br>They also told that the problem is in the PRI STACK.<br>So in the mean time, I planned to change the stack and check. So I switched to libpri.<br>
I&#39;ve configured the things and both Incoming and outgoing works on span1.<br>On span2, from the extension, If I dial, I got <br><br>2010-04-17 10:51:15.218100 [WARNING] ozmod_libpri.c:760 --Duplicate Ring on channel 2:-1 (ignored)<br>
<br>The freeswitch log is:<br>     <a href="http://pastebin.freeswitch.org/12738">http://pastebin.freeswitch.org/12738</a><br>I also went to see what is the problem. It seems to me that, when SETUP comes, ozmod_libpri.c is checking for the B-channel number.<br>
Since it is not there, it print Duplicate ring on channel.<br><br>I also came to know that, first SETUP will request the telco (B-chan identification won&#39;t be there). Then the telco responds with the B-channel to use in SETUP_ACK.<br>
The further communication will happen with the B-chan identification.<br><br>Am  I correct!!. Please give inputs to me to solve this issue.<br><br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 11:11 AM, Michael Collins <span dir="ltr">&lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt;</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><br><div class="gmail_quote"><div class="im">On Thu, Apr 8, 2010 at 9:38 PM, lakshmanan ganapathy <span dir="ltr">&lt;<a href="mailto:lakindia89@gmail.com" target="_blank">lakindia89@gmail.com</a>&gt;</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;">
Right now I can&#39;t provide you the ssh access to the box, since the company<br>policy doesn&#39;t allow to do so. </blockquote></div><div><br>You might want to ask the company if they can lift that policy for the sake of saving everyone&#39;s time and energy. I know we have some professionals who would be willing to sign a reasonable NDA or whatnot to ensure security. <br>
<font color="#888888">
-MC<br> <br></font></div><div><div></div><div class="h5"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">But I can explain you more clearly about<br>
the setup and my need.<br><br>
The following is the setup.<br>
&gt;From a Telephone Exchange, a line will be connected to the FS-BOX,  in span1.<br>We have an internal Hard PBX with some 4 extensions.<br>We have connected the Hard PBX to FS-BOX in span2.<br><br>I&#39;ve configured span1 as PRI_CPE and span2 as PRI_NET.<br>


span1 don&#39;t have any problems. Both incoming and outgoing works fine.<br>In span2, I was able to make incoming call. It rings the extension.<br>But when I make outgoing call from those extension, I got NO CIRCUIT OR CHANNEL AVAILABLE.<br>


<br>Right now in sangoma_mgd log, I got the following when I make outgoing call. <br><br>Apr  8 10:20:21 FMS-FreeSwitch sangoma_prid: Opening<br>/var/log/sangoma_pri/dchan_2.log<br>Apr  8 10:20:21 FMS-FreeSwitch sangoma_prid: Rx Tsoft [s2c0 7:StatusIn<br>


3:134716232 id:65535]<br>Apr  8 10:20:21 FMS-FreeSwitch sangoma_prid: Rx Tsoft [s2c0 7:StatusIn<br>4:134716308 id:65535]<br><br>Moreover I also have an Asterisk Box with Digim card. It works fine there. When i dial from extension, it reaches asterisk and it responds with SETUP_ACK.<br>


<br>please guide me.<br><br><br>On Wed, Apr 7, 2010 at 10:44 PM, David Yat Sin &lt;<a href="mailto:david.yatsin@gmail.com" target="_blank">david.yatsin@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; Can you provide me with SSH access to that box and a phone number I can use to trigger an incoming call on span 2 to that box?<br>


&gt;<br>&gt; You can email me at: <a href="mailto:dyatsin@sangoma.com" target="_blank">dyatsin@sangoma.com</a><br>&gt;<br>&gt; David<br>&gt;<br>&gt; On 4/7/2010 4:48 AM, lakshmanan ganapathy wrote:<br>&gt;<br>&gt; Hi,<br>

&gt; I have set verbose=4 in smg_pri.conf.<br>
&gt; I started the wanrouter.<br>&gt; Here is the sangoma_mgd.log<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: ================System restart=============<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: = Sangoma PRI Protocol Stack Daemon       =<br>


&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: = Version: 1.63                           =<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: = Date: Feb 26 2010                       =<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: = Wanpipe Release: wanpipe-3.5.8.6       =<br>


&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: = Revision:Revision: 15607                =<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: ===========================================<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: Number of spans:2<br>


&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: Verbosity set to:4<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: Log Debug disabled (local:2)<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: Log Boost disabled (local:6)<br>


&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: TSoft:span:1 pri_cpe euroisdn dChan:16<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: TSoft:span:2 pri_net euroisdn dChan:16<br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: s2:Status:Up prot:Down<br>


&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: BST:(P) Local:<a href="http://127.0.0.66:53001" target="_blank">127.0.0.66:53001</a> Remote:<a href="http://127.0.0.65:53001" target="_blank">127.0.0.65:53001</a><br>&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: BST:(N) Local:<a href="http://127.0.0.66:53000" target="_blank">127.0.0.66:53000</a> Remote:<a href="http://127.0.0.65:53000" target="_blank">127.0.0.65:53000</a><br>


&gt; Apr  7 13:58:25 FMS-FreeSwitch sangoma_prid: BST:Version:103<br>&gt; Apr  7 13:58:27 FMS-FreeSwitch sangoma_prid: s2:Status:Up prot:Up<br>&gt; Apr  7 13:58:31 FMS-FreeSwitch sangoma_prid: s1:Status:Up prot:Down<br>&gt; Apr  7 13:58:32 FMS-FreeSwitch sangoma_prid: s1:Status:Up prot:Up<br>


&gt; Apr  7 13:58:37 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:58:37 last:13:58:26 grace:0)<br>&gt; Apr  7 13:58:43 FMS-FreeSwitch sangoma_prid: Opening /var/log/sangoma_pri/dchan_1.log<br>&gt; Apr  7 13:58:47 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:58:47 last:13:58:37 grace:0)<br>


&gt; Apr  7 13:58:57 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:58:57 last:13:58:47 grace:0)<br>&gt; Apr  7 13:58:57 FMS-FreeSwitch sangoma_prid: Assuming application is dead<br>&gt; Apr  7 13:59:07 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:59:07 last:13:58:57 grace:0)<br>


&gt; Apr  7 13:59:17 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:59:17 last:13:59:07 grace:0)<br>&gt; Apr  7 13:59:27 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:59:27 last:13:59:17 grace:0)<br>


&gt; Apr  7 13:59:27 FMS-FreeSwitch sangoma_prid: Assuming application is dead<br>&gt; Apr  7 13:59:37 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:59:37 last:13:59:27 grace:0)<br>&gt; Apr  7 13:59:47 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:59:47 last:13:59:37 grace:0)<br>


&gt; Apr  7 13:59:57 FMS-FreeSwitch sangoma_prid: HeartBeat timeout (current:13:59:57 last:13:59:47 grace:0)<br>&gt; Apr  7 13:59:57 FMS-FreeSwitch sangoma_prid: Assuming application is dead<br>&gt;<br>&gt; &gt;From freeswitch cli, if I say<br>


&gt; originate openzap/1/a/39114603@g2 &amp;park(), I got the following in the sangoma_mgd.log.<br>&gt;<br>&gt; Apr  7 14:13:50 FMS-FreeSwitch sangoma_prid: g2:Outgoing call (Smg-ID:2)<br>&gt; Apr  7 14:13:50 FMS-FreeSwitch sangoma_prid: s2:Outgoing call ChanRq:1 Called-Nb[39114603] Calling-Nb[Unknown] (Smg-ID:2)<br>


&gt; Apr  7 14:13:50 FMS-FreeSwitch sangoma_prid: s2c1:Remote released-Unallocated (unassigned) number(1)<br>&gt; Apr  7 14:13:50 FMS-FreeSwitch sangoma_prid: s2c0:Call was already cleared (TSOFT-ID:4)<br>&gt; Apr  7 14:13:50 FMS-FreeSwitch sangoma_prid: g2:Call cleared (SMG-ID:2)<br>


&gt;<br>&gt; By seeing this, I confirmed that span2 is working. Leave out the Unallocated number, that&#39;s my internal problem.<br>&gt;<br>&gt; &gt;&gt;From the extension, if I dial 0, nothing is printing in sangoma_mgd.log<br>


&gt; But in dhcan2.log I got the No/Circuit or channel available as I mentioned earlier.<br>&gt;<br>&gt; In freeswitch mod_openzap is loaded properly.<br>&gt; Any help!!!<br>&gt;<br>&gt;<br>&gt; On Wed, Apr 7, 2010 at 2:17 AM, David Yat Sin &lt;<a href="mailto:david.yatsin@gmail.com" target="_blank">david.yatsin@gmail.com</a>&gt; wrote:<br>


&gt;&gt;<br>&gt;&gt; Hi Lakshmanan,<br>&gt;&gt; If you do not have anything printing in /var/log/sangoma_mgd.log, and you have:<br>&gt;&gt; verbose=4           //(or higher)<br>&gt;&gt;  <br>&gt;&gt; in /etc/wanpipe/smg_pri.conf, check that you have these lines in /etc/syslog.conf (or /etc/rsyslog.conf):<br>


&gt;&gt;<br>&gt;&gt; local2.*                /var/log/sangoma_mgd.log<br>&gt;&gt;<br>&gt;&gt; and restart your syslog.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; my first guess is that you do not have openzap loaded so sangoma_prid is rejecting all incoming calls, but I would need logs in /var/log/sangoma_mgd.log to confirm.<br>


&gt;&gt;<br>&gt;&gt; If openzap is not loaded, you can type:<br>&gt;&gt; load mod_openzap<br>&gt;&gt;<br>&gt;&gt; from the freeswitch CLI to load it.<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt;<br>&gt;&gt; David Yat Sin, BEng, Software Developer<br>


&gt;&gt; Sangoma Technologies Inc. | 50 McIntosh Drive, Suite 120, Markham ON L3R 9T3 Canada<br>&gt;&gt; t. 1 905 474 1990 x 119 | e. <a href="mailto:dyatsin@sangoma.com" target="_blank">dyatsin@sangoma.com</a> <br>&gt;&gt;<br>

&gt;&gt;  <br>
&gt;&gt;<br>&gt;&gt; On 4/6/2010 12:24 AM, lakshmanan ganapathy wrote:<br>&gt;&gt;<br>&gt;&gt; Hi all,<br>&gt;&gt; In my office we have a Hard PBX, with some 4 extensions.<br>&gt;&gt; We also have sangoma A102 card.<br>&gt;&gt; &gt;From the Hard PBX, if 0 is pressed, it is setup in a way that it will go to outside world.<br>


&gt;&gt; I&#39;ve connected that line to span2 of the card.<br>&gt;&gt; The span2 in the A102 card, is configured as PRI_NET.<br>&gt;&gt;<br>&gt;&gt; wanrouter status shows connected for the span2.<br>&gt;&gt;<br>&gt;&gt; But if I dial from the extension, I got the following in the sangoma_dchan log.<br>


&gt;&gt; 2010-04-03 12:49:49<br>&gt;&gt; INCOMING [ 00 01 54 50 08 02 01 64 05 04 03 80 90 a3 6c 0c 01 81 34 34 33 39 31 31 34 36 30 30 7d 02 91 81 ]<br>&gt;&gt;   Call Ref:0164<br>&gt;&gt;   Type:Setup (0x5)<br>&gt;&gt;   Bearer Capability:Coding:ITU-T(0) TransferCap:Speech(0) TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3)<br>


&gt;&gt;   Calling Party Number:4439114600(l:10) plan:isdn(1) type:unknown(0)scr:user, passed(1) pres:allowed(0)<br>&gt;&gt;   High-Layer Compatibility:Undecodedhex [ 7d 02 91 81 ]<br>&gt;&gt;<br>&gt;&gt; 2010-04-03 12:49:49<br>


&gt;&gt; OUTGOING [ 02 01 50 56 08 02 81 64 5a 08 02 82 a2 ]<br>&gt;&gt;   Call Ref:0164<br>&gt;&gt;   Type:Release Compl (0x5a)<br>&gt;&gt;   Cause:coding:ITU-T(0) location:Public network, local user(2) val:No Circuit/Channel Available(34)<br>


&gt;&gt;<br>&gt;&gt; The call in not reaching freeswitch ( I enabled debug log. But nothing is printing in it ).<br>&gt;&gt; Can someone suggest how to make this work.<br>&gt;&gt;<br>&gt;&gt; Please ask me if you need more information?, since I don&#39;t know what to give now.<div>

<div></div><div><br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; FreeSWITCH-users mailing list<br>&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>


&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>


&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;&gt;   <br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; FreeSWITCH-users mailing list<br>

&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>


&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>


&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>


&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;   <br>&gt;<br>&gt; _______________________________________________<br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>


&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>


&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt;<br><br>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div></div></div><br>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>