<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Isn't that a license conflict? I assume Dialogic is commercial?<br><br><BR>Jan<BR><br><BR><br><BR><hr id="stopSpelling">From: sverker@abrahamsson.com<br>To: asterisk-ss7@lists.digium.com<br>Date: Thu, 15 Jul 2010 15:28:43 +0200<br>Subject: Re: [asterisk-ss7] SIGTRAN GW based on libss7<br><br>







<style>
.ExternalClass .ecxshape
{;}
</style>

<style>
.ExternalClass p.ecxMsoNormal, .ExternalClass li.ecxMsoNormal, .ExternalClass div.ecxMsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass a:link, .ExternalClass span.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass span.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass p
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsonormal, .ExternalClass li.ecxecxmsonormal, .ExternalClass div.ecxecxmsonormal
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass p.ecxecxmsochpdefault, .ExternalClass li.ecxecxmsochpdefault, .ExternalClass div.ecxecxmsochpdefault
{margin-right:0cm;margin-left:0cm;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink
{;}
.ExternalClass span.ecxecxmsohyperlinkfollowed
{;}
.ExternalClass span.ecxecxemailstyle18
{;}
.ExternalClass p.ecxecxmsonormal1, .ExternalClass li.ecxecxmsonormal1, .ExternalClass div.ecxecxmsonormal1
{margin-right:0cm;margin-bottom:0cm;margin-left:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass span.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass span.ecxecxemailstyle181
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass p.ecxecxmsochpdefault1, .ExternalClass li.ecxecxmsochpdefault1, .ExternalClass div.ecxecxmsochpdefault1
{margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:'Times New Roman','serif';}
.ExternalClass span.ecxEmailStyle28
{font-family:'Calibri','sans-serif';color:#1F497D;}
.ExternalClass .ecxMsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;}
.ExternalClass div.ecxWordSection1
{page:WordSection1;}
</style>





<div class="ecxWordSection1">

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">Yes, I’m only using the libss7 up to mtp3 level. The plan is to
support M2UA as well, and maybe M2PA if the need come up. </span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">I currently use Dialogic for SCCP/TCAP/MAP layers but the nice
part about this architecture is that it can be combined with more or less any
stack and any card supported by dahdi.</span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">/Sverker</span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="ecxMsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> asterisk-ss7-bounces@lists.digium.com
[mailto:asterisk-ss7-bounces@lists.digium.com] <b>On Behalf Of </b>Jan Berger<br>
<b>Sent:</b> den 15 juli 2010 2:47<br>
<b>To:</b> asterisk-ss7@lists.digium.com<br>
<b>Subject:</b> Re: [asterisk-ss7] SIGTRAN GW based on libss7</span></p>

</div>

</div>

<p class="ecxMsoNormal"> </p>

<p class="ecxMsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">I have never seen the value of ISUP over
SIGTRAN. CAMEL, INAP, MAP makes more sense, but in that case you should only
use mtp3 and avoid the rest of Asterisk for the IN-apps.<br>
<br>
<br>
That is unless you plan an integrated SRP solution.<br>
<br>
<br>
<br>
For Asterisk I would consider M2UA because that allows an Asterisk to benefit
from the redundancy and failover in M2UA + you could stack a SS7 that run's
over several boxes - thought the value is a bit limited.<br>
<br>
<br>
What do you use for SCCP, TCAP and CAMEL/MAP?<br>
<br>
<br>
Jan</span></p>

<div class="ecxMsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">

<hr size="2" width="100%" align="center" id="ecxstopSpelling">

</span></div>

<p class="ecxMsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">From: sverker@abrahamsson.com<br>
To: asterisk-ss7@lists.digium.com<br>
Date: Thu, 15 Jul 2010 10:17:16 +0200<br>
Subject: Re: [asterisk-ss7] SIGTRAN GW based on libss7</span></p>

<div>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">Hi Jan,</span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">You are right of course, ISUP needs more than just the signaling
to be relevant. My focus is on SCCP as it’s MAP and INAP that is most
interesting for me.</span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">Yes, I use the LGPL M3UA stack.</span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D">/Sverker</span></p>

<p class="ecxMsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"> </span></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p class="ecxMsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"> asterisk-ss7-bounces@lists.digium.com
[mailto:asterisk-ss7-bounces@lists.digium.com] <b>On Behalf Of </b>Jan Berger<br>
<b>Sent:</b> den 14 juli 2010 3:15<br>
<b>To:</b> asterisk-ss7@lists.digium.com<br>
<b>Subject:</b> Re: [asterisk-ss7] SIGTRAN GW based on libss7</span></p>

</div>

</div>

<p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'"> </span></p>

<p class="ecxMsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">hi Sverker,<br>
 <br>
Most interesting article.<br>
 <br>
SCCP over M3UA is straight forward, but how would you do ISUP?<br>
 <br>
What I mean is that ISUP contains reference to CIC's and basically is an
instruction to connect a voice channel - but what will you use to actually
connect to the voice channel ? Asterisk acting as an AS can be on a different box
than the SG, meaning that if you run a proper SG you will need to connect the
voice out from that box as well.<br>
 <br>
Are you using the LGPL M3UA stack?<br>
 <br>
Jan<br>
 <br>
&gt; From: sverker@abrahamsson.com<br>
&gt; To: asterisk-ss7@lists.digium.com<br>
&gt; Date: Tue, 13 Jul 2010 20:31:22 +0200<br>
&gt; Subject: [asterisk-ss7] SIGTRAN GW based on libss7<br>
&gt; <br>
&gt; Hello everybody,<br>
&gt; Since a while back I've been working on a SIGTRAN signaling gateway which<br>
&gt; use libss7 for MTP2 and MTP3 layers and currently support M3UA on the IP<br>
&gt; side, it needs some more work as still many things are hardcoded for the<br>
&gt; specific application but it is being used in production currently. I'm
using<br>
&gt; E1 card from Sangoma with wanpipe 3.5.11.4 and dahdi 2.3.0.<br>
&gt; <br>
&gt; To do that I've modified libss7 1.0.2 to allow SCCP packages to be passed<br>
&gt; from libss7 to the gateway app, as I'm currently using only that protocol.<br>
&gt; I'm now looking into cleaning up the code and making it general purpose,
and<br>
&gt; I'm also facing an issue. Some questions and remarks:<br>
&gt; <br>
&gt; * libss7 contains implementations for MTP2, MTP3 and ISUP. I'd be
interested<br>
&gt; to support ISUP over the SIGTRAN as well. One way to solve that is that
the<br>
&gt; lib has a call where the application can register which protocols it's<br>
&gt; interested of, i.e. ISUP in that case will be passed on to gw application<br>
&gt; instead of handled by internal implementation<br>
&gt; <br>
&gt; * in file NEWS-05-30-2008 it is mentioned that part of MTP2 processing has<br>
&gt; been moved to kernel space with a new channel driver in zaptel. Does that<br>
&gt; work with dahdi as well and is there any configuration needed to enable
it?<br>
&gt; I saw an issue on sending mtp2 packets, they were queued in user space but<br>
&gt; the poll in ss7linktest (that I based my app on) never got enabled for<br>
&gt; write. I did a quick fix in mtp3_transmit that after calling mtp2_msu then<br>
&gt; ss7_write is called.<br>
&gt; <br>
&gt; * as I understand the trunk is not the most up to date but there are<br>
&gt; development in other branches. Should I port my changes to trunk or to
some<br>
&gt; other branch?<br>
&gt; <br>
&gt; * In trunk there has been some api changes so that ss7linktest doesn't<br>
&gt; compile. I did changes to make it compile but I might have misunderstood<br>
&gt; something as it didn't work to run it, the link didn't come up. Is there
any<br>
&gt; API docs or working example code to use with trunk (or recommended
branch)?<br>
&gt; How about merging the branches and make a 2.0 release?<br>
&gt; <br>
&gt; * I'm currently facing an issue with memory corruption, I get the
following<br>
&gt; from valgrind:<br>
&gt; <br>
&gt; ==3591== 4999998 errors in context 2 of 8:<br>
&gt; ==3591== Thread 3:<br>
&gt; ==3591== Invalid free() / delete / delete[]<br>
&gt; ==3591== at 0x400551D: free (vg_replace_malloc.c:325)<br>
&gt; ==3591== by 0xC53E2F: mtp2_receive (mtp2.c:403)<br>
&gt; ==3591== by 0xC5460B: ss7_read (ss7.c:365)<br>
&gt; ==3591== by 0x80493B6: ss7_run (sgw.c:114)<br>
&gt; ==3591== by 0xC83831: start_thread (in /lib/libpthread-2.5.so)<br>
&gt; ==3591== by 0xBC3E0D: clone (in /lib/libc-2.5.so)<br>
&gt; ==3591== Address 0x40c9958 is 0 bytes inside a block of size 520 free'd<br>
&gt; ==3591== at 0x400551D: free (vg_replace_malloc.c:325)<br>
&gt; ==3591== by 0xC53E2F: mtp2_receive (mtp2.c:403)<br>
&gt; ==3591== by 0xC5460B: ss7_read (ss7.c:365)<br>
&gt; ==3591== by 0x80493B6: ss7_run (sgw.c:114)<br>
&gt; ==3591== by 0xC83831: start_thread (in /lib/libpthread-2.5.so)<br>
&gt; ==3591== by 0xBC3E0D: clone (in /lib/libc-2.5.so)<br>
&gt; ==3591==<br>
&gt; ==3591==<br>
&gt; ==3591== 4999998 errors in context 3 of 8:<br>
&gt; ==3591== Invalid read of size 4<br>
&gt; ==3591== at 0xC53E22: mtp2_receive (mtp2.c:402)<br>
&gt; ==3591== by 0xC5460B: ss7_read (ss7.c:365)<br>
&gt; ==3591== by 0x80493B6: ss7_run (sgw.c:114)<br>
&gt; ==3591== by 0xC83831: start_thread (in /lib/libpthread-2.5.so)<br>
&gt; ==3591== by 0xBC3E0D: clone (in /lib/libc-2.5.so)<br>
&gt; ==3591== Address 0x40c9b5c is 516 bytes inside a block of size 520 free'd<br>
&gt; ==3591== at 0x400551D: free (vg_replace_malloc.c:325)<br>
&gt; ==3591== by 0xC53E2F: mtp2_receive (mtp2.c:403)<br>
&gt; ==3591== by 0xC5460B: ss7_read (ss7.c:365)<br>
&gt; ==3591== by 0x80493B6: ss7_run (sgw.c:114)<br>
&gt; ==3591== by 0xC83831: start_thread (in /lib/libpthread-2.5.so)<br>
&gt; ==3591== by 0xBC3E0D: clone (in /lib/libc-2.5.so)<br>
&gt; <br>
&gt; Is this something that has already been addressed in trunk/dev branch? It<br>
&gt; had worked fine for a couple of weeks and then suddenly started to happen<br>
&gt; quite frequently under load.<br>
&gt; <br>
&gt; * The plan for the signaling gateway is to support M3UA, M2UA and M2PA as<br>
&gt; well as the Dialogic gct api. Naturally it will have to be released under<br>
&gt; GPL since libss7 is.<br>
&gt; <br>
&gt; Best regards<br>
&gt; Sverker<br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; _____________________________________________________________________<br>
&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>
&gt; <br>
&gt; asterisk-ss7 mailing list<br>
&gt; To UNSUBSCRIBE or update options visit:<br>
&gt; http://lists.digium.com/mailman/listinfo/asterisk-ss7</span></p>

<div class="ecxMsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">

<hr size="2" width="100%" align="center">

</span></div>

<p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">Your
E-mail and More On-the-Go. Get Windows Live Hotmail Free. <a href="https://signup.live.com/signup.aspx?id=60969">Sign up now.</a></span></p>

</div>

</div>

<p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'"> </span></p>

<div class="ecxMsoNormal" align="center" style="text-align:center"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">

<hr size="2" width="100%" align="center">

</span></div>

<p class="ecxMsoNormal"><span style="font-size:10.0pt;font-family:'Verdana','sans-serif'">Hotmail:
Powerful Free email with security by Microsoft. <a href="https://signup.live.com/signup.aspx?id=60969">Get it now.</a></span></p>

</div>

</div>                                               <br /><hr />Hotmail: Trusted email with powerful SPAM protection. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Sign up now.</a></body>
</html>