09-30-2014 02:02 PM - edited 03-17-2019 12:21 AM
Hello,
One of my offices SIP trunks requires registration. In single CUBE mode this isn't an issue.
I have recently been configuring HSRP for CUBE HA and my registrations are being sourced by the interface IP rather than the HSRP Virtual IP address. In the current config, each router will attempt the registration and the last router to have registered with the ITSP receives SIP calls which breaks inbound calling when the standby router receives the INVITE.
Is there a method of binding SIP-UA registrations to interfaces as it can be done with dial-peers, or another method of forcing the source IP of SIP registrations? I thought maybe I could track the HSRP Virtual IP and only have the route to the ITSP sip server come up when the Virtual IP was active but I don't see a way to do this.
Right now registrations are coming from both active and standby routers, via their interface IP's:
07-30-2015 06:38 AM
Same Problem here!
Do you have any Solution?
12-18-2015 03:15 PM
Hi Matt,
did you find any reasonable solution other than disabling SIP trunk registration? I've posted the same question just few days ago ;) Running IOS 15.4.3M4.
12-21-2015 02:48 AM
Hi Marcel,
i add the "bind control" command to "voice service voip". IMHO this enable binding for all SIP packets by default.
voice service voip
address-hiding
mode border-element
allow-connections sip to sip
redundancy
redirect ip2ip
sip
bind control source-interface GigabitEthernet0/2
early-offer forced
If a dial-peer need another source-interface, add the "sip bind control" command to the dial-peer
01-03-2016 11:42 PM
Thanks Sascha,
it looked promising but unfortunately "bind control" under global config breaks communication from inside interface (facing from CUCM). On the other hand it fixed the REGISTRATION to external SBC.
Sure I have bind statements defined with all the dial-peers. I'll try to add incoming dial-peer matching URI Via field in OPTIONS.
!
voice class uri 1 sip
host ipv4:1.1.1.10
!
!
dial-peer voice 200 voip
session protocol sipv2
incoming uri via 1
voice-class sip bind control source-interface GigabitEthernet0/0
voice-class sip bind media source-interface GigabitEthernet0/0
dtmf-relay rtp-nte
no vad
!
Marcel
01-03-2016 11:42 PM
Hi Marcel,
do you use incoming dial-peers?
You can also use bind-control for incoming dial-peer. Then the CUBE answer with the right IP.
01-18-2016 06:51 AM
Hi Sascha,
yes that's the critical part. With the incoming voip dial-peer configuration everything works as expected. Anyway it still looks like a workaround to me, not a real config. Doesn't make sense if everything else except REGISTER uses the VIP address (same behavior with CSR 1000V on IOS XE in CUBE HA).
Marcel
01-22-2016 02:32 AM
Hmm, i can´t confirm this behaviour. In my config everything use VIP(2x ISR 2951).
Can you post your config?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide