Hallo,
Asterisk läuft über einen Router an Sipgate, der Xlite Client hängt am selben Switch.Eingehende Anrufe funktionieren, wenn ich allerdings aus Xlite abgehend telefonieren will , zeigt Xlite an das es bei der Rufnummer klingelt das angerufene Telefon bleibt aber still folgende Fehlermeldung zeigt sip debug :
10 headers, 0 lines
Transmitting:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 195.124.138.131:5060;branch=z9hG4bK221e2b7f
From: "8512415" <sip:[email protected]>;tag=as576a011e
To: <sip:[email protected]>;tag=b11cb9bb270104b49a99a995b8c68544.56f9
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 104 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to 217.10.79.9:5060
Apr 19 10:29:41 NOTICE[3631]: chan_sip.c:6848 handle_response: Failed to authenticate on INVITE to '"8512415" <sip:[email protected]>;tag=as576a011e'
Sip read:
CANCEL sip:[email protected] SIP/2.0
v: SIP/2.0/UDP 195.124.138.122:5065;rport;branch=z9hG4bKAEF796AFBAE0483C9705404E01FAEC96
f: 8512415 <sip:[email protected]:5065>;tag=2901021509
t: <sip:[email protected]>
m: <sip:[email protected]:5065>
i: [email protected]
CSeq: 6899 CANCEL
Max-Forwards: 70
User-Agent: sipgate X-Lite release 1105c
l: 0
hier die extensions.conf
[globals]
Diana => 8512415
;------------------------------------------------------
[default]
exten => s,1,Dial(SIP/${Diana},60)
exten => s,3,Hangup()
;------------------------------------------------------
[8512415]
exten => _0.,1,SetCallerID(${Diana})
exten => _0.,2,SetCIDName(${Diana})
exten => _0.,3,Dial(SIP/${EXTEN:1}@sipgate.de,60,trg)
exten => _0.,4,Congestion
und die sip.conf :
[general]
register => 8512415:[email protected]/8512415
nat = no
localnet = 195.124.138.0/255.255.255.0
port = 5060
bindaddr = 0.0.0.0
disallow = all
allow = gsm
allow=ulaw
allow=alaw
allow=slinear
qualify = no
srvlookup = yes
insecure = very
;host = 195.124.138.131
tos = 0x18
canreinvite = no
language = de
;insecure = yes
context = default
dtmfmode = info
;-----------------------------------------------------------------------
[8512415]
port=5065
auth=md5
type=friend
insecure=very
host=dynamic
nat=yes
fromuser=8512415
context=8512415
canreinvite=no
qualify=yes
dtmfmode=info
Bin für jeden Tip dankbar.
Asterisk läuft über einen Router an Sipgate, der Xlite Client hängt am selben Switch.Eingehende Anrufe funktionieren, wenn ich allerdings aus Xlite abgehend telefonieren will , zeigt Xlite an das es bei der Rufnummer klingelt das angerufene Telefon bleibt aber still folgende Fehlermeldung zeigt sip debug :
10 headers, 0 lines
Transmitting:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 195.124.138.131:5060;branch=z9hG4bK221e2b7f
From: "8512415" <sip:[email protected]>;tag=as576a011e
To: <sip:[email protected]>;tag=b11cb9bb270104b49a99a995b8c68544.56f9
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 104 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to 217.10.79.9:5060
Apr 19 10:29:41 NOTICE[3631]: chan_sip.c:6848 handle_response: Failed to authenticate on INVITE to '"8512415" <sip:[email protected]>;tag=as576a011e'
Sip read:
CANCEL sip:[email protected] SIP/2.0
v: SIP/2.0/UDP 195.124.138.122:5065;rport;branch=z9hG4bKAEF796AFBAE0483C9705404E01FAEC96
f: 8512415 <sip:[email protected]:5065>;tag=2901021509
t: <sip:[email protected]>
m: <sip:[email protected]:5065>
i: [email protected]
CSeq: 6899 CANCEL
Max-Forwards: 70
User-Agent: sipgate X-Lite release 1105c
l: 0
hier die extensions.conf
[globals]
Diana => 8512415
;------------------------------------------------------
[default]
exten => s,1,Dial(SIP/${Diana},60)
exten => s,3,Hangup()
;------------------------------------------------------
[8512415]
exten => _0.,1,SetCallerID(${Diana})
exten => _0.,2,SetCIDName(${Diana})
exten => _0.,3,Dial(SIP/${EXTEN:1}@sipgate.de,60,trg)
exten => _0.,4,Congestion
und die sip.conf :
[general]
register => 8512415:[email protected]/8512415
nat = no
localnet = 195.124.138.0/255.255.255.0
port = 5060
bindaddr = 0.0.0.0
disallow = all
allow = gsm
allow=ulaw
allow=alaw
allow=slinear
qualify = no
srvlookup = yes
insecure = very
;host = 195.124.138.131
tos = 0x18
canreinvite = no
language = de
;insecure = yes
context = default
dtmfmode = info
;-----------------------------------------------------------------------
[8512415]
port=5065
auth=md5
type=friend
insecure=very
host=dynamic
nat=yes
fromuser=8512415
context=8512415
canreinvite=no
qualify=yes
dtmfmode=info
Bin für jeden Tip dankbar.