<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<html><head><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
h4
        {mso-style-priority:9;
        mso-style-link:"Heading 4 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        font-weight:bold;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.Heading4Char
        {mso-style-name:"Heading 4 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 4";
        font-weight:bold;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor="white" lang="EN-ZA" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Think you will require assistance from the more experienced guys.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But I’m guess you will need to override in your template files… unless this has been provided for in newer versions:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I’m not familiar with it further than that, so sure someone else will reply if I’m wrong.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It’s the load balance that needs the additional setup so, if you have your extra net cards configured and working </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">check</span> <a href="http://www.sipwise.com/doc/2.8/spce/ar01s05.html#_network_configuration">http://www.sipwise.com/doc/2.8/spce/ar01s05.html#_network_configuration</a></p>
<p class="MsoNormal" style><span style="font-size:13.5pt;font-family:"Verdana","sans-serif";color:#006600">5.5.2. Extra SIP listening ports</span></p><p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:18.0pt">
<span style="font-family:"Verdana","sans-serif"">By default, the load-balancer in sip:provider CE listens on the UDP and TCP ports 5060 (<i>kamailio</i></span><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">lb</span></i><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">port</span></i><span style="font-family:"Verdana","sans-serif"">) and TLS port 5061 (<i>kamailio</i></span><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">lb</span></i><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">tls</span></i><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">port</span></i><span style="font-family:"Verdana","sans-serif"">). Should you need to setup one or more extra non-standard listening ports in addition to those standard ports, please edit the<i>kamailio</i></span><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">lb</span></i><span style="font-family:"Arial","sans-serif"">→</span><i><span style="font-family:"Verdana","sans-serif"">extra_sockets</span></i><span style="font-family:"Verdana","sans-serif""> option in your <i>/etc/ngcp-config/config.yml</i> file.</span></p>
<p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:18.0pt"><span style="font-family:"Verdana","sans-serif"">The correct format consists of a label and value like this:</span></p>
<div style="border:solid #bbbbbb 1.0pt;padding:4.0pt 11.0pt 4.0pt 11.0pt;background:#eeeeee"><p class="MsoNormal" style="background:#eeeeee;border:none;padding:0cm"><span style="font-family:"Courier New"">    extra_sockets:</span></p>
<p class="MsoNormal" style="background:#eeeeee;border:none;padding:0cm"><span style="font-family:"Courier New"">      port_5064: udp:<a href="http://10.15.20.108:5064">10.15.20.108:5064</a></span></p><p class="MsoNormal" style="background:#eeeeee;border:none;padding:0cm">
<span style="font-family:"Courier New"">      test: udp:<a href="http://10.15.20.108:6060">10.15.20.108:6060</a></span></p></div><p class="MsoNormal" style="margin-right:0cm;margin-bottom:7.5pt;margin-left:0cm;line-height:18.0pt">
<span style="font-family:"Verdana","sans-serif"">The label is shown in </span><span style="font-size:10.0pt;font-family:"Courier New"">outbound_socket</span><span style="font-family:"Verdana","sans-serif""> peer preference (if you want to route calls to specific peer out via specific socket); the value must contain a transport specification as in example above (udp, tcp or tls).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span 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="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Deon Vermeulen [mailto:<a href="mailto:vermeulen.deon@gmail.com">vermeulen.deon@gmail.com</a>] <br>
<b>Sent:</b> 18 April 2013 01:24 PM<br><b>To:</b> Matthew Ogden<br><b>Cc:</b> <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br><b>Subject:</b> Re: [Spce-user] Network Configuration</span></p>
</div></div><p class="MsoNormal"> </p><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi Matthew<br><br>One of the providers specifically require a L2 connectivity and on a specific port.<br>
<br>Kamailio can listen on different IP:port.<br><br>/etc/kamailio/proxy/kamailio.cfg<br><br># internal interfaces<br>listen=<a href="udp:127.0.0.1:5062">udp:127.0.0.1:5062</a><br>listen=tcp:<a href="http://127.0.0.1:5062">127.0.0.1:5062</a><br>
<br>I don't want to hard "code" the listening interfaces and ports there as I'm not sure what effect it will have when setting up the peers and what effect " ngcpcfg apply " will have on future configuration changes and or future updates.<br>
<br><br>Thanks again for any assistance/guidance<br><br><br>Kind Regards<br>Deon<br><br></span></p><div style="margin-left:18.75pt;margin-top:22.5pt;margin-right:18.75pt;margin-bottom:7.5pt"><div style="border:none;border-top:solid #edeef0 1.0pt;padding:4.0pt 0cm 0cm 0cm;display:table">
<div><p class="MsoNormal" style="vertical-align:middle"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><img border="0" width="25" height="25" id="_x0000_i1025" src="cid:image001.jpg@01CE3C38.ABD63360" name="compose-unknown-contact.jpg"></span></p>
</div><div><p class="MsoNormal" style="vertical-align:middle"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><a href="mailto:matthew@tenacit.net"><b>Matthew Ogden</b></a></span></p></div>
<div><p class="MsoNormal" style="vertical-align:middle"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#9fa2a5">April 18, 2013 12:14 PM</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""></span></p>
</div></div></div><div style="margin-left:18.0pt;margin-right:18.0pt"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Deon, </span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Why must each carrier use a different network. (It is not supported by SPCE as it stands anyhow as far as I know).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Rather setup gateway firewall if they need to be split down different physical connections. (Cisco, Juniper, actual linux firewall etc)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards</span></p>
<p class="MsoNormal"><span 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="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> <a href="mailto:spce-user-bounces@lists.sipwise.com">spce-user-bounces@lists.sipwise.com</a> [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com">spce-user-bounces@lists.sipwise.com</a>] <b>On Behalf Of </b>Deon Vermeulen<br>
<b>Sent:</b> 18 April 2013 12:58 PM<br><b>To:</b> <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br><b>Subject:</b> [Spce-user] Network Configuration</span></p></div></div><p class="MsoNormal">
 </p><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Hi<br><br>Can anyone please help me to achieve the following network configuration:<br><br>                                                                PROVIDER 2<br>
                                                                        | <br>                                                                        | <br>                                                                 SIP TRUNK<br>
                                                                        | <br>                                                                        |<br>Internal Network  ---- SIP TRUNK  -----   SPCE   ----- SIP TRUNK ----- PROVIDER 1<br>
                                                                        | <br>                                                                        | <br>                                                                 SIP TRUNK<br>
                                                                        | <br>                                                                        | <br>                                                                PROVIDER 3<br>
<br><br>Network Addresses and Listening Ports:<br><br>Internal Network<br>- Eth0<br>      ip: 192.168.0.10<br>      netmask: 255.255.255.0<br>      port: 5060<br>      protocol: udp<br>      rtp_ext<br>      web_int<br>      web_ext<br>
<br>PROVIDER 1<br>- Eth1<br>      ip: 172.16.1.10<br>      netmask: 255.255.255.0<br>      port: 6080 <br>      protocol: udp <br>      rtp_ext<br><br>PROVIDER 2<br>- Eth2<br>      ip: 172.16.2.10<br>      netmask: 255.255.255.0<br>
      port: 6085<br>      protocol: udp <br>      rtp_ext:<br><br>PROVIDER 3<br>- Eth3<br>      ip: 172.16.3.10<br>      netmask: 255.255.255.0<br>      port: 6090<br>      protocol: udp<br>      rtp_ext<br><br><br>OBJECTIVES:<br>
1. All services should be available on the Internal Network.<br>2. Only SIP and RTP services should be available on the PROVIDER networks.<br>3. Only the assigned SIP Ports should be available to the respective PROVIDER, ie. PROVIDER 1 only port 6080 udp.<br>
4. I'm not sure how the roles should be setup for each respective interface?<br><br><br>Thanks a lot.<br><br>Kind Regards<br><br>Deon</span></p></div></div></div><div style="margin-left:18.75pt;margin-top:22.5pt;margin-right:18.75pt;margin-bottom:7.5pt">
<div style="border:none;border-top:solid #edeef0 1.0pt;padding:4.0pt 0cm 0cm 0cm;display:table"><div><p class="MsoNormal" style="vertical-align:middle"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><img border="0" width="25" height="25" id="_x0000_i1026" src="cid:image002.jpg@01CE3C38.ABD63360" name="postbox-contact.jpg"></span></p>
</div><div><p class="MsoNormal" style="vertical-align:middle"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><a href="mailto:vermeulen.deon@gmail.com"><b>Deon Vermeulen</b></a></span></p>
</div><div><p class="MsoNormal" style="vertical-align:middle"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#9fa2a5">April 18, 2013 11:58 AM</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""></span></p>
</div></div></div><div style="margin-left:18.0pt;margin-right:18.0pt"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#888888">Hi<br><br>Can anyone please help me to achieve the following network configuration:<br>
<br>                                                                PROVIDER 2<br>                                                                        | <br>                                                                        | <br>
                                                                 SIP TRUNK<br>                                                                        | <br>                                                                        |<br>
Internal Network  ---- SIP TRUNK  -----   SPCE   ----- SIP TRUNK ----- PROVIDER 1<br>                                                                        | <br>                                                                        | <br>
                                                                 SIP TRUNK<br>                                                                        | <br>                                                                        | <br>
                                                                PROVIDER 3<br><br><br>Network Addresses and Listening Ports:<br><br>Internal Network<br>- Eth0<br>      ip: 192.168.0.10<br>      netmask: 255.255.255.0<br>      port: 5060<br>
      protocol: udp<br>      rtp_ext<br>      web_int<br>      web_ext<br><br>PROVIDER 1<br>- Eth1<br>      ip: 172.16.1.10<br>      netmask: 255.255.255.0<br>      port: 6080 <br>      protocol: udp <br>      rtp_ext<br>
<br>PROVIDER 2<br>- Eth2<br>      ip: 172.16.2.10<br>      netmask: 255.255.255.0<br>      port: 6085<br>      protocol: udp <br>      rtp_ext:<br><br>PROVIDER 3<br>- Eth3<br>      ip: 172.16.3.10<br>      netmask: 255.255.255.0<br>
      port: 6090<br>      protocol: udp<br>      rtp_ext<br><br><br>OBJECTIVES:<br>1. All services should be available on the Internal Network.<br>2. Only SIP and RTP services should be available on the PROVIDER networks.<br>
3. Only the assigned SIP Ports should be available to the respective PROVIDER, ie. PROVIDER 1 only port 6080 udp.<br>4. I'm not sure how the roles should be setup for each respective interface?<br><br><br>Thanks a lot.<br>
<br>Kind Regards<br><br>Deon</span></p></div></div></div></div></div></body></html>