Hallo,
ich habe meine Asterisk installiert und auch eingerichtet. Eingehende Anrufe kommen an, allerdings kann ich nicht raus telefonieren :-(
sip.conf
extentions.conf
capi.conf
debug
Habe ich einen Fehler gemacht?
Mfg
Toy
ich habe meine Asterisk installiert und auch eingerichtet. Eingehende Anrufe kommen an, allerdings kann ich nicht raus telefonieren :-(
sip.conf
extentions.conf
Code:
[general]
static=yes
writeprotect=yes ; Ob die Datei von der CLI aus
[default]
include=> 24
include=> 22
include=> 23
[ext-1]
exten=>70037620,1,Dial(SIP/23,1)
exten=>70037620,2,Queue(zentrale,r,,,300)
exten=>70037621,1,Dial(SIP/22,1)
exten=>70037621,2,Queue(zentrale,r,,,300)
exten=> s,1,Queue(zentrale,r,,,300)
[22]
exten=>22,1,Dial(SIP/22)
exten=>22,2,Hangup
[23]
exten=>23,1,Dial(SIP/23)
exten=>23,2,Hangup
exten=>_xxx.,1,Dial(CAPI/@70037620:${EXTEN})
exten=>_xxx.,2,Congestion
[24]
exten=>24,1,Dial(SIP/24)
exten=>24,2,Hangup
exten=>_xxx.,1,Dial,CAPI/@70037621:${EXTEN}
exten=>_xxx.,2,Congestion
capi.conf
Code:
[general]
nationalprefix=0
internationalprefix=00
rxgain=1.0
txgain=1.0
language=de
[ISDN1]
ntmode=no
isdnmode=did
msn=*
incomingmsn=*
defaultcid=70037620
overlapdial=yes
immediate=yes
controller=1
group=1
softdtmf=off
relaxdtmf=off
accountcode=
context=ext-1
bridge=no
devices=2
debug
Code:
<--- SIP read from 127.0.0.1:5060 --->
INVITE sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK7D7728E3464EBFA0
From: <sip:[email protected]>;tag=49618531A9CC1270
To: <sip:[email protected]:5061>
Call-ID: [email protected]
CSeq: 26 INVITE
Contact: <sip:[email protected];uniq=8ED0B38A4139F68BBB82F40737B9B>
Max-Forwards: 70
Expires: 120
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.80 (Dec 4 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 411
v=0
o=user 7719006 7719006 IN IP4 127.0.0.1
s=call
c=IN IP4 127.0.0.1
t=0 0
m=audio 7094 RTP/AVP 9 8 0 2 102 100 99 97 120 121 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:120 PCMA/16000
a=rtpmap:121 PCMU/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7095
<------------->
--- (17 headers 18 lines) ---
Sending to 127.0.0.1 : 5060 (no NAT)
Using INVITE request as basis request - [email protected]
<--- Reliably Transmitting (no NAT) to 127.0.0.1:5060 --->
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK7D7728E3464EBFA0;received=127.0.0.1
From: <sip:[email protected]>;tag=49618531A9CC1270
To: <sip:[email protected]:5061>;tag=as42664946
Call-ID: [email protected]
CSeq: 26 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5eb41724"
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)
Found user '24'
<--- SIP read from 127.0.0.1:5060 --->
ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK7D7728E3464EBFA0
From: <sip:[email protected]>;tag=49618531A9CC1270
To: <sip:[email protected]:5061>;tag=as42664946
Call-ID: [email protected]
CSeq: 26 ACK
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.80 (Dec 4 2009)
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
192*CLI>
<--- SIP read from 127.0.0.1:5060 --->
INVITE sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK923C337BF7A78972
From: <sip:[email protected]>;tag=49618531A9CC1270
To: <sip:[email protected]:5061>
Call-ID: [email protected]
CSeq: 27 INVITE
Contact: <sip:[email protected];uniq=8ED0B38A4139F68BBB82F40737B9B>
Proxy-Authorization: Digest username="24", realm="asterisk", nonce="5eb41724", uri="sip:[email protected]:5061", response="0dbaeefcd5beb87bc5efd31a5ebaf3bf", algorithm=MD5
Max-Forwards: 70
Expires: 120
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.80 (Dec 4 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,MESSAGE,PUBLISH
Content-Type: application/sdp
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 411
v=0
o=user 7719006 7719006 IN IP4 127.0.0.1
s=call
c=IN IP4 127.0.0.1
t=0 0
m=audio 7094 RTP/AVP 9 8 0 2 102 100 99 97 120 121 101
a=sendrecv
a=rtpmap:2 G726-32/8000
a=rtpmap:102 G726-32/8000
a=rtpmap:100 G726-40/8000
a=rtpmap:99 G726-24/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:120 PCMA/16000
a=rtpmap:121 PCMU/16000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-11
a=rtcp:7095
<------------->
--- (18 headers 18 lines) ---
Sending to 127.0.0.1 : 5060 (no NAT)
Using INVITE request as basis request - [email protected]
Found user '24'
Found RTP audio format 9
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 2
Found RTP audio format 102
Found RTP audio format 100
Found RTP audio format 99
Found RTP audio format 97
Found RTP audio format 120
Found RTP audio format 121
Found RTP audio format 101
Peer audio RTP is at port 127.0.0.1:7094
Found audio description format G726-32 for ID 2
Found audio description format G726-32 for ID 102
Found unknown media description format G726-40 for ID 100
Found unknown media description format G726-24 for ID 99
Found audio description format iLBC for ID 97
Found audio description format PCMA for ID 120
Found audio description format PCMU for ID 121
Found audio description format telephone-event for ID 101
Capabilities: us - 0x3f1fff (g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc|g726aal2|g722|jpeg|png|h261|h263|h263p|h264), peer - audio=0x1c0c (ulaw|alaw|g726|ilbc|g722)/video=0x0 (nothing), combined - 0x1c0c (ulaw|alaw|g726|ilbc|g722)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 127.0.0.1:7094
Looking for 0511123456 in local-sip (domain 127.0.0.1)
<--- Reliably Transmitting (no NAT) to 127.0.0.1:5060 --->
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK923C337BF7A78972;received=127.0.0.1
From: <sip:[email protected]>;tag=49618531A9CC1270
To: <sip:[email protected]:5061>;tag=as42664946
Call-ID: [email protected]
CSeq: 27 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Length: 0
<------------>
Scheduling destruction of SIP dialog '[email protected]' in 32000 ms (Method: INVITE)
<--- SIP read from 127.0.0.1:5060 --->
ACK sip:[email protected]:5061 SIP/2.0
Via: SIP/2.0/UDP 127.0.0.1:5060;branch=z9hG4bK923C337BF7A78972
From: <sip:[email protected]>;tag=49618531A9CC1270
To: <sip:[email protected]:5061>;tag=as42664946
Call-ID: [email protected]
CSeq: 27 ACK
User-Agent: AVM FRITZ!Box Fon WLAN 7270 54.04.80 (Dec 4 2009)
Content-Length: 0
<------------->
--- (8 headers 0 lines) ---
Habe ich einen Fehler gemacht?
Mfg
Toy