Arshimet / sipml5

Automatically exported from code.google.com/p/sipml5
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

No audio with Freeswitch #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
a) Before posting your issue you MUST answer to the questions otherwise it
will be rejected (invalid status) by us
b) Please check the issue tacker to avoid duplication
c) Please provide network capture (Wireshark) or Javascript console log
if you want quick response

What steps will reproduce the problem?
1. register two sipml5 clients on freeswitch
2. send invite from one client to the other
3. the other side not ring. in js console, we can see the message come in and 
generate DOMException.
4. please reference forum thread: 
https://groups.google.com/forum/?hl=en&fromgroups=#!topic/doubango/wiiBOxlxSVo

What is the expected output? What do you see instead?
expect phone ring. but not ring and DOMException

What version of the product are you using? On what operating system?
sipml5 r78 version. Mac Chrome version 21.0.1180.89

Please provide any additional information below.

> I downloaded latest r78 codes and disabled video. 
> 
> I registered both webrtc clients on freeswitch and try to call each other. 
> I still got similar error: 
> 
> __tsip_transport_ws_onmessage 
tsk_utils.js:55<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
> recv=INVITE sip:2233391...@173.73.161.29:63789;transport=WS SIP/2.0 Via: 
> SIP/2.0/WS 
> 87.106.69.240:5062;rport;branch=z9hG4bK-524287-1---d605ab0781319063 From: 
> "chaofeng"<sip:chaof...@10.209.190.245>;tag=Fjv70F751c33m To: 
> 
<sip:2233391...@87.106.69.240:5060;transport=udp;ws-src-ip=173.73.161.29;ws-src-
port=63789 > 
> Contact: <sip:mod_so...@10.209.190.245:5060> Call-ID: 
> 088b9c8e-7666-1230-a78e-12313907bd07 CSeq: 33331514 INVITE Content-Type: 
> application/sdp Content-Length: 207 Via: SIP/2.0/UDP 
> 10.209.190.245;rport=5060;received=23.23.237.155;branch=z9hG4bKBZD0UXvry2m9 D 
> Max-Forwards: 67 Allow: 
> INVITE,ACK,BYE,CANCEL,OPTIONS,MESSAGE,UPDATE,INFO,REGISTER,REFER,NOTIFY,PUB 
LISH,SUBSCRIBE 
> Content-Disposition: session Supported: timer,precondition,path,replaces 
> User-Agent: FreeSWITCH-mod_sofia/1.3.0+git~20120906T224301Z~a7c791d2de 
> Allow-Events: 
> talk,hold,conference,presence,dialog,line-seize,call-info,sla,include-sessi 
on-description,presence.winfo,message-summary,refer 
> Remote-Party-ID: "chaofeng" 
> <sip:chaof...@10.209.190.245>;party=calling;screen=yes;privacy=off 
> X-FS-Support: update_display,send_info v=0 o=FreeSWITCH 1347314882 
> 1347314883 IN IP4 10.209.190.245 s=FreeSWITCH c=IN IP4 10.209.190.245 t=0 0 
> m=audio 20274 RTP/AVP 0 8 101 13 a=rtpmap:101 telephone-event/8000 
> a=fmtp:101 0-16 a=ptime:20 
tsk_utils.js:55<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
> SEND: SIP/2.0 100 Trying (sent from the Transaction Layer) Via: SIP/2.0/WS 
> 87.106.69.240:5062;rport=5062;branch=z9hG4bK-524287-1---d605ab0781319063 
> From: "chaofeng"<sip:chaof...@10.209.190.245>;tag=Fjv70F751c33m To: 
> 
<sip:2233391...@87.106.69.240:5060;transport=udp;ws-src-ip=173.73.161.29;ws-src-
port=63789 > 
> Call-ID: 088b9c8e-7666-1230-a78e-12313907bd07 CSeq: 33331514 INVITE 
> Content-Length: 0 Via: SIP/2.0/UDP 
> 10.209.190.245;rport=5060;received=23.23.237.155;branch=z9hG4bKBZD0UXvry2m9 D 
> 
tsk_utils.js:55<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
> 
>    1. 
>    DOMException 
>    1. code: 12 
>       2. message: "SYNTAX_ERR: DOM Exception 12" 
>       3. name: "SYNTAX_ERR" 
>       4. stack: "Error: An invalid or illegal string was specified.↵ at 
>       tmedia_session_jsep.__set_ro 
>       
(http://184.73.86.199/sipml5-read-only/src/tinyMEDIA/src/tmedia_sessio... 
>       at tmedia_session_jsep.__get_lo 
>       
(http://184.73.86.199/sipml5-read-only/src/tinyMEDIA/src/tmedia_sessio... 
>       at tmedia_session.get_lo 
>       
(http://184.73.86.199/sipml5-read-only/src/tinyMEDIA/src/tmedia_sessio... 
>       at tmedia_session_mgr.get_lo 
>       
(http://184.73.86.199/sipml5-read-only/src/tinyMEDIA/src/tmedia_sessio... 
>       at tmedia_session_mgr.set_ro 
>       
(http://184.73.86.199/sipml5-read-only/src/tinyMEDIA/src/tmedia_sessio... 
>       at tsip_dialog_invite.process_ro 
>       
(http://184.73.86.199/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di... 
>       at tsk_fsm_entry.__tsip_dialog_invite_cond_is_bad_content [as 
fn_condition] 
>       
(http://184.73.86.199/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di... 
>       at tsk_fsm.act 
>       
(http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_fsm.js?svn=... 
>       at tsip_dialog.fsm_act 
>       
(http://184.73.86.199/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di... 
>       at tsip_dialog.__tsip_dialog_invite_event_callback [as fn_callback] 
>       
(http://184.73.86.199/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di...)" 
>       5. __proto__: DOMException 
>    
tsk_utils.js:67<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
>       1. 
tsk_utils_log_errortsk_utils.js:67<http://184.73.86.199/sipml5-read-only/src/tin
ySAK/src/tsk_utils.js?svn=9> 
>       2. 
tmedia_session_jsep.__set_rotmedia_session_jsep.js:231<http://184.73.86.199/sipm
l5-read-only/src/tinyMEDIA/src/tmedia_sessio...> 
>       3. 
tmedia_session_jsep.__get_lotmedia_session_jsep.js:127<http://184.73.86.199/sipm
l5-read-only/src/tinyMEDIA/src/tmedia_sessio...> 
>       4. 
tmedia_session.get_lotmedia_session.js:563<http://184.73.86.199/sipml5-read-only
/src/tinyMEDIA/src/tmedia_sessio...> 
>       5. 
tmedia_session_mgr.get_lotmedia_session.js:293<http://184.73.86.199/sipml5-read-
only/src/tinyMEDIA/src/tmedia_sessio...> 
>       6. 
tmedia_session_mgr.set_rotmedia_session.js:397<http://184.73.86.199/sipml5-read-
only/src/tinyMEDIA/src/tmedia_sessio...> 
>       7. 
tsip_dialog_invite.process_rotsip_dialog_invite.js:730<http://184.73.86.199/sipm
l5-read-only/src/tinySIP/src/dialogs/tsip_di...> 
>       8. __tsip_dialog_invite_cond_is_bad_content 
>       
tsip_dialog_invite__server.js:96<http://184.73.86.199/sipml5-read-only/src/tinyS
IP/src/dialogs/tsip_di...> 
>       9. 
tsk_fsm.acttsk_fsm.js:82<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/t
sk_fsm.js?svn=9> 
>       10. 
tsip_dialog.fsm_acttsip_dialog.js:724<http://184.73.86.199/sipml5-read-only/src/
tinySIP/src/dialogs/tsip_di...> 
>       11. 
__tsip_dialog_invite_event_callbacktsip_dialog_invite.js:894<http://184.73.86.19
9/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di...> 
>       12. 
tsip_dialog.callbacktsip_dialog.js:709<http://184.73.86.199/sipml5-read-only/src
/tinySIP/src/dialogs/tsip_di...> 
>       13. __tsip_transac_ist_Started_2_Proceeding_X_INVITE 
>       
tsip_transac_ist.js:184<http://184.73.86.199/sipml5-read-only/src/tinySIP/src/tr
ansactions/ts...> 
>       14. 
tsk_fsm.acttsk_fsm.js:91<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/t
sk_fsm.js?svn=9> 
>       15. 
tsip_transac.fsm_acttsip_transac.js:123<http://184.73.86.199/sipml5-read-only/sr
c/tinySIP/src/transactions/ts...> 
>       16. 
tsip_transac_ist.starttsip_transac_ist.js:142<http://184.73.86.199/sipml5-read-o
nly/src/tinySIP/src/transactions/ts...> 
>       17. 
tsip_dialog_layer.handle_incoming_messagetsip_dialog_layer.js:238<http://184.73.
86.199/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di...> 
>       18. tsip_transport_layer.handle_incoming_message 
>       
tsip_transport_layer.js:231<http://184.73.86.199/sipml5-read-only/src/tinySIP/sr
c/transports/tsip...> 
>       19. 
__tsip_transport_ws_onmessagetsip_transport.js:425<http://184.73.86.199/sipml5-r
ead-only/src/tinySIP/src/transports/tsip...> 
> 
>    1. 
>    TypeError 
>    1. arguments: Array[2] 
>       2. get message: function () { [native code] } 
>       3. get stack: function () { [native code] } 
>       4. set message: function () { [native code] } 
>       5. set stack: function () { [native code] } 
>       6. type: "non_object_property_call" 
>       7. __proto__: Error 
>    
tsk_utils.js:67<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
>       1. 
tsk_utils_log_errortsk_utils.js:67<http://184.73.86.199/sipml5-read-only/src/tin
ySAK/src/tsk_utils.js?svn=9> 
>       2. 
tsk_fsm.acttsk_fsm.js:96<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/t
sk_fsm.js?svn=9> 
>       3. 
tsip_transac.fsm_acttsip_transac.js:123<http://184.73.86.199/sipml5-read-only/sr
c/tinySIP/src/transactions/ts...> 
>       4. 
tsip_transac_ist.starttsip_transac_ist.js:142<http://184.73.86.199/sipml5-read-o
nly/src/tinySIP/src/transactions/ts...> 
>       5. 
tsip_dialog_layer.handle_incoming_messagetsip_dialog_layer.js:238<http://184.73.
86.199/sipml5-read-only/src/tinySIP/src/dialogs/tsip_di...> 
>       6. tsip_transport_layer.handle_incoming_message 
>       
tsip_transport_layer.js:231<http://184.73.86.199/sipml5-read-only/src/tinySIP/sr
c/transports/tsip...> 
>       7. 
__tsip_transport_ws_onmessagetsip_transport.js:425<http://184.73.86.199/sipml5-r
ead-only/src/tinySIP/src/transports/tsip...> 
> 
> Media Added 
tsk_utils.js:55<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
> __tsip_transport_ws_onmessage 
tsk_utils.js:55<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
> recv=CANCEL sip:2233391...@173.73.161.29:63789;transport=WS SIP/2.0 Via: 
> SIP/2.0/WS 
> 87.106.69.240:5062;rport;branch=z9hG4bK-524287-1---d605ab0781319063 From: 
> "chaofeng"<sip:chaof...@10.209.190.245>;tag=Fjv70F751c33m To: 
> 
<sip:2233391...@87.106.69.240:5060;transport=udp;ws-src-ip=173.73.161.29;ws-src-
port=63789 > 
> Call-ID: 088b9c8e-7666-1230-a78e-12313907bd07 CSeq: 33331514 CANCEL 
> Content-Length: 0 Max-Forwards: 70 
tsk_utils.js:55<http://184.73.86.199/sipml5-read-only/src/tinySAK/src/tsk_utils.
js?svn=9> 
> State machine: tsip_dialog_invite_Started_2_Started_X_any 
> 

Original issue reported on code.google.com by j...@speek.com on 14 Sep 2012 at 2:46

GoogleCodeExporter commented 9 years ago
SRTP is mandatory in WebRTC. You have to enable SRTP on Freeswitch.
Media profile must be "RTP/SAVP" or "RTP/SAVPF"

Original comment by boss...@yahoo.fr on 14 Sep 2012 at 4:04

GoogleCodeExporter commented 9 years ago
Fixed.
Enable the RTCWb Breaker on expert view (http://sipml5.org/expert.htm).

Original comment by boss...@yahoo.fr on 6 Dec 2012 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 6 Dec 2012 at 7:11