Anrufe von sipgate raus geht rein aber nicht.

Joachim

Neuer User
Mitglied seit
10 Dez 2004
Beiträge
146
Punkte für Reaktionen
0
Punkte
0
Einen Gruss Euch allen,

ich habe mittlerweile alle Konfigurationen die hier im Forum zu finden sind ausprobiert. Ich kriegs nicht hin. Ich möchte auch keine weitere mehr ausprobieren, ich will der Sache auf den Grund gehen, d.h. verstehen wo das Problem liegt und in Aktion schreiten.

Wohl gemerk raustelefonieren geht über sipgate.
Aber wenn ich meine SIP-Gate-telefonnummer anrufe funkt. es nicht.

Einzige Anhaltspunkt ist diese Fehlermeldung:

Reliably Transmitting (NAT):
[highlight=red:f8724afe3a]SIP/2.0 407 Proxy Authentication Required[/highlight:f8724afe3a]Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK1553.13043d85.1;received=217.10.79.9
Via: SIP/2.0/UDP 217.10.79.8;branch=z9hG4bK1553.09c8eba4.0
Via: SIP/2.0/UDP 217.10.67.5:5060;branch=z9hG4bK3d05cad3

Wobei ich nach reload sehen kann dass das Register bei sipgate erfolgreich war.

Hier noch meine Konfig:
extensions.conf:
Code:
[sipgatein]
exten => SIPGATE1,1,Dial(SIP/8001,30,Ttr)
exten => SIPGATE1,2,Hangup

[sipgateout]
exten => _0.,1,SetCallerId,SIPGATE1
exten => _0.,2,Dial(SIP/${EXTEN:1}@SIPGATE1,30,trg)
exten => _0.,3,Hangup


[default]
include => sipgatein
include => sipgateout


sip.conf:
Code:
register =>  SIPGATE1:[email protected]/SIPGATE1

[SIPGATE1]
type=friend
username=SIPGATE1
fromuser=SIPGATE1
secret=XXXXX
context=sipgatein
host=sipgate.de
fromdomain=sipgate.de
canreinvite=no
nat=yes
insecure=very
qualify=no
caninvite=no

Danke für Deine Zeit

Joachim
 
Ok,

die hatte ich schon ausprobiert.
Ich habe es soeben nochmal ausprobiert, aber ohne Erfolg.
Auch nach restart und reboot kein Erfolg.

Ich komme mir vor wie so ein Hamster im Laufrad.
Bitte anhalten :)

Joachim
 
kannst Du mal bitte einen SIP Debug des Registrierungsversuches machen und das Ergebnis hier posten ?

Normalerweise gibt es beim Kopieren meines "Musters" keinerlei Probleme.
Irgendwo hast Du da noch einen Wurm drin.
 
Hi,

hier der sip-debug-auszug nach reload.

Code:
asterisk*CLI>
asterisk*CLI> reload
Jun 22 01:04:53 NOTICE[15376]: indications.c:394 ast_unregister_indication_country: Removed default indication country 'us'
11 headers, 0 lines
Reliably Transmitting:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK3ce47611
From: <sip:######@sipgate.de>;tag=as63aa95cb
To: <sip:######@sipgate.de>
Call-ID: [email protected]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Expires: 120
Contact: <sip:######@192.168.1.47>
Event: registration
Content-Length: 0

 (no NAT) to 217.10.79.9:5060
Retransmitting #1 (no NAT):
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK3ce47611
From: <sip:######@sipgate.de>;tag=as63aa95cb
To: <sip:######@sipgate.de>
Call-ID: [email protected]
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Expires: 120
Contact: <sip:######@192.168.1.47>
Event: registration
Content-Length: 0


 to 217.10.79.9:5060
asterisk*CLI>

Sip read:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK3ce47611;rport=5060;received=84.44.214.128
From: <sip:######@sipgate.de>;tag=as63aa95cb
To: <sip:######@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.50fd
Call-ID: [email protected]
CSeq: 102 REGISTER
WWW-Authenticate: Digest realm="sipgate.de", nonce="42b94ddde07b72725f8a3bc655c17b1320280f09"
Server: sipgate ser
Content-Length: 0
Warning: 392 217.10.79.9:5060 "Noisy feedback tells:  pid=13223 req_src_ip=84.44.214.128 req_src_port=5060 in_uri=sip:sipgate.de out_uri=sip:sipgate.de via_cnt==1"


10 headers, 0 lines
12 headers, 0 lines
Reliably Transmitting:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK3ce47611
From: <sip:######@sipgate.de>;tag=as63aa95cb
To: <sip:######@sipgate.de>
Call-ID: [email protected]
CSeq: 103 REGISTER
User-Agent: Asterisk PBX
Authorization: Digest username="######", realm="sipgate.de", algorithm="MD5", uri="sip:sipgate.de", nonce="42b94ddde07b72725f8a3bc655c17b1320280f09", response="76e731141be6ba88dbc04ab8fae4cdaf", opaque=""
Expires: 120
Contact: <sip:######@192.168.1.47>
Event: registration
Content-Length: 0

 (no NAT) to 217.10.79.9:5060
asterisk*CLI>

Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK3ce47611;rport=5060;received=84.44.214.128
From: <sip:######@sipgate.de>;tag=as63aa95cb
To: <sip:######@sipgate.de>;tag=b11cb9bb270104b49a99a995b8c68544.50fd
Call-ID: [email protected]
CSeq: 103 REGISTER
Contact: <sip:######@84.44.214.128:6050>;q=0.00;expires=5295
Contact: <sip:######@84.44.214.128:5060>;q=0.00;expires=120
Server: sipgate ser
Content-Length: 0
Warning: 392 217.10.79.9:5060 "Noisy feedback tells:  pid=13219 req_src_ip=84.44.214.128 req_src_port=5060 in_uri=sip:sipgate.de out_uri=sip:sipgate.de via_cnt==1"

******************************************************************************

11 headers, 0 lines
11 headers, 2 lines
Reliably Transmitting:
NOTIFY sip:[email protected]:6050 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK370ce7ac
From: "asterisk" <sip:[email protected]>;tag=as439988a9
To: <sip:[email protected]:6050>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0
 (NAT) to 192.168.1.97:6050
Retransmitting #1 (NAT):
NOTIFY sip:[email protected]:6050 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK370ce7ac
From: "asterisk" <sip:[email protected]>;tag=as439988a9
To: <sip:[email protected]:6050>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0

 to 192.168.1.97:6050
Retransmitting #2 (NAT):
NOTIFY sip:[email protected]:6050 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK370ce7ac
From: "asterisk" <sip:[email protected]>;tag=as439988a9
To: <sip:[email protected]:6050>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0

 to 192.168.1.97:6050
Retransmitting #3 (NAT):
NOTIFY sip:[email protected]:6050 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK370ce7ac
From: "asterisk" <sip:[email protected]>;tag=as439988a9
To: <sip:[email protected]:6050>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0

 to 192.168.1.97:6050
Retransmitting #4 (NAT):
NOTIFY sip:[email protected]:6050 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK370ce7ac
From: "asterisk" <sip:[email protected]>;tag=as439988a9
To: <sip:[email protected]:6050>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0

 to 192.168.1.97:6050
Retransmitting #5 (NAT):
NOTIFY sip:[email protected]:6050 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.47:5060;branch=z9hG4bK370ce7ac
From: "asterisk" <sip:[email protected]>;tag=as439988a9
To: <sip:[email protected]:6050>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 NOTIFY
User-Agent: Asterisk PBX
Event: message-summary
Content-Type: application/simple-message-summary
Content-Length: 36

Messages-Waiting: no
Voicemail: 0/0

 to 192.168.1.97:6050
Jun 22 01:05:00 WARNING[5126]: chan_sip.c:497 retrans_pkt: Maximum retries exceeded on call [email protected] for seqno 102 (Request)
asterisk*CLI>

Die [email protected] ist mein Sip-Client der taucht da immer wieder auf
obwohl der garnicht gestartet ist, auch zum Zeitpunkt des Reloads nicht.

Danke

Joachim
 
was sagt die Ausgabe von "sip show peer 16" ?

was sagt die Ausgabe von "database show" zu dem Zeitpunkt, in dem der Client 16 nicht angemeldet ist ?

Hast Du schonmal probiert, anstatt einem RELOAD einen RESTART zu machen ? Damit die interne Datenbank des Asterisk komplett neu gestartet wird ?

Also die Registrierung bei Sipgate funktioniert erstmal problemlos.
 
Ok,

jetzt funkt. es.
Bitte schlag mich nicht.
Ich hatte aus unserer Datenbank die User mit durchwahl übernommen.
Leider war da ein Eintrag dabei wo die komplette Nr. mit rein kam.
Zu allem übel war das die Nr. von der ich aus angerufen habe.

Weiteres Hindernis war das eine Weiterleitung auf 8001 Echo-Test nicht funktionierte bzw. immer noch nicht funktioniert.

Danke für die Mühe

Joachim
 
Kostenlos!

Statistik des Forums

Themen
248,537
Beiträge
2,293,764
Mitglieder
378,046
Neuestes Mitglied
carsten.schrage