Hallo "Gemeinschaft" Gemeinschaft,
ich versuche seit 3 Wochen etwas tiefer in Gemeinschaft 5.1.2 einzutauchen.
Im Moment stecke ich fest bei dem Versuch bei der Installation unter "SIP-Domain" als Host und Realm, die ja als Defaultwerte mit der Server-IP vorgeschlagen werden, einen Domänennamen zu setzen, z.B.:
sip.localdomain.lan anstelle von
192.168.2.2 bei beiden Einträgen.
Ich habe schon verstanden, dass dort niemals der eigentliche Rechnername verwendet werden darf, sondern nur ein vom Rechnernamen abweichender Domainname, da sich Freeswitch
immer an die aufgelöste IP binden will.
Und diese aufgelöste IP ist bei Verwendung des Rechnernamens dank /etc/hosts gleich dem Loopbackinterface 127.0.
1.1 - Damit sind keinen Verbindungen von extern möglich.
(Der Fall sollte im Einrichtdialog verhindert werden).
Wenn ich das o.g. sip.localdomain.lan verwende, kann ich mich später mit 2 Instanzen von PhonerLite 2.15 (auf 2 versch. Rechnern) zwar erfolgreich registrieren, jedoch sind keine Anrufe möglich.
Als "Auslösegrund" bei einem Anrufversuch gibt PhonerLite immer die Statusmeldung "480:User offline".
Beim Angerufenem gibt es keinen Hinweis auf einen Anruf.
Die Anrufliste in Gemeinschaft vermerkt nur "Keine Antwort".
Unter "
http://192.168.2.2/users/1/sip_accounts" erscheinen beide Accounts mit dem Häckchen für registriert.
Rufnummern sind für beide Accounts eingerichtet (55, 56).
Neugestartet war GS5 auch.
Richte ich parallel eine zweite virtuelle Maschine mit GS 5.1.2 ein und verwende überall die selben Einstellungen bis auf die Default IP-Werte bei "SIP-Domain", funktioniert alles fehlerfrei.
Kann mir das jemand erklären oder Hinweise für die Verwendung von Domainnamen geben?
Wie debugge ich sowas bei der Gemeinschafts Freeswitch Version?
Hier noch ein Anrufprotokoll mittels PhonerLite (Und ja, die Gegenstelle war zum Anrufzeitpunkt am selben Server registriert.)
-------------------------------------------
00:55:10,060: R: open UDP port (RTP): 5062
-------------------------------------------
00:55:10,060: R: open UDP port (RTCP): 5063
-------------------------------------------
00:55:10,060: T:
192.168.2.2:5060 (UDP)
INVITE sip:5...@sip.localdomain.lan SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185a9096f9c09376c;rport
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 10 INVITE
Contact: <
sip:6ea124aab8...@192.168.0.32:5060>
Content-Type: application/sdp
Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE
Max-Forwards: 70
Supported: 100rel, replaces, from-change
User-Agent: SIPPER for PhonerLite
P-Preferred-Identity: <sip:6ea124aab8...@sip.localdomain.lan>
Content-Length: 447
v=0
o=- 1051452297 1 IN IP4 192.168.0.32
s=SIPPER for PhonerLite
c=IN IP4 192.168.0.32
t=0 0
m=audio 5062 RTP/AVP 107 8 0 2 3 97 110 111 9 101
a=rtpmap:107 opus/48000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:110 speex/8000
a=rtpmap:111 speex/16000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:1717160978
a=sendrecv
-------------------------------------------
00:55:10,061: R:
192.168.2.2:5060 (UDP)
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185a9096f9c09376c;rport=5060
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 10 INVITE
User-Agent: Gemeinschaft5
Content-Length: 0
-------------------------------------------
00:55:10,106: R:
192.168.2.2:5060 (UDP)
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185a9096f9c09376c;rport=5060
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>;tag=K26rrBtgBv93r
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 10 INVITE
User-Agent: Gemeinschaft5
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Proxy-Authenticate: Digest realm="sip.localdomain.lan", nonce="5c100195-892a-459e-bd8a-fe60b6cca119", algorithm=MD5, qop="auth"
Content-Length: 0
-------------------------------------------
00:55:10,106: T:
192.168.2.2:5060 (UDP)
ACK sip:5...@sip.localdomain.lan SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185a9096f9c09376c;rport
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>;tag=K26rrBtgBv93r
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 10 ACK
Content-Length: 0
-------------------------------------------
00:55:10,106: T:
192.168.2.2:5060 (UDP)
INVITE sip:5...@sip.localdomain.lan SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185ab096f9c09376c;rport
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 11 INVITE
Contact: <
sip:6ea124aab8...@192.168.0.32:5060>
Proxy-Authorization: Digest username="6ea124aab846cb1c992e", realm="sip.localdomain.lan", nonce="5c100195-892a-459e-bd8a-fe60b6cca119", uri="sip:5...@sip.localdomain.lan", response="a6f2c183a08cf642fd63e833627bdbc9", algorithm=MD5, cnonce="001bb97f95c2e31185aa096f9c09376c", qop=auth, nc=00000001
Content-Type: application/sdp
Allow: INVITE, OPTIONS, ACK, BYE, CANCEL, INFO, NOTIFY, MESSAGE, UPDATE
Max-Forwards: 70
Supported: 100rel, replaces, from-change
User-Agent: SIPPER for PhonerLite
P-Preferred-Identity: <sip:6ea124aab8...@sip.localdomain.lan>
Content-Length: 447
v=0
o=- 1051452297 1 IN IP4 192.168.0.32
s=SIPPER for PhonerLite
c=IN IP4 192.168.0.32
t=0 0
m=audio 5062 RTP/AVP 107 8 0 2 3 97 110 111 9 101
a=rtpmap:107 opus/48000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:110 speex/8000
a=rtpmap:111 speex/16000
a=rtpmap:9 G722/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ssrc:1717160978
a=sendrecv
-------------------------------------------
00:55:10,110: R:
192.168.2.2:5060 (UDP)
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185ab096f9c09376c;rport=5060
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 11 INVITE
User-Agent: Gemeinschaft5
Content-Length: 0
-------------------------------------------
00:55:10,210: R:
192.168.2.2:5060 (UDP)
SIP/2.0 480 User offline
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185ab096f9c09376c;rport=5060
Max-Forwards: 70
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>;tag=mB0Ht6am84Zpm
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 11 INVITE
User-Agent: Gemeinschaft5
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, precondition, path, replaces
Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Reason: Q.850;cause=18;text="NO_USER_RESPONSE"
Content-Length: 0
P-Asserted-Identity: "Thomas Brandt - VPN Device" <sip:5...@sip.localdomain.lan>
-------------------------------------------
00:55:10,210: T:
192.168.2.2:5060 (UDP)
ACK sip:5...@sip.localdomain.lan SIP/2.0
Via: SIP/2.0/UDP 192.168.0.32:5060;branch=z9hG4bK001bb97f95c2e31185ab096f9c09376c;rport
From: "PhonerLite" <sip:6ea124aab8...@sip.localdomain.lan>;tag=381777421
To: <sip:5...@sip.localdomain.lan>;tag=mB0Ht6am84Zpm
Call-ID:
001BB97F-95C2-E311...@192.168.0.32CSeq: 11 ACK
Content-Length: 0
00:55:10,210: Disconnect Indication: 0E 00 01 00 04 82 42 00 01 01 00 00 93 38
00:55:10,210: Disconnect Indication: 19:No answer from user (user alerted)
00:55:10,218: Disconnect Response: 0C 00 01 00 04 83 42 00 01 01 00 00
00:55:10,218: Disconnect Response
-------------------------------------------
00:55:10,218: R: close UDP port (RTP): 5062
-------------------------------------------
00:55:10,218: R: close UDP port (RTCP): 5063