Issue Details (XML | Word | Printable)

Key: XPH-108
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Unassigned
Reporter: Raghu Venkataramana
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
sipXphone

SDP in Invite had wrong IP address

Created: 2005-05-20 20:48   Updated: 2009-05-06 22:13   Resolved: 2005-05-31 12:54
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File pinger-config (0.6 kB) 2005-05-20 12:49 - Raghu Venkataramana
2. File pinger-config_fortest2andtest3 (0.7 kB) 2005-05-25 11:51 - Raghu Venkataramana
3. Text File siplog_error.txt (17 kB) 2005-05-20 12:48 - Raghu Venkataramana
4. Zip Archive test2-sdp-set-to-private-address.zip (114 kB) 2005-05-25 11:47 - Raghu Venkataramana
5. Zip Archive test3-workingfine-sdp-public-address.zip (816 kB) 2005-05-25 11:50 - Raghu Venkataramana
6. Text File user-config (1 kB) 2005-05-20 12:50 - Raghu Venkataramana
7. File user-config_fortest2andtest3 (1.0 kB) 2005-05-25 11:51 - Raghu Venkataramana

Environment: sipXphone 2.8.0 May 18th


 Description  « Hide
This issue happened only once and I have predictable steps to reproduce. It may be required to look into the code to try and find out how this might have happened.

On a sipsoftphone that had STUN enabled and had registered itself, I sent out an INVITE and had audio issues. When I looked into the logs, I found the following lines in the sdp body:

v=0
o=sipX 5 5 IN IP4 59.92.137.30176.25.1.213
s=phone-call
c=IN IP4 59.92.137.30176.25.1.213
t=0 0

In the above lines 59.92.137.30 is my public address and 176.25.1.213 is my PCs IP address. They are concatinated in the sdp message sent out.

I restarted the phone and this problem wasn't seen

Attached :
sip logs
user config
pinger config

Raghu Venkataramana added a comment - 2005-05-25 11:42
Today when trying to do more tests on the sip softphone, we ran into similar issues again:

Attached are two set of logs
1) When the phone sent out the SIP message with sdp set to its private address
2) When the phone sent out the SIP messages with sdp set to its public address (expected behavior)

In both the cases we verified that STUN is working fine (used ethereal captures)

Bob Andreasen added a comment - 2005-05-31 12:54
Project sipXcallLib
New Revision 456
Committer bob (Bob Andreasen)
Date 2005-05-31 05:53:14 -0700 (Tue, 31 May 2005)

Log

 Potential fix for XPH-108: SDP in Invite had wrong IP address
 
 Code audit revealed one place where we could munge the SDP IP addresses in the CpPhoneMediaInterface.
 


Modified:
main/src/cp/CpPhoneMediaInterface.cpp

Raghu Venkataramana added a comment - 2009-05-06 22:13
Closing old resolved issues.