<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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>
<br>
You can email me at: <a class="moz-txt-link-abbreviated" href="mailto:dyatsin@sangoma.com">dyatsin@sangoma.com</a> <br>
<br>
David<br>
<br>
On 4/7/2010 4:48 AM, lakshmanan ganapathy wrote:
<blockquote
cite="mid:v2t7d79b3931004070148w3cc64e67s22defeb353e0af14@mail.gmail.com"
type="cite">Hi,<br>
I have set verbose=4 in smg_pri.conf.<br>
I started the wanrouter.<br>
Here is the sangoma_mgd.log<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: ================System
restart=============<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: = Sangoma PRI Protocol
Stack Daemon =<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: = Version:
1.63 =<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: = Date: Feb 26
2010 =<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: = Wanpipe Release:
wanpipe-3.5.8.6 =<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: = Revision:Revision:
15607 =<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid:
===========================================<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: Number of spans:2<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: Verbosity set to:4<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: Log Debug disabled
(local:2)<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: Log Boost disabled
(local:6)<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: TSoft:span:1 pri_cpe
euroisdn dChan:16<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: TSoft:span:2 pri_net
euroisdn dChan:16<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: s2:Status:Up prot:Down<br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: BST:(P) Local:<a
moz-do-not-send="true" href="http://127.0.0.66:53001">127.0.0.66:53001</a>
Remote:<a moz-do-not-send="true" href="http://127.0.0.65:53001">127.0.0.65:53001</a><br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: BST:(N) Local:<a
moz-do-not-send="true" href="http://127.0.0.66:53000">127.0.0.66:53000</a>
Remote:<a moz-do-not-send="true" href="http://127.0.0.65:53000">127.0.0.65:53000</a><br>
Apr 7 13:58:25 FMS-FreeSwitch sangoma_prid: BST:Version:103<br>
Apr 7 13:58:27 FMS-FreeSwitch sangoma_prid: s2:Status:Up prot:Up<br>
Apr 7 13:58:31 FMS-FreeSwitch sangoma_prid: s1:Status:Up prot:Down<br>
Apr 7 13:58:32 FMS-FreeSwitch sangoma_prid: s1:Status:Up prot:Up<br>
Apr 7 13:58:37 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:58:37 last:13:58:26 grace:0)<br>
Apr 7 13:58:43 FMS-FreeSwitch sangoma_prid: Opening
/var/log/sangoma_pri/dchan_1.log<br>
Apr 7 13:58:47 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:58:47 last:13:58:37 grace:0)<br>
Apr 7 13:58:57 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:58:57 last:13:58:47 grace:0)<br>
Apr 7 13:58:57 FMS-FreeSwitch sangoma_prid: Assuming application is
dead<br>
Apr 7 13:59:07 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:59:07 last:13:58:57 grace:0)<br>
Apr 7 13:59:17 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:59:17 last:13:59:07 grace:0)<br>
Apr 7 13:59:27 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:59:27 last:13:59:17 grace:0)<br>
Apr 7 13:59:27 FMS-FreeSwitch sangoma_prid: Assuming application is
dead<br>
Apr 7 13:59:37 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:59:37 last:13:59:27 grace:0)<br>
Apr 7 13:59:47 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:59:47 last:13:59:37 grace:0)<br>
Apr 7 13:59:57 FMS-FreeSwitch sangoma_prid: HeartBeat timeout
(current:13:59:57 last:13:59:47 grace:0)<br>
Apr 7 13:59:57 FMS-FreeSwitch sangoma_prid: Assuming application is
dead<br>
<br>
>From freeswitch cli, if I say<br>
originate openzap/1/a/39114603@g2 &park(), I got the following in
the sangoma_mgd.log.<br>
<br>
Apr 7 14:13:50 FMS-FreeSwitch sangoma_prid: g2:Outgoing call (Smg-ID:2)<br>
Apr 7 14:13:50 FMS-FreeSwitch sangoma_prid: s2:Outgoing call ChanRq:1
Called-Nb[39114603] Calling-Nb[Unknown] (Smg-ID:2)<br>
Apr 7 14:13:50 FMS-FreeSwitch sangoma_prid: s2c1:Remote
released-Unallocated (unassigned) number(1)<br>
Apr 7 14:13:50 FMS-FreeSwitch sangoma_prid: s2c0:Call was already
cleared (TSOFT-ID:4)<br>
Apr 7 14:13:50 FMS-FreeSwitch sangoma_prid: g2:Call cleared (SMG-ID:2)<br>
<br>
By seeing this, I confirmed that span2 is working. Leave out the
Unallocated number, that's my internal problem.<br>
<br>
>From the extension, if I dial 0, nothing is printing in sangoma_mgd.log<br>
But in dhcan2.log I got the No/Circuit or channel available as I
mentioned earlier.<br>
<br>
In freeswitch mod_openzap is loaded properly.<br>
Any help!!!<br>
<br>
<br>
<div class="gmail_quote">On Wed, Apr 7, 2010 at 2:17 AM, David Yat
Sin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:david.yatsin@gmail.com">david.yatsin@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;">
<div bgcolor="#ffffff" text="#000000">Hi Lakshmanan, <br>
If you do not have anything printing in /var/log/sangoma_mgd.log, and
you have: <br>
verbose=4 //(or higher)<br>
<br>
in /etc/wanpipe/smg_pri.conf, check that you have these lines in
/etc/syslog.conf (or /etc/rsyslog.conf):<br>
<br>
local2.* /var/log/sangoma_mgd.log<br>
<br>
and restart your syslog. <br>
<br>
<br>
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>
<br>
If openzap is not loaded, you can type: <br>
load mod_openzap<br>
<br>
from the freeswitch CLI to load it. <br>
<br>
<div>-- <br>
<div>
<p class="MsoNormal"><b><span
style="font-size: 10pt; color: rgb(0, 51, 153);">David
Yat Sin, </span></b><b><span
style="font-size: 7.5pt; color: rgb(0, 51, 153);">BEng,
</span></b><b><span style="font-size: 10pt; color: rgb(0, 51, 153);">Software
Developer</span></b><b><span
style="font-size: 10pt; color: rgb(0, 51, 153);"><br>
</span></b><span style="font-size: 10pt; color: rgb(0, 51, 153);">Sangoma
Technologies
Inc. | 50
McIntosh Drive, Suite 120, Markham
ON L3R 9T3
Canada<br>
t. 1 905 474 1990 x 119 | e. </span><u><span
style="font-size: 10pt; color: rgb(0, 51, 153);"><a
moz-do-not-send="true" href="mailto:dyatsin@sangoma.com"
target="_blank"><span style="text-decoration: none;">dyatsin@sangoma.com</span></a></span></u> <span
style="color: windowtext;"></span></p>
<p class="MsoNormal"> </p>
</div>
</div>
<div>
<div class="h5"><br>
<br>
On 4/6/2010 12:24 AM, lakshmanan ganapathy wrote:
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">Hi all,<br>
In my office we have a Hard PBX, with some 4 extensions.<br>
We also have sangoma A102 card. <br>
>From the Hard PBX, if 0 is pressed, it is setup in a way that it
will
go to outside world.<br>
I've connected that line to span2 of the card.<br>
The span2 in the A102 card, is configured as PRI_NET.<br>
<br>
wanrouter status shows connected for the span2.<br>
<br>
But if I dial from the extension, I got the following in the
sangoma_dchan log.<br>
2010-04-03 12:49:49<br>
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>
Call Ref:0164<br>
Type:Setup (0x5)<br>
Bearer Capability:Coding:ITU-T(0) TransferCap:Speech(0)
TransferRate:64 Kbit/s(16) L1Prot:G.711 A-Law(3)<br>
Calling Party Number:4439114600(l:10) plan:isdn(1)
type:unknown(0)scr:user, passed(1) pres:allowed(0)<br>
High-Layer Compatibility:Undecodedhex [ 7d 02 91 81 ]<br>
<br>
2010-04-03 12:49:49<br>
OUTGOING [ 02 01 50 56 08 02 81 64 5a 08 02 82 a2 ]<br>
Call Ref:0164<br>
Type:Release Compl (0x5a)<br>
Cause:coding:ITU-T(0) location:Public network, local user(2) val:No
Circuit/Channel Available(34)<br>
<br>
The call in not reaching freeswitch ( I enabled debug log. But nothing
is printing in it ).<br>
Can someone suggest how to make this work.<br>
<br>
Please ask me if you need more information?, since I don't know what to
give now.<br>
<br>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<div class="im"><a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a>
</div></pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>