Siptronic ST-100 und Asterisk [erledigt]

tino

Neuer User
Mitglied seit
22 Jun 2005
Beiträge
14
Punkte für Reaktionen
0
Punkte
0
Hallo,
ich habe Probleme, mein Siptronic ST-100 am Asterisk anzumelden. Hat irgendjemand Tipps bezüglich Firmware (1.42 von siptronic) und sip.conf?
Meine sip.conf:
[100]
type=friend
username=SIP100
secret=meinpasswort
host=dynamic
disallow=all
allow=ulaw
allow=alaw
dtmfmode=rfc2833
context=default

Ciao
Tino
 
probier mal mit username=100
 
Danke für die schnelle Hilfe! Hat soweit geklappt!

Ciao
Tino
 
Hallo,
ich hab das Problem immer noch nicht so richtig im Griff.
Die Anmeldung klappt soweit, aber Asterisk und Telefon wollen nicht so richtig miteinander.
Wenn ich eingehende Anrufe auf das Telefon leite kommt die Meldung:

Got SIP response 415 "Unsupported Media Type" back from ...

muss ich irgendwelche speziellen Einstellungen am Telefon vornehmen?

Ciao
Tino
 
mach mal nen Screenshot von Deiner Telefonkonfiguration und poste mal die komplette debug-Ausgabe in der Asterisk-CLI
 
jo...
Telefon-Konfiguration
und
Code:
Sip read:

0 headers, 0 lines


Sip read:
INVITE sip:[email protected]:33385 SIP/2.0
Record-Route: <sip:[email protected];ftag=as66100e9e;lr=on>
Max-Forwards:  9
Record-Route: <sip:[email protected];ftag=as66100e9e;lr=on>
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK7132.4d17abd1.0
Via: SIP/2.0/UDP 217.10.79.8;branch=z9hG4bK7132.91d7eef5.0
Via: SIP/2.0/UDP 217.10.67.4:5060;branch=z9hG4bK41984878
From: "07562914970" <sip:[email protected]>;tag=as66100e9e
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Fri, 01 Jul 2005 15:49:06 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 448

v=0
o=root 19342 19342 IN IP4 217.10.67.4
s=session
c=IN IP4 217.10.79.48
t=0 0
m=audio 42856 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 - - - -
a=direction:active
a=nortpproxy:yes

17 headers, 20 lines
Using latest request as basis request
Sending to 217.10.79.9 : 5060 (NAT)
Found no matching peer or user for '217.10.79.9:5060'
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.79.48:42856
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 - 0x14e (gsm|ulaw|alaw|slin|g729), peer - audio=0x7ff (g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc)/video=0x0 (nothing), combined - 0x14e (gsm|ulaw|alaw|slin|g729)
Non-codec capabilities: us - 0x1 (g723), peer - 0x0 (nothing), combined - 0x0 (nothing)
Looking for 6266484 in default
list_route: hop: <sip:[email protected];ftag=as66100e9e;lr=on>
list_route: hop: <sip:[email protected];ftag=as66100e9e;lr=on>
list_route: hop: <sip:[email protected]>
Transmitting (NAT):
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK7132.4d17abd1.0;received=217.10.79.9;rport=5060
Via: SIP/2.0/UDP 217.10.79.8;branch=z9hG4bK7132.91d7eef5.0
Via: SIP/2.0/UDP 217.10.67.4:5060;branch=z9hG4bK41984878
From: "07562914970" <sip:[email protected]>;tag=as66100e9e
To: <sip:[email protected]>
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
    -- Executing Dial("SIP/217.10.67.4-0815cf50", "SIP/100|20") in new stack
We're at 192.168.191.10 port 10002
Answering/Requesting with root capability 0x8 (alaw)
Answering with preferred capability 0x4 (ulaw)
Answering with non-codec capability 0x1 (telephone-event)
12 headers, 11 lines
Reliably Transmitting:
INVITE sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.191.10:5060;branch=z9hG4bK691eb797
From: "07562914970" <sip:[email protected]>;tag=as3b4db6d5
To: <sip:[email protected]:5060>
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Fri, 01 Jul 2005 15:50:38 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 242

v=0
o=root 8248 8248 IN IP4 192.168.191.10
s=session
c=IN IP4 192.168.191.10
t=0 0
m=audio 10002 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
 (no NAT) to 192.168.191.4:5060
    -- Called 100


Sip read:
SIP/2.0 415 Unsupported Media Type
Via: SIP/2.0/UDP 192.168.191.10:5060;branch=z9hG4bK691eb797
Call-ID: [email protected]
CSeq: 102 INVITE
From: "07562914970" <sip:[email protected]>;tag=as3b4db6d5
To: <sip:[email protected]:5060>;tag=9VZea3P4gJUmt1Oy
Contact: <sip:[email protected]:5060>
Content-Length: 0


8 headers, 0 lines
    -- Got SIP response 415 "Unsupported Media Type" back from 192.168.191.4
Transmitting:
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.191.10:5060;branch=z9hG4bK691eb797
From: "07562914970" <sip:[email protected]>;tag=as3b4db6d5
To: <sip:[email protected]:5060>;tag=9VZea3P4gJUmt1Oy
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Content-Length: 0

 (no NAT) to 192.168.191.4:5060
  == No one is available to answer at this time
    -- Executing Hangup("SIP/217.10.67.4-0815cf50", "") in new stack
  == Spawn extension (default, 6266484, 2) exited non-zero on 'SIP/217.10.67.4-0815cf50'
Reliably Transmitting (NAT):
SIP/2.0 403 Forbidden
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK7132.4d17abd1.0;received=217.10.79.9;rport=5060
Via: SIP/2.0/UDP 217.10.79.8;branch=z9hG4bK7132.91d7eef5.0
Via: SIP/2.0/UDP 217.10.67.4:5060;branch=z9hG4bK41984878
From: "07562914970" <sip:[email protected]>;tag=as66100e9e
To: <sip:[email protected]>;tag=as33e434c9
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]:33385 SIP/2.0
Via: SIP/2.0/UDP 217.10.79.9;branch=z9hG4bK7132.4d17abd1.0
From: "07562914970" <sip:[email protected]>;tag=as66100e9e
Call-ID: [email protected]
To: <sip:[email protected]>;tag=as33e434c9
CSeq: 102 ACK
User-Agent: sipgate ser
Content-Length: 0


8 headers, 0 lines
Destroying call '[email protected]'
Destroying call '[email protected]'
Jul  1 17:50:53 NOTICE[8248]: chan_sip.c:4045 sip_reregister:    -- Re-registration for  [email][email protected][/email]
    -- parse_srv: SRV mapped to host sipgate.de, port 5060
12 headers, 0 lines
Reliably Transmitting:
REGISTER sip:sipgate.de SIP/2.0
Via: SIP/2.0/UDP 192.168.191.10:5060;branch=z9hG4bK45b6ebc4
From: <sip:[email protected]>;tag=as4fa550fb
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 109 REGISTER
User-Agent: Asterisk PBX
Authorization: Digest username="6266484", realm="sipgate.de", algorithm=MD5, uri="sip:sipgate.de", nonce="42c56646de74f6bb4c0cf31b87ec3b622525ab77", response="8756afa5ac1af83940c1ebe64392961e", opaque=""
Expires: 120
Contact: <sip:[email protected]>
Event: registration
Content-Length: 0

 (no NAT) to 217.10.79.9:5060


Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.191.10:5060;branch=z9hG4bK45b6ebc4;rport=33385;received=85.74.56.75
From: <sip:[email protected]>;tag=as4fa550fb
To: <sip:[email protected]>;tag=b11cb9bb270104b49a99a995b8c68544.88e0
Call-ID: [email protected]
CSeq: 109 REGISTER
Contact: <sip:[email protected]:33385>;q=0.00;expires=120
Server: sipgate ser
Content-Length: 0
Warning: 392 217.10.79.9:5060 "Noisy feedback tells:  pid=10513 req_src_ip=85.74.56.75 req_src_port=33385 in_uri=sip:sipgate.de out_uri=sip:sipgate.de via_cnt==1"


10 headers, 0 lines
Jul  1 17:50:53 NOTICE[8248]: chan_sip.c:6859 handle_response: Outbound Registration: Expiry for sipgate.de is 120 sec (Scheduling reregistration in 105000 ms)
Destroying call '[email protected]'
ich hoffe mal, es hilft weiter...
ciao
Tino
 
in Deinem Telefon sind nur G729 und iLBC freigegeben.

iLBC funktioniert in der Firmware 1.42 ohnehin noch nicht (den solltest Du schnellstens rausnehmen). Der Anruf zu Deinem Telefon erfolgt aber per G711 - also sollten diese Codecs auch in Deinem Telefon vorhanden sein.
 
Super,
vielen Dank be ankommenden Anrufen funktioniert's soweit.
Nur wenn ich rausrufe klappt zwar der Verbindungsaufbau (über ISDN) danach ist aber nichts mehr zu hören. Welche Codecs braucht's da?

Ciao
Tino
 
die eingestellten Codecs werden für ankommende und abgehende Gespräche verwendet. Also den Fehler in der ISDN-Kommuniikation solltest Du woanders suchen. Wenn Du einen Dienst auf dem Asteris (z.B. die Mailbox) vom ST100 aus erreichen kannst, ist auf der Strecke Asterisk <-> ST100 prinzipiell alles in Ordnung.
 
Die Verbindung zu Asterisk scheint zu klappen, es läuft zumindest immer ein "Executing Dial..." auf.
Via ISDN geht die Verbindung auch raus und die Verbindung kommt zustande, nur ist nix zu hören.
Via Sipgate sieht's viel schlimmer aus: Nach "Executing Dial..." kommt die Meldung "... unable to create channel of type 'SIP'" und das war's dann...

Kann mir da jemand weiterhelfen?

Ciao
Tino
 
Kostenlos!

Zurzeit aktive Besucher

Statistik des Forums

Themen
248,445
Beiträge
2,291,678
Mitglieder
377,866
Neuestes Mitglied
ippfhans