Status: New
Owner: ----
Labels: Priority-Medium

New issue 118 by [email protected]: "invalid" in Contact header
http://code.google.com/p/jain-sip/issues/detail?id=118

What steps will reproduce the problem?
1. Make a call between two clients using the jain-sip js framework (I used the Mobicents WebRTC phone application)
2. Observe the SIP responses 180 Ringing and 200 OK

There is meaningless address in the Contact header containing random characters and "invalid" string. I traced this in the source code and it seems that the problem is at line 50 in SipStackImpl.js file. This line contains the following statement:
this.setHostAddress(Utils.prototype.randomString(12)+".invalid");


What is the expected output? What do you see instead?

Normal host address should be present in the Contact header. Please note that there is correct value in Contact header in INVITE and REGISTER requests.


What version of the product are you using? On what operating system?
JAIN SIP javascript framework, version 1.0

Please provide any additional information below.
Example response:
SIP/2.0 180 Ringing
Call-ID: 1372233982268
CSeq: 1 INVITE
From: "alice" <sip:[email protected]>;tag=1372233985297
To: <sip:[email protected]>;tag=1372233985410
Via: SIP/2.0/WS 127.0.0.1:5082;branch=z9hG4bKec4903d2-6a64-4ea0-a58d-3ba28a541b08_655e17f9_83775484270875;rport Via: SIP/2.0/WS 127.0.0.1:50335;branch=z9hG4bK-373736-5e00ad9ec8051cf5d49f84e87491302b;rport;received=127.0.0.1
Max-Forwards: 69
Allow: INVITE,ACK,CANCEL,BYE
Record-Route: <sip:127.0.0.1:5082;transport=ws;appname=655e17f9;proxy=true;app_id=ec4903d2-6a64-4ea0-a58d-3ba28a541b08;lr>
Contact: <sip:[email protected];transport=ws>
Content-Length: 0



--
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.


Reply via email to