Mobiion Forum  
May 23, 2012, 03:38:51 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1   Go Down
  Print  
Author Topic: only from friends?  (Read 2971 times)
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: March 01, 2009, 12:50:17 pm »

hello all!

I'm trying to configure MagiCall to ignore all calls except those from my friends.

0)I have friends categorised with "Outlook category" as "Friends".
1)I defined a rule "Accept Friends" for contacts with category "Friends" with "System default" action.
2)I defined a rule below that "Ignore the rest" with Filter type "All" with "Ignore" action.
3)I assigned "Friends" category to my home number as well, just for testing MagiCall.
Right?
I did it almost the same way as specified here http://www.mobiion.com/forum/index.php?topic=334.0

So I have:
1)When I start MagiCall, and call to my cellular from home, cellular ignores me, despite home number is "Friends".
2)When I quit MagiCall, and call to my cellular from home, cellular works normally (as expected to be without MagiCall).

Therefore I have a question:
How should I configure rules so "Friends" can call me, and all others would be ignored (without illumination, buzzes, jumping)?
Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #1 on: March 01, 2009, 01:01:44 pm »

Done an additional test
In the rule "Accept friends" changed Filter type to "Contacts" and added a single contact - my home number.

Cellular with MagiCall accepted my call.
It looks like "Outlook category" filter fails to recognise numbers and the call falls down to "Ignore the rest" rule.
Why?
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #2 on: March 01, 2009, 01:56:36 pm »

That shouldn't be. I just tested the feature and found no problem.

I am a little confused. You said you added your home number as a single contact for your second test, then how you assigned a category to it for the first test?
Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #3 on: March 01, 2009, 05:58:57 pm »

preparation:

0)contact "home" is categorised as "Friends" and has a certain number.
press "Start\Programs\Contacts", find "Home", select it, "Menu\Edit"(contact is opened for editing), scroll down to "Categories",
click on it(see the list of categories found in Outlook contacts), turn checkbox "Friends" on, "ok", "ok", "×", "×".
ok?

test 1
1.1) create rules:
rule I) "Allow Friends"
type "Incoming call"
Filter type "Outlook Category"
Category "Friends"
Action1 "System default"
Action2 "Do nothing"
rule II) "Ignore the rest"
type "Incoming call"
Filter type "Incoming call"
Filter type "All"
Action1: "Ignore"
Action2: "Do nothing"

right?

1.2)Call from home to cellular. Outcome: cellular ignores home calls.

test2
2.1) create rules:
rule I) "Allow Friends"
type "Incoming call"
Filter type "Contacts"
Phone# "the one i have in my home. okay?"

Action1 "System default"
Action2 "Do nothing"
rule II) "Ignore the rest"
type "Incoming call"
Filter type "All"
Action1: "Ignore"
Action2: "Do nothing"

Almost like we had before

2.2)Call from home to cellular. Outcome: cellular rings aloud.

For me it means that in test 1 MagiCall fails to match calling and phonebook contacts by category.
Am I correct?
« Last Edit: March 01, 2009, 06:08:34 pm by vixen » Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #4 on: March 01, 2009, 07:39:44 pm »

Looks no problem. It seems MagiCall did not retrieve category information from contacts.
How many contacts are in your phonebook?

You may try to soft reset your device and see if there is any improvement.

Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #5 on: March 01, 2009, 07:52:34 pm »

i hardresetted entire device and installing all the stuff that was erased. every second piece of stuff requires reboot. my reboot counter = 20 for past 10 hours...  Sad

i have about 500 contacts (cannot delete old phones of versity friends and dean, my physicians and dentist, former colleagues - sometimes i need to find them)
« Last Edit: March 01, 2009, 07:56:37 pm by vixen » Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #6 on: March 01, 2009, 09:45:21 pm »

I add some debug codes to the attached MGC.exe, please run it on your device and repeate the problem. Hope we can get some useful information through it.

You should exit the running instance of MagiCall and then copy the attached file to any folder on your device, for example "\debug\", and then run the file there. And repeate the problem. You will see one or two poping up window with some information, just give me what you see from the screen.

Many thanks.

* MGC.exe (98.38 KB - downloaded 115 times.)
Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #7 on: March 02, 2009, 12:31:13 am »

roger
wilco
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #8 on: March 02, 2009, 03:04:22 am »

What? You should see message boxes with "Phase 1" or "Phase 2" as the title. Can you capture a screen shot with what you see? Many thanks.
« Last Edit: March 02, 2009, 03:06:14 am by admin » Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #9 on: March 02, 2009, 04:38:42 am »

"roger"="received and understood"
"wilco"="will comply"

test 1

home=vip category.
rule1=category friends, business, vip, default action. after that rule2 ignore all. other rules about sms deleted.
magicall minimised to tray icon.
dialled from home.
cellular message on screen:
Quote
Phase 1____________________ok
Phone=+7########## <i guess that exact number does not matter>
Name=(null)
Node=1AD2A90
Rt=1AE3690
i hung up home phone, pressed "ok"
Quote
Phase 2 (category)__________ok
<no text in the message box>
pressed "ok"
again Phase 1 window appeared
Quote
Phase 1____________________ok
Phone=+7##########
Name=(null)
Node=1AD2A90
Rt=1AE1DD0
pressed "ok"
again empty Phase 2 window appeared
pressed "ok"

test finished. PDA did not ringed. PDA receives operator's sms about missed call normally (i configured it 2 years ago with another cellular phone).

test 2
conditions as in test 1
dialled from home.
Phase1
Name=(null)
Node=1AD2A90
Rt=1AE2C60
pressed ok, got empty message box about phase 2 as described above, pressed ok.
Phase1
Name=(null)
Node=1AD2A90
Rt=1AE13A0
pressed ok, got empty message box about phase 2 as described above, pressed ok.
hung up home phone. PDA receives operator's sms about missed call normally

test 3

home=vip category.
rule1=contact [from outlook], default action. after that rule2 ignore all.
dialled from home.
PDA rings without messages. hung-up home phone. PDA has notice about missed call.

test 4
conditions as in test 3
dialled from home
PDA rings without messages. accepted call from PDA, the hung-up PDA. no notices, as in normal conversation.

p.s.noticed that Phase 1(first) and Phase 1(second) in "test 1" displayed different Rt, so i conducted test1 again after 2,3 and 4.
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #10 on: March 02, 2009, 01:02:30 pm »

Thank you for the testing. There is a problem about getting category information from contacts on your phone.
According to your test results, MagiCall found the contact correctly, and then it called IContact.get_Categories(), but it returned nothing.

One possible reason about this is that you have multiple contacts in the phonebook with your home number, and one of them does not have any category information. We use Microsoft API FindMatchingContact() to look for matching contacts. This function has a limitation - it returns only one result. So that if you have several contacts with a same phone number, the returned one maybe is not what you want. It might cause this problem.

Thanks.
Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #11 on: March 02, 2009, 08:47:56 pm »

thanks. will check my phonebook carefully for duplicates.
so, IContact.get_Categories() has phone number as an argument, not contact surrogate id or name?
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #12 on: March 02, 2009, 09:46:11 pm »

No, FindMatchingContact() accepts phone numbers as parameters, read this http://msdn.microsoft.com/en-us/library/ms853732.aspx
Logged
vixen
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #13 on: March 03, 2009, 06:14:10 am »

And which category it returns when contact categorised as "Friends" and "Business" at the same time?



You are absolutely correct about duplicating numbers.
sony ericsson w890i (which is bugged now and sony-ericsson denied to talk to me after I raised 5 issues in their issue tracker) had a specific contact "me myself". Dunno why they done it. Probably for returning lost and found apparatus, so I filled it with my home number too along with other ways to contact me. Contact left uncategorised. When I migrated from "MyPhone Explorer" PC-software (masterpiece of software I'd say - ergonomics and functionality is the one which I dream about and consider as my own etalon of programming), contact was copied as decent one by lookout and activesync into new HTC BlackStone as well.
I could say that it is _your_ problem logically (because not specified in manual), but what the heck - I am a programmer myself. I know hundreds ways to abuse a software. so I say...

THANK YOU

P.S. Would you like to consider creating something like "MyPhone Explorer" donationware for PC to sync with Windows Mobile 6?
I'd pay 200 bucks for that at once! It would cure many MS/HTC flaws - sms/calls via PC keyboard, excellent contacts, files, calls, sms appintments, tasks, alarms, notes sync, even timesync and profile selection (which is missed in WinMob6/Blackstone) and every told function support via bluetooth! And I hate "MD Lookout" for maximal stupidity possible, though MyPhone Explorer can sync with lookout optionally.

The best of worse things I use now is Efficasoft Mobile Express... but it does not sync sms. It displays the ones stored in phone, and phone erases old sms without asking me. And it does nothing from vast number of other aspects covered by MyPhone Explorer.

P.P.S. Which software you could recommend to find duplicating numbers?
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #14 on: March 03, 2009, 02:18:47 pm »

It returns all categories in this format "Category 1, Category 2, Category 3".

Currently, no plan to create "MyPhone Explorer".
I did a search on the internet and found no software for finding duplicated items, so sorry I don't have recommendations Sad
Logged
Pages: 1   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!