IAX2/Asterisk + Openmoko FreeRunner
Brandon Kruse
admteamkruz at gmail.com
Sat May 17 21:55:52 CEST 2008
On Sat, May 17, 2008 at 12:23 PM, Andy Powell <openmoko at automated.it> wrote:
> On Saturday 17 May 2008 18:07, Brandon Kruse wrote:
>
> > >
> > > That's not always a good thing.
> >
> > I agree.
> > Compliance has been extremely difficult.
> >
>
> Amen!
Another "ugh" for compliance across browsers :(
>
>
> > >> Trixbox uses PHP/mysql/apache2, whereas the AsteriskGUI uses the
> > >> builtin
> > >> Asterisk HTTP Server, and javascript files (because we believe that
> > >> there
> > >> should never be unneeded load on the box that your phone calls are
> > >> running
> > >> through. )
> > >
> > > You're still running an http server on your asterisk box. You could
> > > offload
> > > even more by using something like my mysqlswitch and a 2nd box for
> > > mysql +
> > > Apache. In reality most people are either running asterisk at home
> > > where it
> > > doesn't matter or running it 'big time' where the gui is no use /
> > > too slow.
> > >
> > > I
> > > still believe that an internal http server is just so wrong in the
> > > first
> > > place - but you're entitled to your opinion ;)
> >
> > Haha, you should have seen the community response when mark merged
> > that into feature frozen 1.4 ;)
> >
> > We have community members with 2,000 end points and gateways managed
> > through the GUI,
>
Heh, not sure exactly. Javascript select boxes + 2,000 entries + sorting =
script delay, for sure.
And....the GUI only works in Firefox 2 and 1.5.
But, we may have something up our sleeve that could be released soon, never
know :)
I am a vi + /etc/asterisk man myself, since that how I was raised. (Way
before GUIs)
>
> Windows users ;P
>
> > and editing the files themselves. I say try both!
> > I am just biased.
>
> :D
>
> > > Good work with the iax2 integration. Some integration with the
> > > contacts would
> > > be really useful, perhaps a voip number. I have here a Pirelli DP-
> > > L10 sip+gsm
> > > phone which has a really nice feature, the ability to set a
> > > preferred network
> > > to dial from,
> > >
> > > ie
> > > GSM Only
> > > VOIP Only
> > > GSM Preferred
> > > VOIP Preferred
> >
> > This is EXACTLY what I want to do, well put. One semi-concern I have
> > is where to configure this? Your opinion, scaredy, would be great!
> > (for the best place to do this).
>
> I think that it's a dialer function - however it would be nice if other
> applications could tell the dialer how to dial. Since dbus seems to be the
> interface that's going to be used it might be nice to have the option there
> too. In essence you can configure this option from the dialer or any other
> application that sends a message via dbus - this seems the most flexible
> and
> would allow an application to tell the dialer 'Please dial this number, via
> VOIP'
>
I am a little confused about where we would want the options (eg Preferred
voip, preferred GSM, etc)
I remember mickey discussing the strong API for using dbus. I am loving
this, as I use
dbus in a lot of other applications, specifically with glib. It's as simple
as signal_connect('sig-name, aka new-phone-call', callback_func);
I will look into the Dialer for this. Obviously this is going to take a lot
more work that just getting the underlying iax2 working, it
will almost be enough for 2 separate projects. (Exposing events of the
dialer over dbus, if it is not already, etc).
Um, you can use the ipkg for installation, instructions on http://bkruse.com
I had a pretty crazy build environment for iaxclient, as it was not supposed
to natively compile for ARM (That was a crazy night.)
Ok, just checked out the source again. iaxclient_moko (in trunk) is the one
you want. I am not sure if you can
get it to build, I need to add those kinds of things to the configuration
script, hence the reason I released the ipkg
so soon :P
The other directories are third party libs that iaxclient depends on, that
are also setup to cross-compile.
You should be able to make an iax call with the test client.
After that works great, and the source works/builds ok, then I will start
implementing into the dialer.
Once I can make a call through iax, using the dialer, I will work on another
program (using dbus) for auto-detecting
AP's. (Eg keep scanning, there is probably already a mechanism to do this.)
>
> > > obviously well aware, cures this.
> >
> > One port, nat work arounds, best protocol ever. Maybe not best :P
>
> IAX2 is excellent for point to point, It's a life saver (if not a marriage
> saver) that means I can easily talk to my wife when I'm away. It links my
> home asterisk box in .nl to the office one in the UK so I can work from
> either place. Sure I could do the same with SIP/H323 etc but with IAX2 it's
> a
> 10 second job - fire and forget. Awesome, I love it.
>
>
> >
> > > Is this limited to the freerunner just because of wifi or is there
> > > some other
> > > reason? I'm thinking BT or teathered (sp) would still be useful on
> > > the gta01.
> >
> > Absolutely. I have my iax client working through ethernet over usb.
> > But right, USB wifi, or usb bt.
>
> Excellent, I'm happy to test it out on my 01 - Hey, I'm happy to put it on
> my
> images by default once you're happy for it to go.
>
> Install the ipkg, and do a testcall --help (it's in /usr/bin or /bin,
cannot remember)
Btw, are you currently building freerunner images?
>
> > > Looking forward to getting my grubby paws on it :D
> >
> > I value your opinion :)
>
> I value your code :)
>
> I presume I should be looking at iaxclient_moko and ignoring the iaxclient
> dir ?
>
Answered above^^
>
> --
>
> Andy / ScaredyCat
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080517/99c451d8/attachment.htm
More information about the community
mailing list