I've got the following example from Cisco
and need some assistance with some IP address references in the doc. Our CM is 4.1(3) and we'll be running H323 to the CUBE VGW and SIP out to the carrier.
I assume the registrar address is the carrier peer.....correct? I'm curious if there is a "best practice" for which address on my CUBE router to give them to peer to (obviously they'll need to be able to route to it). But is there a preference that I have the carrier peer to my serial, ethernet or loopback interface? Any thoughts?
voice service voip
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
allow-connections h323 to h323
dial-peer voice 1 voip
session target ipv4:10.13.8.150
incoming called-number 8...
dial-peer voice 2 voip
session protocol sipv2
session target ipv4:10.13.8.16
authentication username xyz password xyz realm cisco.com
The one thing you'll want to keep in mind is that if you end up binding your media/signaling to an address, both CUCM and your provider must have reachability to that address.
Generally for CUBE, it's easier to leave it unbound. If there is a chance for asymmetric routing, then bind. When you bind a SIP address, the gateway will not listen on any other port so having reachibility from both sides is critical.
I would give the SIP provider an address both your CUCM and the provider can reach. If one doesn't exist, you don't have much choice but to give your public. If you only have one internet connection, having a loopback will not serve much purpose. If you have redundant connections to the internet, use your loopback.