Hallo zusammen,
villeicht kann mir einer von euch helfen.
ich muss gestehen, ich kenne mich noch nicht allzugut mit asterisk aus aber interne gespräche bekomme ich schonmal problemlos hin.
mein problem ist nun folgendes:
Ich habe mich gestern bei web.de zum freephone angemeldet und mit dem tollen download von web.de kann man auch telefonieren, allerdings habe ich meine daten jetzt in meinen asterisk eingetragen und es tut sich nicht allzuviel.
ich hänge einfach mal eine configs an und die entsprechenden cli ausgaben:
#######sip.conf:
[general]
port=5060
externip=<meine derzeitige ip, werde ich aber durch dyndns ersetzen>
bindaddr=0.0.0.0
context=default
srvlookup=yes
localnet=192.168.2.0/255.255.255.0
allow=gsm
disallow=all
canreinvite=no
language=de
register=<user>:<passwd>@sip.web.de/012012<meine_nummer>
nat=no
dtmfmode=info
tos=0x18
[web.de]
type=peer
username=<user>
secret=<passwd>
host=sip.web.de
fromuser=<user>
fromdomain=sip.web.de
context=default
canreinvite=no
qualify=yes
disallow=all
allow=gsm
insecure=very
nat=no
dtmfmode=info
tos=0x18
;user "Tobias"
[200]
type=friend
secret=test
insecure=very
;host=192.168.1.200
host=dynamic
;defaultip=192.168.1.200
disable=all
allow=alaw
allow=ulaw
dtmfmode=rfc2833
username=200
context=200
qualify=1000
callerid="Tobias" <200>
canreinvite=no
reinvite=no
nat=yes
;user "Christian"
[201]
type=friend
secret=test
"sip.conf" 79L, 1057C
#######extensions.conf:
[default]
include => calls
[calls]
exten => 01212<meine nummer>,1,Dial(Zap/2/200,60,tT)
exten => 01212<meine nummer>,2,Hangup
[200]
exten => _201,1,NoOp("call for "${EXTEN})
exten => _201,2,Dial(SIP/${EXTEN},60,tr)
exten => _201,3,Congestion
exten => _x.,1,SetCallerID,4888124
exten => _x.,2,Dial(SIP/&{EXTEN}sipgate-out,60,tr)
exten => _x.,3,Congestion
exten => _x.,102,Busy
[201]
exten => _200,1,NoOp("call for "${EXTEN})
exten => _200,2,Dial(SIP/${EXTEN},60,tr)
exten => _200,3,Congestion
exten => _x.,1,SetCallerID,4888124
exten => _x.,2,Dial(SIP/&{EXTEN}sipgate-out,60,tr)
exten => _x.,3,Congestion
exten => _x.,102,Busy
CLI Log:
<-- SIP read from 217.72.200.89:5060:
--- (0 headers 0 lines) Nat keepalive ---
localhost*CLI>
<-- SIP read from 217.72.200.89:5060:
INVITE sip:[email protected]:1024 SIP/2.0
Record-Route: <sip:217.72.200.89;ftag=as0418ac4e;lr=on>
Via: SIP/2.0/UDP 217.72.200.89;branch=z9hG4bK642c.a01cbcc4.0
Via: SIP/2.0/UDP 217.72.200.73:5060;branch=z9hG4bK5dcde227;rport=5060
From: "<mein festnetz=> Anrufer>" <sip:<mein festnetz=> Anrufer>@web.de>;tag=as0418ac4e
To: <sip:<mein web.de benutzer>@sip.web.de>
Contact: <sip:<mein festnetz=> Anrufer>@217.72.200.73:5060>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 16
Date: Fri, 02 Jun 2006 14:59:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 322
P-hint: usrloc applied
v=0
o=root 16429 16429 IN IP4 217.72.200.73
s=session
c=IN IP4 217.72.200.73
t=0 0
m=audio 10972 RTP/AVP 8 0 111 3 97 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSuppff - - - -
--- (16 headers 14 lines)---
Using INVITE request as basis request - [email protected]
Sending to 217.72.200.89 : 5060 (non-NAT)
Found peer 'web.de'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 111
Found RTP audio format 3
Found RTP audio format 97
Found RTP audio format 101
Peer audio RTP is at port 217.72.200.73:10972
Found description format PCMA
Found description format PCMU
Found description format G726-32
Found description format GSM
Found description format iLBC
Found description format telephone-event
Capabilities: us - 0x2 (gsm), peer - audio=0x41e (gsm|ulaw|alaw|g726|ilbc)/video=0x0 (nothing), combined - 0x2 (gsm)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Looking for 012012302500499 in default (domain 80.145.203.33)
Reliably Transmitting (no NAT) to 217.72.200.89:5060:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 217.72.200.89;branch=z9hG4bK642c.a01cbcc4.0;received=217.72.200.89
Via: SIP/2.0/UDP 217.72.200.73:5060;branch=z9hG4bK5dcde227;rport=5060
From: "<mein festnetz=> Anrufer>" <sip:<mein festnetz=> Anrufer>@web.de>;tag=as0418ac4e
To: <sip:<mein web.de user>@sip.web.de>;tag=as6369f83a
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0
---
localhost*CLI>
<-- SIP read from 217.72.200.89:5060:
ACK sip:[email protected]:1024 SIP/2.0
Via: SIP/2.0/UDP 217.72.200.89;branch=z9hG4bK642c.a01cbcc4.0
From: "<mein festnetz=> Anrufer>" <sip:<mein festnetz=> Anrufer>@web.de>;tag=as0418ac4e
Call-ID: [email protected]
To: <sip:<mein web.de user>@sip.web.de>;tag=as6369f83a
CSeq: 102 ACK
User-Agent: Sip EXpress router(0.9.4 (i386/linux))
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '[email protected]'
localhost*CLI>
Ich wäre echt sehr sehr dankbar für eine lösung oder zumindest eine analyse denn ich verzweifel hier noch.
Vielen Dank schonmal für die zahlreichen antworten
villeicht kann mir einer von euch helfen.
ich muss gestehen, ich kenne mich noch nicht allzugut mit asterisk aus aber interne gespräche bekomme ich schonmal problemlos hin.
mein problem ist nun folgendes:
Ich habe mich gestern bei web.de zum freephone angemeldet und mit dem tollen download von web.de kann man auch telefonieren, allerdings habe ich meine daten jetzt in meinen asterisk eingetragen und es tut sich nicht allzuviel.
ich hänge einfach mal eine configs an und die entsprechenden cli ausgaben:
#######sip.conf:
[general]
port=5060
externip=<meine derzeitige ip, werde ich aber durch dyndns ersetzen>
bindaddr=0.0.0.0
context=default
srvlookup=yes
localnet=192.168.2.0/255.255.255.0
allow=gsm
disallow=all
canreinvite=no
language=de
register=<user>:<passwd>@sip.web.de/012012<meine_nummer>
nat=no
dtmfmode=info
tos=0x18
[web.de]
type=peer
username=<user>
secret=<passwd>
host=sip.web.de
fromuser=<user>
fromdomain=sip.web.de
context=default
canreinvite=no
qualify=yes
disallow=all
allow=gsm
insecure=very
nat=no
dtmfmode=info
tos=0x18
;user "Tobias"
[200]
type=friend
secret=test
insecure=very
;host=192.168.1.200
host=dynamic
;defaultip=192.168.1.200
disable=all
allow=alaw
allow=ulaw
dtmfmode=rfc2833
username=200
context=200
qualify=1000
callerid="Tobias" <200>
canreinvite=no
reinvite=no
nat=yes
;user "Christian"
[201]
type=friend
secret=test
"sip.conf" 79L, 1057C
#######extensions.conf:
[default]
include => calls
[calls]
exten => 01212<meine nummer>,1,Dial(Zap/2/200,60,tT)
exten => 01212<meine nummer>,2,Hangup
[200]
exten => _201,1,NoOp("call for "${EXTEN})
exten => _201,2,Dial(SIP/${EXTEN},60,tr)
exten => _201,3,Congestion
exten => _x.,1,SetCallerID,4888124
exten => _x.,2,Dial(SIP/&{EXTEN}sipgate-out,60,tr)
exten => _x.,3,Congestion
exten => _x.,102,Busy
[201]
exten => _200,1,NoOp("call for "${EXTEN})
exten => _200,2,Dial(SIP/${EXTEN},60,tr)
exten => _200,3,Congestion
exten => _x.,1,SetCallerID,4888124
exten => _x.,2,Dial(SIP/&{EXTEN}sipgate-out,60,tr)
exten => _x.,3,Congestion
exten => _x.,102,Busy
CLI Log:
<-- SIP read from 217.72.200.89:5060:
--- (0 headers 0 lines) Nat keepalive ---
localhost*CLI>
<-- SIP read from 217.72.200.89:5060:
INVITE sip:[email protected]:1024 SIP/2.0
Record-Route: <sip:217.72.200.89;ftag=as0418ac4e;lr=on>
Via: SIP/2.0/UDP 217.72.200.89;branch=z9hG4bK642c.a01cbcc4.0
Via: SIP/2.0/UDP 217.72.200.73:5060;branch=z9hG4bK5dcde227;rport=5060
From: "<mein festnetz=> Anrufer>" <sip:<mein festnetz=> Anrufer>@web.de>;tag=as0418ac4e
To: <sip:<mein web.de benutzer>@sip.web.de>
Contact: <sip:<mein festnetz=> Anrufer>@217.72.200.73:5060>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 16
Date: Fri, 02 Jun 2006 14:59:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 322
P-hint: usrloc applied
v=0
o=root 16429 16429 IN IP4 217.72.200.73
s=session
c=IN IP4 217.72.200.73
t=0 0
m=audio 10972 RTP/AVP 8 0 111 3 97 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSuppff - - - -
--- (16 headers 14 lines)---
Using INVITE request as basis request - [email protected]
Sending to 217.72.200.89 : 5060 (non-NAT)
Found peer 'web.de'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 111
Found RTP audio format 3
Found RTP audio format 97
Found RTP audio format 101
Peer audio RTP is at port 217.72.200.73:10972
Found description format PCMA
Found description format PCMU
Found description format G726-32
Found description format GSM
Found description format iLBC
Found description format telephone-event
Capabilities: us - 0x2 (gsm), peer - audio=0x41e (gsm|ulaw|alaw|g726|ilbc)/video=0x0 (nothing), combined - 0x2 (gsm)
Non-codec capabilities: us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Looking for 012012302500499 in default (domain 80.145.203.33)
Reliably Transmitting (no NAT) to 217.72.200.89:5060:
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 217.72.200.89;branch=z9hG4bK642c.a01cbcc4.0;received=217.72.200.89
Via: SIP/2.0/UDP 217.72.200.73:5060;branch=z9hG4bK5dcde227;rport=5060
From: "<mein festnetz=> Anrufer>" <sip:<mein festnetz=> Anrufer>@web.de>;tag=as0418ac4e
To: <sip:<mein web.de user>@sip.web.de>;tag=as6369f83a
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0
---
localhost*CLI>
<-- SIP read from 217.72.200.89:5060:
ACK sip:[email protected]:1024 SIP/2.0
Via: SIP/2.0/UDP 217.72.200.89;branch=z9hG4bK642c.a01cbcc4.0
From: "<mein festnetz=> Anrufer>" <sip:<mein festnetz=> Anrufer>@web.de>;tag=as0418ac4e
Call-ID: [email protected]
To: <sip:<mein web.de user>@sip.web.de>;tag=as6369f83a
CSeq: 102 ACK
User-Agent: Sip EXpress router(0.9.4 (i386/linux))
Content-Length: 0
--- (8 headers 0 lines)---
Destroying call '[email protected]'
localhost*CLI>
Ich wäre echt sehr sehr dankbar für eine lösung oder zumindest eine analyse denn ich verzweifel hier noch.
Vielen Dank schonmal für die zahlreichen antworten