maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Dialcentral 1.0 (https://talk.maemo.org/showthread.php?t=29347)

joshua.maverick 2009-12-10 18:54

Re: Dialcentral 1.0
 
2 Attachment(s)
I changed up the layer styles a bit, I'm going to make the remaining icon sizes this week.

64 x 64 48 x 48

icbolsh 2009-12-14 01:49

Re: Dialcentral 1.0
 
Quote:

Originally Posted by jiiv (Post 419724)
epage, for me the problem appears to be with voice.google.com/m.
From the main website I can place calls without any issues, but from the mobile version I'm not getting anything (and I noticed that Dialcentral seemed to be using the mobile version). I get the same problem whether using my mobile number or gizmo.
I just tried them back-to-back from then900's browser and verified that (for me at least) the normal gvoice site is fine, mobile isn't.

I found out what setting to change to get the GV mobile site to work again. When you go to their mobile page, then go to settings, then select "My Mobile Number". It wants you to select the number to forward the call there. Once I selected the number to forward my calls to, it started working again.
This has not solved the issues with my DC though. I can't get Dialcentral to dial out and forward call to my phone. SMS is working fine.

MountainX 2009-12-14 20:05

Re: Dialcentral 1.0
 
How do I clear my username and password that DialCentral remembers when it starts up? Thanks

n9ots 2009-12-14 20:15

Re: Dialcentral 1.0
 
Quote:

Originally Posted by MountainX (Post 427668)
How do I clear my username and password that DialCentral remembers when it starts up? Thanks

delete files found in:
/home/user/.dialcentral
only need to remove "settings.ini" & "gv_cookies.txt"
have fun

intofx 2009-12-14 20:27

Re: Dialcentral 1.0
 
can there be a button to hear the voice message in the messages tab?

the voice recognition isn't that great.

epage 2009-12-14 23:25

Re: Dialcentral 1.0
 
Quote:

Originally Posted by icbolsh (Post 426522)
I found out what setting to change to get the GV mobile site to work again. When you go to their mobile page, then go to settings, then select "My Mobile Number". It wants you to select the number to forward the call there. Once I selected the number to forward my calls to, it started working again.
This has not solved the issues with my DC though. I can't get Dialcentral to dial out and forward call to my phone. SMS is working fine.

I think I might have a fix. I should be pushing a bunch of bug fixes for my various apps out tonight. These will at least go to extras-devel. Tomorrow I might make a push to extras-testing.

Quote:

Originally Posted by MountainX (Post 427668)
How do I clear my username and password that DialCentral remembers when it starts up? Thanks

What is it you want? To login as a different user? On the accounts tab there is a button for getting a new login. If you want to clear everything, why? I'm curious if there is an area usability could be improved.

Quote:

Originally Posted by intofx (Post 427702)
can there be a button to hear the voice message in the messages tab?

the voice recognition isn't that great.

See the following bug
https://bugs.maemo.org/show_bug.cgi?id=5564

I recently got the backend code to do it (in theory). A lot of it depends on privatization, time, and deciding how to implement the UI.

cBeam 2009-12-15 21:43

Re: Dialcentral 1.0
 
I just got the update of Dialcentral on my N900 and it works again!

N900 + DialCentral + [google voice] + [Gizmo5 sipphone] = free calls to any land line across the US using WiFi!


<Edit after valid call by "epage" below : I got the update from extras/development, so don't try it unless you know what you are doing! - Thanks, Epage!>

internetpilot 2009-12-15 21:43

Re: Dialcentral 1.0
 
Quote:

Originally Posted by icbolsh (Post 426522)
I found out what setting to change to get the GV mobile site to work again. When you go to their mobile page, then go to settings, then select "My Mobile Number". It wants you to select the number to forward the call there. Once I selected the number to forward my calls to, it started working again.
This has not solved the issues with my DC though. I can't get Dialcentral to dial out and forward call to my phone. SMS is working fine.

Hmmm...that is still not working for me. I am only successful generating a call through the regular GV site. Changing the callback number in GV mobile didn't work for me.

I'm at the mercy of whatever epage can come up with, and thanks for working on that, epage! Here's hoping it does the trick.

-- Chris

epage 2009-12-15 21:50

Re: Dialcentral 1.0
 
Quote:

Originally Posted by cBeam (Post 429596)
I just got the update of Dialcentral on my N900 and it works again! Thank you!

N900 + DialCentral + [google voice] + [Gizmo5 sipphone] = free calls to any land line across the US using WiFi!

Are you running from Extras Devel? If so *PEOPLE BE WARNED* Extras Devel is scary. Don't jump in based on this report. I just pushed an update to there and privately asked someone to do some testing for me on it. Once its been validated I will push it to extras-testing and then iof enough QA voting is done, to Extras.

dick-richardson 2009-12-16 00:36

Re: Dialcentral 1.0
 
I enabled devel to get the dialcentral update, when dialing a number I get an error:
Code:

There was a problem with GV: {'data': {'code':20}, 'ok': False}
Hope it helps.

jiiv 2009-12-16 01:37

Re: Dialcentral 1.0
 
Dialcentral seems to be working perfectly for me as well. I _think_ I'm running the version from extras-devel...is there an 'about' screen in dialcentral to see version information? It's 1.0.9-0.

epage 2009-12-16 01:45

Re: Dialcentral 1.0
 
Please, I encourage people only install from extras-devel that they have written.

I personally enable extras-devel just long enough to install updated version of my own software and immediately disable it. I would hope those wishing to test can be patient enough for me to sanity check things before pushing to Maemo 5 Extras Testing or Maemo 4.1 Extras.

(Maemo 5) I also hope those who do not want to take on the testing risks will be patient enough for people to vote it into Extras.

Quote:

Originally Posted by jiiv (Post 429877)
Dialcentral seems to be working perfectly for me as well. I _think_ I'm running the version from extras-devel...is there an 'about' screen in dialcentral to see version information? It's 1.0.9-0.

1.0.9-0 is the version in extras devel. I did push 1.0.9-1 out which adds an app menu (I hope).

The fact that this works is thanks to you for pointing out pygooglevoice which taught me a different way to place calls. Even if that didn't work, you provided the work around which is Dialcentral explicitly set the callback number (I used to do this back in the Grandcentral days because there was no alternative)

Quote:

Originally Posted by dick-richardson (Post 429820)
I enabled devel to get the dialcentral update, when dialing a number I get an error:
Code:

There was a problem with GV: {'data': {'code':20}, 'ok': False}
Hope it helps.

The new approach seems to work for more people but now we get these curious error codes. It'll be fun to figure out what 20 means.

Laughing Man 2009-12-16 01:54

Re: Dialcentral 1.0
 
epage, I'm more then happy to test the application, but can you confirm it's optified?

epage 2009-12-16 01:57

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Laughing Man (Post 429893)
epage, I'm more then happy to test the application, but can you confirm it's optified?

It is not optified. The total size of Dialcentral w/o the rootfs filesystem compression is 1.3 meg. With compression I think its a lot smaller since 2/3 of it is text. I was under the impression that with these sizes optifying isn't an issue.

If there is demand for me to optify anyways, I can put forward the effort to do so.

Laughing Man 2009-12-16 02:03

Re: Dialcentral 1.0
 
Hmm if that's the case I guess it doesn't make a difference so there's not much of a point in optifying it if it's going be a lot of work. I'll install it tomorrow after my bio final is done. :)

Edit: Oh what the heck I'll install it now since bio studying is taking a while.

Edit2: I do believe optification is a requirement for getting the application into extras however. (though there seems to be a few apps that don't follow that rule.. Evernote sharing plugin and openSSH for example). So if you want to get dialcentral into extras eventually I think you may have to consider optification.

dick-richardson 2009-12-16 02:18

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 429884)
Please, I encourage people only install from extras-devel that they have written.

While I would 2nd your statement, I'm frankly not worried about reflashing my device (done so twice already) to advance the cause.

I.e. you don't scare me. :P

edit: That might be worth mentioning...I installed dialcentral within 5 minutes of reflashing both the OS and the MyDocs .bin files. I also installed rdesktop-cli from extras-devel (no apparent inter-dependencies) and wget & rsync from extras-testing (again no apparent collisions). From Extras, I threw in openssh, ati85, vncviewer, and droid fonts.

epage 2009-12-16 02:22

Re: Dialcentral 1.0
 
Quote:

Originally Posted by dick-richardson (Post 429909)
While I would 2nd your statement, I'm frankly not worried about reflashing my device (done so twice already) to advance the cause.

I.e. you don't scare me. :P

Don't tempt me to give you a reason to stay out of extras-devel ;)

More so I want to be cautious of new comers seeing this thread and getting the impression running out of extras-testing / extras-devel is the only way to go.

dick-richardson 2009-12-16 02:27

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 429911)
Don't tempt me to give you a reason to stay out of extras-devel ;)

Oh, I only install what I need (after someone else has already tried) and then get out.

Quote:

More so I want to be cautious of new comers seeing this thread and getting the impression running out of extras-testing / extras-devel is the only way to go.
Right there with ya. If you don't understand software development and repository specifics, don't adjust them. This isn't a windows registry edit, where following instructions step-by-step can compensate for a lack of understanding.

That said, I strongly recommend any newcomers to enable Extras - it's already in there. Good stuff in there.

epage 2009-12-16 03:33

Re: Dialcentral 1.0
 
Some stuff on The One RIng:

I have a simple test case (outside of UI) that:
* Can toggle Do Not Disturb
* Make a call
* Send a text

I am working on the state machine for polling the server for updates. My current thought is:
* You start with a POLL_TIME of INITIAL
* As long as there no no new messages, we double POLL_TIME till it hits MAX
* Every time there are new messages, we reset POLL_TIME to INITIAL
* When you are idle POLL_TIME is set to a constant IDLE

I'll give an example with
* INITIAL = 5 seconds
* MAX = 2 minutes
* IDLE = 10 minutes

A friend sends you a text, at most (when not "away") it will take 2 minutes for you to see it.

You respond and they respond back all within 30 seconds, you will see the response in 35 seconds (5s + 10s + 20s)

Now you say goodbye. The One Ring will check for new messages after 5s, 15s, 35s, 1 min 15s, 3 min 15s, 5 min 15s, 7 min 15s, etc.

So switch to being marked "away" in chat, it now checks for new texts every 10 minutes

Now you switch to Do Not Disturb. The One Ring will not poll the server at all and you will also not get any calls.

Does this sound like a reasonable compromise for battery life and low latency? Other ideas? Any suggestions for INITAL, MAX, and IDLE? Interest in configuring these through the UI? Interest in a manual mode?

An alternative approach is POLL_TIME = CONSTANT + GEOM, meaning there is a large constant time factory (5 seconds) and a small doubling factory (1 second) so this will peg the CPU but will also back off more slowly. For example we would check after 5, 11, 18, 27, 48, 1 min 25s, 3 min 25s, 5 min 25s, 7 min 25s, etc)

For those interested, the following page has all the states I'm allowed to play with
http://telepathy.freedesktop.org/spe...ePresence.html

EDIT: Fixed my geom growth from the pauses to elapsed time

dick-richardson 2009-12-16 03:41

Re: Dialcentral 1.0
 
Would POLL_TIME = CONSTANT + GEOM eat more cpu once it hit the 2m max? If not, I'd favor this method as sms's seem to go in conversations (e.g. a friend and I will txt frequently over the course of a 5 minute discussion, and then not again for hours or days).

And is One Ring a separate app, or added functionality to dialcentral? (I'm sure it's been addressed here previously, apologies if the question has become tiring).

epage 2009-12-16 03:59

Re: Dialcentral 1.0
 
Quote:

Originally Posted by dick-richardson (Post 429941)
Would POLL_TIME = CONSTANT + GEOM eat more cpu once it hit the 2m max? If not, I'd favor this method as sms's seem to go in conversations (e.g. a friend and I will txt frequently over the course of a 5 minute discussion, and then not again for hours or days).

And is One Ring a separate app, or added functionality to dialcentral? (I'm sure it's been addressed here previously, apologies if the question has become tiring).

Kind of hard to make this clear with my example time lines.

POLL_TIME = min(CONSTANT + GEOM, MAX) will take longer to reach MAX, but once it does it will poll as frequently as POLL_TIME = min(GEOM, MAX).

The One Ring is a separate app that plugs into RTComm, the chat/voice app builtin to Maemo 4.1 and Maemo 5.

dick-richardson 2009-12-16 04:03

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 429952)
Kind of hard to make this clear with my example time lines.

POLL_TIME = min(CONSTANT + GEOM, MAX) will take longer to reach MAX, but once it does it will poll as frequently as POLL_TIME = min(GEOM, MAX).

The One Ring is a separate app that plugs into RTComm, the chat/voice app builtin to Maemo 4.1 and Maemo 5.

Gotcha, so the cpu overhead you were referring to was just due to checking for updates more frequently and not a function of the implementation in code.

That'd be my preference...

iKneaDough 2009-12-16 04:33

Re: Dialcentral 1.0
 
Would it be possible to get some type of push notification, instead of polling in The One Ring?

jiiv 2009-12-16 04:49

Re: Dialcentral 1.0
 
epage:
Glad to offer at least a little bit of assistance. Dialcentral is one of my favorite tablet applications, and it's really the only one that I couldn't just steal from a debian arm repo. Your work is most appreciated.

epage 2009-12-16 12:21

Re: Dialcentral 1.0
 
Quote:

Originally Posted by iKneaDough (Post 429973)
Would it be possible to get some type of push notification, instead of polling in The One Ring?

I am not aware of Google providing any means for push notification. Dialcentral currently does user-invoked polling, same with pygooglevoice. GVMax added "push" support but its done by forwarding to email addresses and hackery related to that. I think I heard even the Android app does 5 minute polling.

n9ots 2009-12-16 14:57

Re: Dialcentral 1.0
 
Installed 1.0.9-0 yesterday. had no luck making a call with Gizmo until today.
Glad to have it working again. Thanks for all the work.

epage 2009-12-16 15:04

Re: Dialcentral 1.0
 
Quote:

Originally Posted by n9ots (Post 430470)
Installed 1.0.9-0 yesterday. had no luck making a call with Gizmo until today.
Glad to have it working again. Thanks for all the work.

I'm waiting to do some testing on 1.0.9-1 before I push to extras-testing

thommy 2009-12-16 15:10

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 430318)
I am not aware of Google providing any means for push notification. Dialcentral currently does user-invoked polling, same with pygooglevoice. GVMax added "push" support but its done by forwarding to email addresses and hackery related to that. I think I heard even the Android app does 5 minute polling.

You're right, android does only work via polling. Do you think it's likely that google will provide some means of push notification in the future? If so, perhaps we should deal with polling like android until that day comes along.

epage 2009-12-16 15:16

Re: Dialcentral 1.0
 
Quote:

Originally Posted by thommy (Post 430491)
You're right, android does only work via polling. Do you think it's likely that google will provide some means of push notification in the future? If so, perhaps we should deal with polling like android until that day comes along.

Well, if they provide an XMPP or WebSocket API, then that would work out well.

Another approach is to imitate GVMax and have the polling done on a server and use XMPP or IMAP IDLE for push to the device

thommy 2009-12-16 19:52

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 430497)
Well, if they provide an XMPP or WebSocket API, then that would work out well.

Another approach is to imitate GVMax and have the polling done on a server and use XMPP or IMAP IDLE for push to the device

It would be quite frustrating to have gone through all of the trouble of programming and setting up a server and, at the same time, making the client setup process more convoluted, to have Google then release an API. But who knows if they'll even ever release one.
And, just for clarification, GVMax doesn't poll -- the server responds when it receives an email that was pushed by GV and then forwarded via a filter to the server.

christexaport 2009-12-16 19:54

Re: Dialcentral 1.0
 
Quote:

Originally Posted by cBeam (Post 429596)
I just got the update of Dialcentral on my N900 and it works again!

N900 + DialCentral + [google voice] + [Gizmo5 sipphone] = free calls to any land line across the US using WiFi!

That is possible without DC. The real bonus is SMS.

epage 2009-12-16 19:57

Re: Dialcentral 1.0
 
Quote:

Originally Posted by thommy (Post 430895)
It would be quite frustrating to have gone through all of the trouble of programming and setting up a server and, at the same time, making the client setup process more convoluted, to have Google then release an API. But who knows if they'll even ever release one.
And, just for clarification, GVMax doesn't poll -- the server responds when it receives an email that was pushed by GV and then forwarded via a filter to the server.

GVMax use to poll. Now they do as you specified.

dick-richardson 2009-12-16 20:33

Re: Dialcentral 1.0
 
I'm still getting that error with 1.0.9-1...not sure if you'd even looked at it for this update, but thought I'd give a heads up in case you had.

epage 2009-12-16 20:47

Re: Dialcentral 1.0
 
Quote:

Originally Posted by dick-richardson (Post 430958)
I'm still getting that error with 1.0.9-1...not sure if you'd even looked at it for this update, but thought I'd give a heads up in case you had.

I actually got 1.0.9-1 to fix the app menu before you reported the issue, it just got delayed pushing it to extras-devel.

dick-richardson 2009-12-17 03:04

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 430980)
I actually got 1.0.9-1 to fix the app menu before you reported the issue, it just got delayed pushing it to extras-devel.

No problem, and please don't read any impatience in my reply.

n9ots 2009-12-17 15:46

Re: Dialcentral 1.0
 
Quote:

Originally Posted by dick-richardson (Post 431327)
No problem, and please don't read any impatience in my reply.

DC was working fine last night...this morning it doesn't want to forward to Gizmo...works fine with forwarding to my mobile.

N800 Running 1.0.9-1
Looked through the log and didn't see anything that looked different today versus last night.

Update: working again...must have been google.

sondjata 2009-12-18 17:17

Re: Dialcentral 1.0
 
Quote:

Originally Posted by n9ots (Post 432023)
DC was working fine last night...this morning it doesn't want to forward to Gizmo...works fine with forwarding to my mobile.

N800 Running 1.0.9-1
Looked through the log and didn't see anything that looked different today versus last night.

Update: working again...must have been google.

Mine is still not working. 1.0.8.7 no update seen in the app manager. kind of a big deal.

epage 2009-12-18 17:43

Re: Dialcentral 1.0
 
Quote:

Originally Posted by sondjata (Post 433606)
Mine is still not working. 1.0.8.7 no update seen in the app manager. kind of a big deal.

Please remember that it is helpful to know what device or version of Maemo you have. Maybe include it in your signature so people can at least guess based on that? In this case it would also have been helpful to know what repos you have enabled.

I'm assuming you have Maemo 4.1 with extras enabled because I realize that when I promoted all of my software from Maemo 5 extras-devel to extras-testing, I forgot to promote the Maemo 4.1 version from extras-devel to extras. It is now done and should appear soonish. Thanks for helping me catch that so people can get the improved version sooner.

As a side note, as part of my The One Ring work, I've got faster downloading of all of the contact information. I have not yet merged this into my Dialcentral code though.

As for general The One Ring status: My semi-automated test is now able to login, get and set presence (avaialble, away, etc), make calls, send texts, and get contacts including their name. I have most of the work done for checking GV for new texts/voicemails to notify you of.

As long as nothing catastrophic comes up with other software or real life, I plan to finish testing notification of new messages this weekend. My next step will be either this weekend or next to test within Empathy and then on Maemo 5. It would probably be another week or two for Maemo 4.1 support if I end up doing it. There might be some decent amount of work involved with this because telepathy is still rapidly changing and the docs keep listing "For this version, support this, for that version, support that".

sjgadsby 2009-12-18 18:11

Re: Dialcentral 1.0
 
Maemo 5, DialCentral 1.0.9-1:

I'm getting an error message at the bottom of the screen when I hit "Dial":
"There was a problem with GV: {'data': {'code': 20}, 'ok': False}"

heavyt 2009-12-18 20:09

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 433644)
... It would probably be another week or two for Maemo 4.1 support if I end up doing it. There might be some decent amount of work involved with this because telepathy is still rapidly changing and the docs keep listing "For this version, support this, for that version, support that".

Man I hope you can find a way for supporting 4.1. Thanks for the update.


All times are GMT. The time now is 09:09.

vBulletin® Version 3.8.8