auf einem headless RasPi läuft linphone um bei Bedarf mittels BASH+linphonecsh eine Wave-Datei abzuspielen.
Das klappt im Testnetzwerk mit einer Fritzbox-"Telefonanlage" auch.
Im Produktivnetzwerk jedoch mit einem Cisco Unified CallManager 14 als Telefonanlage wird die Verbindung nicht autorisiert, obwohl User und Passwort korrekt sind. IP ebenfalls, SIP-Pakete werden ausgetauscht. Ich habe schon sämtliche mögliche und unmögliche Konfigurationsvarianten getestet. Die Logs zeigen nach dem REGISTER-Request ein TRYING-Response und danach ein 401 Unauthorized-Response:
Code: Alles auswählen
2021-08-26 15:29:03:311 ortp-message-channel [0x130c3e8]: message sent to [UDP://CUCM.IP.add.ress:5060], size: [551] bytes
REGISTER sip:CUCM.IP.add.ress:5060 SIP/2.0
Via: SIP/2.0/UDP Raspi.IP.add.ress:5060;branch=z9hG4bK.TDNcl1TnR;rport
From: <sip:Teilnehmer@CUCM.IP.add.ress>;tag=R~Yl7XYdk
To: sip:Teilnehmer@CUCM.IP.add.ress
CSeq: 20 REGISTER
Call-ID: Kos8yRjvGj
Max-Forwards: 70
Supported: replaces, outbound
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: <sip:Teilnehmer@Raspi.IP.add.ress;transport=udp>;+sip.instance="<urn:uuid:7ea3e3c0-7423-4958-acc1-11df4829a06f>"
Expires: 3600
User-Agent: Linphonec/3.12.0 (belle-sip/1.6.3)
...
2021-08-26 15:29:03:331 ortp-message-channel [0x130c3e8]: received [267] new bytes from [UDP://CUCM.IP.add.ress:5060]:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP Raspi.IP.add.ress:5060;branch=z9hG4bK.TDNcl1TnR;rport
From: <sip:Teilnehmer@CUCM.IP.add.ress>;tag=R~Yl7XYdk
To: sip:Teilnehmer@CUCM.IP.add.ress
Date: Thu, 26 Aug 2021 13:29:03 GMT
Call-ID: Kos8yRjvGj
CSeq: 20 REGISTER
Content-Length: 0
...
2021-08-26 15:29:03:434 ortp-message-channel [0x130c3e8]: received [390] new bytes from [UDP://CUCM.IP.add.ress:5060]:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP Raspi.IP.add.ress:5060;branch=z9hG4bK.TDNcl1TnR;rport
From: <sip:Teilnehmer@CUCM.IP.add.ress>;tag=R~Yl7XYdk
To: sip:Teilnehmer@CUCM.IP.add.ress;tag=1715072203
Date: Thu, 26 Aug 2021 13:29:03 GMT
Call-ID: Kos8yRjvGj
CSeq: 20 REGISTER
WWW-Authenticate: Digest realm="ccmsipline", nonce="3gqTVYXpkbDEb9VxmwNgIN3yTZ6UXz+k", algorithm=MD5
Content-Length: 0
Code: Alles auswählen
2021-08-26 07:10:34:251 [/belle-sip] MESSAGE channel [0BC4A840]: message sent to [UDP://CUCM.IP.add.ress:5060], size: [626] bytes
REGISTER sip:CUCM.IP.add.ress SIP/2.0
Via: SIP/2.0/UDP Win.IP.add.ress:5060;branch=z9hG4bK.uw-~SgTzE;rport
From: <sip:Teilnehmer@CUCM.IP.add.ress>;tag=Z3UUjim9X
To: sip:Teilnehmer@CUCM.IP.add.ress
CSeq: 20 REGISTER
Call-ID: HU1SkH0MJh
Max-Forwards: 70
Supported: replaces, outbound, gruu
Accept: application/sdp
Accept: text/plain
Accept: application/vnd.gsma.rcs-ft-http+xml
Contact: <sip:Teilnehmer@Win.IP.add.ress;transport=udp>;message-expires=604800;+sip.instance="<urn:uuid:2ee59841-dc06-0064-af25-8a4b2e1886e5>"
Expires: 600
User-Agent: Linphone Desktop/4.2.5 (Windows Server 2016 Version 1607, Qt 5.14.2) LinphoneCore/4.4.19
...
2021-08-26 07:10:34:282 [/belle-sip] MESSAGE channel [0BC4A840]: received [266] new bytes from [UDP://CUCM.IP.add.ress:5060]:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP Win.IP.add.ress:5060;branch=z9hG4bK.uw-~SgTzE;rport
From: <sip:Teilnehmer@CUCM.IP.add.ress>;tag=Z3UUjim9X
To: sip:Teilnehmer@CUCM.IP.add.ress
Date: Thu, 26 Aug 2021 05:10:34 GMT
Call-ID: HU1SkH0MJh
CSeq: 20 REGISTER
Content-Length: 0
...
2021-08-26 07:10:34:322 [/belle-sip] MESSAGE channel [0BC4A840]: received [289] new bytes from [UDP://CUCM.IP.add.ress:5060]:
SIP/2.0 200 OK
Via: SIP/2.0/UDP Win.IP.add.ress:5060;branch=z9hG4bK.uw-~SgTzE;rport
From: <sip:Teilnehmer@CUCM.IP.add.ress>;tag=Z3UUjim9X
To: sip:Teilnehmer@CUCM.IP.add.ress;tag=1013496966
Date: Thu, 26 Aug 2021 05:10:34 GMT
Call-ID: HU1SkH0MJh
CSeq: 20 REGISTER
Expires: 0
Content-Length: 0
Vielen Dank für Eure Zeit schon vorab!