<div dir="ltr">Doh! You're absolutely right. It was a mistake in thought process on my part. You would not need to bind if a single interface. You would only need to bind when there is more than one possible egress interface to source your traffic from.<div><br></div><div>In your case, with loopbacks, you'll need to bind.</div><div><br></div><div>Something tricky the CUBE does, in my opinion, is how it responds to OPTIONS messages. You will need to either match your incoming leg on Via header, or create a specific dial-peer matching on Via header just to set the bind, to the OPTIONS reply uses the correct interface.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 11, 2020 at 6:34 PM Matthew Loraditch <<a href="mailto:MLoraditch@heliontechnologies.com">MLoraditch@heliontechnologies.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US" style="overflow-wrap: break-word;">
<div class="gmail-m_6221572098309863802WordSection1">
<p class="MsoNormal">The way you have #2 written is bothering me, if you only have one interface period you should never need to bind, but if you only have one egress interface and need certain traffic to be on IP A and some on IP B (via loopbacks) then you
would need to bind and that is my scenario.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a complicated (to me!) routing situation and I need my PSTN traffic to the ITSP to be on an IP that only they know about and my internal traffic to be the same. This was the best way I could think of to make that happen.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div><table cellpadding="0" cellspacing="0" border="0" style="width:100%"><tbody><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px"><tbody><tr style="font-size:0px"><td style="padding:0px 10px 0px 0px"> </td><td align="left" style="padding:10px 0px 10px 10px;vertical-align:middle"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0px"><tbody><tr style="font-size:14.67px;color:rgb(243,128,11);font-style:normal;font-weight:700;white-space:nowrap"><td align="left" style="vertical-align:top;font-family:Calibri,Arial,sans-serif">Matthew Loraditch<span style="font-family:remialcxesans;font-size:1px;color:rgb(255,255,255);line-height:1px"></span></td></tr><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px;color:rgb(128,128,128);font-style:normal;font-weight:700;white-space:nowrap"><tbody><tr style="font-size:14.67px"><td align="left" style="vertical-align:top;font-family:Calibri,Arial,sans-serif">Sr. Network Engineer</td></tr></tbody></table></td></tr><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px"><tbody><tr style="font-size:0px"><td align="left" style="padding:10px 0px 0px;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px;color:rgb(128,128,128);font-style:normal;font-weight:400;white-space:nowrap"><tbody><tr style="font-size:14.67px"><td align="left" style="vertical-align:top;font-family:Calibri,Arial,sans-serif"><span style="color:rgb(243,128,11)">p:</span> <a href="tel:443.541.1518" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none;color:rgb(128,128,128)" target="_blank"><strong style="font-weight:400">443.541.1518</strong></a></td></tr></tbody></table></td></tr></tbody></table></td></tr><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px;color:rgb(128,128,128);font-style:normal;font-weight:400;white-space:nowrap"><tbody><tr style="font-size:14.67px"><td align="left" style="vertical-align:top;font-family:Calibri,Arial,sans-serif"><span style="color:rgb(243,128,11)">w:</span> <a href="http://www.heliontechnologies.com/" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none;color:rgb(128,128,128)" target="_blank"><strong style="font-weight:400">www.heliontechnologies.com</strong></a></td><td align="left" style="vertical-align:top;font-family:Calibri,Arial,sans-serif"> | </td><td align="left" style="vertical-align:top;font-family:Calibri,Arial,sans-serif"><span style="color:rgb(243,128,11)">e:</span> <a href="mailto:MLoraditch@heliontechnologies.com" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none;color:rgb(128,128,128)" target="_blank"><strong style="font-weight:400">MLoraditch@heliontechnologies.com</strong></a></td></tr></tbody></table></td></tr><tr style="font-size:0px"><td align="left" style="vertical-align:middle"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px;line-height:normal"><tbody><tr style="font-size:0px"><td align="left" style="vertical-align:bottom"><a href="http://www.heliontechnologies.com/" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none" target="_blank"><img src="cid:1748016c2517c43b1fb5" width="300" height="75" border="0" title="Helion Technologies" alt="Helion Technologies" style="width: 300px; min-width: 300px; max-width: 300px; height: 75px; min-height: 75px; max-height: 75px; font-size: 12px;"></a></td></tr></tbody></table></td></tr><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0px"><tbody><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px"><tbody><tr style="font-size:0px"><td align="left" style="padding:10px 0px;vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="font-size:0px"><tbody><tr style="font-size:0px"><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0px;line-height:normal"><tbody><tr style="font-size:0px"><td align="center" style="vertical-align:top"><a href="https://facebook.com/heliontech" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none" target="_blank"><img src="cid:1748016c2516a53137a6" width="18" height="18" border="0" title="Facebook" alt="Facebook" style="width: 18px; min-width: 18px; max-width: 18px; height: 18px; min-height: 18px; max-height: 18px; font-size: 12px;"></a></td></tr></tbody></table></td><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0px;line-height:normal"><tbody><tr style="font-size:0px"><td align="center" style="padding:0px 3px 0px 0px;vertical-align:top"><a href="https://twitter.com/heliontech" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none" target="_blank"><img src="cid:1748016c2517d1f263c7" width="18" height="18" border="0" title="Twitter" alt="Twitter" style="width: 18px; min-width: 18px; max-width: 18px; height: 18px; min-height: 18px; max-height: 18px; font-size: 12px;"></a></td></tr></tbody></table></td><td align="left" style="vertical-align:top"><table cellpadding="0" cellspacing="0" border="0" style="width:100%;font-size:0px;line-height:normal"><tbody><tr style="font-size:0px"><td align="center" style="padding:0px 3px 0px 0px;vertical-align:top"><a href="https://www.linkedin.com/company/helion-technologies" id="gmail-m_6221572098309863802LPlnk689713" style="text-decoration:none" target="_blank"><img src="cid:1748016c251be6cc7908" width="18" height="18" border="0" title="LinkedIn" alt="LinkedIn" style="width: 18px; min-width: 18px; max-width: 18px; height: 18px; min-height: 18px; max-height: 18px; font-size: 12px;"></a></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div><div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b>From:</b> Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>>
<br>
<b>Sent:</b> Friday, September 11, 2020 5:46 PM<br>
<b>To:</b> Matthew Loraditch <<a href="mailto:MLoraditch@heliontechnologies.com" target="_blank">MLoraditch@heliontechnologies.com</a>><br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] SIP Binding: Different Binds for Carrier vs Internal<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div style="border:1pt solid rgb(156,101,0);padding:2pt">
<p class="MsoNormal" style="line-height:12pt;background:rgb(255,235,156)"><span style="font-size:10pt;color:rgb(156,101,0)">[EXTERNAL]</span><span style="font-size:10pt;color:black"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">First up, you don't need to bind your interfaces. You should bind your interfaces in two scenarios though:
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">1. You're trying to source your IP from a loopback address<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">2. You only have one interface<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Otherwise, let the router do it's routing and it will pick the correct interface to "bind" SIP too, by the nature of which interface the packet leaves the router from.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Now, you can bind, if you want to, but it doesn't do anything extra, to the best of my knowledge.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When you say, "[n]ever see the other’s IP," you should know that this happens by default. That's what a B2BUA does. It terminates a dialog with one peer, and then turns around and originates a new dialog with a different peer.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">And yes, flow through is default, but that does not affect signaling, which it kind of sounds like is the topic at hand. Otherwise, flow around means your carrier knows how to hit your inside IP Phone addresses directly, and that's not
likely the case.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">So literally, you do not have to do anything extra or special to get what you want. You simply configure the router as a device with two interfaces on two different networks, and teach it how to route (e.g., static routing or something,
I don't know I'm not a CCIE Routing and Switching).<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Sep 11, 2020 at 2:25 PM Matthew Loraditch <<a href="mailto:MLoraditch@heliontechnologies.com" target="_blank">MLoraditch@heliontechnologies.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal">I need to bind call legs to my carrier to one IP and all legs to CUCM on another IP on the same router and neither side ever see the other’s IP nor need to route to it<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">I’ve done something, at least similar, many years in the past but no longer have access to the environment to verify the behavior and am trying to refresh myself on the setting.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">In that setup we bound the dial peers to the relevant interfaces and enabled allow-connections sip to sip and address-hiding in my voice service voip config.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">From what I further understand media flow-through is the default behavior so as long as I do the binding, I will get what I want to happen happening.
<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Am I generally correct in all of my current thoughts? Anything I’m not thinking of?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0in 7.5pt 0in 0in">
<p class="MsoNormal"><span style="font-size:1pt"> <u></u><u></u></span></p>
</td>
<td style="padding:7.5pt 0in 7.5pt 7.5pt">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><b><span style="color:rgb(243,128,11)">Matthew Loraditch</span></b><b><span style="font-size:1pt;font-family:remialcxesans,serif;color:white"></span></b><b><span style="color:rgb(243,128,11)"><u></u><u></u></span></b></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><b><span style="color:gray">Sr. Network Engineer<u></u><u></u></span></b></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:7.5pt 0in 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:rgb(243,128,11)">p:</span><span style="color:gray"> </span><a href="tel:443.541.1518" target="_blank"><strong><span style="font-family:Calibri,sans-serif;color:gray;font-weight:normal;text-decoration:none">443.541.1518</span></strong></a><span style="color:gray"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:rgb(243,128,11)">w:</span><span style="color:gray"> </span><a href="http://www.heliontechnologies.com/" target="_blank"><strong><span style="font-family:Calibri,sans-serif;color:gray;font-weight:normal;text-decoration:none">www.heliontechnologies.com</span></strong></a><span style="color:gray"><u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:gray"> | <u></u><u></u></span></p>
</td>
<td valign="top" style="padding:0in">
<p class="MsoNormal"><span style="color:rgb(243,128,11)">e:</span><span style="color:gray"> </span><a href="mailto:MLoraditch@heliontechnologies.com" target="_blank"><strong><span style="font-family:Calibri,sans-serif;color:gray;font-weight:normal;text-decoration:none">MLoraditch@heliontechnologies.com</span></strong></a><span style="color:gray"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="bottom" style="padding:0in">
<p class="MsoNormal"><a href="http://www.heliontechnologies.com/" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="300" height="75" style="width: 3.125in; height: 0.7812in;" id="gmail-m_6221572098309863802Picture_x0020_1" src="cid:1748016c2514cff314" alt="Helion Technologies"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:7.5pt 0in">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://facebook.com/heliontech" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="gmail-m_6221572098309863802Picture_x0020_2" src="cid:1748016c250692e331" alt="Facebook"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in 2.25pt 0in 0in">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://twitter.com/heliontech" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="gmail-m_6221572098309863802Picture_x0020_3" src="cid:1748016c2517745b42" alt="Twitter"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
<td valign="top" style="padding:0in">
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%">
<tbody>
<tr>
<td valign="top" style="padding:0in 2.25pt 0in 0in">
<p class="MsoNormal" align="center" style="text-align:center"><a href="https://www.linkedin.com/company/helion-technologies" target="_blank"><span style="font-size:1pt;text-decoration:none"><img border="0" width="18" height="18" style="width: 0.1875in; height: 0.1875in;" id="gmail-m_6221572098309863802Picture_x0020_4" src="cid:1748016c251855d353" alt="LinkedIn"></span></a><span style="font-size:1pt"><u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote></div>