From: Craig S. <cso...@us...> - 2007-07-25 03:42:59
|
Update of /cvsroot/openh323/opal/src/sip In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3087 Modified Files: sipcon.cxx Log Message: Fix extraction of remote signal address from Contact field Index: sipcon.cxx =================================================================== RCS file: /cvsroot/openh323/opal/src/sip/sipcon.cxx,v retrieving revision 2.249 retrieving revision 2.250 diff -C2 -d -r2.249 -r2.250 *** sipcon.cxx 25 Jul 2007 01:16:03 -0000 2.249 --- sipcon.cxx 25 Jul 2007 03:42:55 -0000 2.250 *************** *** 25,28 **** --- 25,31 ---- * * $Log$ + * Revision 2.250 2007/07/25 03:42:55 csoutheren + * Fix extraction of remote signal address from Contact field + * * Revision 2.249 2007/07/25 01:16:03 csoutheren * Fix problem with reinvite and loop detection *************** *** 2329,2337 **** // get the address that remote end *thinks* it is using from the Contact field PIPSocket::Address sigAddr; ! { ! PURL contact(contact); ! OpalTransportAddress sigAddress(contact.GetHostName()); ! sigAddress.GetIpAddress(sigAddr); ! } // get the local and peer transport addresses --- 2332,2336 ---- // get the address that remote end *thinks* it is using from the Contact field PIPSocket::Address sigAddr; ! PIPSocket::GetHostAddress(PURL(contact).GetHostName(), sigAddr); // get the local and peer transport addresses |