You will be giving SIP trunk credentials and registrar server by your N2Net Engineer.
Basic IOS Config
voice service voip
ip address trusted list
ipv4 207.166.204.0 255.255.255.0
ipv4 207.166.205.0 255.255.255.0
sip
registrar server expires max 600 min 60
no call service stop
!
voice class codec 1
codec preference 1 g711ulaw
sip-ua
credentials username [SIP TRUNK USERNAME] password [SIP TRUNK PASSWORD] realm [PRIMARY REGISTRAR SERVER]
credentials username [SIP TRUNK USERNAME] password [SIP TRUNK PASSWORD] realm [Secondary REGISTRAR SERVER]
authentication username [SIP TRUNK USERNAME] password [SIP TRUNK PASSWORD] realm [PRIMARY REGISTRAR SERVER]
authentication username [SIP TRUNK USERNAME] password [SIP TRUNK PASSWORD] realm [Secondary REGISTRAR SERVER]
calling-info pstn-to-sip from number set [SIP TRUNK USERNAME]
registrar dns:[PRIMARY REGISTRAR SERVER] expires 60
registrar dns:[Secondary REGISTRAR SERVER] expires 60
sip-server dns:[REGISTRAR SERVER]
CallerID Pass through
N2Net will allow you to pass thru your own caller ID information however it must be in the form of the P-Asserted-Identity header. To force that in IOS add the below to your VOIP type dial peer.
voice-class sip asserted-id pai
Last Updated: April 20th, 2016