[G1 Apps and Games] leetlikeawping:
First post ever! I have been a leecher for a good year now and have marveled at all the incredible stuff that you people post in these forums. I hope that this will help some of you out, if at least a few. First of all I would like to thank gurnted, if it wasn't for him I wouldn't have spent a whole day researching how to make this work. If you haven't read his post yet I would highly recommend it. http://xdaforums.com/showthread.php?t=548405

Anyways on to the meat and potatoes of the post. This is a guide to setup incoming and outgoing skype calls via your wifi or 3g networks.

Things you will need:

-Skype account with latest client. (and preferably some kind of subscription)

-PBXes account.

-Computer running SipToSis software http://www.brothersoft.com/siptosis-295109.html and skype client. (need to be running pretty much all the time, or atleast whenever you want to make or recieve calls)

-Sipdroid app.

First thing is first. Create an account at PBXes.com https://www1.pbxes.com/index.php Log into the account and go to extensions. Click SIP then under extension number type 200 then click submit. Next go to Ring groups. Type 00 next to extension list, 60 next to ring time, and check next to hangup then click submit. Next click add ringroup. This time type 200 next to extension, 60 again at ring time and check next to hangup again. Submit that and then click on trunks. Click add sip trunk. Next to sip server type the wan ip address of your router or whatever ip address your ISP gave you( personally I use a DynDns service http://www.dyndns.com/ that is updated via my DD-WRT router. You can use this sight to find your IP http://ping.eu/). You can if you like put a username and password here but I havent figured out how make the SipToSis script ask for my username and password yet. Anyways, give this trunk a name before you go(can be anything) then click submit.

Ok breather for one sec. personal note learn to use paragraphs.

Ok check next to ring group and select 1 for both regular hours and after hours. Next put an asterisk next to regular hours and days at every line(not sure if this is necessary). Click submit and then click add-incoming route. This time next to trunk type your username that you used to login and the -200 (example is if your username was McAwesome then type McAwesome-200). Choose ring group again for both regular hours and after hours but this time choose 2 in the pulldown. Once again put an asterisk next to all the regular hours and days. Submit. Next click outbound routing. Route name: put whatever you like. At the pulldown next to trunk sequence choose the trunk you created and then click submit. That does it for the PBXes account, by the way if you see the red bar across the top that says submit changes then go ahead and click that bad boy away.

Download the skype client and install on your computer. Next download the SipToSis software and unzip it to a folder in your favorite directory. Now go to that folder and edit SkypeToSipAuth.props (personally I use notepad++ to do all my editing http://notepad-plus.sourceforge.net/uk/site.htm). At the very bottom edit the line to look like this *,sip:yourusername-200@pbxes.com:5060 (example: *,sip:McAwesome-200@pbxes.com:5060). Save and close that. Next edit SipToSkypeAuth.props and change the bottom line to look like this *,*,*,calleeid then save it and close. Alright now open siptosis.cfg for edit.

This is the tricky part. Edit these lines

#Sample AUTO config with NO registration

# username and password not important in this mode

# Set to available port to transport SIP messages on siptosis computer

host_port=5070

username=skypests

passwd=unimportantpassword

do_register=no

# --- end of NO registration example ---

#Sample config with NO registration - use if above auto config doesn't work - change 127.0.0.1 to ip address of computer running siptosis

# username and password not important in this mode

#Set to available port to transport SIP messages on siptosis computer

#host_port=5070

#contact_url=sip:skypests@127.0.0.1:5070

#from_url="skypests" <sip:5611111111@127.0.0.1:5070>

#username=skypests

#passwd=unimportantpassword

#realm=127.0.0.1

# --- end of NO registration example ---

To this. Make sure to notice the usename and the port 5060 (I will use McAwesome as an example again.) Also you can put the username and password that you made when you created your trunk but I havent been able to get it to actually ask for the password yet.

#Sample AUTO config with NO registration

# username and password not important in this mode

# Set to available port to transport SIP messages on siptosis computer

#host_port=5070

#username=skypests

#passwd=unimportantpassword

#do_register=no

# --- end of NO registration example ---

#Sample config with NO registration - use if above auto config doesn't work - change 127.0.0.1 to ip address of computer running siptosis

# username and password not important in this mode

#Set to available port to transport SIP messages on siptosis computer

host_port=5060

contact_url=sip:127.0.0.1:5060

from_url="spiersad" <sip:McAwesome@127.0.0.1:5060>

username=McAwesome

passwd=yourpassword

realm=127.0.0.1

# --- end of NO registration example ---

Now save and close. Make sure skype is running and execute SipToSis_win.bat. As long as everything went well you will be looking at a cmd window with a bunch of information about skype on it and Ips and all sorts of stuff. Check skype and accept any plugins or whatnot it trys to run.

Now setup your sipdroid app and you will be all set. click the sipdroid app and click menu then go to settings. Click Sip account settings. Put username as your username-200 (once again, example: McAwesome-200). Password is your login password for PBXes account, Server is PBXes.com, Port is 5060, and Protocol is UDP. Go back then go to call options. Check Wlan and 3G if you use it. I set my preferred call type to Sipdroid when available but once again that is your choice. Thats pretty much it for the Sipdroid app.

And thats pretty much it. you can make calls out of sipdroid to your skype client and then worldwide (if you have the supscription). Also any call skype recieves you will recieve.

Couple of last things. you might have to run the SiptoSis script once before you actually start editing it. Also make sure that your windows firewall and router isn't blocking port 5060. I also had a problem where i had to turn off the sip algorithm in the router to get this to work over my wlan.

Ok thanks for reading and hit me up if you have any problems. I will try and get back to you as soon as I can but its kinda rough when you are deployed over seas.