Habe gerade mal voipbuster getestet ... komisch, kommt keine
Modulation zurück, wenn die Gegenseite abnimmt.
Die Lady sagt noch freundlich "Zero Cent per Minute" - dann ist das
Rufzeichen zu hören - die Gegenstelle nimmt ab und ... nix ?!?
By the way ... Modulation geht jedoch raus.
Hat jemand eine Idee ?
Auschnitt ...
extensions.conf
sip.conf
Liegt's an der CallerID ?
Am context ?
Muss der User in den extensions eingetragen sein ?
Fehleranalyse:
1. > sip show peers
2. laufendes log ( mit 01096 wird voipbuster geroutet ... )
3.
> sip debug peer voipbuster
> SIP Debugging Enabled for IP: 213.61.187.157:5060
Also, ich sehe bei Gesprächsbeginn eindeutig ein "OK" und die
Codecs werden auch korrekt verhandelt.
Kann jemand einen Hinweis auf das "fehlende Audio" zurück erkennen ??
Wie sehen Eure Logs aus ?
Bei wem funktionierts mit Asterisk + Voip-Buster ?
Modulation zurück, wenn die Gegenseite abnimmt.
Die Lady sagt noch freundlich "Zero Cent per Minute" - dann ist das
Rufzeichen zu hören - die Gegenstelle nimmt ab und ... nix ?!?
By the way ... Modulation geht jedoch raus.
Hat jemand eine Idee ?
Auschnitt ...
extensions.conf
Code:
[macro-sip02]
exten => s,1,AbsoluteTimeout(0)
exten => s,2,SetGlobalVar(FOUNDME=ANSWER)
exten => s,3,SetCallerID(0xxxxxxxxxx) ; (1)
exten => s,4,Dial(SIP/voipbuster/0049${ARG1:1},120,t)
exten => s,5,SetGlobalVar(FOUNDME=${DIALSTATUS})
exten => s,6,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?7:23)
( ... )
sip.conf
Code:
( ... )
[voipbuster]
context=voipbuster <- WICHTIG ???
type=friend
username=xxxxx <- ersetzt ...
fromuser=xxxxx
secret=yyyyy <- ersetzt ...
fromdomain=voipbuster.com
host=sip.voipbuster.com
auth=md5
canreinvite=no
qualify=300
dtmfmode=info
insecure=very
nat=yes
dtmf=rfc2833
tos=0x18
( ... )
Liegt's an der CallerID ?
Am context ?
Muss der User in den extensions eingetragen sein ?
Fehleranalyse:
1. > sip show peers
Code:
sip show peers
Name/username Host Dyn Nat ACL Mask Port Status
voipbuster/xxxx 213.61.187.156 N 255.255.255.255 5060 OK (161 ms)
( ... )
2. laufendes log ( mit 01096 wird voipbuster geroutet ... )
Code:
-- Executing SetCallerID("Zap/2-1", "name") in new stack
-- Executing Dial("Zap/2-1", "SIP/0049xxxxxxxxxxxxxx@voipbuster|120|t") in new stack
-- Called 0049xxxxxxxxxxxxxx@voipbuster
-- SIP/voipbuster-fe3e is making progress passing it to Zap/2-1
-- SIP/voipbuster-fe3e answered Zap/2-1
Kommentar: Gegenpartei nimmt ab - bei mir nix zu hören !
== Spawn extension (macro-sip02, s, 4) exited non-zero on 'Zap/2-1' in macro 'sip02'
== Spawn extension (default, 01096xxxxxxxxxxxxxx, 1) exited non-zero on 'Zap/2-1'
-- Hungup 'Zap/2-1'
> sip debug peer voipbuster
> SIP Debugging Enabled for IP: 213.61.187.157:5060
Code:
( ... )
11 headers, 0 lines
Jun 29 20:43:55 NOTICE[17690]: chan_sip.c:6655 handle_response: Peer 'voipbuster' is now REACHABLE!
Destroying call '[email protected]'
( ... )
-- Accepting overlap voice call from '99xxxx' to '<unspecified>' on channel 0/2, span 1
-- Starting simple switch on 'Zap/2-1'
-- Executing Macro("Zap/2-1", "sip02|06xxxxxxxxx") in new stack
-- Executing AbsoluteTimeout("Zap/2-1", "0") in new stack
-- Set Absolute Timeout to 0
-- Executing SetGlobalVar("Zap/2-1", "FOUNDME=ANSWER") in new stack
-- Setting global variable 'FOUNDME' to 'ANSWER'
-- Executing SetCallerID("Zap/2-1", "xxxxxx") in new stack
-- Executing Dial("Zap/2-1", "SIP/00496xxxxxxxxx@voipbuster|120|t") in new stack
We're at 217.91.xx.xx port 10450
Answering/Requesting with root capability 0x8 (alaw)
Answering with preferred capability 0x4 (ulaw)
Answering with preferred capability 0x100 (g729)
12 headers, 10 lines
Reliably Transmitting:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK32eeaf4e
From: "xxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Date: Wed, 29 Jun 2005 19:15:39 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 210
v=0
o=root 18105 18105 IN IP4 217.91.xx.xx
s=session
c=IN IP4 217.91.xx.xx
t=0 0
m=audio 10450 RTP/AVP 8 0 18
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=silenceSupp:off - - - -
(no NAT) to 213.61.187.146:5060
-- Called 00496xxxxxxxxx@voipbuster
Sip read:
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK32eeaf4e;received=217.91.xx.xx;rport=5060
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>;tag=as347ad325
Call-ID: [email][email protected][/email]
CSeq: 102 INVITE
User-Agent: SipProxy
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: <sip:[email protected]>
Proxy-Authenticate: Digest realm="asterisk", nonce="731e70c8"
Content-Length: 0
11 headers, 0 lines
Transmitting:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK32eeaf4e
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>;tag=as347ad325
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 102 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to 213.61.187.146:5060
We're at 217.91.xx.xx port 10450
Answering/Requesting with root capability 0x8 (alaw)
Answering with preferred capability 0x4 (ulaw)
Answering with preferred capability 0x100 (g729)
Reliably Transmitting:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK75b45f92
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
User-Agent: Asterisk PBX
Proxy-Authorization: Digest username="xxxxxxxx", realm="asterisk", algorithm=MD5, uri="sip:[email protected]", nonce="731e70c8", response="bc27de78860fc7001f8de1d724075749", opaque=""
Date: Wed, 29 Jun 2005 19:15:39 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Content-Type: application/sdp
Content-Length: 210
v=0
o=root 18105 18106 IN IP4 217.91.xx.xx
s=session
c=IN IP4 217.91.xx.xx
t=0 0
m=audio 10450 RTP/AVP 8 0 18
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=silenceSupp:off - - - -
(no NAT) to 213.61.187.146:5060
Sip read:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK75b45f92;received=217.91.xx.xx;rport=5060
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
User-Agent: SipProxy
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: <sip:[email protected]>
Content-Length: 0
10 headers, 0 lines
Sip read:
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK75b45f92;received=217.91.xx.xx;rport=5060
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>;tag=as399dbc39
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
User-Agent: SipProxy
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 417
v=0
o=root 3778 3778 IN IP4 213.61.187.146
s=session
c=IN IP4 213.61.187.146
t=0 0
m=audio 33920 RTP/AVP 4 3 0 8 111 5 10 7 18 110 97
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:7 LPC/8000
a=rtpmap:18 G729/8000
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=silenceSupp:off - - - -
11 headers, 18 lines
Found RTP audio format 4
Found RTP audio format 3
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 111
Found RTP audio format 5
Found RTP audio format 10
Found RTP audio format 7
Found RTP audio format 18
Found RTP audio format 110
Found RTP audio format 97
Peer audio RTP is at port 213.61.187.146:33920
Found description format G723
Found description format GSM
Found description format PCMU
Found description format PCMA
Found description format G726-32
Found description format DVI4
Found description format L16
Found description format LPC
Found description format G729
Found description format speex
Found description format iLBC
Capabilities: us - 0x10c (ulaw|alaw|g729), peer - audio=0x7ff (g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc)/video=0x0 (nothing), combined - 0x10c (ulaw|alaw|g729)
Non-codec capabilities: us - 0x1 (g723), peer - 0x0 (nothing), combined - 0x0 (nothing)
-- SIP/voipbuster-bd42 is making progress passing it to Zap/2-1
Sip read:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK75b45f92;received=217.91.xx.xx;rport=5060
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>;tag=as399dbc39
Call-ID: [email][email protected][/email]
CSeq: 103 INVITE
User-Agent: SipProxy
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 417
v=0
o=root 3778 3779 IN IP4 213.61.187.146
s=session
c=IN IP4 213.61.187.146
t=0 0
m=audio 33920 RTP/AVP 4 3 0 8 111 5 10 7 18 110 97
a=rtpmap:4 G723/8000
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:111 G726-32/8000
a=rtpmap:5 DVI4/8000
a=rtpmap:10 L16/8000
a=rtpmap:7 LPC/8000
a=rtpmap:18 G729/8000
a=rtpmap:110 speex/8000
a=rtpmap:97 iLBC/8000
a=silenceSupp:off - - - -
11 headers, 18 lines
Found RTP audio format 4
Found RTP audio format 3
Found RTP audio format 0
Found RTP audio format 8
Found RTP audio format 111
Found RTP audio format 5
Found RTP audio format 10
Found RTP audio format 7
Found RTP audio format 18
Found RTP audio format 110
Found RTP audio format 97
Peer audio RTP is at port 213.61.187.146:33920
Found description format G723
Found description format GSM
Found description format PCMU
Found description format PCMA
Found description format G726-32
Found description format DVI4
Found description format L16
Found description format LPC
Found description format G729
Found description format speex
Found description format iLBC
Capabilities: us - 0x10c (ulaw|alaw|g729), peer - audio=0x7ff (g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|ilbc)/video=0x0 (nothing), combined - 0x10c (ulaw|alaw|g729)
Non-codec capabilities: us - 0x1 (g723), peer - 0x0 (nothing), combined - 0x0 (nothing)
list_route: hop: <sip:[email protected]>
set_destination: Parsing <sip:[email protected]> for address/port to send to
set_destination: set destination to 213.61.187.146, port 5060
Transmitting:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK0a5b7acd
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>;tag=as399dbc39
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 103 ACK
User-Agent: Asterisk PBX
Content-Length: 0
(no NAT) to 213.61.187.146:5060
-- SIP/voipbuster-bd42 answered Zap/2-1
Sip read:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 213.61.187.146:5060;branch=z9hG4bK49589cd2;rport
From: <sip:[email protected]>;tag=as399dbc39
To: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 102 INVITE
User-Agent: SipProxy
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY
Content-Type: application/sdp
Content-Length: 162
v=0
o=root 3778 3780 IN IP4 213.61.187.133
s=session
c=IN IP4 213.61.187.133
t=0 0
m=audio 18356 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
11 headers, 8 lines
Using latest request as basis request
Sending to 213.61.187.146 : 5060 (non-NAT)
We're at 217.91.xx.xx port 10450
Answering/Requesting with root capability 0x8 (alaw)
Answering with preferred capability 0x4 (ulaw)
Answering with preferred capability 0x100 (g729)
Reliably Transmitting (no NAT):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 213.61.187.146:5060;branch=z9hG4bK49589cd2
From: <sip:[email protected]>;tag=as399dbc39
To: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
Call-ID: [email][email protected][/email]
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:[email protected]>
Content-Type: application/sdp
Content-Length: 210
v=0
o=root 18105 18107 IN IP4 217.91.xx.xx
s=session
c=IN IP4 217.91.xx.xx
t=0 0
m=audio 10450 RTP/AVP 8 0 18
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=silenceSupp:off - - - -
to 213.61.187.146:5060
Sip read:
ACK sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 213.61.187.146:5060;branch=z9hG4bK4258d1b3;rport
From: <sip:[email protected]>;tag=as399dbc39
To: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 102 ACK
User-Agent: SipProxy
Content-Length: 0
9 headers, 0 lines
-- Channel 0/2, span 1 got hangup
set_destination: Parsing <sip:[email protected]> for address/port to send to
set_destination: set destination to 213.61.187.146, port 5060
Reliably Transmitting:
BYE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 217.91.xx.xx:5060;branch=z9hG4bK103ce6f4
From: "xxxxxxxx" <sip:[email protected]>;tag=as7ca1f151
To: <sip:[email protected]>;tag=as399dbc39
Contact: <sip:[email protected]>
Call-ID: [email][email protected][/email]
CSeq: 104 BYE
User-Agent: Asterisk PBX
Proxy-Authorization: Digest username="xxxxxxxx", realm="asterisk", algorithm=MD5, uri="sip:[email protected]", nonce="731e70c8", response="4d5f77fc5ab3def65dba1aaee328df7a", opaque=""
Content-Length: 0
(no NAT) to 213.61.187.146:5060
== Spawn extension (macro-sip02, s, 4) exited non-zero on 'Zap/2-1' in macro 'sip02'
== Spawn extension (default, 0109606xxxxxxxxx, 1) exited non-zero on 'Zap/2-1'
-- Hungup 'Zap/2-1'
Also, ich sehe bei Gesprächsbeginn eindeutig ein "OK" und die
Codecs werden auch korrekt verhandelt.
Kann jemand einen Hinweis auf das "fehlende Audio" zurück erkennen ??
Wie sehen Eure Logs aus ?
Bei wem funktionierts mit Asterisk + Voip-Buster ?
Zuletzt bearbeitet: