Interne Gespräche kein Ton

aion

Neuer User
Mitglied seit
15 Feb 2007
Beiträge
12
Punkte für Reaktionen
0
Punkte
0
Hallo

der titel gibt eigentlich schon mein Problem wieder ....

wenn ich mich von SIP-Nebenstelle zu SIP-Nebenstelle anrufe höre ich auf beiden seiten nichts.

Wenn ich mich aber von einer SIP-Nebenstelle zu einer anderen SIP-Nebenstelle verbinde (z.b. Anruf von 11(SIP) auf 12(SIP) -> umleitung / weiterleitung auf 13(SIP)) dann höre ich auf beiden SIP-Nebenstellen was

einen Echotest habe ich schon gemacht, die Qualität ist nicht so gut aber ich höre wenigstens was :wink:

P.S.Wenn ich mich aber von SIP-Nebenstelle zu ISDN-Nebenstelle anrufe höre ich was.
 
Was sagt denn das Verbose Log der CLI, wenn du den Call initialisierst?

also in das, in der art:

Code:
    -- Executing Dial("SIP/user3-081735c8", "SIP/user2|20|g") in new stack
    -- Called user2
    -- SIP/user2-0817c210 is ringing
    -- SIP/user2-0817c210 answered SIP/user3-081735c8
    -- Attempting native bridge of SIP/user3-081735c8 and SIP/user2-0817c210

daran kommst du wenn du dich ueber 'asterisk -r' verbindest und auf dem CLI dann 'set verbose 10000' eingibst...

Gruß snafu0815
 
set verbose 10000

:crazy:

1.) einen Wert > 4 anzugeben ist ziemlich sinnlos (weil überhaupt nicht vorhanden), in den meisten Fällen reicht 3 völlig aus.

2.) in Asterisk 1.4 heißt das "core set verbose 3"

Zum Problem selbst: Es wäre interessant, mal die sip.conf Einträge der beiden Nebenstellen und den Teil in der extensions.conf zu sehen, in dem die direkte Verbindung hergestellt wird.
 
Sip.conf
Code:
[83]
type=friend			
context=default		
username=83
callgroup=1
pickupgroup=1
callerid="Asterisk-S450IP" <83>
secret=83
subscribecontext=localextensions	
language=de			
host=dynamic			
dtmfmode=inband		
defaultip=192.168.1.183		
mailbox=1234@context,2345      
vmexten=voicemail     


[82]
type=friend			
context=default		
username=82
callgroup=1
pickupgroup=1
callerid="Asterisk-C450IP" <82>
secret=82
subscribecontext=localextensions	
language=de			
host=dynamic			
dtmfmode=inband		
defaultip=192.168.1.182		
mailbox=1234@context,2345      
vmexten=voicemail    

[general]
context=default
disallow=all
allow=ulaw
allow=alaw
tos=0x18
externip=XXX.XXX.XXX.XXX
Localnet=192.168.1.1/255.255.255.0
bindport=5060			
bindaddr=0.0.0.0		
srvlookup=yes			
promiscredir=yes
canreinvite=no
insecure=very
nat=no
dtmfmode=info


extensions.conf
Code:
[general]
static=yes
writeprotect=no

[globals]
IAXINFO=guest

[intern]

exten => 80,1,Dial(SIP/80,60)		; Grandstream GXP2000
exten => 81,1,Dial(SIP/81,60)		; SNOM 320
exten => 82,1,Dial(SIP/82,60)		; C450 IP
exten => 83,1,Dial(SIP/83,60)		; S450 IP	
exten => 84,1,Dial(SIP/84,60)		; Software Telefon
exten => 90,1,Dial(Zap/g2/90,60)	; ISDN-Telefon 1
exten => 91,1,Dial(Zap/g2/91,60)	; ISDN-Telefon 2

[default]

; IN's
include => call_incoming_ISDN
include => call_incoming_SIPGATE

; OUT's
include => call_outgoing_ISDN
include => call_outgoing_SIPGATE

; INTERN
include => intern

; ECHO-TEST
include => echotest
 
Wenn Du in einem Context "host=dynamic" verwendest, dann solltest Du nicht im gleichen Context auch noch eine "defaultip" angeben.

Was passiert denn auf der CLI bei einem Anrufversuch?


x
Code:
[intern]

exten => 80,1,Dial(SIP/80,60)		; Grandstream GXP2000
exten => 81,1,Dial(SIP/81,60)		; SNOM 320
exten => 82,1,Dial(SIP/82,60)		; C450 IP
exten => 83,1,Dial(SIP/83,60)		; S450 IP	
exten => 84,1,Dial(SIP/84,60)		; Software Telefon
exten => 90,1,Dial(Zap/g2/90,60)	; ISDN-Telefon 1
exten => 91,1,Dial(Zap/g2/91,60)

läßt sich übrigens vereinfachen:

Code:
[intern]
exten => _8[0-4],1,dial,SIP/${EXTEN}|60
exten => _9[01],1,dial,ZAP/g2/${EXTEN}|60

aber das nur als kleine Randbemerkung ;)
 
Danke für den Tip mit der default IP und dem Wählplan :)

zu der CLI Ausgabe

Verbosity is at least 7
== Primary D-Channel on span 1 down
-- Executing Dial("SIP/82-0818f6d0", "SIP/83|60") in new stack
-- Called 83
-- SIP/83-081bca38 is ringing
-- SIP/83-081bca38 answered SIP/82-0818f6d0
-- Attempting native bridge of SIP/82-0818f6d0 and SIP/83-081bca38
== Spawn extension (default, 83, 1) exited non-zero on 'SIP/82-0818f6d0'
 
sehr dubios :gruebel: welche Codecs hast Du in den Endgeräten eingestellt? Kannst Du mal ein SIP Debug von einem Anrufversuch machen?
 
betateilchen schrieb:
... welche Codecs hast Du in den Endgeräten eingestellt?

Ausgewählte Codecs:

G711 a law
G711 µ law
G726
G729

betateilchen schrieb:
... Kannst Du mal ein SIP Debug von einem Anrufversuch machen?

wie mache ich das?
ich dachte es gibt nur den Verbose-Mode der eine Art Debug-Mode ist?


achso ein IP-Forwarding ist auf dem Router entsprechend eingerichtet.
kann aber die Firewall von Suse 10.1 noch irgendwie stören?
 
"sip debug" (es gibt zwar ne neue Syntax, aber die fällt mir wetterbedingt grade nicht ein) schaltet das Debug ein und "sip no debug" wieder aus.
 
sorry für die länge .... da ich aber jetzt nicht weis was wichtig ist poste ich mal alles ;)

Code:
<-- SIP read from 192.168.1.182:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK4ba421567de67cbf33638022a298c8df;rport
From: Mobil <sip:[email protected]:5060>;tag=2813499382
To: <sip:[email protected]>
Call-ID: 1953311755@192_168_1_182
CSeq: 1595481234 INVITE
Contact: Mobil <sip:[email protected]:5060>
Proxy-Authorization: Digest username="82", realm="asterisk", nonce="3e11dd36", uri="sip:[email protected]", response="4155108a65268720ffce0ac2189aa1c8", algorithm=MD5
Max-Forwards: 70
User-Agent: Siemens Gigaset C450 IP
Supported:
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO
Content-Type: application/sdp
Content-Length: 261

v=0
o=82 5004 1 IN IP4 192.168.1.182
s=-
c=IN IP4 192.168.1.182
t=0 0
m=audio 5004 RTP/AVP 0 96 97 2 18 8
a=rtpmap:0 PCMU/8000
a=rtpmap:96 G726-32/8000
a=rtpmap:97 AAL2-G726-32/8000
a=rtpmap:2 G726-32/8000
a=rtpmap:18 G729/8000
a=rtpmap:8 PCMA/8000

--- (14 headers 12 lines) ---
Ignoring this INVITE request
Transmitting (no NAT) to 192.168.1.182:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK4ba421567de67cbf33638022a298c8df;received=192.168.1.182;rport=5060
From: Mobil <sip:[email protected]:5060>;tag=2813499382
To: <sip:[email protected]>
Call-ID: 1953311755@192_168_1_182
CSeq: 1595481234 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0


---
linux-ki5n*CLI>
<-- SIP read from 192.168.1.183:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.152:5060;branch=z9hG4bK14f852bf;rport=5060
From: "Asterisk-C450IP" <sip:[email protected]>;tag=as0bd2962f
To: <sip:[email protected]:5060>;tag=704265964
Call-ID: [email protected]
CSeq: 102 INVITE
Contact: "83" <sip:[email protected]:5060>
Content-Length: 0


--- (8 headers 0 lines) ---
linux-ki5n*CLI>
<-- SIP read from 192.168.1.183:5060:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.152:5060;branch=z9hG4bK14f852bf;rport=5060
From: "Asterisk-C450IP" <sip:[email protected]>;tag=as0bd2962f
To: <sip:[email protected]:5060>;tag=704265964
Call-ID: [email protected]
CSeq: 102 INVITE
Contact: "83" <sip:[email protected]:5060>
Content-Length: 0


--- (8 headers 0 lines) ---
    -- SIP/83-081c0a78 is ringing
Transmitting (no NAT) to 192.168.1.182:5060:
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK4ba421567de67cbf33638022a298c8df;received=192.168.1.182;rport=5060
From: Mobil <sip:[email protected]:5060>;tag=2813499382
To: <sip:[email protected]>;tag=as67d70aa1
Call-ID: 1953311755@192_168_1_182
CSeq: 1595481234 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0


---
Destroying call '888859862@192_168_1_115'
linux-ki5n*CLI>
<-- SIP read from 192.168.1.183:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.152:5060;branch=z9hG4bK14f852bf;rport=5060
From: "Asterisk-C450IP" <sip:[email protected]>;tag=as0bd2962f
To: <sip:[email protected]:5060>;tag=704265964
Call-ID: [email protected]
CSeq: 102 INVITE
Contact: "83" <sip:[email protected]:5060>
Supported:
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO
Content-Type: application/sdp
Content-Length: 178

v=0
o=83 5006 22 IN IP4 192.168.1.183
=-nux-ki5n*CLI>
c=IN IP4 192.168.1.183
t=0 0
m=audio 5006 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16

--- (11 headers 9 lines) ---
Found RTP audio format 0
Found RTP audio format 101
Peer audio RTP is at port 192.168.1.183:5006
Found description format PCMU
Found description format telephone-event
Capabilities: us - 0xc (ulaw|alaw), peer - audio=0x4 (ulaw)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities: us - 0x0 (nothing), peer - 0x1 (telephone-event), combined - 0x0 (nothing)
list_route: hop: <sip:[email protected]:5060>
set_destination: Parsing <sip:[email protected]:5060> for address/port to send to
set_destination: set destination to 192.168.1.183, port 5060
Transmitting (no NAT) to 192.168.1.183:5060:
ACK sip:[email protected]:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.152:5060;branch=z9hG4bK748ce336;rport
From: "Asterisk-C450IP" <sip:[email protected]>;tag=as0bd2962f
To: <sip:[email protected]:5060>;tag=704265964
Contact: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0


---
    -- SIP/83-081c0a78 answered SIP/82-08192888
We're at 192.168.1.152 port 18816
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x8 (alaw) to SDP
Reliably Transmitting (no NAT) to 192.168.1.182:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK4ba421567de67cbf33638022a298c8df;received=192.168.1.182;rport=5060
From: Mobil <sip:[email protected]:5060>;tag=2813499382
To: <sip:[email protected]>;tag=as67d70aa1
Call-ID: 1953311755@192_168_1_182
CSeq: 1595481234 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 184

v=0
o=root 3455 3455 IN IP4 192.168.1.152
s=session
c=IN IP4 192.168.1.152
t=0 0
m=audio 18816 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=silenceSupp:off - - - -

---
    -- Attempting native bridge of SIP/82-08192888 and SIP/83-081c0a78
linux-ki5n*CLI>
<-- SIP read from 192.168.1.182:5060:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.182:5060;branch=z9hG4bK40603dd5ae531864b64968ff0efc7b9;rport
From: Mobil <sip:[email protected]:5060>;tag=2813499382
To: <sip:[email protected]>;tag=as67d70aa1
Call-ID: 1953311755@192_168_1_182
CSeq: 1595481234 ACK
Contact: Mobil <sip:[email protected]:5060>
Proxy-Authorization: Digest username="82", realm="asterisk", nonce="3e11dd36", uri="sip:[email protected]", response="4155108a65268720ffce0ac2189aa1c8", algorithm=MD5
Max-Forwards: 70
User-Agent: Siemens Gigaset C450 IP
Content-Length: 0


--- (11 headers 0 lines) ---
linux-ki5n*CLI>
<-- SIP read from 192.168.1.183:5060:
BYE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.183:5060;branch=z9hG4bK541a0d94c5edbd83f0fe0d796bedb70c;rport
From: <sip:[email protected]:5060>;tag=704265964
To: "Asterisk-C450IP" <sip:[email protected]>;tag=as0bd2962f
Call-ID: [email protected]
CSeq: 103 BYE
Contact: "83" <sip:[email protected]:5060>
Max-Forwards: 70
User-Agent: S450 IP020570000000
Content-Length: 0


--- (10 headers 0 lines) ---
Sending to 192.168.1.183 : 5060 (NAT)
Transmitting (NAT) to 192.168.1.183:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.183:5060;branch=z9hG4bK541a0d94c5edbd83f0fe0d796bedb70c;received=192.168.1.183;rport=5060
From: <sip:[email protected]:5060>;tag=704265964
To: "Asterisk-C450IP" <sip:[email protected]>;tag=as0bd2962f
Call-ID: [email protected]
CSeq: 103 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0
X-Aster
 
hmm weis hier keiner einen rat? hilfe betateilchen ;)
 
lag an der SuseFirewall ;) geht jetzt!
 
Kostenlos!

Statistik des Forums

Themen
248,916
Beiträge
2,304,990
Mitglieder
378,631
Neuestes Mitglied
realprogrammer