maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] VICaR: Value International Call Router (Calling Card Helper) (https://talk.maemo.org/showthread.php?t=52374)

activemind 2010-07-16 02:37

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by fcrochik (Post 753466)
You sure know how to get my attention... Now I will have to find out and I am sure this will lead to some more hours trying to develop something new :)

By the way: like I said before our goals are close aligned...
Of course I was just concerned about skype-to-skype, skypeout, phone and google voice. Until coming across this thread I had never thought about calling cards... now thanks to VICaR I can handle even more scenarios.

My original goal was quite simple (not to implement): I want to double click on a contact thumbnail seating on my desktop and want the phone to decide how to "make contact" according to my current internet connection, relative location (local call, national call, international call), my (and the contacts') presence status with different services, global settings, contact group settings and per contact settings. I could go even crazier and have different settings depending on the time of the day.

Simply put I don't want to have to think what is the best way to reach some one I just want done! :)

Excellent! This is EXACTLY what I want, I just to stir the pot by throwing SIP and CC in the mix!!

alienhead 2010-07-16 02:42

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by fcrochik (Post 753452)
The truth: because I never used them so I don't even know how they work or if I could make them work on MyContacts :)

If you give me the basic directions of how to setup and use I will look into it.

Dang! my coding skills, defeat me again. :confused:

scifi.guy 2010-07-16 03:51

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by activemind (Post 753463)
Is this something we can port over to vicar, because I think MyContacts is a great application but just not that useful for people like me. Personal taste, but I dont like my entire screen to be just my contacts. I like to show it off with the multiple things the phone can do and apps I use most of the time (music player, emails, IMs, texts, weather, calendar etc), when I want to call someone, just slide the keyboard and type few alphabets and the contact shows up.
Only Home and Wifey get space on my desktop :-)

The problem with the current VICaR design is that there is no way for the app to know "when" the user wants to make a call and which number to call. It is just a daemon. There is no dialpad or contacts list within the application. So we let the user make a call, verify whether it is an international number (not excluded), capture the number and then cancel the call. This could get delayed if the Phone is busy running multiple apps. This is definitely not the best way.

AFAIK there are two ways to improve the scenario.

1 - Use a custom application (like MyContacts) to display contacts and initiate the call from that application.

Pros: Can customize UI as much as we want.
Cons: Cannot use Maemo/N900's built-in features and phone shortcuts. (like launching contacts by sliding keyboard and typing).

2 - Integrate with Maemo's contacts (Screenshot from Dawid).

Pros: With few additional steps can use Maemo's contacts.
Cons: Contact page looks cluttered if multiple phone numbers are stored.

With both of these options, VICaR knows which number to dial and will directly place the call to CC and send DTMF. So the current risk of getting charged for directly calling international numbers will be avoided.

We already have solution #1 in place with MyContacts-VICaR integration. I am working on solution #2. Most of the calling card based apps I know use either of these solutions.

If any of you could think of some other approach, do let me know :)

evad 2010-07-16 19:49

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by scifi.guy (Post 753498)
We already have solution #1 in place with MyContacts-VICaR integration. I am working on solution #2. Most of the calling card based apps I know use either of these solutions.

Solution #2 is also better in the way that it doesn't require external dependency in place (installing MyContacts app/widget) to make it "just work" - direct integration with interface already provided by OS is just perfect. Btw, don't get me wrong @fcrochik, I don't have anything against MyContacts in particular, however personally I'd rather avoid installing additional applications which I don't originally intend to use, just in order to use that one particular feature.

pmudgal 2010-07-21 14:54

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
@scifi.guy, this works well for my kind of calling card. I have a problem though, I am unable to get a comma when trying to entire multiple number formats in the exclude field, can't find anything on this in the thread.

As regards the call routing discussion that is underway, I am not an expert, I just dabble with these things. I had a Linksys Sipura ATA a while back and that used to something called a dial plan that you could configure to route calls through lowest cost providers based on dialled number format.

Not sure if links are permitted, but I am pasting a link that Linksys-Sipura provided for help in configuring these devices.

http://ui.linksys.com/files/SIPURA/S...nced_Voice.htm

Look at Voice -> FXS 1 ->Dial Plan, not sure if this helps you gentlemen.

I can also see if there is a User Guide/ Technical Guide somewhere if it helps.

ddwalker 2010-07-22 06:57

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Hi, do you think this app would work with Google Voice? How shall I set it up to make international calls via Google Voice? Thanks!

fcrochik 2010-07-22 11:56

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by ddwalker (Post 760318)
Hi, do you think this app would work with Google Voice? How shall I set it up to make international calls via Google Voice? Thanks!

Yes, it can work by calling your "gv phone number", pause, 2, phone number, ...

EDIT: I forgot about the PIN...look at the second post down for more details.

scifi.guy 2010-07-22 16:34

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by pmudgal (Post 759304)
@scifi.guy, this works well for my kind of calling card. I have a problem though, I am unable to get a comma when trying to entire multiple number formats in the exclude field, can't find anything on this in the thread.

pmudgal - This is a bug. Will fix it asap. Thank you for the info on Sipura configuration.

scifi.guy 2010-07-22 16:57

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by fcrochik (Post 760655)
Yes, it can work by calling your "gv phone number", pause, 2, phone number, ...

Also, If you are calling international numbers with GV make sure you set the "Format required for DTMF tone" to 011<Country Code><Area Code><Phone Number>

If you have set your voice mail PIN, enter in the prefix before DTMF tone field (eg: 1234p2p where 1234 is the pin)

ddwalker 2010-07-23 01:07

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by scifi.guy (Post 761062)
Also, If you are calling international numbers with GV make sure you set the "Format required for DTMF tone" to 011<Country Code><Area Code><Phone Number>

If you have set your voice mail PIN, enter in the prefix before DTMF tone field (eg: 1234p2p where 1234 is the pin)

Thanks.
So here is my VICaR setting:
Basic:
International Call Routing: Enabled
Calling Card Number: my GV number
Country Codes to Exclude: +1

Advanced:
Format required for DTMF tone: 011<Country Code><Area Code><Phone Number>
Prefix before DTMF tone: 1234p2p
Suffix after DTMF tone: (blank)

When I dial an international number, it did call the google voice number. But after that, I can hear the GV talking to me, asking me to enter my PIN etc. But my phone didn't do anything.

Anything I did wrong? Thanks!

scifi.guy 2010-07-23 01:50

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by ddwalker (Post 761575)
Thanks.
So here is my VICaR setting:
Basic:
International Call Routing: Enabled
Calling Card Number: my GV number
Country Codes to Exclude: +1

Advanced:
Format required for DTMF tone: 011<Country Code><Area Code><Phone Number>
Prefix before DTMF tone: 1234p2p
Suffix after DTMF tone: (blank)

When I dial an international number, it did call the google voice number. But after that, I can hear the GV talking to me, asking me to enter my PIN etc. But my phone didn't do anything.

Anything I did wrong? Thanks!

Enter "Suffix after DTMF tone" as # and try.

ddwalker 2010-07-23 05:21

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by scifi.guy (Post 761602)
Enter "Suffix after DTMF tone" as # and try.

Wow, that worked perfectly. Thank you so much!
One more question, do I need to keep VICaR running to make these international calls?

scifi.guy 2010-07-23 13:57

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
You can enable the call routing and close the settings window. VICaR daemon will run in the background all the time.

ddwalker 2010-07-23 18:38

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by scifi.guy (Post 762233)
You can enable the call routing and close the settings window. VICaR daemon will run in the background all the time.

Great, thanks.

JonJennings 2010-08-05 21:32

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Glad I read the whole thread through... was just about to file a bug report for "unable to enter comma in country codes to exclude" but found it's already been reported.

There's a couple of North American metropolitan areas where this is an issue because they're run out of numbers and created overlays. For example I have a +1604 number but can also dial +1778 as local (eg my wife's cellphone is 778) so I need to exclude "+1604,+1778"

[Annoyingly there are some 604 and 778 numbers which ARE long distance, but they're the minority]

You've probably found the issue already but, in case you haven't, it's cos you specify the ImhDigitsOnly InputMethodHint for the lineEditCountryCodesToExclude field

Great app by the way - one of the core missing features on the N900 as far as I was concerned.

scifi.guy 2010-08-06 01:04

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
@JonJennings - The fix for the Country Codes to exclude is already included in the next version. But because of an unresolved issue with Telepathy code I haven't released it yet. It should be available soon.

JonJennings 2010-08-07 05:29

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
Quote:

Originally Posted by scifi.guy (Post 777258)
@JonJennings - The fix for the Country Codes to exclude is already included in the next version.

Thanks! It's apps, people and community like this that makes the whole Maemo world so wonderful :-)

scifi.guy 2010-08-07 18:58

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper) released to extras-devel
 
2 Attachment(s)
VICaR v0.4 released to extras-devel. Here is the change log.

* Added Maemo contacts integration.
* VICaR will no longer intercept calls, calls have to be initiated from Dialpad, Maemo Contacts or MyContacts only.
* Fixed a bug that prevents comma in Country Codes to Exclude field.

Thanks to Alberto, Ed and Felipe for helping me with those never-ending telepathy issues :)

Starting with this release, All calls to be routed through VICaR should be initiated from contacts page using 'Call via Vicar' or from dialpad by selecting Vicar from drop down menu.

Please keep in mind that if you initiate a call by selecting the regular phone button (Green phone icon) your call will routed via your cellular operator and you will be charged as per international rates.

Edit: In previous versions of Vicar, there was a risk that an international call is not disconnected on time and you would be charged for that. The purpose of this change is to avoid such issues. There is no intercepting concept from now on, Vicar will directly call the CC/Google-out/Skype-Out number.

scifi.guy 2010-08-09 15:24

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
There are couple of installation issues with version 0.4-1.

1) Call via Vicar button is not displayed after installation.

2) Calls to CC/GV/SO are not initiated (Only the call ending screen appears).

I submitted bug fix release 0.4-2 for issue #2, but #1 seems to be intermittent. If you installed the latest release of VICaR and are facing issue #1, please post a reply here.

evad 2010-08-09 16:16

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
1 Attachment(s)
Unfortunately, I have trouble upgrading Vicar. Firstly I've tried with fapman, selected few packages to upgrade, including Vicar, yet it thrown some error before even downloading anything. I didn't take too much care about that, as I assumed it's an issue with fapman itself. Then I tried with HAM, upgraded only Vicar, but it said "Unable to upgrade". :-o I've looked briefly in HAM log, which said something about creating telepathy account error.

Sorry for being a bit vague on this, I'm at work and can't investigate that closely, but I'll keep trying.

UPDATE:
HAM now shows Vicar with status "Broken but updateable" (see screenshot attached), when I try to update, it throws "Unable to upgrade" error followed by crash-reporter popping up about Vicar-telepathy crash. I've sent that crash report away, but don't know whether you get them at all. Then I looked in HAM log, which says:
Code:

Upgrading vicar 0.4-2 to 0.4-2
apt-worker: free space (/) = 55177216
required disk space: 0
result code = 0
apt-worker: free space (/) = 55177216
Setting up vicar (0.4-2) ...
Sarting Vicar daemon ...
Sarting Vicar-Telepathy ...
Creating Vicar Telepathy account ...
Failed to open connection to "session" message bus: (null)
dpkg: error processing vicar (--configure):
 subprocess post-installation script returned error exit status 1
Error occurred while connecting to DBus interface
VICaR account not found. Creating ..
Error creating VICaR telepathy account  QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
Unable to register service org.freedesktop.Telepathy.ConnectionManager.vicar with session bus.
Registered DBus Service  org.maemo.vicar
Errors were encountered while processing:
 vicar

Hope that helps.

scifi.guy 2010-08-09 18:11

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Failed to open connection to "session" message bus: (null)

is the key. The post install script is being run as root and cannot connect to session bus. I'm trying to fix it.

Meanwhile command-line based update is working fine (apt-get install vicar) as root.

evad 2010-08-09 21:03

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Works indeed. Thanks!

scifi.guy 2010-08-10 01:13

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Another bug fix version 0.4-3 released to fix the post installation error. Unfortunately there is no way for me to test the new command other than pushing a release.

So, if any of you get the update soon, let me know how it went.

evad 2010-08-10 13:21

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by scifi.guy (Post 780978)
Another bug fix version 0.4-3 released to fix the post installation error. Unfortunately there is no way for me to test the new command other than pushing a release.

So, if any of you get the update soon, let me know how it went.

Fapman has successfully installed the upgrade this time round, yet again just after the upgrade I've got vicar-telepathy package crash, which crash reporter has notified me about.

scifi.guy 2010-08-10 13:43

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Can you send me the log if possible?

evad 2010-08-10 13:48

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by scifi.guy (Post 781579)
Can you send me the log if possible?

I didn't save it anywhere. Do you know whether it's stored in some file to retrieve after install/upgrade? Otherwise I might remove and install Vicar again.

evad 2010-08-10 17:52

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Spotted issues with Vicar after the latest upgrade:
1) vicar-telepathy package crashes quite frequently. Died first during cellular phone call, second time after establishing internet connection (cellular).
2) It is unable to place call via Vicar by tapping a button in contact card, as it complains with "Internet connection required" message - even when connection is established.

scifi.guy 2010-08-10 22:12

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
@evad - I have lot of questions for you.

Before we start troubleshooting, can you reproduce these issues at will? Or is it intermittent?

Send me the output of this command:
Code:

ldd /opt/vicar/vicar-telepathy

evad 2010-08-10 22:31

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by scifi.guy (Post 782184)
@evad - I have lot of questions for you.

Before we start troubleshooting, can you reproduce these issues at will? Or is it intermittent?

I can reproduce it - it crashes each time internet connection is established, both wifi and cellular.

Quote:

Send me the output of this command:
Code:

ldd /opt/vicar/vicar-telepathy

Code:

        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0x40025000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x400c5000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x4011d000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x403ee000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4040e000)
        libm.so.6 => /lib/libm.so.6 (0x404ef000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40565000)
        libc.so.6 => /lib/libc.so.6 (0x40577000)
        libz.so.1 => /usr/lib/libz.so.1 (0x413d0000)
        libdl.so.2 => /lib/libdl.so.2 (0x4069c000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x406a7000)
        librt.so.1 => /lib/librt.so.1 (0x406b3000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x406c2000)
        /lib/ld-linux.so.3 (0x40000000)


pmudgal 2010-08-12 11:11

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
@scifi.guy, the exclude numbers works fine now for multiple entries with commas used.

Quick question, the Contacts integration is fab, but is it supposed to provide a Call via Vicar option for those numbers that are excluded too? What happens if you use Call via Vicar for those numbers?

scifi.guy 2010-08-12 13:53

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
If a number is excluded, the call will be placed directly via your mobile operator (as intended).

Unfortunately it is not possible to hide/display the "Call via VICaR" option selectively.

scifi.guy 2010-08-12 14:00

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
ATM there are two known issues with the latest release.

1) The message "This contacts application does not support calls" appears whenever you select "Call via Vicar" option. However call is placed.
2) Enabling/Disabling vicar does not do anything.

julian167 2010-08-13 18:08

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Did anyone try to do messaging after installing VICaR and setting up the calling card number? Everytime I go to just read my messages (SMS), it does not display them and it tries to dial the calling card number through VICaR. Is there any workaround or fix for this?

Thanks scifi.guy for all the terrific work you have been doing.

scifi.guy 2010-08-13 21:47

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by julian167 (Post 785543)
Did anyone try to do messaging after installing VICaR and setting up the calling card number? Everytime I go to just read my messages (SMS), it does not display them and it tries to dial the calling card number through VICaR. Is there any workaround or fix for this?

Confirming. If you open any SMS from an international number, the calling CC interface shows up. At this point, I am not 100% sure whether a call is actually placed. But it is a bug nonetheless. Will fix it asap.

I also get the error "Text message delivery failed for xyz" for all other SMS. Do you get that too?

julian167 2010-08-13 23:08

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by scifi.guy (Post 785789)
Confirming. If you open any SMS from an international number, the calling CC interface shows up. At this point, I am not 100% sure whether a call is actually placed. But it is a bug nonetheless. Will fix it asap.

I also get the error "Text message delivery failed for xyz" for all other SMS. Do you get that too?

Yes. I get the same error message too and the message contents is not being displayed.

drangina 2010-08-19 05:23

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
found the same bug here http://talk.maemo.org/showthread.php...290#post790290

also when i install the update of vicar it says unable to update.

activemind 2010-08-22 16:32

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
I am unable to update for the past couple of releases. It gives me an error saying unable to update ViCAR, anyone else seeing this or this is a known problem?

scifi.guy 2010-08-23 13:47

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by activemind (Post 795058)
I am unable to update for the past couple of releases. It gives me an error saying unable to update ViCAR, anyone else seeing this or this is a known problem?

This is a known problem. I thought I fixed it in the previous release but apparently it is still there. I released another version (0.4-4) that should fix the update error.

I am still working on the fix for SMS issue that julian167 and drangina reported.

fw190 2010-08-23 15:35

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
Quote:

Originally Posted by scifi.guy (Post 795873)
This is a known problem. I thought I fixed it in the previous release but apparently it is still there. I released another version (0.4-4) that should fix the update error.

I am still working on the fix for SMS issue that julian167 and drangina reported.

I can only say taht uninstalling the app fixes the problem for me. I will wait until ths bug is fixed. Convesations are more important ;)

pmudgal 2010-08-27 20:17

Re: [Announce] VICaR: Value International Call Router (Calling Card Helper)
 
@scifi.guy - strange issue, just went through the threads, didn't find anything relevant - i reflashed my n900, installed vicar, it installs fine, set it up, but neither does it show up in the dialer nor does it show up in contacts?

i also uninstalled and reinstalled, no happiness...:confused:


All times are GMT. The time now is 08:13.

vBulletin® Version 3.8.8