sipXphone

SDP in Invite had wrong IP address

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • 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
    Show
    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
  • Environment:
    sipXphone 2.8.0 May 18th
  1. pinger-config
    (0.6 kB)
    Raghu Venkataramana
    2005-05-20 12:49
  2. pinger-config_fortest2andtest3
    (0.7 kB)
    Raghu Venkataramana
    2005-05-25 11:51
  3. siplog_error.txt
    (17 kB)
    Raghu Venkataramana
    2005-05-20 12:48
  4. test2-sdp-set-to-private-address.zip
    (114 kB)
    Raghu Venkataramana
    2005-05-25 11:47
  5. test3-workingfine-sdp-public-address.zip
    (816 kB)
    Raghu Venkataramana
    2005-05-25 11:50
  6. user-config
    (1 kB)
    Raghu Venkataramana
    2005-05-20 12:50
  7. user-config_fortest2andtest3
    (1.0 kB)
    Raghu Venkataramana
    2005-05-25 11:51

Activity

Hide
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)
Show
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)
Hide
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
Show
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
Hide
Raghu Venkataramana added a comment - 2009-05-06 22:13
Closing old resolved issues.
Show
Raghu Venkataramana added a comment - 2009-05-06 22:13 Closing old resolved issues.

People

Dates

  • Created:
    2005-05-20 20:48
    Updated:
    2009-05-06 22:13
    Resolved:
    2005-05-31 12:54