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)

epage 2010-01-05 03:57

Re: Dialcentral 1.0
 
Quote:

Originally Posted by fragos (Post 453094)
Epage: I'm willing to change to OneRing if it's available on my N810. I've been impressed with DialCentral and your devotion to your creation. Thank you very much. It's wonderful that you care about your users but don't let us make your development efforts unrewarding and enjoyable to you.

Part of the enjoyment is keeping what I've already delivered working. Beyond that, its a prioritization game between maintaining my current projects, helping with new projects, and creating my own new projects. I have two in the pipeline after The One Ring.

Currently I'm calling the first one Chimerical which uses the devices camera as a way to see the world color blind (and maybe other visual impairments?). All I've done on that is reformatted the code in Mirror to better fit my needs and tested an algorithm for color blindness.

The second idea I have I've no name for, I've done no work on, and I am unsure on its feasibility. Long before the iPhone had Bluetooth support for P2P apps I wondered about the same. It wasn't till recently that I realized that Telepathy can be used for P2P app support. The limitation is link-local requires you to be on the same network which doesn't work for Cell Phones. I'd like to experiment with a Bluetooth connection manager for Telepathy. It would offer simple things like chat (and maybe expose proximity by signal strength?) but the focus would be on expanding telepathy's opportunities for P2P applications.

fragos 2010-01-05 04:07

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 453481)
Part of the enjoyment is keeping what I've already delivered working. Beyond that, its a prioritization game between maintaining my current projects, helping with new projects, and creating my own new projects. I have two in the pipeline after The One Ring.

Currently I'm calling the first one Chimerical which uses the devices camera as a way to see the world color blind (and maybe other visual impairments?). All I've done on that is reformatted the code in Mirror to better fit my needs and tested an algorithm for color blindness.

The second idea I have I've no name for, I've done no work on, and I am unsure on its feasibility. Long before the iPhone had Bluetooth support for P2P apps I wondered about the same. It wasn't till recently that I realized that Telepathy can be used for P2P app support. The limitation is link-local requires you to be on the same network which doesn't work for Cell Phones. I'd like to experiment with a Bluetooth connection manager for Telepathy. It would offer simple things like chat (and maybe expose proximity by signal strength?) but the focus would be on expanding telepathy's opportunities for P2P applications.

The community is lucky to have you -- Thanks again.

epage 2010-01-05 04:13

Re: Dialcentral 1.0
 
Quote:

Originally Posted by fragos (Post 453492)
The community is lucky to have you -- Thanks again.

Thanks. Just don't expect much progress on my ideas. The problem with new ideas is someone has to maintain them which takes time away doing even more of those ideas.

mrdally204 2010-01-06 04:17

Re: Dialcentral 1.0
 
Epage, you mentioned "and make it so if you use the custom sound notifier, you can specify the location of the sound file " how do I enable this option? is it an advanced script that has to be added? If so can you post it for experimental use only?
*Edit thanks for the nice sort feature in the call log! Its exactly how I wanted it.
**Edit2 For one contact in my list, if I try to click on the message to reply, I get error 'phoneType' error at the bottom. It has only happened for 1 contact. Its using the GV add book and this contact has mayb4 4 numbers. Correction I can not click on her name at all without the message appearing at the bottom. This problem may stem back a few releases as I vaguely remember it happening

epage 2010-01-06 04:46

Re: Dialcentral 1.0
 
Quote:

Originally Posted by mrdally204 (Post 455118)
Epage, you mentioned "and make it so if you use the custom sound notifier, you can specify the location of the sound file " how do I enable this option? is it an advanced script that has to be added? If so can you post it for experimental use only?

Hmm I've tried this by pieces but not integrated

In ~/.dialcentral/settings.ini
Code:

...
[alarm]
...
notifier = /usr/lib/dialcentral/examples/sound_notifier.py
...

In ~/.dialcentral/notifier.ini
Code:

...
[Sound Notifier]
...
soundfile = /home/user/notify.mp3
...

Err, I think that'll work. I also added a "~/.dialcentral/notifier.log" to get debug info on whats going on in the notifications. This will cause lots of writes so I don't plan to have it enabled for long

Quote:

Originally Posted by mrdally204 (Post 455118)
*Edit thanks for the nice sort feature in the call log! Its exactly how I wanted it.

Glad to hear

epage 2010-01-06 04:48

Re: Dialcentral 1.0
 
The One Ring Status:

I got it showing up for creating a new account and allowing you to login by depending on account-plugin-haze and using its generic UI. I then saw that anything related to IMs was broken. I've done some refactoring due to python-telepathy making breaking changes between what I have and what is on the tablet. I need to validate those changes and see what next breaks. Hopefully soon at least something will work on the tablet and I can see what all you all break :)

Knowing issues will come up I implemented a command prompt withing The One Ring. If you start a conversation with your account number (it has to be exact, including whether to have the leading "1" or not) it will interpret messages as commands and spit back out the results. Below is the output when typing "help"
Code:

(XXX)-XXX-XXXX: help
(XXX)-XXX-XXXX: Undocumented commands:
======================
call                get_callback_numbers  is_authed            send_sms
get_account_number  get_state            is_dnd           
get_callback_number  help                  reset_state_machine

EDIT: This output is taken from Empathy and I am not lying and secretly have anything working on the n8x0 or n900

epage 2010-01-06 04:49

Re: Dialcentral 1.0
 
Quote:

Originally Posted by mrdally204 (Post 455118)
**Edit2 For one contact in my list, if I try to click on the message to reply, I get error 'phoneType' error at the bottom. It has only happened for 1 contact. Its using the GV add book and this contact has mayb4 4 numbers. Correction I can not click on her name at all without the message appearing at the bottom. This problem may stem back a few releases as I vaguely remember it happening

Could you send me a log of this which will help me know where the error is coming from so I can try and fix it?

Laughing Man 2010-01-06 04:53

Re: Dialcentral 1.0
 
Haha I can't say whether you should focus on fixing notifications or work on onering since I still use the n800 (and sadly both isn't an option =P). So I'll abstain. =P

How complex is the python used btw? I'm trying to learn python (first for automating some of the work in Excel to speed up calculations) and secondly I'm hoping to contribute to some maemo projects. Though I'm pretty much learning from scratch whenever I have time free from school and work.

Addison 2010-01-06 04:57

Re: Dialcentral 1.0
 
Hi epage.

Could you possibly post a temporary fix with text going off the screen when typing a SMS message?

If we're all forced to use the same font and font size with Dial Central, it should be easy enough to implement.

Just ask DC if the last word typed is greater than 58 total letters allowed on one line while in full screen mode. If it is, then carry that word down to the next line.

Biggest problem would be tracking in real time the total number of characters typed in each line, especially when complicated entries are being constantly modified, inserted and deleted.

Is there a way for DC to know if it's running in windowed or full screen mode?

Anyway, perhaps you could implement a similiar solution when reading SMS messages as well since the lines for these cut much too short before reaching the scrollbar.

Thanks for the continued work. :)

mrdally204 2010-01-06 06:31

Re: Dialcentral 1.0
 
you are going to have to spell out hhow to locate and send you a log file i'm a little bellow average in xterm

kevmanoeil 2010-01-06 08:00

Re: Dialcentral 1.0
 
Has anyone else had any problems logging in to telepathy. I use DialCentral perfectly fine but I can not log in to telepathy. I enter my username and password (with and without @gmail.com) and nothing happens. The sign in button gets grayed out and the only way out is to tap on an empty area.

I am using the latest version, just downloaded 5 minutes ago. No luck with older versions as well.

epage 2010-01-06 12:31

Re: Dialcentral 1.0
 
Quote:

Originally Posted by kevmanoeil (Post 455237)
Has anyone else had any problems logging in to telepathy. I use DialCentral perfectly fine but I can not log in to telepathy. I enter my username and password (with and without @gmail.com) and nothing happens. The sign in button gets grayed out and the only way out is to tap on an empty area.

I am using the latest version, just downloaded 5 minutes ago. No luck with older versions as well.

If you are talking about using The One Ring, as I said I know there are still major issues for it to even be usable for anyone so I won't provide any help to it.

epage 2010-01-06 12:33

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Addison (Post 455142)
Hi epage.

Could you possibly post a temporary fix with text going off the screen when typing a SMS message?

If we're all forced to use the same font and font size with Dial Central, it should be easy enough to implement.

Just ask DC if the last word typed is greater than 58 total letters allowed on one line while in full screen mode. If it is, then carry that word down to the next line.

Biggest problem would be tracking in real time the total number of characters typed in each line, especially when complicated entries are being constantly modified, inserted and deleted.

Is there a way for DC to know if it's running in windowed or full screen mode?

Anyway, perhaps you could implement a similiar solution when reading SMS messages as well since the lines for these cut much too short before reaching the scrollbar.

Thanks for the continued work. :)

As of 1.0.10-3 which is in Maemo 5 extras-testing and Maemo 4.1 extras-devel the issue should be fixed

epage 2010-01-06 12:33

Re: Dialcentral 1.0
 
Quote:

Originally Posted by mrdally204 (Post 455182)
you are going to have to spell out hhow to locate and send you a log file i'm a little bellow average in xterm

Code:

cp ~/.dialcentral/*.log ~/MyDocs

epage 2010-01-06 12:36

Re: Dialcentral 1.0
 
Quote:

Originally Posted by Laughing Man (Post 455139)
Haha I can't say whether you should focus on fixing notifications or work on onering since I still use the n800 (and sadly both isn't an option =P). So I'll abstain. =P

How complex is the python used btw? I'm trying to learn python (first for automating some of the work in Excel to speed up calculations) and secondly I'm hoping to contribute to some maemo projects. Though I'm pretty much learning from scratch whenever I have time free from school and work.

Notifications should work on the n800. I also hope to get The One Ring working on the n800 but that it might be too much of a pain.

I personally don't consider DIalcentral's python all that complex but I've also gone through it a whole bunch. If you want you can pick a bug (I can let you know if I think the fix is too complex and you can pick another) and I can help mentor you on getting it fixed?

Addison 2010-01-07 01:22

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 455443)
As of 1.0.10-3 which is in Maemo 5 extras-testing and Maemo 4.1 extras-devel the issue should be fixed

Thanks epage!

I was still using 1.0.9-1.

Laughing Man 2010-01-07 01:24

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 455447)
Notifications should work on the n800. I also hope to get The One Ring working on the n800 but that it might be too much of a pain.

I personally don't consider DIalcentral's python all that complex but I've also gone through it a whole bunch. If you want you can pick a bug (I can let you know if I think the fix is too complex and you can pick another) and I can help mentor you on getting it fixed?

Well I have to learn python first, I'm pretty much reading newbie and starting guides to python right now whenever I have spare time and energy.

icbolsh 2010-01-07 02:22

Re: Dialcentral 1.0
 
Just a quick comment. Epage you are still awesome. I am a constant user of Dialcentral over here in China. It is a perfect way to keep in touch with people back in the states. So thank you again for all your hard work and I am looking forward to One Ring.

epage 2010-01-08 04:24

Re: Dialcentral 1.0
 
The One Ring update:

Summary: Broken on Desktop and still broken on n900

I finally fixed the icon so it uses one of the right size.

There is a breaking difference between my version of python-telepathy on my desktop and the one on my n900. I'm slowly working on making The One Ring support both versions. Fortunately I get no major errors on the n900 like before but it still doesn't work with the UI. Sadly I spread that bad UI behavior to my desktop.

I did implement something kind of cool for the battery nazis.

Previously I would load the addressbook and never update it. I would check for new voicemails and texts every min(10*2^n seconds, 2 minutes) with n being the number of updates since a text was sent or received or every 10 minutes when idle.

Problems
* The addressbook were never updated
* Voicemails were being updated in association with sending and receiving texts which seemed odd
* There was no constant factor in updating the texts/voicemails, leading to either high latency or heavy cpu/network usage

I broke out the updating state machine into 3 state machines.

Addressbook
* When hidden, doesn't update
* When idle, updates every 6 hours
* When available, updates every hour

Voicemail
* When hidden, doesn't update
* When idle, updates every 30 minutes
* When available, updates every 5 minutes

Texts
* When hidden, doesn't update
* When idle, updates every 30 minutes
* When available, updates every min(10+2^n seconds, 10 minutes), n being the number of updates since the last text was sent or received.

I plan to eventually make those numbers configurable including setting them to never update.

munky261 2010-01-08 06:51

Re: Dialcentral 1.0
 
I read the post a bit above about the sound notification.... can you tell me exactly what I'd have to do to get a sound notification?

mrdally204 2010-01-08 07:08

Re: Dialcentral 1.0
 
munky i'm with you on this one. epage can you maybe start a new threat with the steps to get sound working. i understand not including it due to some quirky behavior, but to have the ability to have sound notification and not be able to use it is just a killer. i think a new thread would be ideal so this one doesnt get junked with our questions for an advanced/unsupported function of dialcentral.Thanks for reading and monky if you figure it before me shoot me a message!

mrdally204 2010-01-08 22:22

Re: Dialcentral 1.0
 
Epage 2 bugs to report,

1. The sorting feature for text messages appears to be broken in the newest release. If I sort be text/all nothing shows. Voicemail still works and all will show all messages.

2. The last fix you made to show my one contact indeed does work. I am able to bring up her contact info again. The 2 numbers that were causing the "Phonetype" error appears to be Home Fax and Work Fax. They now do not show any type of denomination, which is not a big deal, just letting you know!
Keep up the good work, looking forward someday to have thering one on the N810 ;)

*Edit 3 bugs
The notifier is only set up to notify on new sms, but still blinks on new voice mails. Not a biggy, just letting you know

epage 2010-01-09 00:35

Re: Dialcentral 1.0
 
Quote:

Originally Posted by mrdally204 (Post 460186)
1. The sorting feature for text messages appears to be broken in the newest release. If I sort be text/all nothing shows. Voicemail still works and all will show all messages.

Good catch, I just assumed I didn't have any :) Fixed in SVN.

Quote:

Originally Posted by mrdally204 (Post 460186)
2. The last fix you made to show my one contact indeed does work. I am able to bring up her contact info again. The 2 numbers that were causing the "Phonetype" error appears to be Home Fax and Work Fax. They now do not show any type of denomination, which is not a big deal, just letting you know!

If its fax types that have a blank phone type, unless there is a dissenting vote, I'm inclined to filter those phone numbers out instead. For now, filtered out in SVN

Quote:

Originally Posted by mrdally204 (Post 460186)
*Edit 3 bugs
The notifier is only set up to notify on new sms, but still blinks on new voice mails. Not a biggy, just letting you know

Nothing obvious is standing out to me right now. Mind filing a bug?

mrdally204 2010-01-09 00:46

Re: Dialcentral 1.0
 
Please do not filter out the numbers. I have a few contacts with more than 1 work number and its my way of sorting which is which. I can deal with no denomination next to the number but do not filter the numbers out :)

epage 2010-01-09 00:50

Re: Dialcentral 1.0
 
Quote:

Originally Posted by mrdally204 (Post 460379)
Please do not filter out the numbers. I have a few contacts with more than 1 work number and its my way of sorting which is which. I can deal with no denomination next to the number but do not filter the numbers out :)

Ok, rolling back. I don't recommend 1.0.10-6 but 1.0.10-7

epage 2010-01-09 01:14

Re: Dialcentral 1.0
 
Quote:

Originally Posted by joshua.maverick (Post 421357)
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

Sorry I've never gotten around to more feedback on this. I hesitated on starting to use the icons because of the border and sometime back I realized an issue with the border, it would look odd on desktop shortcuts

Do you mind providing a set without the border? And if you feel real generous, Quicknote could use a new icon (it got appropriate criticism over it)

cheetos316 2010-01-09 18:40

Re: Dialcentral 1.0
 
I just updated to 1.0.10-8 and I can make an outgoing call now whereas before, I wasn't able to make any outgoing calls, but outgoing calls are still buggy. If I hang up the phone call and try to make another call, it dials but doesn't connect. I've had random luck if I close DialCentral and then reopen it.

Is there anything that can be done about this?

Thanks!

epage 2010-01-09 18:56

Re: Dialcentral 1.0
 
Quote:

Originally Posted by cheetos316 (Post 461370)
I just updated to 1.0.10-8 and I can make an outgoing call now whereas before, I wasn't able to make any outgoing calls, but outgoing calls are still buggy. If I hang up the phone call and try to make another call, it dials but doesn't connect. I've had random luck if I close DialCentral and then reopen it.

Is there anything that can be done about this?

Thanks!

First we need to do a bit of information gathering. n8x0 or n900? Connection type?

What types of calback numbers did you have before (Gizmo, cell, landline, etc)? What was the previous success rate for each kind? What was the success rate with google.com/voice and google.com/voice/m? When "it doesn't connect" is Dialcentral giving an error or is the connecting failing silently? Is there any kind of sign in your GV or phones call log that an attempt was made?

The above paragraph of questions again for the new release.

epage 2010-01-10 04:45

Re: Dialcentral 1.0
 
A tiny The One Ring update.

Thanks to my friend dbus-monitor, I was able to find the last of the bugs preventing making calls from within Empathy and I got other things working again within empathy. Next week I'll take another look at running on Maemo 5 to see what is still broken.

ps I love that all the server move stuff keeps losing what I've been doing on bugzilla. Why did I decide to do major bug fix releases for 3 pieces of software the same weekend as the move?

cheetos316 2010-01-10 06:46

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 461398)
First we need to do a bit of information gathering. n8x0 or n900? Connection type?

What types of calback numbers did you have before (Gizmo, cell, landline, etc)? What was the previous success rate for each kind? What was the success rate with google.com/voice and google.com/voice/m? When "it doesn't connect" is Dialcentral giving an error or is the connecting failing silently? Is there any kind of sign in your GV or phones call log that an attempt was made?

The above paragraph of questions again for the new release.

I am using N810 with wifi. Callback to Gizmo. Previous success rate was 0. Not sure what the difference between google.com/voice and google.com/voice/m is. When it doesn't connect, no error messages show up. It dials, and then nothing happens. There is no sign in the history tab of DialCentral that the attempt was even made.

It seems pretty consistent that the first call outgoing upon opening DialCentral will go through. After hanging up, all subsequent calls will not go through. If I exit out of DialCentral and then reopen it, the first outgoing call will work and all subsequent calls again will not go through.

Let me know if you need anymore info.

Thanks again!

heavyt 2010-01-11 14:23

Dialcentral 1.0.10-8 Notification, Call-Back functions
 
Notification function now works in 1.0.10-8 on N810. :D

Call-Back functions fails for GV phone # when using DC. Same number works at GV website. Here is the log showing errors:

Code:

INFO:dialcentral:Dialcentral 1.0.10-8
INFO:dialcentral:OS: Linux
INFO:dialcentral:Kernel: 2.6.21-omap1 (#2 Tue Oct 14 11:25:25 EEST 2008) for armv6l
INFO:dialcentral:Hostname: Nokia-N810-WiMAX-43-7
INFO:browser_emu:Performing download of https://www.google.com/voice/mobile/phones
INFO:dc_glade:Logged into <backends.gv_backend.GVDialer object at 0x40cd3250> through cookies
INFO:gvoice.backend:Callback number changed: '747XXXXXXX'
INFO:gv_views:Callback number set to 747XXXXXXX
INFO:dc_glade:Logged into <backends.gv_backend.GVDialer object at 0x40cd3250> through cookies
INFO:gvoice.backend:{'subscriberNumber': 'undefined', 'remember': '1', 'phoneType': '7', 'forwardingNumber': '747XXXXXXX', 'outgoingNumber': '1800872XXXX'}
INFO:browser_emu:Performing download of https://www.google.com/voice/call/connect
ERROR:gtk_toolbox:There was a problem with GV: {'data': {'code': 20}, 'ok': False}
Traceback (most recent call last):
  File "/usr/lib/dialcentral/dc_glade.py", line 870, in _on_dial_clicked
    self._phoneBackends[self._selectedBackendId].call(number)
  File "/usr/lib/dialcentral/backends/gv_backend.py", line 79, in call
    return self._gvoice.call(outgoingNumber)
  File "/usr/lib/dialcentral/backends/gvoice.py", line 349, in call
    self._parse_with_validation(page)
  File "/usr/lib/dialcentral/backends/gvoice.py", line 721, in _parse_with_validation
    validate_response(json)
  File "/usr/lib/dialcentral/backends/gvoice.py", line 800, in validate_response
    raise RuntimeError('There was a problem with GV: %s' % response)
RuntimeError: There was a problem with GV: {'data': {'code': 20}, 'ok': False}


epage 2010-01-11 14:31

Re: Dialcentral 1.0
 
Quote:

Originally Posted by cheetos316 (Post 462017)
I am using N810 with wifi. Callback to Gizmo. Previous success rate was 0. Not sure what the difference between google.com/voice and google.com/voice/m is. When it doesn't connect, no error messages show up. It dials, and then nothing happens. There is no sign in the history tab of DialCentral that the attempt was even made.

It seems pretty consistent that the first call outgoing upon opening DialCentral will go through. After hanging up, all subsequent calls will not go through. If I exit out of DialCentral and then reopen it, the first outgoing call will work and all subsequent calls again will not go through.

Let me know if you need anymore info.

Thanks again!

What was this previous version? Sounds like 1.0.8-X. What about detailing the same behavior for the new version? There is a known issue with callbacks and Gizmo. In 1.0.8-X and before it failed silently. In 1.0.9-X and above it returns the error heavyt reported. Everything should work with regular phones for callback. People have reported the main GV page works but the mobile GV page has the same behavior as Dialcentral.

Could you look at Gizmo's call history (especially on their webpage to remove the client as a possible source) to see if anything shows up?

Since you have the callbacks work at first and then not, I would especially be interested in your log file. Ctrl+l copies the log, and then paste it somewhere to upload.

The most frustrating part of this issue is I can't even get Gizmo to work so I can't debug it on my end.

Quote:

Originally Posted by heavyt (Post 464197)
Notification function now works in 1.0.10-8 on N810. :D

Call-Back functions fails for GV phone # when using DC. Same number works at GV website. Here is the log showing errors:

Code:

INFO:dialcentral:Dialcentral 1.0.10-8
INFO:dialcentral:OS: Linux
INFO:dialcentral:Kernel: 2.6.21-omap1 (#2 Tue Oct 14 11:25:25 EEST 2008) for armv6l
INFO:dialcentral:Hostname: Nokia-N810-WiMAX-43-7
INFO:browser_emu:Performing download of https://www.google.com/voice/mobile/phones
INFO:dc_glade:Logged into <backends.gv_backend.GVDialer object at 0x40cd3250> through cookies
INFO:gvoice.backend:Callback number changed: '747XXXXXXX'
INFO:gv_views:Callback number set to 747XXXXXXX
INFO:dc_glade:Logged into <backends.gv_backend.GVDialer object at 0x40cd3250> through cookies
INFO:gvoice.backend:{'subscriberNumber': 'undefined', 'remember': '1', 'phoneType': '7', 'forwardingNumber': '747XXXXXXX', 'outgoingNumber': '1800872XXXX'}
INFO:browser_emu:Performing download of https://www.google.com/voice/call/connect
ERROR:gtk_toolbox:There was a problem with GV: {'data': {'code': 20}, 'ok': False}
Traceback (most recent call last):
  File "/usr/lib/dialcentral/dc_glade.py", line 870, in _on_dial_clicked
    self._phoneBackends[self._selectedBackendId].call(number)
  File "/usr/lib/dialcentral/backends/gv_backend.py", line 79, in call
    return self._gvoice.call(outgoingNumber)
  File "/usr/lib/dialcentral/backends/gvoice.py", line 349, in call
    self._parse_with_validation(page)
  File "/usr/lib/dialcentral/backends/gvoice.py", line 721, in _parse_with_validation
    validate_response(json)
  File "/usr/lib/dialcentral/backends/gvoice.py", line 800, in validate_response
    raise RuntimeError('There was a problem with GV: %s' % response)
RuntimeError: There was a problem with GV: {'data': {'code': 20}, 'ok': False}


So same Gizmo Specific error as we've known about?

heavyt 2010-01-11 16:25

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 464216)
So same Gizmo Specific error as we've known about?

Yes, the same. But I am able to use GV mobile webpage on my N810 to make calls using GV phone number as the call-back number.

epage 2010-01-11 16:38

Re: Dialcentral 1.0
 
Quote:

Originally Posted by heavyt (Post 464454)
Yes, the same. But I am able to use GV mobile webpage on my N810 to make calls using GV phone number as the call-back number.

Quote:

GV Phone number
Quote:

You keep using that word. I do not think it means what you think it means.
-- Inigo Montoya (Princess Bride)

Twice you used "GV phone number". The first was in connection with a log that had a Gizmo phone number. The second was in this post.

To me "GV phone number" implies your Google Voice Account number and not one of your listed callback numbers.

Correct me if I'm wrong but I'm assuming you mean your Gizmo callback number again? So you are telling me that google fixed the mobile page with Gizmo? if so, that is interesting. In the mobile "settings" page you can configure default callback number. Do you have any enabled besides your Gizmo number?

heavyt 2010-01-11 17:44

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 464478)
-- Inigo Montoya (Princess Bride)

Twice you used "GV phone number". The first was in connection with a log that had a Gizmo phone number. The second was in this post.

To me "GV phone number" implies your Google Voice Account number and not one of your listed callback numbers.

Correct me if I'm wrong but I'm assuming you mean your Gizmo callback number again? So you are telling me that google fixed the mobile page with Gizmo? if so, that is interesting. In the mobile "settings" page you can configure default callback number. Do you have any enabled besides your Gizmo number?

You are correct in assuming I meant to say my Gizmo callback number (sip number that gizmo gave me). I only have the Gizmo number enabled in the mobile page but I can set other numbers (numbers that are listed in the Google Voice account settings).

epage 2010-01-11 17:54

Re: Dialcentral 1.0
 
Quote:

Originally Posted by heavyt (Post 464638)
You are correct in assuming I meant to say my Gizmo callback number (sip number that gizmo gave me). I only have the Gizmo number enabled in the mobile page but I can set other numbers (numbers that are listed in the Google Voice account settings).

That is actualyl a very good data point to go off of if having something else enabled as a default will break GV. If it does, I can switch Dialcentral to setting the callback as the only default phone and then everything should be peachy.

mrdally204 2010-01-11 18:45

Re: Dialcentral 1.0
 
For people having trouble with gizmo call back, are you connected via wifi or 3g? If wifi, is there another gizmo5 account or even VOIP account connected to this IP. Is your router fairly old? I was at my brothers house and was having all kinds of issues. He had an old router and a gizmo account on an ATA. He updated his router and we play along just fine now.

Epage what problems are you having with gizmo5? I've had mine registered with the sipphone setting and a simple SIP log in and both work great. See if setting up a stun server helps at all. Also if you still know your gizmo account, you can try changing the password. Or if all else fails, use sipsorcery.com to register your gizmo account and log into their sip settings and should function the same.

heavyt 2010-01-11 19:05

Re: Dialcentral 1.0
 
Quote:

Originally Posted by epage (Post 464671)
That is actualyl a very good data point to go off of if having something else enabled as a default will break GV. If it does, I can switch Dialcentral to setting the callback as the only default phone and then everything should be peachy.

I hope you right. The way things are going I feel the problem is on Gizmo side. As of now Gizmo is not working for me. Can not make calls via the webpage nor via the internet call app on N810....O.K I can now make calls via internet app but webpage is a no go!!?? :confused: :mad:


now webpage is working, what's up gizmo?!

mrdally204 2010-01-11 19:37

Re: Dialcentral 1.0
 
I also have gizmo set up as line 2 at my house. I have noticed when people call my google voice and my home phone will ring where my gizmo 5 will not. So you may just be seeing growing pains as they transition over to google, or an over loaded SIP server as everyone flooded the gates when they heard google bought it up as google shuts down sign ups on new acquisitions....... Or Epage just cant seem to program ;)

epage 2010-01-12 04:31

Re: Dialcentral 1.0
 
For the Truly Adventerous

Code:

#!/usr/bin/python

import sys
sys.path.insert(0,"/usr/lib/dialcentral")
import logging

import gvoice.backend as backend


def main():
        logging.basicConfig(level=logging.DEBUG)

        args = sys.argv
        username = args[1]
        password = args[2]

        PHONE_TYPE_HOME = 1
        PHONE_TYPE_MOBILE = 2
        PHONE_TYPE_WORK = 3
        PHONE_TYPE_GIZMO = 7

        outgoingNumber = args[3]
        forward = args[4]
        subscriber = args[5] # Number or "undefined"
        phoneType = args[6] # See PHONE_TYPE_*
        remember = args[7] # "1" or "0"
        if len(args) == 9:
                cookiePath = args[8]
        else:
                cookiePath = None

        b = backend.GVoiceBackend(cookiePath)
        b.login(username, password)
        assert b.is_authed()

        callData = {
                        'outgoingNumber': outgoingNumber,
                        'forwardingNumber': forward,
                        'subscriberNumber': subscriber,
                        'phoneType': phoneType,
                        'remember': remember,
        }
        logging.info("%r" % callData)

        page = b._get_page_with_token(
                b._callUrl,
                callData,
        )
        print page


if __name__ == "__main__":
        main()

example run
Code:

> ./call.py USERNAME PASSWORD 18005558355 CALLBACK undefined 2 1
DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/m
DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/accounts/ServiceLoginAuth
INFO:root:{'subscriberNumber': 'undefined', 'remember': '1', 'phoneType': '2', 'forwardingNumber': 'XXXXXXXXXX', 'outgoingNumber': '18005558355'}
DEBUG:gvoice.browser_emu:Performing download of https://www.google.com/voice/call/connect
{"ok":true,"data":{"code":0}}

I'd be curious if people are able to get things working with a combination of "remember" being "1"/"0", cookie file set or not, subscriber number set or left "undefined", phoneType being of different values, etc

ps Tell Me (1-800-555-TELL) must really be hating me because they are a common target of my testing.


All times are GMT. The time now is 06:02.

vBulletin® Version 3.8.8