Stun? or webRTC
Opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. Register for SIPML5
2. Call a Extenssion
What is the expected output? What do you see instead?
make call from video and audio
call no audio and video
What version of the product are you using? On what operating system?
I have a local stun server, I not make call for Internet.
sory for english.
Please provide server logs with DEBUG level equal to INFO
*INFO: Transport::run() - enter
*INFO: State machine: s0000_Ringing_2_Connected_X_Accept
*INFO: State machine: tsip_transac_ist_Proceeding_2_Accepted_X_2xx
*INFO: Transport::run() - enter
*INFO: Starting [RTP/RTCP Manager] server with IP {10.0.10.7} on port {57704}
using fd {19} with type {3}...
*INFO: Transport::run() - enter
*INFO: Starting [RTP/RTCP Manager] server with IP {10.0.10.7} on port {8246}
using fd {23} with type {3}...
*INFO: Transport::run() - enter
*INFO: State machine: ICE_Any_2_Started_X_Cancel
*INFO: ICE callback: Cancelled
*INFO: State machine: ICE_Any_2_Started_X_Cancel
*INFO: ICE callback: Cancelled
*INFO: Starting [RTP/RTCP Manager] server with IP {10.0.10.7} on port {57576}
using fd {25} with type {3}...
*INFO: Starting [RTP/RTCP Manager] server with IP {10.0.10.7} on port {56652}
using fd {22} with type {3}...
*INFO: Receiving SIP o/ WebSocket message: (null)
*INFO: State machine: tsip_transac_ist_Accepted_2_Accepted_iACK
*INFO: State machine: x0000_Connected_2_Connected_X_iACK
*INFO: State machine: ICE_ConnChecking_2_ConnCheckingCompleted_X_Success
*INFO: ICE callback: ConnCheck succeed
*INFO: State machine: ICE_ConnChecking_2_ConnCheckingCompleted_X_Success
*INFO: ICE callback: ConnCheck succeed
*INFO: max_bw_up=2147483647 kpbs, max_bw_down=2147483647 kpbs,
congestion_ctrl_enabled=0, media_type=2
*INFO: SO_RCVBUF = 65535, SO_SNDBUF = 65535
*INFO: rtcp.remote_ip=10.0.10.20, rtcp.remote_port=52712, rtcp.local_fd=18
*INFO: tsk_timer_manager_start
*INFO: Timer manager already running
*INFO: srtp_use_different_keys=false
*INFO: tnet_transport_prepare()
*INFO: pipeR fd=43
*INFO: Socket added[RTP/RTCP Manager]: fd=43, tail.count=1
*INFO: master fd=18
*INFO: Socket added[RTP/RTCP Manager]: fd=18, tail.count=2
*INFO: Audio denoiser to be opened(record_frame_size_samples=160,
record_sampling_rate=8000, playback_frame_size_samples=160,
playback_sampling_rate=8000)
warning: The VAD has been replaced by a hack pending a complete rewrite
*INFO: Transport::run() - enter
*INFO: Starting [RTP/RTCP Manager] server with IP {10.0.10.7} on port {60830}
using fd {18} with type {3}...
*INFO: [VP8] target_bitrate=630 kbps
*INFO: max_bw_up=2147483647 kpbs, max_bw_down=2147483647 kpbs,
congestion_ctrl_enabled=0, media_type=4
*INFO: SO_RCVBUF = 65535, SO_SNDBUF = 65535
*INFO: rtcp.remote_ip=10.0.10.20, rtcp.remote_port=52712, rtcp.local_fd=17
*INFO: tsk_timer_manager_start
*INFO: Timer manager already running
*INFO: srtp_use_different_keys=false
*INFO: tnet_transport_prepare()
*INFO: pipeR fd=45
*INFO: Socket added[RTP/RTCP Manager]: fd=45, tail.count=1
*INFO: master fd=17
*INFO: Socket added[RTP/RTCP Manager]: fd=17, tail.count=2
*INFO: Transport::run() - enter
*INFO: Starting [RTP/RTCP Manager] server with IP {10.0.10.7} on port {37018}
using fd {17} with type {3}...
*INFO: Audio producer not started yet
*INFO: Audio producer not started yet
*INFO: Decoded VP8 IDR
*INFO: IDR frame decoded
*INFO: producer size = (640, 480)
*INFO: Initializing new FFmpeg Video Converter src=(640x480@10) dst=(352x288@10)
[swscaler @ 0xdc695a40] Warning: data is not aligned! This can lead to a
speedloss
*INFO: Decoded H.263 IDR
*INFO: IDR frame decoded but corrupted :(
*INFO: Video producer not started yet
*INFO: Audio producer not started yet
*INFO: Audio producer not started yet
*INFO: Video producer not started yet
*INFO: Audio producer not started yet
Please provide browser logs
tate machine: x0000_Any_2_Any_X_i1xx tsk_utils.js?svn=20:116
__tsip_transport_ws_onmessage tsk_utils.js?svn=20:116
recv=SIP/2.0 180 Ringing
Via: SIP/2.0/WS
df7jal23ls0d.invalid;rport;branch=z9hG4bKgm5SxoTuo58XVoSyG66h1lTwDcu9evCp
From: "9000"<sip:9000@10.0.10.7>;tag=y0wAEa2mfgXPdLHKMMHA
To: <sip:1000@asterisk>;tag=592496799
Contact:
<sip:1000@10.0.10.7:10060;transport=ws;ws-src-ip=10.0.10.20;ws-src-port=52709;ws
-src-proto=ws>
Call-ID: de11cfd2-1772-6225-0964-aa0418ea60f9
CSeq: 8929 INVITE
Content-Length: 0
Allow: ACK,BYE,CANCEL,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,UPDATE
tsk_utils.js?svn=20:116
State machine: x0000_Any_2_Any_X_i1xx tsk_utils.js?svn=20:116
==session event = i_ao_request tsk_utils.js?svn=20:116
==session event = i_ao_request tsk_utils.js?svn=20:116
__tsip_transport_ws_onmessage tsk_utils.js?svn=20:116
recv=SIP/2.0 200 OK
Via: SIP/2.0/WS
df7jal23ls0d.invalid;rport;branch=z9hG4bKgm5SxoTuo58XVoSyG66h1lTwDcu9evCp
From: "9000"<sip:9000@10.0.10.7>;tag=y0wAEa2mfgXPdLHKMMHA
To: <sip:1000@asterisk>;tag=592496799
Contact:
<sip:1000@10.0.10.7:10060;transport=ws;ws-src-ip=10.0.10.20;ws-src-port=52709;ws
-src-proto=ws>
Call-ID: de11cfd2-1772-6225-0964-aa0418ea60f9
CSeq: 8929 INVITE
Content-Type: application/sdp
Content-Length: 1259
Allow: ACK,BYE,CANCEL,INVITE,MESSAGE,NOTIFY,OPTIONS,PRACK,REFER,UPDATE
v=0
o=doubango 1983 678901 IN IP4 10.0.10.7
s=-
c=IN IP4 10.0.10.7
t=0 0
m=audio 60830 RTP/SAVPF 0 8
c=IN IP4 10.0.10.7
a=ptime:20
a=minptime:1
a=maxptime:255
a=silenceSupp:off - - - -
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:yAb95IPtDbCd2u3s/8r+ggl+x/s851sRTg5aiEcr
a=sendrecv
a=rtcp-mux
a=ssrc:156007809 cname:379539bf8177999c9a73dfb0456e0944
a=ssrc:156007809 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:156007809 label:doubango@audio
a=ice-ufrag:oxe18T0MyKpwYeb
a=ice-pwd:tkJzfFLXfToncPwmPNMmP
a=candidate:atV7oSAIM 1 udp 2130706431 10.0.10.7 60830 typ host
m=video 37018 RTP/SAVPF 100
c=IN IP4 10.0.10.7
a=rtcp-fb:* ccm fir
a=rtcp-fb:* nack
a=rtcp-fb:* goog-remb
a=rtpmap:100 VP8/90000
a=imageattr:100 recv [x=[128:16:640],y=[96:16:480]] send
[x=[128:16:640],y=[96:16:480]]
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:u6KFqb3AoDwoYPteqqTyeX7xG2D6sgNhvMYH499D
a=sendrecv
a=rtcp-mux
a=ssrc:1293119038 cname:59e803d12cb4341539ab0093b3a89d6f
a=ssrc:1293119038 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:1293119038 label:doubango@video
a=ice-ufrag:DhKPEyl2xw5jkGC
a=ice-pwd:anrznpP0LaaINbgMARypk
a=candidate:s61iv7DVa 1 udp 2130706431 10.0.10.7 37018 typ host
tsk_utils.js?svn=20:116
State machine: c0000_Outgoing_2_Connected_X_i2xxINVITE tsk_utils.js?svn=20:116
setRemoteDescription(answer)
v=0
o=doubango 1983 678901 IN IP4 10.0.10.7
s=-
c=IN IP4 10.0.10.7
t=0 0
m=audio 60830 RTP/SAVPF 0 8
c=IN IP4 10.0.10.7
a=ptime:20
a=minptime:1
a=maxptime:255
a=silenceSupp:off - - - -
a=rtpmap:0 PCMU/8000/1
a=rtpmap:8 PCMA/8000/1
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:yAb95IPtDbCd2u3s/8r+ggl+x/s851sRTg5aiEcr
a=sendrecv
a=rtcp-mux
a=ssrc:156007809 cname:379539bf8177999c9a73dfb0456e0944
a=ssrc:156007809 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:156007809 label:doubango@audio
a=ice-ufrag:oxe18T0MyKpwYeb
a=ice-pwd:tkJzfFLXfToncPwmPNMmP
a=candidate:atV7oSAIM 1 udp 2130706431 10.0.10.7 60830 typ host
m=video 37018 RTP/SAVPF 100
c=IN IP4 10.0.10.7
a=rtcp-fb:* ccm fir
a=rtcp-fb:* nack
a=rtcp-fb:* goog-remb
a=rtpmap:100 VP8/90000
a=imageattr:100 recv [x=[128:16:640],y=[96:16:480]] send
[x=[128:16:640],y=[96:16:480]]
a=crypto:1 AES_CM_128_HMAC_SHA1_80
inline:u6KFqb3AoDwoYPteqqTyeX7xG2D6sgNhvMYH499D
a=sendrecv
a=rtcp-mux
a=ssrc:1293119038 cname:59e803d12cb4341539ab0093b3a89d6f
a=ssrc:1293119038 mslabel:6994f7d1-6ce9-4fbd-acfd-84e5131ca2e2
a=ssrc:1293119038 label:doubango@video
a=ice-ufrag:DhKPEyl2xw5jkGC
a=ice-pwd:anrznpP0LaaINbgMARypk
a=candidate:s61iv7DVa 1 udp 2130706431 10.0.10.7 37018 typ host
tsk_utils.js?svn=20:116
SEND: ACK
sip:1000@10.0.10.7:10060;transport=ws;ws-src-ip=10.0.10.20;ws-src-port=52709;ws-
src-proto=ws SIP/2.0
Via: SIP/2.0/WS df7jal23ls0d.invalid;branch=z9hG4bKizaHVK6winhyTOfpRuit;rport
From: "9000"<sip:9000@10.0.10.7>;tag=y0wAEa2mfgXPdLHKMMHA
To: <sip:1000@asterisk>;tag=592496799
Contact:
"9000"<sip:9000@df7jal23ls0d.invalid;rtcweb-breaker=yes;click2call=no;transport=
ws>;+g.oma.sip-im;+sip.ice;language="en,fr"
Call-ID: de11cfd2-1772-6225-0964-aa0418ea60f9
CSeq: 8929 ACK
Content-Length: 0
Route: <sip:10.0.10.7:5060;lr;sipml5-outbound;transport=udp>
Max-Forwards: 70
User-Agent: IM-client/OMA1.0 sipML5-v1.2013.08.10B
Organization: Doubango Telecom
tsk_utils.js?svn=20:116
__on_add_stream tsk_utils.js?svn=20:116
onSetRemoteDescriptionSuccess tsk_utils.js?svn=20:116
==session event = m_early_media tsk_utils.js?svn=20:116
==session event = connected tsk_utils.js?svn=20:116
==session event = m_stream_video_remote_added tsk_utils.js?svn=20:116
==session event = m_stream_audio_remote_added tsk_utils.js?svn=20:116
__tsip_transport_ws_onclose tsk_utils.js?svn=20:116
==stack event = stopped tsk_utils.js?svn=20:116
State machine: tsip_transac_ist_Accepted_2_Terminated_timerL
tsk_utils.js?svn=20:116
State machine: tsip_dialog_register_Connected_2_InProgress_X_oRegister
Configuration WEBRTC2SIP
<?xml version='1.0' encoding='utf-8' ?>
<!-- Please check the technical guide (http://webrtc2sip.org/technical-guide-1.$
<config>
<debug-level>INFO</debug-level>
<transport id='1'>udp;*;10060</transport>
<transport id='2'>ws;*;10060</transport>
<transport id='3'>wss;*;10062</transport>
<enable-rtp-symetric>no</enable-rtp-symetric>
<enable-100rel>no</enable-100rel>
<enable-media-coder>yes</enable-media-coder>
<enable-videojb>no</enable-videojb>
<video-size-pref>vga</video-size-pref>
<rtp-buffsize>65535</rtp-buffsize>
<avpf-tail-length>100;400</avpf-tail-length>
<!--<srtp-mode>optional</srtp-mode>
<srtp-type>sdes;dtls</srtp-type>-->
<dtmf-type>rfc4733</dtmf-type>
<codecs>opus;pcma;pcmu;gsm;vp8;h264-bp;h264-mp;h263;h263+;h264</codecs>
<codec-opus-maxrates>48000;48000</codec-opus-maxrates>
<stun-server>10.0.10.14;3478;test;test</stun-server>
<enable-icestun>yes</enable-icestun>
<max-fds>65535</max-fds>
<nameserver id='1'>10.0.10.1</nameserver>
<!--
<ssl-certificates>
/home/cg/myca/private/privatekey.pem;
/home/cg/myca/certs/crt.server1.pem;
/home/cg/myca/certs/crt.ca.pem;
no
</ssl-certificates>
-->
</config>
Original issue reported on code.google.com by jeansilv...@gmail.com
on 21 Nov 2013 at 5:54