cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1665
Views
0
Helpful
1
Replies

SIP trunk and loopback interface

Mark Verwey
Level 1
Level 1

I have a 2951 licensed with cube, a broadband connection, sip provider that requires sip trunk registration, and a non-cisco pbx.  I have put the this working fine, however if the broadband goes down, I needed a backup solution.  I installed a cradlepoint between the broadband router and the 2951 interface it was connected to.  However, not sure this is the best solution.  I have the bind statements for control and media placed in the voice services voip/sip instead of putting them down in the dial-peers, because I dont need any dial-peer statements because that's being controlled by the pbx.  Currently I am not using the loopback interface on the 2951, if I were to create the loopback interface, then bind the media and control to that interface and put the broadband on 1 interface and the cradlepoint on another interface and let the 2951 be the traffic cop and route to the broadband interface if its up and the cradlepoint if its not.  If this is possible could someone assist with sample config info as I've never configured a loopback interface nor any sort of monitoring to make sure a particular interface is up or down.

1 Reply 1

here is sample,

interface lo0
ip add 1.1.1.1 255.255.255.255
!
voice service voip
sip
bind all source-interface lo0

or

dial-p voice 10 voip
voice-class sip bind source-interface control lo0
voice-class sip bind source-interface media lo0

For verify status, you can use options-keepalive

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/voice/cube_sip/configuration/15-mt/cube-sip-15-mt-book/oodo-ping-group.pdf