killkohon / sipml5

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

Officesip+sipml5 -> cannot connect officesip server in call.htm page #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Nice to meet you all,

I just implement my own sip server with officesip 

and I test officesip account into this server with office Messegnger, It's 
working.

after that I have implemented sipml5 into officesip server, and try to register 
with my officesip 

it always shows "Connecting..." and then it have been changed to "Disconnected" 
and 

the log is here...
 "...
YOUR ARE USING DEBUG CODE. PLEASE USE CODE UNDER 'release' FOLDER or check 
https://code.google.com/p/sipml5/wiki/FAQ#How_to_reduce_the_size_of_the_scripts_
before_deploying for more information on how to amalgamate the code. 
SIPml-api.js:19
User-Agent=Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/27.0.1453.116 Safari/537.36 tsk_utils.js?svn=20:110
WebSocket supported = yes tsk_utils.js?svn=20:110
Navigator friendly name = chrome tsk_utils.js?svn=20:110
OS friendly name = windows tsk_utils.js?svn=20:110
Have WebRTC = yes tsk_utils.js?svn=20:110
Have GUM = yes tsk_utils.js?svn=20:110
Engine initialized tsk_utils.js?svn=20:110
s_websocket_server_url=(null) tsk_utils.js?svn=20:110
s_sip_outboundproxy_url=(null) tsk_utils.js?svn=20:110
b_rtcweb_breaker_enabled=no tsk_utils.js?svn=20:110
b_click2call_enabled=no tsk_utils.js?svn=20:110
SIP stack start: proxy='ns313841.ovh.net:10060', realm='<sip:officesip.local>', 
impi='world', impu='"world"<sip:world@officesip.local>' tsk_utils.js?svn=20:110
Connecting to 'ws://ns313841.ovh.net:10060' tsk_utils.js?svn=20:110
==stack event = starting tsk_utils.js?svn=20:110
__tsip_transport_ws_onopen tsk_utils.js?svn=20:110
==stack event = started tsk_utils.js?svn=20:110
State machine: tsip_dialog_register_Started_2_InProgress_X_oRegister 
tsk_utils.js?svn=20:110
SEND: REGISTER sip:officesip.local SIP/2.0
Via: SIP/2.0/WS 
df7jal23ls0d.invalid;branch=z9hG4bKpfkTOp9uPiz7LiuuUTGUCz1soWdSOBwJ;rport
From: "world"<sip:world@officesip.local>;tag=XbRQr1aaZNTI2ffJdlgn
To: "world"<sip:world@officesip.local>
Contact: 
"world"<sip:world@df7jal23ls0d.invalid;rtcweb-breaker=no;transport=ws>;expires=2
00;click2call=no;+g.oma.sip-im;+audio;language="en,fr"
Call-ID: ea4ab3ee-c3cc-5439-0f5f-5a604df61c2c
CSeq: 21936 REGISTER
Content-Length: 0
Max-Forwards: 70
User-Agent: IM-client/OMA1.0 sipML5-v1.2013.05.24
Organization: Doubango Telecom
Supported: path

 tsk_utils.js?svn=20:110
==session event = connecting tsk_utils.js?svn=20:110
==session event = sent_request tsk_utils.js?svn=20:110
State machine: tsip_dialog_register_Any_2_Terminated_X_transportError 
tsk_utils.js?svn=20:110
=== REGISTER Dialog terminated === tsk_utils.js?svn=20:110
==session event = transport_error tsk_utils.js?svn=20:110
==session event = terminated tsk_utils.js?svn=20:110
The FSM is in the final state 

..."

I have no idea how to fix it

please, suggest me 

thank you 

Original issue reported on code.google.com by Zing1...@gmail.com on 25 Jun 2013 at 6:00

GoogleCodeExporter commented 9 years ago
Connecting to 'ws://ns313841.ovh.net:10060'
This means you're trying to connect to your local server using our public 
cloud. Off course this will never work.
Two solutions:
1/Make your server public (internet)
2/ Or, change your settings (http://sipml5.org/expert.htm) to use your local 
server. Change the WebSocket URL value to something like: "ws://<office-sip-ip 
address here>:<office sip websocket listening port here>"

Original comment by boss...@yahoo.fr on 25 Jun 2013 at 7:59

GoogleCodeExporter commented 9 years ago
Thank you for your suggestion ,sir.

This problem have been solved by your answers.

Original comment by Zing1...@gmail.com on 26 Jun 2013 at 2:10