Nokia E60 kein SIP Register wenn Passwort eingetragen

olaf_TT

Mitglied
Mitglied seit
15 Mrz 2005
Beiträge
302
Punkte für Reaktionen
0
Punkte
0
Hallo Forum,
ich bekomme mein E60 einfach nicht am Asterisk angemeldet wenn ich ein Passwort benutze. Ohne Passwort rennt es ohne Probleme.

Hier meine sip.conf:
[405]
type=friend
username=405
secret = 405 (wenn es hier aktiv ist und im Phone auch geht es nicht)
callerid="Nokia E60"= <405>
host=dynamic
disallow=all
allow=alaw
allow=ulaw
canreinvite=yes
insecure=very
dtmfmode=rfc2833
qualify=yes
context=Rufnummernplan
callgroup=1
pickupgroup=1

im sip debug kommt dann folgendes:
<-- SIP read from 192.168.92.230:5060:
REGISTER sip:asterisk SIP/2.0
Route: <sip:192.168.92.100;lr>
Via: SIP/2.0/UDP 192.168.92.230:5060;branch=z9hG4bKp441hltnkthc699l09jbuvk
From: <sip:[email protected]>;tag=obuhhlrb7hhc76g109jb
To: <sip:[email protected]>
Contact: <sip:[email protected]>;expires=3600
CSeq: 1198 REGISTER
Call-ID: hicoRMfhoIeNg09CLPvaiPhZODBzei
Supported: sec-agree
Max-Forwards: 70
Content-Length: 0


--- (11 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.92.230 : 5060 (non-NAT)
Transmitting (no NAT) to 192.168.92.230:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.92.230:5060;branch=z9hG4bKp441hltnkthc699l09jbuvk;received=192.168.92.230
From: <sip:[email protected]>;tag=obuhhlrb7hhc76g109jb
To: <sip:[email protected]>
Call-ID: hicoRMfhoIeNg09CLPvaiPhZODBzei
CSeq: 1198 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0


---
Transmitting (no NAT) to 192.168.92.230:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.92.230:5060;branch=z9hG4bKp441hltnkthc699l09jbuvk;received=192.168.92.230
From: <sip:[email protected]>;tag=obuhhlrb7hhc76g109jb
To: <sip:[email protected]>;tag=as4230e654
Call-ID: hicoRMfhoIeNg09CLPvaiPhZODBzei
CSeq: 1198 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
WWW-Authenticate: Digest realm="asterisk", nonce="7d7c28f3"
Content-Length: 0


---
Scheduling destruction of call 'hicoRMfhoIeNg09CLPvaiPhZODBzei' in 15000 ms

<-- SIP read from 192.168.92.230:5060:
REGISTER sip:asterisk SIP/2.0
Route: <sip:192.168.92.100;lr>
Via: SIP/2.0/UDP 192.168.92.230:5060;branch=z9hG4bKp441hltnkthc699l09jbuvk
From: <sip:[email protected]>;tag=obuhhlrb7hhc76g109jb
To: <sip:[email protected]>
Contact: <sip:[email protected]>;expires=3600
CSeq: 1198 REGISTER
Call-ID: hicoRMfhoIeNg09CLPvaiPhZODBzei
Supported: sec-agree
Max-Forwards: 70
Content-Length: 0


--- (11 headers 0 lines)---
Using latest REGISTER request as basis request
Sending to 192.168.92.230 : 5060 (non-NAT)
Transmitting (no NAT) to 192.168.92.230:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.92.230:5060;branch=z9hG4bKp441hltnkthc699l09jbuvk;received=192.168.92.230
From: <sip:[email protected]>;tag=obuhhlrb7hhc76g109jb
To: <sip:[email protected]>
Call-ID: hicoRMfhoIeNg09CLPvaiPhZODBzei
CSeq: 1198 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0


---
Transmitting (no NAT) to 192.168.92.230:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.92.230:5060;branch=z9hG4bKp441hltnkthc699l09jbuvk;received=192.168.92.230
From: <sip:[email protected]>;tag=obuhhlrb7hhc76g109jb
To: <sip:[email protected]>;tag=as4230e654
Call-ID: hicoRMfhoIeNg09CLPvaiPhZODBzei
CSeq: 1198 REGISTER
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
WWW-Authenticate: Digest realm="asterisk", nonce="7d7c28f3"
Content-Length: 0


---
Scheduling destruction of call 'hicoRMfhoIeNg09CLPvaiPhZODBzei' in 15000 ms

Das Passwort stimmt aber definitiv. Habe auch schon mal mehrere Varianten getestet.
Kennt jemand das Problem?

Gruß
Olaf
 
bei mir geht das hier, mit secret

[306]
callerid=Nokia E60 <306>
host=dynamic
domain=xx.xx.xx.xx
user=305
secret=meins
type=friend
mailbox=306
nat=yes
canreinvite=no
context=sip306
disallow=all
allow=alaw
allow=gsm

so funktioniert das bei mir, vllt stören die Anführungszeichen und das = bei dir, keine Ahnung, nimm mal weg.
 
Hi,
also das bringt auch nix.
Würd mich aber auch stark wundern. Mache das beim Asterisk schon immer so...
Er sagt immer noch: Anmeldung fehlgeschlagen

Gruß
Olaf
 
Lösung

Es funktioniert sofort wenn man bei Gebiet "asterisk" einträgt.
Ohne einen Eintrag lässt er bei mir nur eine Verbindung ohne Passwort zu.

[Proxyserver]
Proxyserver-Adresse: sip:asterisk
Gebiet: asterisk
Benutzername: 405
Passwort: 405
Loose Routing erlauben: ja
Transporttyp: UDP
Port: 5060

Hier ein paar Info's zu SIP Authentication:
http://www.voip-info.org/wiki/view/SIP+Authentication

Gruß
Olaf
 

Statistik des Forums

Themen
244,695
Beiträge
2,216,692
Mitglieder
371,315
Neuestes Mitglied
jack-mack
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.