Hi, Please help me, I have been struggling for the solution for more than a month.
I am trying to port a VoIP application based on SIP protocol to android. I want to test this application first on two emulators running on two different PCs connected via LAN. The problem is that, the communication is not happening when I run the application on two PCs. The same application works when I run it's non-android version on the same PC's. I have identified the following problem. Let's say there are two computers C1(192.168.1.101), C2(192.168.1.102) connected in a LAN. Emulator E1 is running on C1 Emulator E2 is running on C2 The application uses UDP protocol and the port being used is 5060 on both computers. I have setup port forwarding on both the emulators. This is the command used for that in Android console. redir add udp:5060:5060 When we make a voip call from E1 with the URL 192.168.1.102:5060, then E2 responds to the call, but what ever E2 sends in response is not coming back to E1, and hence E1 is timing out. When I observed the log files, actually E2 is sending the response to 10.0.2.2:5060, which is the C2's loop back address(127.0.0.1). How do we resolve this issue? I have gone through the developer guide where they have mentioned about two emulators communicating on single PC. But looks like this concept doesn't work when we run emulators on two different computers. I tried 'redir' command for port forwarding and added INTERNET permission, still it doesn't work. My question is, Is it possible to implement this communication on two emulators? and if yes, How to do this? -- Regards, Upendra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---