cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1571
Views
0
Helpful
7
Replies

Cube:Sip Trunk Status monitoring using Solarwinds VNQM module

dijin
Level 1
Level 1

Hi,

I am setting up the Soalrwinds VNQM module to monitor the Sip trunk status of Cube using SNMP. I enabled the keepalive on the dial-peers and see the trunk status "up" for some sip trunks and "unknown" for other dial-peers in SolarWinds. The sample configuration (Removed some unwanted lines here) below,

dial-peer voice 300 voip
description inbound from CUBE to CUCM
session target ipv4:10.114.1.28
voice-class sip options-keepalive up-interval 100 down-interval 50 retry 6

The sip trunk status is active for dial-peer 300

 

dial-peer voice 311 voip
description outbound from CUBE to Omega
destination-pattern .T
session protocol sipv2
voice-class sip tenant 311
session target dns:sip1.cy2.omega-telecom.net:5744
voice-class sip options-keepalive profile 311


voice class sip-options-keepalive 311
description keepalive Omega Trunk
up-interval 5
transport tcp
sip-profiles 311

Sip trunk status is unknown for 311.  The 311 dial-peer is connecting to PSTN which is a sip circuit having credentials-based authentication.  Any additional configuration requires, or do we need to monitor the sip-ua status for credentials-based sip authentication circuits?

Please advise.

 

Thanks,

Diji

7 Replies 7

You should not need to do anything special for SIP option ping to work with authentication based SIP connections. Here is an example of a configuration we have for one of our sites and it shows the dial-peer in active state.

voice class sip-profiles 10
 request INVITE sip-header SIP-Req-URI modify "<redacted> " "spark.co.nz" 
 request ANY sip-header From modify "10.154.4.10" "10.154.11.189" 
 request ANY sip-header From modify "From:(.*)(<sip:)\+(.*@).*>" "From: \2\3spark.co.nz>" 
 response ANY sip-header From modify "From:(.*)(<sip:)\+(.*@).*>" "From: \2\3spark.co.nz>" 
 request ANY sip-header From modify "From:(.*)(<sip:.*@).*>" "From: \2spark.co.nz>" 
 response ANY sip-header From modify "From:(.*)(<sip:.*@).*>" "From: \2spark.co.nz>" 
 request INVITE sip-header To modify "To:(.*)(<sip:.*@).*>" "To: \2spark.co.nz>" 
 request ANY sip-header To modify "To:(.*)(<sip:.*@).*>" "To: \2spark.co.nz>" 
 response ANY sip-header To modify "To:(.*)(<sip:.*@).*>" "To: \2spark.co.nz>" 
 request ANY sip-header Contact modify "Contact:(.*)(<sip:)\+(.*@.*>)" "Contact: \2\3" 
 response ANY sip-header Contact modify "Contact:(.*)(<sip:)\+(.*@.*>)" "Contact: \2\3" 
 request ANY sip-header P-Asserted-Identity modify "P-Asserted-Identity:(.*)(<sip:).*@.*>" "P-Asserted-Identity: \<redacted>@spark.co.nz>" 
 response ANY sip-header P-Asserted-Identity modify "P-Asserted-Identity:(.*)(<sip:).*@.*>" "P-Asserted-Identity: \<redacted>@spark.co.nz>"
!
voice class sip-options-keepalive 2000
 description Used for Service Provider SIP OPTIONS PING
!
!
voice class server-group 2000
 ipv4 <redacted> preference 1
 ipv4 <redacted> preference 2
!
voice class tenant 2000
  registrar dns:spark.co.nz expires 3600
  credentials username <redacted> password 7 <redacted> realm spark.co.nz
  authentication username <redacted> password 7 <redacted>
  no remote-party-id
  timers dns registrar-cache 95
  sip-server dns:spark.co.nz
  connection-reuse
  audio forced
  bind control source-interface GigabitEthernet0/0/1
  bind media source-interface GigabitEthernet0/0/1
  no pass-thru content custom-sdp
  sip-profiles 10
  outbound-proxy dns:gvc-tg0102.spark.co.nz reuse
  early-offer forced
!
dial-peer voice 110 voip
 description Outbound calls to PSTN
 translation-profile outgoing PSTN-OUT
 session protocol sipv2
 session server-group 2000
 destination e164-pattern-map 2000
 voice-class codec 10  
 voice-class sip tenant 2000
 voice-class sip options-keepalive profile 2000
 dtmf-relay rtp-nte
 no vad

Status of dial peers

nzaurt-cube-01#sh dial-peer voice summary 
dial-peer hunt 0
             AD                                    PRE PASS SESS-SER-GRP\  OUT 
TAG    TYPE  MIN  OPER PREFIX    DEST-PATTERN      FER THRU SESS-TARGET    STAT PORT    KEEPALIVE    VRF
1000   voip  up   up                                0  syst                                          NA                  
1010   voip  up   up             map:1              0  syst SESS-SVR-GRP: 1               active     NA                  
100    voip  up   up                                0  syst                                          NA                  
110    voip  up   up             map:2000           0  syst SESS-SVR-GRP: 2000            active     NA   

 



Response Signature


HI Roger,

It looks like i have similar configuration. Do you see any issue on the below config?.

 

voice class sip-profiles 311
rule 10 response ANY sip-header From modify "10.250.57.33" "192.111.84.36"
rule 11 response ANY sip-header Via modify "10.250.57.33" "192.111.84.36"
rule 20 response ANY sdp-header Audio-Attribute modify "a=candidate:1 1(.*) 10.250.57.33 (.*)" "a=candidate:1 1\1 192.111.84.36 \2"
rule 30 response ANY sdp-header Audio-Attribute modify "a=candidate:1 2(.*) 10.250.57.33 (.*)" "a=candidate:1 2\1 192.111.84.36 \2"
rule 40 response ANY sdp-header Audio-Connection-Info modify "IN IP4 10.250.57.33" "IN IP4 192.111.84.36"
rule 41 request ANY sdp-header Audio-Connection-Info modify "IN IP4 10.250.57.33" "IN IP4 192.111.84.36"
rule 50 request ANY sdp-header Connection-Info modify "IN IP4 10.250.57.33" "IN IP4 192.111.84.36"
rule 51 response ANY sdp-header Connection-Info modify "IN IP4 10.250.57.33" "IN IP4 192.111.84.36"
rule 60 response ANY sdp-header Session-Owner modify "(.*) IN IP4 10.250.57.33" "\1 IN IP4 192.111.84.36"
rule 61 request ANY sdp-header Session-Owner modify "(.*) IN IP4 10.250.57.33" "\1 IN IP4 192.111.84.36"
rule 80 request ANY sdp-header Audio-Attribute modify "a=rtcp:(.*) IN IP4 10.250.57.33" "a=rtcp:\1 IN IP4 192.111.84.36"
rule 81 response ANY sdp-header Audio-Attribute modify "a=rtcp:(.*) IN IP4 10.250.57.33" "a=rtcp:\1 IN IP4 192.111.84.36"
rule 91 request ANY sdp-header Audio-Attribute modify "a=candidate:1 1(.*) 10.250.57.33 (.*)" "a=candidate:1 1\1 192.111.84.36 \2"
rule 93 request ANY sdp-header Audio-Attribute modify "a=candidate:1 2(.*) 10.250.57.33 (.*)" "a=candidate:1 2\1 192.111.84.36 \2"

voice class sip-options-keepalive 311
description keepalive Omega Trunk
up-interval 5
transport tcp
sip-profiles 311

voice class tenant 311
registrar dns:sip1.cy2.omega-telecom.net:5744 expires 600
credentials username xxx password xxx realm sip1.cy2.omega-telecom.net
authentication username xxx password xxx realm sip1.cy2.omega-telecom.net
retry invite 2
retry register 5
sip-server dns:sip1.cy2.omega-telecom.net:5744
connection-reuse
host-registrar
session transport udp
header-passing
bind control source-interface GigabitEthernet0/0/0
bind media source-interface GigabitEthernet0/0/0
pass-thru content sdp
pass-thru content custom-sdp
outbound-proxy dns:sip1.cy2.omega-telecom.net:5744
no early-offer forced
no midcall-signaling passthru media-change
midcall-signaling passthru
voice-class sip profiles 311

dial-peer voice 311 voip
description outbound from CUBE to Omega
preference 1
destination-pattern .T
progress_ind setup enable 3
session protocol sipv2
session target dns:sip1.cy2.omega-telecom.net:5744
session transport udp
voice-class codec 1
voice-class sip profiles 311
voice-class sip tenant 311
voice-class sip options-keepalive profile 311
dtmf-relay rtp-nte
no vad

NY4NTEAMS01#sh dial-peer voice summ
dial-peer hunt 0
AD PRE PASS SESS-SER-GRP\ OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE VRF
111 voip down down .T 1 syst sip-server NA
300 voip up up 13232383594 1 syst ipv4:10.114.1.28 active NA
311 voip up up .T 1 syst dns:sip1.cy2.omega-t active NA

 

 

Thanks,

 


@dijin wrote:

NY4NTEAMS01#sh dial-peer voice summ
dial-peer hunt 0
AD PRE PASS SESS-SER-GRP\ OUT
TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT KEEPALIVE VRF
111 voip down down .T 1 syst sip-server NA
300 voip up up 13232383594 1 syst ipv4:10.114.1.28 active NA
311 voip up up .T 1 syst dns:sip1.cy2.omega-t active NA


AFAIKT dial peer 311 shows as up. What is you're specific problem that you have?



Response Signature


Hi Roger,

The dial-peer is up but the trunk status is showing "unknown" in solarwinds. On the other hand, the Dial-peer is 300 is active and status is showing up in Solarwinds. Screenshot attached.

 

I would suggest that you address that question to SolarWind as the router command shows the dial peer to be up.



Response Signature


Yes, i contacted Solarwinds support.

Do you have the OID's used to poll the trunk status on your network?.

 

Thanks,

No I don't. We do not poll this from any management system. The use case we have for SIP option ping to monitor dial peer status does not extend outside of the voice gateways.



Response Signature