versuche grade einen asterisk zum laufen zu bringen. teilweise nach der ct anleitung (später sollen hfc-s karten in betrieb genommen werden).
erst mal wollte ich aber das vermeintlich einfache reine sip telefonieren zum laufen bringen. in den confs stehen aber teilweise auch einträge vom ct skript
bisher komme ich, wenn ich meine festnetznummer anrufe nur ein besetztzeichen. * kriegt den anruf aber.
sip debug gibt das aus:
rausrufen geht auch nicht. da kommt sowas:
meine sip.conf
und die extension.conf
erst mal wollte ich aber das vermeintlich einfache reine sip telefonieren zum laufen bringen. in den confs stehen aber teilweise auch einträge vom ct skript
bisher komme ich, wenn ich meine festnetznummer anrufe nur ein besetztzeichen. * kriegt den anruf aber.
sip debug gibt das aus:
Code:
Sip read:
INVITE sip:[email protected] SIP/2.0
Record-Route: <sip:[email protected];ftag=as354d5547;lr=on>
Max-Forwards: 9
Record-Route: <sip:[email protected];ftag=as354d5547;lr=on>
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK424a.8dc8d574.0
Via: SIP/2.0/UDP 217.10.79.8;branch=z9hG4bK424a.178673a6.0
Via: SIP/2.0/UDP 217.10.67.5:5060;branch=z9hG4bK22833e48
From: "05112153772" <sip:[email protected]>;tag=as354d5547
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Fri, 10 Jun 2005 16:58:35 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 409
v=0
o=root 21565 21565 IN IP4 217.10.67.5
s=session
c=IN IP4 217.10.67.5
t=0 0
m=audio 15670 RTP/AVP 8 0 3 97 18 2 4 5 110 7 10
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:18 G729/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:4 G723/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:110 speex/8000
a=rtpmap:7 LPC/8000
a=rtpmap:10 L16/8000
a=silenceSupp:off - - - -
17 headers, 18 lines
Using latest request as basis request
Sending to 217.10.79.9 : 5060 (non-NAT)
Found peer 'sipgate'
Found RTP audio format 8
Found RTP audio format 0
Found RTP audio format 3
Found RTP audio format 97
Found RTP audio format 18
Found RTP audio format 2
Found RTP audio format 4
Found RTP audio format 5
Found RTP audio format 110
Found RTP audio format 7
Found RTP audio format 10
Peer audio RTP is at port 217.10.67.5:15670
Found description format PCMA
Found description format PCMU
Found description format GSM
Found description format iLBC
Found description format G729
Found description format G726-32
Found description format G723
Found description format DVI4
Found description format speex
Found description format LPC
Found description format L16
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x7ff (g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc)/video=0x0 (nothing), combined - 0xc (ulaw|alaw)
Non-codec capabilities: us - 0x1 (g723), peer - 0x0 (nothing), combined - 0x0 (nothing)
Looking for sipgate in default
Reliably Transmitting (NAT):
SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK424a.8dc8d574.0;received=217.10.79.9;rport=5060
Via: SIP/2.0/UDP 217.10.79.8;branch=z9hG4bK424a.178673a6.0
Via: SIP/2.0/UDP 217.10.67.5:5060;branch=z9hG4bK22833e48
From: "05112153772" <sip:[email protected]>;tag=as354d5547
To: <sip:[email protected]>;tag=as0932b679
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[email protected]>
Content-Length: 0
to 217.10.79.9:5060
Sip read:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK424a.8dc8d574.0
From: "0511xxxxxx" <sip:[email protected]>;tag=as354d5547
Call-ID: [email protected]
To: <sip:[email protected]>;tag=as0932b679
CSeq: 102 ACK
User-Agent: sipgate ser
Content-Length: 0
8 headers, 0 lines
rausrufen geht auch nicht. da kommt sowas:
Code:
Jun 10 13:41:53 NOTICE[6182]: Failed to authenticate on INVITE to '"icke" <sip:[email protected]>;tag=as0108c758'
meine sip.conf
Code:
disallow=all
allow=ulaw
allow=alaw
allow=gsm
canreinvite=no
insecure = very
register => 6041xxx:[email protected]/sipgate
[general]
port = 5060
bindaddr = 0.0.0.0
srvlookup = yes
context = default
; sipgate
[sipgate]
type=friend
username=6041xxx
fromuser=6041xxx
secret=meinpass
host=sipgate.de
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=default
canreinvite = yes
insecure=very
nat=yes
; meine eintraege
[303]
type=friend
username=303
secret=pass
host=dynamic
fromuser=303
context=sipgate
canreinvite=no
qualify=no
disallow=all
allow=ulaw
insecure=very
nat=no
dtmfmode=rfc2833
callerid="icke" <303>
und die extension.conf
Code:
[general]
static=yes
writeprotect=no
[globals]
IAXINFO=guest ; IAXtel username/password
[default]
include => tcom-trunk
include => pbx-trunk
include => sipgate
exten => 6041xxx,1,Dial(SIP/303,20,tr)
exten => 303,2,Congestion
exten => 303,102,Busy
[tcom-trunk]
; Hereinkommende Anrufe werden auf interne MSN 3333 geleitet
;exten => _X.,1,Dial(Zap/g2/3333,60)
;exten => _X.,2,Hangup
[pbx-trunk]
; 8 vorwaehlen -> Ueber ISDN waehlen
; ${EXTEN:1} bedeutet, dass von der zu waehlenden Rufnummer eine
; Ziffer abgeschnitten wird, hier also die '8'.
exten => _8.,1,Dial(Zap/g1/${EXTEN:1}/,60)
exten => _8.,2,Congestion
exten => _8.,3,Busy
exten => _8.,4,Hangup
; 9 vorwaehlen -> Ueber SIP waehlen
;exten => _9.,1,Dial(SIP/${EXTEN:1}@myqsc,60)
;exten => _9.,2,Congestion
;exten => _9.,3,Busy
;exten => _9.,4,Hangup
[from-sip-int]
exten => 1,1,Dial(SIP/200,20,tr)
; [default]
; exten => 303,1,Dial(SIP/${EXTEN},60)
; exten => 303,2,Congestion
; exten => 303,102,Busy
[sipgate]
exten => _6.,1,Dial(SIP/${EXTEN:1}@sipgate,60,tT)
exten => _6.,2,Congestion
exten => _6.,3,Busy
exten => _6.,4,Hangup