fails to call from contacts if phone# contains any non-number?

Yaroslav Halchenko site-openmoko.org at onerussian.com
Mon Jun 21 21:32:55 CEST 2010


Hi guys,

It has been a while since I've been observing this but finally decided
to email after the last upgrade today.

I have my contacts synced from gmail using PISI (Thank you Michael), I
am using SHR, and I have somewhat a variety of formats for numbers
specifications, e.g.

2345678900
(234) 567-8900
+1 (234) 567-8900

etc

the problem is, that it seems that  if there is any non-digit in the
phone #, it fails to actually initiate the call. e.g. here is example --
I've called contact with only numbers in phone #, then added a space
after 1 - and it failed to call:

Successful:

==> phoneuid.log <==
2010.06.21 15:28:07.720893 [libphone-ui-shr]    DEBUG: Calling callback with number 12345678900
2010.06.21 15:28:07.721323 [libphone-ui-shr]    DEBUG: _list_call_number_callback: 12345678900
2010.06.21 15:28:07.721673 [libphone-ui]        MESSAGE: Inititating a call to 12345678900

2010.06.21 15:28:07.735265 [libphone-ui-shr]    DEBUG: callback done
2010.06.21 15:28:07.735662 [libphone-ui-shr]    DEBUG: Scheduling inwin destruction
2010.06.21 15:28:07.775475 [libphone-ui-shr]    DEBUG: Destructing number selection inwin

==> fsogsmd.log <==
2010-06-21T19:28:08.160951Z [INFO]  libfsotransport <0710:2>: SRC: "%N0187" -> [ "EXT: I", "Both AEC and Noise reduction are active", "OK" ]
2010-06-21T19:28:08.847051Z [INFO]  libfsotransport <0710:3>: URC: [ "%CPRI: 1,2" ]

==> phoneuid.log <==
2010.06.21 15:28:08.116505 [libphone-ui]        DEBUG: _call_status_handler: call 1: 1
2010.06.21 15:28:08.141531 [phoneuid]   DEBUG: org.shr.phoneuid.CallManagement.DisplayOutgoing
2010.06.21 15:28:08.142640 [libphone-ui-shr]    DEBUG: window_new
2010.06.21 15:28:08.143073 [libphone-ui-shr]    DEBUG: malloc'ed
2010.06.21 15:28:08.143531 [libphone-ui-shr]    DEBUG: done
2010.06.21 15:28:08.505643 [libphone-ui-shr]    DEBUG: window_view_show()
....
and everything works as it should


Failing (just nothing happens):

==> phoneuid.log <==
2010.06.21 15:27:37.475525 [libphone-ui-shr]    DEBUG: Calling callback with number 1 2345678900
2010.06.21 15:27:37.475961 [libphone-ui-shr]    DEBUG: _list_call_number_callback: 1 2345678900
2010.06.21 15:27:37.476320 [libphone-ui]        MESSAGE: Inititating a call to 1 2345678900

2010.06.21 15:27:37.491266 [libphone-ui-shr]    DEBUG: callback done
2010.06.21 15:27:37.491672 [libphone-ui-shr]    DEBUG: Scheduling inwin destruction
2010.06.21 15:27:37.532375 [libphone-ui-shr]    DEBUG: Destructing number selection inwin

==> phoneuid.log <==
2010.06.21 15:27:45.041779 [libphone-ui-shr]    DEBUG: showing contact /org/freesmartphone/PIM/Contacts/188


I am not sure which part of the tandem here should take care about filtering
out the phone number?

Another issue that if I click 'Release' while successful call happening, I would get a message about:

==> phoneuid.log <==
2010.06.21 15:28:15.352924 [libphone-ui-shr]    WARNING: Failed adding a contact: (0) Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 649, in _message_cb
    (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name)
  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 244, in _method_lookup
    raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface))
UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetContent is not a valid method of interface org.freesmartphone.PIM.Contact


-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





More information about the community mailing list