quranteaching / webrtc2sip

Automatically exported from code.google.com/p/webrtc2sip
0 stars 0 forks source link

Help needed starting webrtc2sip #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build and install Doubango using procedure mentioned in the technical guide
2. Build and install WebRTC2SIP as mentioned in the guide using options 
-with-doubango=/usr/local 
3.

What is the expected output? What do you see instead?
- I saw error on the first step in the step when I run ./autogen.sh
- The second time the command executed without error but I could see warnings 
and messages
- I executed ./configure and everything went fine
- Same with make and make install for Doubango
- Finished installation of WebRTC2SIP with parameter -with-doubango=/usr/local, 
no errors again
- I do not know how to start WebRTC2SIP. I tried executing 
/opt/webrtc2sip/sbin/webrtc2sip and I get the following message
error while loading shared libraries: libtinySAK.so.0: cannot open shared 
object file: No such file or directory
-Another question I have is, how do I configure SIPML5 to use the WebRTC2SIp at 
ip a.b.c.d?

What version of the product are you using? On what operating system?
Centos 5.5 32 Bit
Build 799

Please provide any additional information below.
I tried the same on Centos 5.5 64 and same result

Original issue reported on code.google.com by harikuma...@gmail.com on 29 Dec 2012 at 9:04

GoogleCodeExporter commented 9 years ago
Ok, I have an update to my problem. I did manage to get WebRTC2SIP started. 
What I did was execute from the prompt and everything worked fine.

However, I have hit another problem. I try to call using SIPML5 with the 
appropriate websocket server url and rtcwebbreaker enabled. The call is 
received on my PC. But no audio heard. Asterisk logs show that:
No SRTP module loaded, cannot setup SRTP session

Does this mean that even after enabling rtcwebbreaker WebRTC2SIP is sending 
SRTP instead of RTP stream? Any help would be appreciated.

Original comment by harikuma...@gmail.com on 29 Dec 2012 at 12:37

GoogleCodeExporter commented 9 years ago
Oh, by the way I solved the previous problem by executing export 
LD_LIBRARY_PATH=/usr/local/lib on the prompt.

Original comment by harikuma...@gmail.com on 29 Dec 2012 at 12:38

GoogleCodeExporter commented 9 years ago
These are some logs from the WebRTC2SIP that I see now:
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: 
"_tnet_ice_ctx_fsm_GatheringComplet_2_ConnChecking_X_ConnCheck()"
file: "src/ice/tnet_ice_ctx.c"
line: "1338"
MSG: ConnCheck timedout
warning: The VAD has been replaced by a hack pending a complete rewrite
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "_trtp_manager_ice_init()"
file: "src/trtp_manager.c"
line: "228"
MSG: ICE context not ready
***ERROR: function: "trtp_manager_start()"
file: "src/trtp_manager.c"
line: "565"
MSG: _trtp_manager_ice_init() failed
warning: The VAD has been replaced by a hack pending a complete rewrite
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: sendto() failed
***ERROR: function: "tnet_sockfd_sendto()"
file: "src/tnet_utils.c"
line: "1370"
MSG: (SYSTEM)NETWORK ERROR ==>Operation not permitted

--------------------------------------------------------------------------------
--

[root@localhost sbin]# ./webrtc2sip
Copyright (C) 2012 Doubango Telecom <http://www.doubango.org>
'quit' to quit the application.

warning: The VAD has been replaced by a hack pending a complete rewrite
***ERROR: function: 
"_tnet_ice_ctx_fsm_GatheringComplet_2_ConnChecking_X_ConnCheck()"
file: "src/ice/tnet_ice_ctx.c"
line: "1338"
MSG: ConnCheck timedout
warning: The VAD has been replaced by a hack pending a complete rewrite
***ERROR: function: "_trtp_manager_ice_init()"
file: "src/trtp_manager.c"
line: "228"
MSG: ICE context not ready
***ERROR: function: "trtp_manager_start()"
file: "src/trtp_manager.c"
line: "565"
MSG: _trtp_manager_ice_init() failed
warning: The VAD has been replaced by a hack pending a complete rewrite
***ERROR: function: "_trtp_manager_ice_init()"
file: "src/trtp_manager.c"
line: "228"
MSG: ICE context not ready
***ERROR: function: "trtp_manager_start()"
file: "src/trtp_manager.c"
line: "565"
MSG: _trtp_manager_ice_init() failed
warning: The VAD has been replaced by a hack pending a complete rewrite

Original comment by harikuma...@gmail.com on 29 Dec 2012 at 2:01