[Problem] Sn4940

JD_

Neuer User
Mitglied seit
17 Jul 2012
Beiträge
5
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,

habe Probleme bei der SIP-Registrierung. Ich bekomme folgende Meldung:

"SIP/2.0 401 Nonce has changed"

Debug:


Code:
REGISTER sip:sip.bliblablub.de SIP/2.0
Via: SIP/2.0/UDP 10.20.16.5:5060;branch=z9hG4bKfa9a2fbbacaa22106
Max-Forwards: 70
From: <sip:[email protected]>;tag=269e291b15
To: <sip:[email protected]>
Call-ID: 4fc9db4ff4243206
CSeq: 32225 REGISTER
Contact: <sip:[email protected]:5060>
Expires: 3600
User-Agent: Patton SN4940 1E30V 00A0BA0762c1 R6.3 2013-03-07 H323 RBS SIP M5T SIP Stack/4.1.12.18
Content-Length: 0


02:22:22  SIP_TR> [STACK] < 482 Stack: from xxx.xxx.xxx.xxx
SIP/2.0 401 Unauthorized
Call-ID: 4fc9db4ff4243206
CSeq: 32225 REGISTER
From: <sip:[email protected]>;tag=269e291b15
Server: Provider/Germany (SIP)
To: <sip:[email protected]>;tag=00-08046-0c359eba-6bd86d5e5
Via: SIP/2.0/UDP 10.20.16.5:5060;received=10.20.16.5;branch=z9hG4bKfa9a2fbbacaa22106
WWW-Authenticate: Digest realm="sip.bliblablub.de",nonce="0c359db053a884892fdc9c5a3e3239f8",opaque="0c353d1a0c50821",stale=false,algorithm=MD5
Content-Length: 0


02:22:22  SIP_RE> [GW GW_SIP] Stack Event: ISipDigestClientAuthMgr EvCredentialsRequired: 401 Unauthorized



REGISTER sip:sip.bliblablub.de SIP/2.0
Via: SIP/2.0/UDP 10.20.16.5:5060;branch=z9hG4bK6a54a9a7aeaa1c551
Max-Forwards: 70
From: <sip:[email protected]>;tag=269e291b15
To: <sip:[email protected]>
Call-ID: 4fc9db4ff4243206
CSeq: 32226 REGISTER
Authorization: Digest username="1234567",realm="sip.bliblablub.de",nonce="0c359db053a884892fdc9c5a3e3239f8",uri="sip:sip.bliblablub.de",response="ac388edf53cb239943742537760e030c",algorithm=MD5,opaque="0c353d1a0c50821"
Contact: <sip:[email protected]:5060>
Expires: 3600
User-Agent: Patton SN4940 1E30V 00A0BA0762c1 R6.3 2013-03-07 H323 RBS SIP M5T SIP Stack/4.1.12.18
Content-Length: 0


02:23:00  SIP_TR> [STACK] < 486 Stack: from xxx.xxx.xxx.xxx
SIP/2.0 401 Nonce has changed
Call-ID: 4fc9db4ff4243206
CSeq: 32226 REGISTER
From: <sip:[email protected]>;tag=269e291b15
Server: Provider/Germany (SIP)
To: <sip:[email protected]>;tag=00-08044-0c35a558-300823ef1
Via: SIP/2.0/UDP 10.20.16.5:5060;received=10.20.16.5;branch=z9hG4bK6a54a9a7aeaa1c551
WWW-Authenticate: Digest realm="sip.bliblablub.de",nonce="0c35a386152252a256b28d8533c17888",opaque="0c353d1a0c50821",stale=true,algorithm=MD5
Content-Length: 0


02:23:00  SIP_RE> [GW GW_SIP] Stack Event: ISipDigestClientAuthMgr EvCredentialsExist: 401 Nonce has changed




Hier die Konfiguration
Code:
#----------------------------------------------------------------#
#                                                                #
# SN4940/1E30V                                                   #
# R6.3 2013-03-07 H323 RBS SIP                                   #
# 2000-01-07T01:45:50                                            #
# SN/00A0BA0762c1                                                #
# Generated configuration file                                   #
#                                                                #
#----------------------------------------------------------------#

cli version 3.20
clock local default-offset +00:00
dns-relay
webserver port 80 language en
sntp-client
sntp-client server primary pool.ntp.org port 123 version 4

system

  ic voice 0

profile r2 default

profile napt NAPT_WAN

profile ppp default

profile tone-set default

profile voip default
  codec 1 g729 rx-length 20 tx-length 20
  codec 2 g711ulaw64k rx-length 20 tx-length 20
  codec 3 g711alaw64k rx-length 20 tx-length 20

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router

  interface WAN
    ipaddress dhcp
    use profile napt NAPT_WAN
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu

context cs switch

  routing-table called-e164 RT_PSTN_TO_SIP
    route .T dest-interface IF_SIP

  interface isdn IF_ISDN_00
    route call dest-table RT_PSTN_TO_SIP

  interface sip IF_SIP
    bind context sip-gateway GW_SIP
    route call dest-interface IF_ISDN_00
    remote <domain>
    address-translation outgoing-call from-header user-part fix <xxxxxxxx> host-part call

context cs switch
  no shutdown

authentication-service AUTH_SVC
  username <xxxxxxxx> password <pwpwpw> encrypted

location-service LOCATION_SVC
  domain 1 <domain>

  identity <xxxxxxxx>

    authentication outbound
      authenticate 1 authentication-service AUTH_SVC username <xxxxxxxx>

    registration outbound
      registrar <domain>
      register auto

context sip-gateway GW_SIP

  interface IF_GWSIP
    bind interface WAN context router port 5060

context sip-gateway GW_SIP
  bind location-service LOCATION_SVC
  shutdown

port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface WAN router
  no shutdown

port e1t1 0 0
  port-type e1
  clock auto
  framing crc4
  encapsulation q921

  q921
    uni-side auto
    encapsulation q931

    q931
      protocol dss1
      uni-side user
      bchan-number-order ascending
      encapsulation cc-isdn
      bind interface IF_ISDN_00 switch

port e1t1 0 0
  no shutdown


Ich habe momentan gar keine Ahnung wo ich in der Konfiguration ansetzen könnte, vielleicht kann mir da jemand auf die Sprünge helfen.



Vielen Dank!
 
Zuletzt bearbeitet:
Es scheint wohl, das die Patton einfach zwischen "SIP/2.0 401 Unauthorized" und der anschließenden Authorisierung zu viel Zeit verstreichen lässt. Hat jemand eine Idee, wie sich das anpassen lässt?
 
Lösung: Ich hatte den Port beim Registrar vergessen !

Ich hätte noch ein neues Problem, vielleicht hat diesbezüglich jemand eine Idee:

Ich möchte den P-Preferred-Identity Header setzen, es wird aber der P-Asserted-Identity Header gesetzt.
Wie kann ich dies ändern?

Bei einer einer anderen SN wird der p-Preferred-Identity Header gesetzt, mit gleicher Konfiguration. Ich weiß nicht wo ich da einen Unterschied eingebaut habe.

CC > [EP router-014c9290/outgoing] Set call-leg property: Screening-Indicator -> User provided, verified and passed
---> P-Asserted

CC > [EP router-014c9290/outgoing] Set call-leg property: Screening-Indicator -> User provided, not screened
---> P-Preferred

Wie kann ich dem Abhilfe verschaffen?
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
249,049
Beiträge
2,309,433
Mitglieder
378,845
Neuestes Mitglied
holh-66