|
List Info
Thread: Asterisk on Openmoko
|
|
| Asterisk on Openmoko |

|
2007-03-29 00:44:33 |
Hi,
Just to wonder, i could see asterisk is there in the
openembedded. I
can compile for openmoko without any effort.
>From the root, source tree of openmoko
moko localhost $ cd build
moko localhost $ bitbake asterisk
does that magic.
Can anyone please confirm whether asterisk runs in the real
openmoko
phone and takes in the audio ? (asterisk has alsa channel
interface).
For the new users, asterisk is an IP PBX which can play
around with
your calls, attending calls, automated call answering,
caller
blacklist, call recording, etc.,. To my experience it did
wonders, I
guess it will do more when we have it on openmoko.
Thanks.
Regards,
Kannaiyan
|
|
| Re: Asterisk on Openmoko |
  United States |
2007-03-30 10:55:16 |
"Kannaiyan Natesan" <gbpnkans gmail.com> writes:
> Can anyone please confirm whether asterisk runs in the
real openmoko
> phone and takes in the audio ? (asterisk has alsa
channel interface).
I can understand why you would want to run a softphone on
the Neo (in
conjunction with something like WiFi that would let you
terminate VOIP
very nicely) but why would you want to run the *switch* on
the phone?
You really want all of that on a server, not on the
instrument.
Perry
|
|
| Re: Asterisk on Openmoko |
  Germany |
2007-03-30 12:06:12 |
Salve Perry,*!
It sounds like you haven't played with asterisk yet, right?
;)
On Fri, 30 Mar 2007, Perry E. Metzger wrote:
>
> "Kannaiyan Natesan" <gbpnkans gmail.com> writes:
> > Can anyone please confirm whether asterisk runs in
the real openmoko
> > phone and takes in the audio ? (asterisk has alsa
channel interface).
>
> I can understand why you would want to run a softphone
on the Neo (in
> conjunction with something like WiFi that would let you
terminate VOIP
> very nicely) but why would you want to run the *switch*
on the phone?
> You really want all of that on a server, not on the
instrument.
The reson is very simple, when you are a little used with
asterisk,
you will love to run it on the Neo1973. Of course not for
the mass
market, but for testing some dailing roules or call back
services
it is very flexible and powerfull - and much more when you
combine
an asterisk on your neo with an asterisk on your server.
exten => my-sip,1,System(/etc/asterisk/my-script.sh)
exten => my-sip,2,Hangup()
When you want a voice menu on your Neo1973:
"Hello Perry, I'm at my sports training till 20
o'clock.
Please leave a message - or only in urgent case press now
1."
When you have a cheap tariff for some daytimes or lines,
you could automaticaly rejct and call back...
You have a call forward from fix-line/SIP to GSM.
When you are at home you want to save this routing,
so you use bluetooth. 24/24h Bluetooth is consumpting
to much, so use
exten => my-sip,1,System(echo "1" >
/sys/bus/platform/devices/gta01-pm-bt.0/power_on)
exten => my-sip,2,Hangup()
When you have doupts, just wait and see what other people
will do with asterisk *on* the Neo1973. ;)))
Greetings,
rob
PS: 5 Minutes ago a saw a green smily on my neo after
faild flashing a new u-boot yesterday. So it is
alive again )))
|
|
| Re: Asterisk on Openmoko |

|
2007-03-30 11:32:32 |
On Fri, Mar 30, 2007 at 11:55:16AM -0400, Perry E. Metzger
wrote:
>
> "Kannaiyan Natesan" <gbpnkans gmail.com> writes:
> > Can anyone please confirm whether asterisk runs in
the real openmoko
> > phone and takes in the audio ? (asterisk has alsa
channel interface).
>
> I can understand why you would want to run a softphone
on the Neo (in
> conjunction with something like WiFi that would let you
terminate VOIP
> very nicely) but why would you want to run the *switch*
on the phone?
> You really want all of that on a server, not on the
instrument.
I agree. Please also keep in mind that asterisk is anything
but
suitable for mobile, slow-cpu, low-memory devices with no
FPU.
I'd expect stuff like transcoding, echo cancellation, dtmf
detection,
etc. are going to take ages - if they can at all be done in
realtime
without proper fixed point arithmetic implementation.
I'd also say that something like a SIP softphone is probably
what you
want. or even less than that: emulate a headset via
bluetooth, i.e.
have the neo act as a headset device for your PC based
softphone
application.
--
- Harald Welte <laforge openmoko.org>
http://openmoko.org/
============================================================
================
Software for the world's first truly open Free Software
mobile phone
|
|
| Re: Asterisk on Openmoko |
  United States |
2007-03-30 14:25:52 |
Harald Welte <laforge openmoko.org> writes:
> I agree. Please also keep in mind that asterisk is
anything but
> suitable for mobile, slow-cpu, low-memory devices with
no FPU.
>
> I'd expect stuff like transcoding, echo cancellation,
dtmf detection,
> etc. are going to take ages - if they can at all be
done in realtime
> without proper fixed point arithmetic implementation.
>
> I'd also say that something like a SIP softphone is
probably what you
> want. or even less than that: emulate a headset via
bluetooth, i.e.
> have the neo act as a headset device for your PC based
softphone
> application.
I agree that it might not be practical in this generation of
phone for
lack of CPU and proper networking hardware, but I will say
that doing
proper a VOIP phone in a future device will be important.
You could
switch from cellular to VOIP whenever you got to a friendly
802.11
network. I see that as a major potential application. Add an
Asterisk
server somewhere that gets signaled by the phone whether to
forward
your incoming number to the cellphone network or to VOIP and
the world
would be a pleasant place indeed...
Perry
|
|
| Re: Asterisk on Openmoko |

|
2007-03-30 15:40:43 |
On 3/30/07, Harald Welte <laforge openmoko.org> wrote:
> On Fri, Mar 30, 2007 at 11:55:16AM -0400, Perry E.
Metzger wrote:
> >
> > "Kannaiyan Natesan" <gbpnkans gmail.com> writes:
> > > Can anyone please confirm whether asterisk
runs in the real openmoko
> > > phone and takes in the audio ? (asterisk has
alsa channel interface).
> >
> > I can understand why you would want to run a
softphone on the Neo (in
> > conjunction with something like WiFi that would
let you terminate VOIP
> > very nicely) but why would you want to run the
*switch* on the phone?
> > You really want all of that on a server, not on
the instrument.
>
> I agree. Please also keep in mind that asterisk is
anything but
> suitable for mobile, slow-cpu, low-memory devices with
no FPU.
Asterisk has been ported to many fixed point processors. I
think there
is no need of Floating point needed except the codec part.
> I'd expect stuff like transcoding, echo cancellation,
dtmf detection,
> etc. are going to take ages - if they can at all be
done in realtime
> without proper fixed point arithmetic implementation.
Asterisk has more than what you expect. It also has signal
translation
too. Conversion between two signalling protocols. (Neo1973
to SIP). It
is upto us how to exploit to the level we want. But I bet
you can
never can have such facility such as asterisk which will
become one
more asterisk.
> I'd also say that something like a SIP softphone is
probably what you
> want. or even less than that: emulate a headset via
bluetooth, i.e.
> have the neo act as a headset device for your PC based
softphone
> application.
Asterisk is a PBX. Now we can PBX in hand to handle the
calls
smoothly in whatever the way we want. You want to record
during the
conversation and playback later? or you want to email your
voicemails
to your email? (everything is prewritten )
It is upto our imagination to extend to whatever the level
we want.
Thinking it will be too bulky? No. You can remove unwanted
modules and
have only whatever is required, Makes things easy.
Do drop a line if you need any more info.
Kannaiyan
>
> --
> - Harald Welte <laforge openmoko.org>
http://openmoko.org/
>
============================================================
================
> Software for the world's first truly open Free Software
mobile phone
>
|
|
| Re: Asterisk on Openmoko |
  United States |
2007-03-30 16:17:45 |
"Kannaiyan Natesan" <gbpnkans gmail.com> writes:
>> I'd also say that something like a SIP softphone is
probably what you
>> want. or even less than that: emulate a headset
via bluetooth, i.e.
>> have the neo act as a headset device for your PC
based softphone
>> application.
>
> Asterisk is a PBX. Now we can PBX in hand to handle
the calls
> smoothly in whatever the way we want.
There is no point in having a PBX in the end device. You
aren't going
to switch 20 calls through your handset simultaneously and
you don't
have enough bandwidth to do it even if you're silly enough
to desire
it. The phone also isn't going to be on all the time, or on
the
network at all times.
> You want to record during the conversation and playback
later?
If you want that, use a software PBX server in a closet on a
proper
UPS with a stable connection to the PSTN and/or Internet.
There is no
point to PBX functionality on the *phone*. If you want to
record the
conversation, you can do it on a box with plenty of CPU,
disk, etc.,
not on the phone.
--
Perry E. Metzger perry piermont.com
|
|
| Re: Asterisk on Openmoko |
  United States |
2007-03-30 18:00:07 |
Jonathon Suggs <jsuggs murmp.com> writes:
> Perry E. Metzger wrote:
>> There is no point in having a PBX in the end
device.
> Reminds me of a famous quote:
> .640K ought to be enough for anybody.. - Bill Gates
>
> Don't be so short-sighted.
This isn't like saying "no one will ever need more than
640K of
memory", this is like saying "no one will ever
need a jet powered
bratwurst". I'm not saying that people will never need
more memory,
speed, etc. than they have now, I'm saying they will never
need
something completely ridiculous. When you can find me an app
for a jet
powered bratwurst, please let me know. I'll believe a PBX is
useful on
a mobile phone at the same time, around when you show that
it is vital
that the phone contain a full sized freezer for storing
meat.
I'll name some other absurd ideas right now, just so we can
get them
out of the way:
1) BGP implementation for OpenMoko "so you can use it
as a backbone
router!"
2) MRI and CT scanner drivers "so you can run your
medical imaging
equipment on it in emergencies!"
3) Folding Home client "so you can run your batteries down
as fast as
possible and not have your phone survive the morning
commute!"
4) Automated application to call the police every ten
minutes and
generate a random bomb threat that it reads through a
voice
synthesizer.
I'm sure everyone reading can come up with more.
--
Perry E. Metzger perry piermont.com
|
|
| Re: Asterisk on Openmoko |
  United States |
2007-03-30 18:01:33 |
Koen Kooi <koen dominion.kabel.utwente.nl> writes:
> Or just 'cat /dev/dsp > /tmp/file', no need for a
PBX...
Yup.
Perry
|
|
| Re: Asterisk on Openmoko |

|
2007-03-30 22:09:48 |
On 3/30/07, Perry E. Metzger <perry piermont.com> wrote:
>
> "Kannaiyan Natesan" <gbpnkans gmail.com> writes:
> >> I'd also say that something like a SIP
softphone is probably what you
> >> want. or even less than that: emulate a
headset via bluetooth, i.e.
> >> have the neo act as a headset device for your
PC based softphone
> >> application.
> >
> > Asterisk is a PBX. Now we can PBX in hand to
handle the calls
> > smoothly in whatever the way we want.
>
> There is no point in having a PBX in the end device.
You aren't going
> to switch 20 calls through your handset simultaneously
and you don't
> have enough bandwidth to do it even if you're silly
enough to desire
> it. The phone also isn't going to be on all the time,
or on the
> network at all times.
I mentioned PBX there just to say to use the functionalities
that we
can use from asterisk. Had a chance to look into its
capabilities?
I'm using it only for my single phoneline at home for 5
years. I
don't have 24 lines with T1 capability.
>
> > You want to record during the conversation and
playback later?
>
> If you want that, use a software PBX server in a closet
on a proper
> UPS with a stable connection to the PSTN and/or
Internet. There is no
> point to PBX functionality on the *phone*. If you want
to record the
> conversation, you can do it on a box with plenty of
CPU, disk, etc.,
> not on the phone.
>
If openmoko can do that, Why should I buy the rest?. If
openmoko is
not capable of sending email or remote storage through
samba, nfs
etc., through the wifi then it is useless to buy that
device.
If the openmoko is currently uses 100% CPU for rest of its
operations, how come you can ask a opensource enthusiast to
play
around with that device? Is it not looking like cheating
business here
?
Kannaiyan
> --
> Perry E. Metzger perry piermont.com
>
|
|
|
|