openmoko-messages2 from svn won't send SMS - "Unable to retrieve subscriber number"

Abylai Ospan aospan at netup.ru
Wed Jan 2 21:09:26 CET 2008


Hello!

I have compiled openmoko-messages2 (binary file is "openmoko-messages"
in openmoko-messages2-0.1.0+svnr3678-r0 ). After composing messages I
have click "send" button (first button on screen). I'v attached to
openmoko-messages process by strace:
strace -s 1024 -p 1664

I see following lines in strace:

write(1, "** (openmoko-messages:1664): DEBUG: Sending message \'test\'
to +79262681418\n", 75) = 75
gettimeofday({1199315159, 237878}, NULL) = 0
writev(5, [{"l\1\0\1\35\0\0\0 \0\0\0\210\0\0\0\1\1o\0\32\0\0
\0/org/openmoko/PhoneKit/Sms\0\0\0\0\0\0\6\1s\0\25\0\0
\0org.openmoko.PhoneKit\0\0\0\2\1s\0\31\0\0\0org.openmoko.PhoneKit.Sms\0
\0\0\0\0\0\0\3\1s\0\4\0\0\0Send\0\0\0\0\10\1g\0\2ss\0", 152}, {"\f\0\0\0
+79262681418\0\0\0\0\4\0\0\0test\0", 29}], 2) = 181
gettimeofday({1199315159, 262127}, NULL) = 0
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 25000) = 1
read(5, "l\3\1\1)\0\0\0[\0\0\0u\0\0\0\6\1s\0\5\0\0\0:1.37\0\0\0\4\1s\0=
\0\0\0org.freedesktop.DBus.GLib.UnmappedError.PhoneKitNetwork.Code5\0\0
\0\5\1u\0 \0\0\0\10\1g\0\1s\0\0\7\1s\0\4\0\0\0:1.3\0\0\0\0$\0\0\0Unable
to retrieve subscriber number\0", 2048) = 177
read(5, 0x80c38, 2048)                  = -1 EAGAIN (Resource
temporarily unavailable)
write(2, "\n** (openmoko-messages:1664): WARNING **: Error sending
message: Unable to retrieve subscriber number\n", 102) = 102

In file "/var/volatile/tmp/x.log" I see the same error messages:
** (openmoko-messages:1664): DEBUG: Sending message 'test' to
+79262681418
** (openmoko-messages:1664): WARNING **: Error sending message: Unable
to retrieve subscriber number

Where "+79262681418" (some digit changed for security reason) is working
mobile phone. As I see openmoko-messages send request to another process
by dbus (unix) socket ? 
As I see it return "Unable to retrieve subscriber number". What is
this ? Which another process should work to normally send SMS ?
Thanks !

-- 
Abylai Ospan <aospan at netup.ru>
NetUP Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-apps/attachments/20080102/ba1e3ce0/attachment.htm


More information about the openmoko-apps mailing list