![]() |
Use Asterisk for IVR on N900
Hi all,
I just installed Asterisk on my N900 and all excited about this being possible, I started fantasizing about using the IVR funtionality of Asterisk to guide callers to things like voicemail, recorded messages or whatever. Bu I wonder if the phone capability of the N900 is usable as a media channel in Asterisk. Anyone aware of this? Or will Asterisk behave as a pure SIP application so I cannot integrate regular phone calls on the N900? Thx! B. |
Re: Use Asterisk for IVR on N900
Humm, interesting. What s the typical CPU usage your are getting? And what are you using it for (since you are still missing IVR functions)?
|
Re: Use Asterisk for IVR on N900
If you're able to make asterisk the core manager of all calls on this phone, It'd be a hell of a nice thing!
On the phone voicemail, email forwarding, etc... ! :D |
Re: Use Asterisk for IVR on N900
It doesn't really use a lot of CPU. But that's in idle state of course.
|
Re: Use Asterisk for IVR on N900
I just called my voicemail while the Asterisk console was open and I saw nothing move, so I guess the phone functionality is not really implemented in Asterisk. Too bad.
|
Re: Use Asterisk for IVR on N900
Are you using the packages from extras-testing or -devel? If so you are probably using the packages I did.
As it stands now, asterisk is not "connected" to the main GSM chip of the phone. This would rule if someone called your cell phone and the whole thing got routed through asterisk. ;) Some day that may be possible, but likely quite a ways off (perhaps when ofono is a main component). Right now it works decently. With the packages and zero configuration (just click on the asterisk icon to launch it), you can call default@10.0.0.5 or whatever your IP address is and asterisk will answer with it's test message. You can also call it using the SIP software on the phone and call default@localhost :))))) This weekend I went camping with another N900ista and we put both of our phones in Adhoc mode (e.g. we could ping each other without a base station). I ran asterisk on my phone and set up a SIP account for both of us in /opt/asterisk/etc/users.conf, like this: Code:
[jebba]So we had a total phone setup without any external hardware such as routers or an asterisk server. We would only go like 50 meters or so though... Line of sight was necessary. Still was nice. It will be easy then, to be able to route, say gtalk calls or jingle/jabber/IAX2/SIP calls through asterisk. There's two main things I would like to fix. One is that it isn't running in "realtime" mode, like pulseaudio is, so if anything else fires up, things drop and sound bad. Once realtime is working, that will be solid and calls will be perfecto. This shouldn't be too hard to get going. The other issue is that asterisk does tons of wakeups (like 6000 in 30 seconds) which clobbers battery. I'll see what I can do to fix that. It uses like 1-2% CPU when asterisk isn't really doing anything and about 4-5% CPU when calls are in progress, which ain't too bad at all. A bit off topic, but here's an ancient asterisk page of mine about BLASTERISK, an asterisk server I ran for a few years or so: http://wiki.blagblagblag.org/BLASTERISK Let me know what uses you'd like to do with asterisk. I'm definitely going to spend a lot of time poking at it as I particularly like it. As a side note, the upstream debian maintainer of asterisk has contacted me and is also an N900 user, so we can pick his brain too. Have fun. |
Re: Use Asterisk for IVR on N900
Quote:
Or you just made a extension that mapped to it? Also, didn't you suffer from the a=ptime:20 bug where farsight ignores the 20ms requested by asterisk and uses a 40ms one instead giving you choppy audio sent to your peer (from the n900, in your case, both of you). |
Re: Use Asterisk for IVR on N900
Quote:
Quote:
Download the package and try it out. It's easy. |
Re: Use Asterisk for IVR on N900
Jebba,
that sounds very cool. It becomes real interesting when we are allowed to really integrate the phone chip into asterisk. I don't really see any other applications if that is not happening, unless one needs a portable pbx system. Perhaps somebody is able to write some sort of driver for that one day. |
Re: Use Asterisk for IVR on N900
Quote:
Vote for it! :-) Quote:
|
Re: Use Asterisk for IVR on N900
Any updates on this project?
I hacked my WRT54GS router with asterisk a few years back & it worked well....the N900 h/ware looks better, but it'd be good to see if anyone's managed to get Asterisk working 'fully' on their N900. ...obviously 'fully' depends on what you want to do with this swiss-army knife pbx :) Nate. |
Linphone
Quote:
rather than putting a full-blown server with all the cpu-time that consumes but maybe someone has already been there??:confused: |
| All times are GMT. The time now is 10:57. |
vBulletin® Version 3.8.8