cmsdesigner / sipml5

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

Called in wrong state: STATE_INPROGRESS #214

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sipML5 in Chrome 41 through kamailio via WSS to sipML5 on Chrome 40 / 
Android 5.02
2. place audio call from chrome 41 to chrome 40 using kamailio as a sip router.

What is the expected output? What do you see instead?
Expected: 200 or 300
Result: 603 - Failed to get local SDP

What version of the product are you using? On what operating system?
SIPML5 API version = 1.5.222
sipML5 in Chrome 41 through kamailio via WSS to sipML5 on Chrome 40 / Android 
5.02

Please provide any additional information below.

State machine: s0000_Started_2_Ringing_X_iINVITE
SIPml-api.js?svn=224:1 ==stack event = m_permission_requested
SIPml-api.js?svn=224:1 onSetRemoteDescriptionSuccess
SIPml-api.js?svn=224:1 onGetUserMediaSuccess
SIPml-api.js?svn=224:1 createAnswer
SIPml-api.js?svn=224:1 State machine: 
tsip_transac_ist_Proceeding_2_Proceeding_X_1xx
SIPml-api.js?svn=224:1 SEND: SIP/2.0 180 Ringing
Via: SIP/2.0/WSS x:4430;branch=z9hG4bK6db3.c3808cbb0eab26a1327641a77781d316.0
From: "x"<sip:1079@xx>;tag=G7WgxAWFDpP7GTZAiddE
To: <sip:1073@x>;tag=HGfPdykWWasi52odFlsI
Contact: <sips:1073@df7jal23ls0d.invalid;transport=wss>
Call-ID: 7a2937db-e56d-b1cb-b949-039c6d5fb13d
CSeq: 61118 INVITE
Content-Length: 0
Via: SIP/2.0/WSS 
df7jal23ls0d.invalid;rport=64830;received=x;branch=z9hG4bKDMgoDkMyO2A4cx6Wd706oz
3wThhefCTz
Record-Route: <sip:x:4430;transport=ws;lr=on;ftag=G7WgxAWFDpP7GTZAiddE>
Allow: ACK, BYE, CANCEL, INVITE, MESSAGE, NOTIFY, OPTIONS, PRACK, REFER, UPDATE

SIPml-api.js?svn=224:1 ==stack event = i_new_call
SIPml-api.js?svn=224:1 ==session event = m_stream_audio_local_added
SIPml-api.js?svn=224:1 onSignalingstateChange:have-remote-offer
SIPml-api.js?svn=224:1 onGetUserMediaSuccess
SIPml-api.js?svn=224:1 createAnswer
SIPml-api.js?svn=224:1 __on_add_stream
SIPml-api.js?svn=224:1 ==stack event = m_permission_accepted
2SIPml-api.js?svn=224:1 ==session event = m_stream_audio_local_added
SIPml-api.js?svn=224:1 ==session event = m_stream_audio_remote_added
SIPml-api.js?svn=224:1 onNegotiationNeeded
2SIPml-api.js?svn=224:1 onCreateSdpSuccess
SIPml-api.js?svn=224:1 onSetLocalDescriptionSuccess
SIPml-api.js?svn=224:1 onSetLocalDescriptionError
SIPml-api.js?svn=224:1 Failed to set local answer sdp: Called in wrong state: 
STATE_INPROGRESS
SIPml-api.js?svn=224:1 State machine: s0000_Ringing_2_Terminated_X_Reject
SIPml-api.js?svn=224:1 === INVITE Dialog terminated ===
SIPml-api.js?svn=224:1 PeerConnection::stop()
SIPml-api.js?svn=224:1 This/PeerConnection is null: unexpected
SIPml-api.js?svn=224:1 State machine: 
tsip_transac_ist_Proceeding_2_Completed_X_300_to_699
SIPml-api.js?svn=224:1 SEND: SIP/2.0 603 Failed to get local SDP
Via: SIP/2.0/WSS x:4430;branch=z9hG4bK6db3.c3808cbb0eab26a1327641a77781d316.0
From: "x"<sip:1079@xxx>;tag=G7WgxAWFDpP7GTZAiddE
To: <sip:1073@xxx>;tag=HGfPdykWWasi52odFlsI
Call-ID: 7a2937db-e56d-b1cb-b949-039c6d5fb13d
CSeq: 61118 INVITE
Content-Length: 0
Via: SIP/2.0/WSS 
df7jal23ls0d.invalid;rport=64830;received=x;branch=z9hG4bKDMgoDkMyO2A4cx6Wd706oz
3wThhefCTz
Record-Route: <sip:x:4430;transport=ws;lr=on;ftag=G7WgxAWFDpP7GTZAiddE>
Reason: SIP; cause=603; text="Failed to get local SDP"

SIPml-api.js?svn=224:1 ==session event = terminated
SIPml-api.js?svn=224:1 State machine: tsip_transac_ist_Any_2_Terminated_X_cancel

Original issue reported on code.google.com by d...@00100100.net on 9 Mar 2015 at 12:35

GoogleCodeExporter commented 9 years ago
 Failed to set local answer sdp: Called in wrong state: STATE_INPROGRESSSIPml-api.js?svn=224:1 tsk_utils_log_errorSIPml-api.js?svn=224:3 tmedia_session_jsep01.onSetLocalDescriptionErrorSIPml-api.js?svn=224:3 (anonymous function)
SIPml-api.js?svn=224:1 State machine: s0000_Ringing_2_Terminated_X_Reject
SIPml-api.js?svn=224:1 === INVITE Dialog terminated ===
SIPml-api.js?svn=224:1 PeerConnection::stop()
SIPml-api.js?svn=224:1 This/PeerConnection is null: 
unexpectedSIPml-api.js?svn=224:1 tsk_utils_log_errorSIPml-api.js?svn=224:3 
tmedia_session_jsep01.onIceCandidateSIPml-api.js?svn=224:3 o_pc.onicecandidate

Original comment by d...@00100100.net on 9 Mar 2015 at 12:36

GoogleCodeExporter commented 9 years ago
This only happens on audio.
Video calls work normally (within reason).

Original comment by d...@00100100.net on 9 Mar 2015 at 12:41

GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 18 Mar 2015 at 9:04

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
this is probably related: 
https://groups.google.com/forum/#!topic/doubango/etZyuD2KfHw

should I open a separate bug for that one ? 

Original comment by 62mk...@gmail.com on 19 Mar 2015 at 5:06

GoogleCodeExporter commented 9 years ago
can we pay anyone to have it fixed SOON ? thanks.. 

Original comment by 62mk...@gmail.com on 21 Apr 2015 at 8:52

GoogleCodeExporter commented 9 years ago
Hi ! any news on this ? 

Original comment by 62mk...@gmail.com on 19 May 2015 at 4:38

GoogleCodeExporter commented 9 years ago
Any news on this so far ? 

Original comment by 62mk...@gmail.com on 16 Jul 2015 at 11:27