HI Michael, thanks for the reply. By hosts I mean asterisk boxes, that would make them SSPs Both of them are connected with one signalling link to one STP (different STP for each host) wich in turn will connect to the destination STP(s). I&#39;ll try to sketch the scenario<div>
<br></div><div><font face="&#39;courier new&#39;, monospace">-------------</font></div><div><font face="&#39;courier new&#39;, monospace">| Asterisk1 |--voice trunks-<br></font><div><font face="&#39;courier new&#39;, monospace">| mtp3d     |----------------|STP 1|----------|SSP| (destination point code)</font></div>
<div><font face="&#39;courier new&#39;, monospace">-------------                            /</font></div><div><font face="&#39;courier new&#39;, monospace">    | (tcp)                             /</font></div><div><font face="&#39;courier new&#39;, monospace">------------                           /</font></div>
<div><font face="&#39;courier new&#39;, monospace">|Asterisk2  |--voice trunks           /</font></div><div><font face="&#39;courier new&#39;, monospace">|mtp3d      |----------------|STP 2|--</font></div><div><font face="&#39;courier new&#39;, monospace">------------<br>
</font><br>As for the variant. it is ITU. And weather it would be primary/alternate or &quot;load balanced&quot; is under discussion with the connected party. However load bancing is a possibility.</div><div><br></div><div>
What I would like to achieve is for incomming messages, both mtp3d route them to the corresponding host (according to cic and ord opc); and for outgoing messages, each asterisk deceide on which link (or linkset) send it. </div>
<div><br></div><div>I thought something like these could be achieved, based on this part of the below(l4isuop.c), However, I don&#39;t get how should i configure it.</div><div><br></div><div><div><font face="&#39;courier new&#39;, monospace">    switch (link-&gt;linkset-&gt;loadshare) {</font></div>
<div><font face="&#39;courier new&#39;, monospace">        case LOADSHARE_NONE:</font></div><div><font face="&#39;courier new&#39;, monospace">            if (!link-&gt;schannel.mask)</font></div><div><font face="&#39;courier new&#39;, monospace">                slink = link;</font></div>
<div><font face="&#39;courier new&#39;, monospace">            break;</font></div><div><font face="&#39;courier new&#39;, monospace">        case LOADSHARE_LINKSET:</font></div><div><font face="&#39;courier new&#39;, monospace">            if (linkset-&gt;n_slinks)</font></div>
<div><font face="&#39;courier new&#39;, monospace">                slink = linkset-&gt;slinks[cic % linkset-&gt;n_slinks];</font></div><div><font face="&#39;courier new&#39;, monospace">            break;</font></div><div>
<font face="&#39;courier new&#39;, monospace">        case LOADSHARE_COMBINED_LINKSET:</font></div><div><font face="&#39;courier new&#39;, monospace">            {</font></div><div><font face="&#39;courier new&#39;, monospace">                int n_slinks = 0;</font></div>
<div><font face="&#39;courier new&#39;, monospace">                int six;</font></div><div><font face="&#39;courier new&#39;, monospace">                for (lsi = 0; lsi &lt; n_linksets; lsi++)</font></div><div><font face="&#39;courier new&#39;, monospace">                    if (linksets[lsi].enabled)</font></div>
<div><font face="&#39;courier new&#39;, monospace">                        if (&amp;linksets[lsi] == linkset ||</font></div><div><font face="&#39;courier new&#39;, monospace">                                (is_combined_linkset(linkset, &amp;linksets[lsi])))</font></div>
<div><font face="&#39;courier new&#39;, monospace">                            n_slinks += linksets[lsi].n_slinks;</font></div><div><font face="&#39;courier new&#39;, monospace">                if (n_slinks) {</font></div>
<div><font face="&#39;courier new&#39;, monospace">                    six = cic % n_slinks;</font></div><div><font face="&#39;courier new&#39;, monospace">                    n_slinks = 0;</font></div><div><font face="&#39;courier new&#39;, monospace">                    for (lsi = 0; lsi &lt; n_linksets; lsi++)</font></div>
<div><font face="&#39;courier new&#39;, monospace">                        if (linksets[lsi].enabled)</font></div><div><font face="&#39;courier new&#39;, monospace">                            if (&amp;linksets[lsi] == linkset ||</font></div>
<div><font face="&#39;courier new&#39;, monospace">                                    (is_combined_linkset(linkset, &amp;linksets[lsi]))) {</font></div><div><font face="&#39;courier new&#39;, monospace">                                if (six - n_slinks &lt; linksets[lsi].n_slinks) {</font></div>
<div><font face="&#39;courier new&#39;, monospace">                                    slink = linksets[lsi].slinks[six - n_slinks];</font></div><div><font face="&#39;courier new&#39;, monospace">                                    break;</font></div>
<div><font face="&#39;courier new&#39;, monospace">                                }</font></div><div><font face="&#39;courier new&#39;, monospace">                                n_slinks += linksets[lsi].n_slinks;</font></div>
<div><font face="&#39;courier new&#39;, monospace">                            }</font></div><div><font face="&#39;courier new&#39;, monospace">                }</font></div><div><font face="&#39;courier new&#39;, monospace">            }</font></div>
<div><font face="&#39;courier new&#39;, monospace">            break;</font></div><div><font face="&#39;courier new&#39;, monospace">    }</font></div></div><div><br></div><div> </div><div><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 11:29, Michael Mueller <span dir="ltr">&lt;<a href="mailto:ss7box@gmail.com">ss7box@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">are those 2 &quot;hosts&quot; STPs or SSPs? what you describe could be a combined linkset if connected to STPs and using ANSI SS7; if using ITU then this might be a primary/alternate linkset scenario; my experience says the combined linkset concept exists in ANSI SS7 and not in ITU <br>

<br><div class="gmail_quote"><div><div class="h5">On Thu, Jan 12, 2012 at 8:15 AM, German Becker <span dir="ltr">&lt;<a href="mailto:german.becker@gmail.com" target="_blank">german.becker@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<div><br></div><div>I have a scenario with 2 hosts, 2 links on each host, one of the links  with signaling on each host and the DPC for all the voice TS reachable through both signaling links. </div><div><br></div><div>



I&#39;m not sure if I need to create a single linkset with two signaling links on it (one per host), or two combined linksets.</div><div>I tried the 2 links aproach, but when one of the links is down (i.e. asterisk lose connection with the remote mtp3d), all the TS are set to block, instead of singnaling through the other link.</div>



<div><br></div><div>Has anyone set up a similar scenario?</div><div><br></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></font></span></blockquote></div><br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br></div></div>