Status: New
Owner: ----
Labels: Component-JAIN-SIP-Javascript Type-Defect Priority-Medium
JAIN-SIP-Javascript-1.0.0.Final
New issue 94 by [email protected]: Exception raised when INVITE is
authenticated
http://code.google.com/p/jain-sip/issues/detail?id=94
What steps will reproduce the problem?
1.Authenticate INVITE method (i.e. return 407 on first INVITE)
2.Make a call
What is the expected output? What do you see instead?
SIPClientTransaction:processResponseargu3(): catched exception:TypeError:
Cannot call method 'setRemoteTarget' of null
What version of the product are you using? On what operating system?
Please provide any additional information below.
I beleive that this is fixed by adding this two lines below in the
WebRTCPhoneUA.prototype.handleStateMachineInvitingResponseEvent function
else if(this.invitingState==this.INVITING_407_STATE)
{
if(statusCode< 200)
{
console.debug("WebRTCPhoneUA:handleStateMachineInvitingResponseEvent(): 1XX
response ignored");
}
else if(statusCode==200)
{
this.jainSipInvitingDialog=responseEvent.getOriginalTransaction().getDialog();
//<--- Add this line
this.invitingState=this.INVITING_ACCEPTED_STATE; //<--- Add
this line
this.jainSipInvitingDialog.setRemoteTarget(jainSipResponse.getHeader("Contact"));
//<--- Exception was raised here
var jainSipMessageACK =
responseEvent.getOriginalTransaction().createAck();
this.jainSipInvitingDialog.sendAck(jainSipMessageACK);
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.