Thanks Michael, but this is not possible in our scenario: A1 and A2 are in different locations and stp1 only connects to a1 and stp2 only connect to a2. I guess I will need some custom development...<br><br><div class="gmail_quote">
On Thu, Jan 12, 2012 at 20:26, Michael Mueller <span dir="ltr"><<a href="mailto:ss7box@gmail.com">ss7box@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div>Better chance of working without doing additional development. ssp to stp1 would be primary. ssp to stp2 would be alternative.</div><div><br></div>A1------------stp1----------ssp<div> | | |<br>
<div> | +-----+ |<br><div> | | |</div><div>+---------------+ |</div><div> | | |</div><div> +------+ | |</div>
<div> | | |<br>A2------------stp2-----------+</div><div><div class="h5"><div><br></div><div><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 9:50 AM, German Becker <span dir="ltr"><<a href="mailto:german.becker@gmail.com" target="_blank">german.becker@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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'll try to sketch the scenario<div>
<br></div><div><font face="'courier new', monospace">-------------</font></div><div><font face="'courier new', monospace">| Asterisk1 |--voice trunks-<br></font><div><font face="'courier new', monospace">| mtp3d |----------------|STP 1|----------|SSP| (destination point code)</font></div>
<div><font face="'courier new', monospace">------------- /</font></div><div><font face="'courier new', monospace"> | (tcp) /</font></div><div><font face="'courier new', monospace">------------ /</font></div>
<div><font face="'courier new', monospace">|Asterisk2 |--voice trunks /</font></div><div><font face="'courier new', monospace">|mtp3d |----------------|STP 2|--</font></div><div><font face="'courier new', monospace">------------<br>
</font><br>As for the variant. it is ITU. And weather it would be primary/alternate or "load balanced" 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't get how should i configure it.</div><div><br></div><div><div><font face="'courier new', monospace"> switch (link->linkset->loadshare) {</font></div>
<div><font face="'courier new', monospace"> case LOADSHARE_NONE:</font></div><div><font face="'courier new', monospace"> if (!link->schannel.mask)</font></div><div><font face="'courier new', monospace"> slink = link;</font></div>
<div><font face="'courier new', monospace"> break;</font></div><div><font face="'courier new', monospace"> case LOADSHARE_LINKSET:</font></div><div><font face="'courier new', monospace"> if (linkset->n_slinks)</font></div>
<div><font face="'courier new', monospace"> slink = linkset->slinks[cic % linkset->n_slinks];</font></div><div><font face="'courier new', monospace"> break;</font></div><div>
<font face="'courier new', monospace"> case LOADSHARE_COMBINED_LINKSET:</font></div><div><font face="'courier new', monospace"> {</font></div><div><font face="'courier new', monospace"> int n_slinks = 0;</font></div>
<div><font face="'courier new', monospace"> int six;</font></div><div><font face="'courier new', monospace"> for (lsi = 0; lsi < n_linksets; lsi++)</font></div><div><font face="'courier new', monospace"> if (linksets[lsi].enabled)</font></div>
<div><font face="'courier new', monospace"> if (&linksets[lsi] == linkset ||</font></div><div><font face="'courier new', monospace"> (is_combined_linkset(linkset, &linksets[lsi])))</font></div>
<div><font face="'courier new', monospace"> n_slinks += linksets[lsi].n_slinks;</font></div><div><font face="'courier new', monospace"> if (n_slinks) {</font></div>
<div><font face="'courier new', monospace"> six = cic % n_slinks;</font></div><div><font face="'courier new', monospace"> n_slinks = 0;</font></div><div><font face="'courier new', monospace"> for (lsi = 0; lsi < n_linksets; lsi++)</font></div>
<div><font face="'courier new', monospace"> if (linksets[lsi].enabled)</font></div><div><font face="'courier new', monospace"> if (&linksets[lsi] == linkset ||</font></div>
<div><font face="'courier new', monospace"> (is_combined_linkset(linkset, &linksets[lsi]))) {</font></div><div><font face="'courier new', monospace"> if (six - n_slinks < linksets[lsi].n_slinks) {</font></div>
<div><font face="'courier new', monospace"> slink = linksets[lsi].slinks[six - n_slinks];</font></div><div><font face="'courier new', monospace"> break;</font></div>
<div><font face="'courier new', monospace"> }</font></div><div><font face="'courier new', monospace"> n_slinks += linksets[lsi].n_slinks;</font></div>
<div><font face="'courier new', monospace"> }</font></div><div><font face="'courier new', monospace"> }</font></div><div><font face="'courier new', monospace"> }</font></div>
<div><font face="'courier new', monospace"> break;</font></div><div><font face="'courier new', monospace"> }</font></div></div><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"><<a href="mailto:ss7box@gmail.com" target="_blank">ss7box@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">are those 2 "hosts" 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>On Thu, Jan 12, 2012 at 8:15 AM, German Becker <span dir="ltr"><<a href="mailto:german.becker@gmail.com" target="_blank">german.becker@gmail.com</a>></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>
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'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><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></div></div>
<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></div></div></div>
<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>