< Previous by Date | Date Index | Next by Date > |
Thread Index |
Scott
Project resiprocate New Revision 8777 Committer sgodin (Scott Godin) Date 2010-06-13 10:39:35 -0500 (Sun, 13 Jun 2010) Log
-modified the Windows implementations of determineSourceInterface to not return the loopback adapter (127.0.0.1). This is accomplished by checking first if the address is a local address. If it is, then we don't call getBestRoute or getBestInterfaceEx (since they will just return the loopback address), we just use the address itself as the source. This change helps in scenarios when a resip UA and proxy are run on the same machine. The registration will no longer contain the loopback address as the Contact URI. It also helps when you bind the stack to a particular interface card, then try to route a SIP message to the same machine. In this case the stack would fail to find a transport, since getBestRoute would return the Loopback interface, and we don't have a transport bound to this interface.Modified:
_______________________________________________
resiprocate-commit mailing list
resiprocate-commit@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-commit