View Single Post
Posts: 195 | Thanked: 108 times | Joined on Feb 2010 @ SF Bay Area, United States
#197
Originally Posted by avidscavenger View Post
I'm not sure I follow you entirely now. My suggestion was independent of the country. I simply want all my calls to be routed through a single number.
It will be possible once the default profile option is ready.

Strangely enough I could do this with a shell script:



but simply couldn't make the same thing work by modifying callrouter.cpp.
I was only looking at telepathy API. I was planning to move away from Nokia/N900-specific CSD Dbus calls to using more generic telepathy to send the DTMF tones. I thought this would make the app ready for say Meego phones . That seems to be a long shot now, I might as well explore other options.

Did you notice any improvement with using StartDTMF/StopDTMF for each DTMF character? Because even SendDTMF(String) breaks the string into bytes and calls DTMFTone for each byte. You can capture this with dbusmonitor command on system bus. Anyway I'll run some tests this week using StartDTMF.

OK I live in Melbourne, so a full landline number here looks like +61.3.34567890 ('.' separates country/area code/number). It's very common to just think of this number as just 34567890. But if I don't include at least a '03' at the start then my calling service rejects the number as incomplete - though my GSM service would have no complaint. So what I'd suggest is that if a number doesn't start with '+' (full international code) or whatever the local area code introduction is ('0' in most of the world, '1' in North America, '9' in a few places) then a user-specified default country and area code be supplied. Actually some Australian numbers also start with '1' so to make it work you'd have to be able to specify a string of digits rather than a single digit.
There will be some challenges to implement this. Similar to your example, what if the number is +61.3.61323456 and is stored as just 61323456. The number looks like it begins with the country code and area code but 613 is part of the local number not an area code. We can not verify using string length because length of phone numbers is not standard across regions.
__________________
Maintainer of VICaR - Value International Call Router (a helper app for routing calls via calling card/skype-out/google voice)

Maintainer of Markets Today (Yahoo Finance based desktop widget/app)