Hallo zusammen,
ich versuche mich an der Anbindung eines GSM Gateway com.sat IP BASIC ISDN an die starface.
Registriere ich mich direkt an dem Gateway mit einem snom 360 kann ich ein- und ausgehende Gespräche führen.
Mit der starface erreiche ich bisher nur eingehende Anrufe - abgehende Anrufe funktionieren nicht.
Provider Einstellungen - bei NAT, CANREINVITE und FROMUSER habe ich schon alle möglichen Möglichkeiten ausgetestet - ohne Erfolg:
Providername: comsat
Leitungsprotokoll: SIP
Leitungskonf:
type: friend
host: 192.168.1.3
dtmfmode: rfc2833
auth mode: Username/Password
auth: plaintext
fromdomain: 192.168.1.3
fromuser:
Rufnummernanzeige:
Typ: custom
Format eingehend: Ohne Vorwahl
Format ausgehend: Ohne Vorwahl
Alles anzeigen
logs auszugsweise unten - wenns mehr / andere braucht bitte kurz Bescheid geben.
Der einzige relevante Unterschied der mit bisher auffällt ist das beim snom hier der Name der Indentität eingesetzt wird, bei der starface immer "anonymous" - in beiden logs taucht auch ein "401 Unauthorized" auf - trotzdem funktioniert die Verbindung mit dem snom
Bitte nicht irritieren lassen wegen 555 und 5762 - ich habe testweise auf dem com.sat zwei SIP Accounts (für snom und starface) angelegt beide sind identisch und auch über Kreuz ist das Verhalten identisch.
Forum, Netz und meine Literatur habe ich schon durchsucht, allerdings ohne Ergebnis ob dieser Punkt überhaupt relevant ist.
Grüße
Eric
starface
Adding codec 0x2 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
13 headers, 12 lines
Reliably Transmitting (no NAT) to 192.168.1.3:5060:
INVITE sip:01701234567@192.168.1.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK792b8065;rport
From: "anonymous" <sip:5762@192.168.1.3>;tag=as64e4dcff
To: <sip:01701234567@192.168.1.3>
Contact: <sip:5762@192.168.1.2>
Call-ID: 5a216f271320e88b54e074946d0b7b83@192.168.1.3
CSeq: 102 INVITE
User-Agent: STARFACE PBX
Max-Forwards: 70
Date: Fri, 30 Mar 2012 15:50:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 259
v=0
o=root 1982 1982 IN IP4 192.168.1.2
s=session
c=IN IP4 192.168.1.2
t=0 0
m=audio 16084 RTP/AVP 8 0 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
---
-- Called 5762/01701234567
starface*CLI>
<-- SIP read from 192.168.1.3:5060:
SIP/2.0 401 Unauthorized
From: "anonymous"<sip:5762@192.168.1.3>;tag=as64e4dcff
To: <sip:01701234567@192.168.1.3>;tag=659b70-bc01a8c0-13c4-4f75e44a-4972feb6-4f75e44a
Call-ID: 5a216f271320e88b54e074946d0b7b83@192.168.1.3
CSeq: 102 INVITE
WWW-Authenticate: Digest realm="coM.sat-IPBasic",nonce="QkNiF91lyYXetTxnK6pjmxXI8B6SX",stale=false,algorithm=MD5,qop="auth"
Via: SIP/2.0/UDP 192.168.1.2:5060;rport=5060;branch=z9hG4bK792b8065
Supported: replaces
User-Agent: coM.sat-IPBasic
Allow: INVITE,BYE,ACK,CANCEL,REFER,NOTIFY
Content-Length: 0
--- (11 headers 0 lines) ---
Transmitting (no NAT) to 192.168.1.3:5060:
ACK sip:01701234567@192.168.1.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK792b8065;rport
From: "anonymous" <sip:5762@192.168.1.3>;tag=as64e4dcff
To: <sip:01701234567@192.168.1.3>;tag=659b70-bc01a8c0-13c4-4f75e44a-4972feb6-4f75e44a
Contact: <sip:5762@192.168.1.2>
Call-ID: 5a216f271320e88b54e074946d0b7b83@192.168.1.3
CSeq: 102 ACK
User-Agent: STARFACE PBX
Max-Forwards: 70
Content-Length: 0
---
We're at 192.168.1.2 port 16084
Video is at 192.168.1.2 port 14618
Adding codec 0x8 (alaw) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x2 (gsm) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 192.168.1.3:5060:
INVITE sip:01701234567@192.168.1.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.2:5060;branch=z9hG4bK3fa266c0;rport
From: "anonymous" <sip:5762@192.168.1.3>;tag=as64e4dcff
To: <sip:01701234567@192.168.1.3>
Contact: <sip:5762@192.168.1.2>
Call-ID: 5a216f271320e88b54e074946d0b7b83@192.168.1.3
CSeq: 103 INVITE
User-Agent: STARFACE PBX
Max-Forwards: 70
Authorization: Digest username="5762", realm="coM.sat-IPBasic", algorithm=MD5, uri="sip:01701234567@192.168.1.3", nonce="QkNiF91lyYXetTxnK6pjmxXI8B6SX", response="edc33eab8fa36cd9b4dad66ab262962f", opaque="", qop=auth, cnonce="7d3fa978", nc=00000001
Date: Fri, 30 Mar 2012 15:50:18 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 259
v=0
o=root 1982 1983 IN IP4 192.168.1.2
s=session
c=IN IP4 192.168.1.2
t=0 0
m=audio 16084 RTP/AVP 8 0 3 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
Alles anzeigen
snom
Sent to udp:192.168.1.3:5060 at 31/3/2012 09:54:45:656 (704 bytes):
REGISTER sip:192.168.1.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK-zq7mr03qf5t4;rport
From: "comsat" <sip:555@192.168.1.3>;tag=okxl7toc8m
To: "comsat" <sip:555@192.168.1.3>
Call-ID: 3c26c59d174d-uukatvv3biaq
CSeq: 335 REGISTER
Max-Forwards: 70
Contact: <sip:555@192.168.1.100:5060;line=pmcva650>;reg-id=1;q=1.0;+sip.instance="<urn:uuid:19a265ab-90d2-42b6-81ee-788b46d6d135>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snom360/7.3.30
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.100
Expires: 3600
Content-Length: 0
Received from udp:192.168.1.3:5060 at 31/3/2012 09:54:45:679 (464 bytes):
SIP/2.0 401 Unauthorized
From: "comsat"<sip:555@192.168.1.3>;tag=okxl7toc8m
To: "comsat"<sip:555@192.168.1.3>;tag=658518-bc01a8c0-13c4-4f76c64e-49f17b81-4f76c64e
Call-ID: 3c26c59d174d-uukatvv3biaq
CSeq: 335 REGISTER
WWW-Authenticate: Digest realm="coM.sat-IPBasic",nonce="cjiyCkULK1hGKOdsq2T3vK2zciyO4",stale=false,algorithm=MD5,qop="auth"
Via: SIP/2.0/UDP 192.168.1.100:5060;rport=5060;branch=z9hG4bK-zq7mr03qf5t4
Supported: replaces
Content-Length: 0
Sent to udp:192.168.1.3:5060 at 31/3/2012 09:54:45:694 (923 bytes):
REGISTER sip:192.168.1.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK-svldz7wqe21y;rport
From: "comsat" <sip:555@192.168.1.3>;tag=okxl7toc8m
To: "comsat" <sip:555@192.168.1.3>
Call-ID: 3c26c59d174d-uukatvv3biaq
CSeq: 336 REGISTER
Max-Forwards: 70
Contact: <sip:555@192.168.1.100:5060;line=pmcva650>;reg-id=1;q=1.0;+sip.instance="<urn:uuid:19a265ab-90d2-42b6-81ee-788b46d6d135>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
User-Agent: snom360/7.3.30
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.100
Authorization: Digest username="555",realm="coM.sat-IPBasic",nonce="cjiyCkULK1hGKOdsq2T3vK2zciyO4",uri="sip:192.168.1.3",qop=auth,nc=00000001,cnonce="55a126f1",response="c9e41cd7c734fd8c11943a8b0c93dfd2",algorithm=MD5
Expires: 3600
Content-Length: 0
Received from udp:192.168.1.3:5060 at 31/3/2012 09:54:45:757 (648 bytes):
SIP/2.0 200 OK
From: "comsat"<sip:555@192.168.1.3>;tag=okxl7toc8m
To: "comsat"<sip:555@192.168.1.3>;tag=658668-bc01a8c0-13c4-4f76c64e-618d3fb7-4f76c64e
Call-ID: 3c26c59d174d-uukatvv3biaq
CSeq: 336 REGISTER
Contact: <sip:555@192.168.1.100:5060;line=pmcva650>;expires=300;q=1.0;reg-id=1;+sip.instance="<urn:uuid:19a265ab-90d2-42b6-81ee-788b46d6d135>";audio;mobility="fixed";duplex="full";description="snom360";actor="principal";events="dialog";methods="INVITE,ACK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,INFO"
Via: SIP/2.0/UDP 192.168.1.100:5060;rport=5060;branch=z9hG4bK-svldz7wqe21y
Supported: replaces
Content-Length: 0
Sent to udp:192.168.1.3:5060 at 31/3/2012 09:55:35:491 (1171 bytes):
INVITE sip:01701234567@192.168.1.3 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.100:5060;branch=z9hG4bK-kgbyoobljiok;rport
From: "comsat" <sip:555@192.168.1.3>;tag=td4cipmxsb
To: <sip:01701234567@192.168.1.3>
Call-ID: 3c26d0ef03e3-ur2ceao7w8g6
CSeq: 1 INVITE
Max-Forwards: 70
Contact: <sip:555@192.168.1.100:5060;line=pmcva650>;reg-id=1
P-Key-Flags: resolution="31x13", keys="4"
User-Agent: snom360/7.3.30
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, SUBSCRIBE, PRACK, MESSAGE, INFO
Allow-Events: talk, hold, refer, call-info
Supported: timer, 100rel, replaces, from-change
Session-Expires: 3600;refresher=uas
Min-SE: 90
Content-Type: application/sdp
Content-Length: 454
v=0
o=root 958916778 958916778 IN IP4 192.168.1.100
s=call
c=IN IP4 192.168.1.100
t=0 0
m=audio 13254 RTP/AVP 0 8 9 99 3 18 4 101
a=crypto:1 AES_CM_128_HMAC_SHA1_32 inline:QXQ5JzlVCq3XtQTsrqShpZxL088xQ0EzTxDUn9Tm
a=rtpmap:0 pcmu/8000
a=rtpmap:8 pcma/8000
a=rtpmap:9 g722/8000
a=rtpmap:99 g726-32/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=rtpmap:4 g723/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
Received from udp:192.168.1.3:5060 at 31/3/2012 09:55:35:618 (532 bytes):
SIP/2.0 401 Unauthorized
From: "comsat"<sip:555@192.168.1.3>;tag=td4cipmxsb
To: <sip:01701234567@192.168.1.3>;tag=658908-bc01a8c0-13c4-4f76c680-7a213a52-4f76c680
Call-ID: 3c26d0ef03e3-ur2ceao7w8g6
CSeq: 1 INVITE
WWW-Authenticate: Digest realm="coM.sat-IPBasic",nonce="3GKPKxZYbWS9u6BKejjDv3Lz8XRQq",stale=false,algorithm=MD5,qop="auth"
Via: SIP/2.0/UDP 192.168.1.100:5060;rport=5060;branch=z9hG4bK-kgbyoobljiok
Supported: replaces
User-Agent: coM.sat-IPBasic
Allow: INVITE,BYE,ACK,CANCEL,REFER,NOTIFY
Content-Length: 0
Alles anzeigen