<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:"Lucida Sans Unicode";
        panose-1:2 11 6 2 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.skimlinks-unlinked
        {mso-style-name:skimlinks-unlinked;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi Bogdan,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I have created three servers, and connected them in the following topology:<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="color:#C00000">SIPp </span>(10.241.88.34/27) ------------ (10.241.88.36/27)
<span style="color:#C00000">OpenSIPs </span>(10.241.88.68/27) ------------------- (10.241.88.67/27)
<span style="color:#C00000">Asterisk</span><o:p></o:p></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">On OpenSIPs<o:p></o:p></p>
<p class="MsoNormal">Have added &nbsp;<span style="font-family:Wingdings">&agrave;</span> <span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;">
opensips_loadbalancer_2015-1-8_11\:43\:20.cfg</span> &nbsp;&nbsp;file (see attached)<o:p></o:p></p>
<p class="MsoNormal">And changed the UDP listen line to:<o:p></o:p></p>
<p class="MsoNormal">listen=udp:10.241.88.36:5060&nbsp;&nbsp; <span style="color:#C00000"># CUSTOMIZE ME<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#C00000"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#C00000">Also Added the following to MySQL<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;">mysql -uopensips -popensipsrw opensips -e &quot;INSERT INTO load_balancer VALUES(1,1,'sip:10.241.88.66:5060','pstn=500;sip=500',2,'');&quot;</span><span style="color:#C00000"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#C00000"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#C00000"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal">On Asterisk, added the following to the Asterisk configuration files:<o:p></o:p></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:18.0pt;background:white"><span style="font-size:9.0pt;font-family:&quot;Lucida Sans Unicode&quot;,sans-serif;color:#666666">/etc/asterisk/<span class="skimlinks-unlinked">extensions.conf</span><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:18.0pt;background:white;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">[sipp]</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">exten =&gt; 2005,1,Answer</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">exten =&gt; 2005,2,SetMusicOnHold(default)</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">exten =&gt; 2005,3,WaitMusicOnHold(20)</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">exten =&gt; 2005,4,Hangup</span></code><span style="font-size:9.0pt;font-family:&quot;Lucida Sans Unicode&quot;,sans-serif;color:#666666"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:18.0pt;background:white"><span style="font-size:9.0pt;font-family:&quot;Lucida Sans Unicode&quot;,sans-serif;color:#666666">/etc/asterisk/<span class="skimlinks-unlinked">sip.conf</span><o:p></o:p></span></p>
<p style="margin:0in;margin-bottom:.0001pt;line-height:18.0pt;background:white;orphans: auto;widows: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">[sipp]</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">type=friend</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">context=sipp</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">host=dynamic</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">port=6000</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">user=sipp</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">canreinvite=no</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">disallow=all</span></code><span style="font-size:11.5pt;font-family:&quot;Courier New&quot;;color:#666666;background:#EEEEFF"><br>
</span><code><span style="font-size:11.5pt;color:#666666;background:#EEEEFF">allow=ulaw</span></code><span style="font-size:9.0pt;font-family:&quot;Lucida Sans Unicode&quot;,sans-serif;color:#666666"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">On SIPp, issued:<o:p></o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Lucida Console&quot;">./sipp -sn uac -d 20000 -s 2005 10.241.88.36&nbsp; -l 30<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">The SIP packets are coming out of (10.241.88.68/27) OpenSIPs interface with destination IP address of 10.241.88.36.<o:p></o:p></p>
<p class="MsoNormal">How can I configure OpenSIPs such that OpenSIPs changes the destination IP address to 10.241.88.66?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Mohammad<o:p></o:p></p>
</div>
<br>
<br>
<font size="1">This email and attachments may contain privileged or confidential information intended only for the addressee(s) indicated. The sender does not waive any of its rights, privileges or protections respecting this information. If you are not the
 named addressee, an employee, or agent responsible for sending this message to the named addressee (or this message was received by mistake), you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If received in
 error, please notify us immediately by e-mail, discard any paper copies and delete all electronic files of the email.<br>
<br>
Computer viruses can be transmitted via email. The recipient should check this email and any attachments for viruses. Email transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive
 late or incomplete, or contain viruses. The sender accepts no liability for any damage caused by any transmitted viruses or errors or omissions in the contents of this message.<br>
<br>
Overture Networks, Inc. 637 Davis Drive, Morrisville, NC USA 27560 www.overturenetworks.com</font>
</body>
</html>