Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Called in wrong state: STATE_INPROGRESS #214

Open
GoogleCodeExporter opened this issue Jun 15, 2015 · 7 comments
Open

Called in wrong state: STATE_INPROGRESS #214

GoogleCodeExporter opened this issue Jun 15, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

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:[email protected];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 [email protected] on 9 Mar 2015 at 12:35

@GoogleCodeExporter
Copy link
Author

 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 [email protected] on 9 Mar 2015 at 12:36

@GoogleCodeExporter
Copy link
Author

This only happens on audio.
Video calls work normally (within reason).

Original comment by [email protected] on 9 Mar 2015 at 12:41

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 18 Mar 2015 at 9:04

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

this is probably related: 
https://groups.google.com/forum/#!topic/doubango/etZyuD2KfHw

should I open a separate bug for that one ? 

Original comment by [email protected] on 19 Mar 2015 at 5:06

@GoogleCodeExporter
Copy link
Author

can we pay anyone to have it fixed SOON ? thanks.. 

Original comment by [email protected] on 21 Apr 2015 at 8:52

@GoogleCodeExporter
Copy link
Author

Hi ! any news on this ? 

Original comment by [email protected] on 19 May 2015 at 4:38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant