Sipdroid and trixbox – it works

Thanks to a few helpfull soles on the sipdroid site I have been succesful in getting sipdroid to register with my Asterisk server AND be able to make calls.

The trick is (thansk to Adrian)
In your sip.conf, comment out “secret = …”. Instead use the following: auth=username@password@host

I also made a change to the extension sipdroid runs on in asterisk and changed: qualify=no

Sipdroid registers to my asterisk box fine and is able to make and receive calls fine. As for the call quality – well that is another thing – keep in mind my testing to date is over Optus 3G.

The first issue I am having is that if I call someone’s mobile I loose the first say 10 seconds of the conversation, ie, I miss them saying “Hello” which starts the conversation off on a failry bad footing, the person I called is usually first heard by me saying” Hellllloooooo, any body there” or something to that effect – not great. Secondly there is still some lag. This is odd becasue I thought the lag I experienced using would reduce given the server I am regsitering to now is local and not in Japan.

Lastly, you need a very stable and good internet connection. I believe now that my data usage has doubled for calls I make as effectivley my asterisk box uploads and downloads from sipdroid AND it uploads and downloads to my VSP. Given the codec used in sipdroid is G711 data usage is high so keep that in mind – 80kbps up and down times two = 160kbps up and 160kbps down for a phone call.

Anyway, best of luck for anyone deploying sipdroid on their asterisk server. Let me know how you go.

VOIP over 3G – Update 2

OK, so I have been living with VOIP over 3G for a little while now. It is working fine providing you have a good 3G connection. How you know you have a good 3G connection is a mystery to me but I guess the signal strength is a factor. The service provided by Exetel is very good and the price – well it almost unbeatable.

The calls I have made have almsot all been very clear with just a little bit of garble now and then. Last week I had an 8 min phone conversation and the call was very acceptable, especially given the whole thing cost me on my calulation about 50c (data of 2MB per min and VSP cost of 10c).

I think the major issue still is the fact that SIPdroid only supports the G711 codec. With luck the recent bounty proposed on SIPdroids site for the development of low bandwidth codecs (lets hope G729) will help make this an even better experience (an even cheaper).

VOIP over 3G – Update 1

Today I received my new SIM from Exetel. After a slight hitch porting out from my old mobile provider I was up and running in no time.

I got a mate to call me on the DID number that I have assigned to my Pennytel account that is a trunk with my PBXes account that SIPdroid registers with (the hoops i go through). It worked fine with just a few seconds of jitter during the conversation that lasted a few minutes. So, so far so good. We will see how it goes over the next few weeks and see how mad it drives me.

VOIP over 3G

I’m excited by the prospects of mobile VOIP using my ADP1 and Sipdroid.

Sipdorid has its draw backs, the main one being development has been pushed to interoperate with PBXes as opposed to any old VSP or even my Asterisk box at home but thats what you get and I can’t bitch to much about something that works (through PBXes) and is free.

So, today I signed up with a provider that re-sells (among other things) Optus 3G data. I can’t get over how cheap (at least for Australia) the data is. They are charging 1.5c per MB of data. At this rate it makes sense to ditch my current MVNO (who re-sells Vodafone) and go with the new mob. Exetel, who I am switching to, are also an ISP here in Australia and I like their style, its cheap and they don’t piss about with the facts. Its kind of ‘here are our prices and this is how we will do you over, if you don’t like it then piss off, and, if we don’t like you we’ll also tell you to piss off’ which is an interetsing but kind of likeable quality in the business that they are in.

The man that runs the show, John Linton, has a blog and his outlook on things is what tipped me to try them out, its refreshing to see these kind of comments in business. Here is a perfect example.

So, we’ll see how it pans out. I’ll be going VOIP for all my calls (when possible) and text messages also using a VSP. Lets hope the Optus service and network here in Perth doesn’t let me down.

EDIT: I’m crapping my self now that this will not work. Sipdroid only supports the G711 codec which is a monster when it comes to bandwidth consumption. I wish it supported G729 – this could be a short experiment ending up in failure due to Sipdroid and the Andorid OS. Please, please Optus network deliver me a fast stable 3G connection.

Trixbox Astersik server – some success with other stuff.

Last weekend I cleaned up some network issues at home. In short I had run into some issues becasue I was running and BIND DNS server that was being used by my webserver plus the webserver had entries in its hosts file plus I am running m0n0wall which handled DNS resolution for other clients on the network. It was all very confusing but I think its sorted now.

So, now that my network is decent I got stuck into Trixbox. The issues I had were as follows:-
1. Couldn’t received call on my Ekiga SIP client running on my laptop in the man cave, strangely I could call other external extension from Ekiga but not receive calls. It was just always engaged.
2. I couldn’t seem to get my SPA3102 to act as a VOIP to PSTN gateway or PSTN to VOIP Gateway.
3. Couldn’t get Sipdroid runinng on my ADP1 to register with my Trixbox to then beable to act as an extension and receiv calls etc.

Point 1 must have something to do with Ekiga, I say this becasue I installed X-Lite last night and could make and receive calls fine with it. Anyone know why Ekiga will not receive calls, despite it registering fine and being able to make calls fine???

Point 2 was a little more tricky. It turned out that the other day I moved my modem into the man cave as there was a phone line extension there. The ADSL worked fine but strangely when ever I called my land line it was engaged, this as a result frustrated my attempts to get Asterisk answer PSTN calls and vica-versa. This isn’t so bad becasue know one knows what the number is but its a worry. It turns out I had to move the modem back up stairs to where I had installed an ADSL filter splitter. Writing about this now leads me to belive that perhaps the problem is from the way the phone extensions were installed and having a filter/splitter upstairs and only using it for PSTN then having another filter/splitter down stairs and only using that for ADSL is causing the problem. I’ll buy an in-line filter for my phone only and plug the modem back in the man-cave without a filter and see if that solves the problem.

So anyway, I re-set the SPA3102 back to factory default and re-entered the various setting to ensure the thing woirked in Australia again and also sounded like and Australian phone. I re-set it up a–la Trixbox without the tears and now… works! Sweet.

Point 3, I admit, II buckled and signed up with PBXes. It hurts me to do this and I’m still annoyed but at this moment its the easiest way to achieve what I would like, ie, Sipdroid working. IN the end I opened a new account at Pennytel and set up Pennytel as a trunk at PBXes. Whats cool is that I also have an account with Pennytel so Pennytel to Pennyytel calls are free. Thsi way, if my fike wants to speak with me and Sipdroid is regiustered to PBXes OK she just calls me Pennytel account number and its a FREE call, of course this depends on if Sipdroid is using 3G or if its on Wi-Fi.

Sipdroid with Trixbox/Asterisk – How????

I have spend many hours trying to get my ADP1 phone running Sipdroid to register with my trixbox server. Its driving me nuts, really, it is.

Yes, I have changed the sip_nat.conf file and ensured it has…


I have tried it over WI-Fi on my LAN and over 3G. I was able to reguister OK – once then if fails there after. Strangely it will register only after you creat a new extension for sipdroid in trixbox.

Is it my NAT router doing something odd?

So, do you think I can get it to work. No, I can’t and its driving me NUTS! AHhhhhhhhhhhhh.

I think I’ll just buckle to it all and register with PBXes and then register a VSP as a trunk there and use it that way. Surely it couldn’t be this difficuly but apparently it is. Interestingly on the Sipdroid site it says something to the effect, we are smarter than you and have changed PBXes a little from a standard trixbox installation (obviously) so don’t bother wasting to much time trying to get Sipdroid working with your own asterisk box – it won’t work. This really shits me to be honest. Shouldn’t these kind of things be created to give the maximum amount of interopability.

So who has managed to get Sipdroid register and work with your own Trixbox/Asterisk server? Let me know how you did it – its killing me.

If someone at PBXes reads this – what changes need to be made to my Trixbox to get Sipdroid to work with it, come on guys…..


I’ve started messing with trixbox. Its really interesting that such a prebuilt distro exists. It makes it easy for someone to set up there own asterisk server come PBX. I’m looking at using one but need to harden it to ensure I don’t get hacked by someone and tey rip me off. Seems to be a few good tips around on how to harden these boxes so I may soon be running trixbox for all my Voice requirements.

The folks and VoIP

Well at long last the folks figured out how to call me using the SIPbroker PSTN gate way in Milan last night.

What is it about old people, you try to be very very clear on what they need do but they get it wrong.

To start with they couldn’t get through to the SIPbroker PSTN number correctly – I have no idea why.

Eventually they got through to the Milan SIPbroker PSTN gateway number fine, however, when they entered the number in for me at the prompt (by the way my SIPBroker alias is *011612409) they would then press the ‘send’ button on the mobile they were using, this would mess it all up as SIPBrokers DTMF would recognise the ‘send’ key-press as well. You see what I mean!

Eventually, after they called me the old expensive way I finally told them of the error of their ways and after a few more tries they got through.

I must say the quality of the conversation was very good, good clear voice and very little lag. This is extremely good given the lack of $$$ you pay for the service.

Good one SIPBroker! Well done Mum & Dad!

IP Dialing and the SPA3102

My father has just traveled to Italy and will be there for about 2 months, while he was there it would be handy for him to call me cheap, enabling IP dialing on the SPA3102 will achieve this along with the usage of SIPBroker.  In effect he will be IP Dialing my ATA (seem as though Mynetfone doesn’t allow other VSP interconnection).

I followed the instructions set out in the very helpful website

Fortunately I have a static IP so the requirement to use dynDNS was not needed.  Due to the network I run at home the  STUN server method didn’t work.  To get around this I entered my IP number in the EXT IP option on the SIP Tab.  For the option “Send resp to src port” I marked it YES.  The rest of the instruction at voipstuff were followed.

At first I could call my phone and I could hear but the receiver could not hear me.  I eventually tracked this down to be a port rule problem so opened and forwarded the appropriate ports to the ATA.

I’m pleases to report that it all works, now I just need to have Dad call the SIPBroker PSTN number in Milan and try it out!