Skip to main content

4. - SBC SIP Interfaces

It’s now time to create a SIP service associating the IP in network interfaces with realms configured previously.

On the CLI lets first create the External SIP interface:

PCOSBC# config t
PCOSBC(configure)# session-router
PCOSBC(session-router)# sip-interface 
PCOSBC(sip-interface)# realm-id External
PCOSBC(sip-interface)# sip-ports 
PCOSBC(sip-port)# address 192.168.10.201
PCOSBC(sip-port)# port 5060
PCOSBC(sip-port)# transport-protocol udp
PCOSBC(sip-port)# allow-anonymous all
PCOSBC(sip-port)# 
PCOSBC(sip-port)# done
sip-port
        address                                 192.168.10.201
        port                                    5060
        transport-protocol                      UDP
        allow-anonymous                         all
        multi-home-addrs                        
        ims-aka-profile                         

 

Remember to issue the done command when completing the sip-port element and exit to jump to the sip-interface branch and issue the done command.

Setup SIP Interface for Internal

PCOSBC(configure)# session-router 
PCOSBC(session-router)# sip-interface 
PCOSBC(sip-interface)# realm-id Internal
PCOSBC(sip-interface)# sip-ports 
PCOSBC(sip-port)# address 192.168.2.101
PCOSBC(sip-port)# transport-protocol UDP
PCOSBC(sip-port)# 
PCOSBC(sip-port)# allow-anonymous all
PCOSBC(sip-port)# done
sip-port
        address                                 192.168.2.101
        port                                    5060
        transport-protocol                      UDP
        allow-anonymous                         all
        multi-home-addrs                        
        ims-aka-profile                         
        
        
PCOSBC(sip-port)# exit
PCOSBC(sip-interface)# done
sip-interface
        state                                   enabled
        realm-id                                Internal
        description                             
        sip-port
                address                                 192.168.2.101
                port                                    5060
                transport-protocol                      UDP
                allow-anonymous                         all
                multi-home-addrs                        
                ims-aka-profile                         

 

An easy way to confirm the association of the IP address with the correct realm is issuing the command: show  virtual need to save active config to display the information

 

PCOSBC# show virtual
intf phy-name vlan ip-addr        realm    type
0/0  External 0    192.168.10.201 External sip-port
1/1  Internal 0    192.168.10.101 Internal sip-port