Internes Telefonieren SIP geht nicht

baeckerman83

Mitglied
Mitglied seit
1 Sep 2005
Beiträge
238
Punkte für Reaktionen
0
Punkte
0
hi!
Ich habe mich per X-Lite an meiner Asterisk angemeldet und dann die 2000 gewählt, es kommt aber immer nur
== Using SIP RTP CoS mark 5
auf der CLI, das Xlite tut gar nichts mehr.

Hier mal meine Dateien
extension.conf
Code:
[meine-telefone]
exten => _3000,1,Answer()
exten => _3000,n,Goto(swr3)

exten => 2000,1,Dial(SIP/2000,20)
exten => 2000,2,VoiceMail(2000,u)
[...]
sip.conf
Code:
[general]
bindport =5060
bindaddr = 85.xxx.xxx.xxx
context = sonstige
srvlookup=yes
language=de
maxexpirey=240
defaultexpirey=240
qualify = no


[2000]
type=friend
context=meine-telefone
secret=1234
host=dynamic

Ich hoffes es kann mir jemand helfen.
 
Hast du von der 2000 die 2000 angerufen, oder gibt es noch weitere Einträge in der sip.conf? Wenn ja - ist der Context überall richtig gesetzt? Hast du mal versucht "sip debug" und "core set verbose 3" in der Asterisk Konsole einzugeben? Dann müsstest du eigentlich genau sehen, warum es nicht funktioniert. Wird der SIP Client überhaupt sauber registriert? Was für ein Ergebnis liefer "sip show peers"?
 
Hi!
So habe mal ein sip debug on gemacht:
Code:
<--- SIP read from UDP://91.4.192.245:10315 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:10314>
To: "2000"<sip:[email protected]>
From: "2000"<sip:[email protected]>;tag=5a2d2d48
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 470

v=0
o=- 0 2 IN IP4 192.168.2.37
s=CounterPath X-Lite 3.0
c=IN IP4 192.168.2.37
t=0 0
m=audio 61734 RTP/AVP 107 119 100 106 0 105 98 8 101
a=alt:1 2 : 70XpqN7Q JVQbwzAs 192.168.2.37 61734
a=alt:2 1 : 1DEoKCUD nB6NARQ9 91.4.192.245 10323
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

<------------->
--- (12 headers 17 lines) ---
Ignoring this INVITE request
Retransmitting #2 (no NAT) to 192.168.2.37:2444:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;received=91.4.192.245;rport=10315
From: "2000"<sip:[email protected]>;tag=5a2d2d48
To: "2000"<sip:[email protected]>;tag=as3330b891
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
User-Agent: Asterisk PBX 1.6.0.9
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="170bb8e5"
Content-Length: 0


---
h1488039*CLI>
<--- SIP read from UDP://91.4.192.245:10315 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:10314>
To: "2000"<sip:[email protected]>
From: "2000"<sip:[email protected]>;tag=5a2d2d48
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 470

v=0
o=- 0 2 IN IP4 192.168.2.37
s=CounterPath X-Lite 3.0
c=IN IP4 192.168.2.37
t=0 0
m=audio 61734 RTP/AVP 107 119 100 106 0 105 98 8 101
a=alt:1 2 : 70XpqN7Q JVQbwzAs 192.168.2.37 61734
a=alt:2 1 : 1DEoKCUD nB6NARQ9 91.4.192.245 10323
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

<------------->
--- (12 headers 17 lines) ---
Ignoring this INVITE request
Retransmitting #3 (no NAT) to 192.168.2.37:2444:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;received=91.4.192.245;rport=10315
From: "2000"<sip:[email protected]>;tag=5a2d2d48
To: "2000"<sip:[email protected]>;tag=as3330b891
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
User-Agent: Asterisk PBX 1.6.0.9
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="170bb8e5"
Content-Length: 0


---
h1488039*CLI>
<--- SIP read from UDP://91.4.192.245:10315 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:10314>
To: "2000"<sip:[email protected]>
From: "2000"<sip:[email protected]>;tag=5a2d2d48
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 470

v=0
o=- 0 2 IN IP4 192.168.2.37
s=CounterPath X-Lite 3.0
c=IN IP4 192.168.2.37
t=0 0
m=audio 61734 RTP/AVP 107 119 100 106 0 105 98 8 101
a=alt:1 2 : 70XpqN7Q JVQbwzAs 192.168.2.37 61734
a=alt:2 1 : 1DEoKCUD nB6NARQ9 91.4.192.245 10323
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

<------------->
--- (12 headers 17 lines) ---
Ignoring this INVITE request
Retransmitting #4 (no NAT) to 192.168.2.37:2444:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;received=91.4.192.245;rport=10315
From: "2000"<sip:[email protected]>;tag=5a2d2d48
To: "2000"<sip:[email protected]>;tag=as3330b891
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
User-Agent: Asterisk PBX 1.6.0.9
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="170bb8e5"
Content-Length: 0


---
Retransmitting #5 (no NAT) to 192.168.2.37:2444:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;received=91.4.192.245;rport=10315
From: "2000"<sip:[email protected]>;tag=5a2d2d48
To: "2000"<sip:[email protected]>;tag=as3330b891
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
User-Agent: Asterisk PBX 1.6.0.9
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="170bb8e5"
Content-Length: 0


---
h1488039*CLI>
<--- SIP read from UDP://91.4.192.245:10315 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:10314>
To: "2000"<sip:[email protected]>
From: "2000"<sip:[email protected]>;tag=5a2d2d48
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 470

v=0
o=- 0 2 IN IP4 192.168.2.37
s=CounterPath X-Lite 3.0
c=IN IP4 192.168.2.37
t=0 0
m=audio 61734 RTP/AVP 107 119 100 106 0 105 98 8 101
a=alt:1 2 : 70XpqN7Q JVQbwzAs 192.168.2.37 61734
a=alt:2 1 : 1DEoKCUD nB6NARQ9 91.4.192.245 10323
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

<------------->
--- (12 headers 17 lines) ---
Ignoring this INVITE request
Retransmitting #6 (no NAT) to 192.168.2.37:2444:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;received=91.4.192.245;rport=10315
From: "2000"<sip:[email protected]>;tag=5a2d2d48
To: "2000"<sip:[email protected]>;tag=as3330b891
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
User-Agent: Asterisk PBX 1.6.0.9
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="170bb8e5"
Content-Length: 0


---
[Jul 13 15:37:40] WARNING[19541]: chan_sip.c:2803 retrans_pkt: Maximum retries exceeded on transmission OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI. for seqno 1 (Non-critical Response) -- See doc/sip-retransmit.txt.
h1488039*CLI>
<--- SIP read from UDP://91.4.192.245:10315 --->
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.2.37:2444;branch=z9hG4bK-d87543-a914330d8d234a3e-1--d87543-;rport
Max-Forwards: 70
Contact: <sip:[email protected]:10314>
To: "2000"<sip:[email protected]>
From: "2000"<sip:[email protected]>;tag=5a2d2d48
Call-ID: OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.
CSeq: 1 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
Content-Type: application/sdp
User-Agent: X-Lite release 1011s stamp 41150
Content-Length: 470

v=0
o=- 0 2 IN IP4 192.168.2.37
s=CounterPath X-Lite 3.0
c=IN IP4 192.168.2.37
t=0 0
m=audio 61734 RTP/AVP 107 119 100 106 0 105 98 8 101
a=alt:1 2 : 70XpqN7Q JVQbwzAs 192.168.2.37 61734
a=alt:2 1 : 1DEoKCUD nB6NARQ9 91.4.192.245 10323
a=fmtp:101 0-15
a=rtpmap:107 BV32/16000
a=rtpmap:119 BV32-FEC/16000
a=rtpmap:100 SPEEX/16000
a=rtpmap:106 SPEEX-FEC/16000
a=rtpmap:105 SPEEX-FEC/8000
a=rtpmap:98 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=sendrecv

<------------->
--- (12 headers 17 lines) ---
Ignoring this INVITE request
Really destroying SIP dialog 'OGRkMzI4MDhiM2VjMjdlM2Y4ZmRiMDcyODBiMmM3MmI.' Method: INVITE

Und hier die sip show peers:
Code:
Name/username              Host            Dyn Nat ACL Port     Status
carpo_in                   80.95.252.5                 5060     Unmonitored
carpo-out/test		   80.95.252.5          N      5060     Unmonitored
sipgate_de_in              217.10.79.9                 5060     Unmonitored
2123456/2123456            217.10.79.9                 5060     Unmonitored
6123456/6123456            217.10.79.9                 5060     Unmonitored
2001                       (Unspecified)    D          5060     Unmonitored
2000                       (Unspecified)    D          5060     Unmonitored

Die 2001 wird aber zur Zeit nicht verwendet. Ich rufe mich selbst an. Das schlägt aber Fehl. CDRs schreibt er auch keine. Wenn ihr noch was braucht um mir zu helfen meldet euch einfach.
 
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.