Package: gammu
Version: 1.31.90-1+b1
Severity: normal

It looks like gammu wrongly encodes the phone number when setting up a
call diversion:

$ strace -f -e trace=read,write -s512 gammu divert set all all 21989264
[...]
write(5, "AT+CCFC=0,3,\"3231393839323634\",129,\"\",128,7\r", 44) = 44
read(5, "AT+CCFC=0,3,\"3231393839323634\",129,\"\",128,7\r", 65536) = 44
read(5, "\r\nERROR\r\n", 65536)         = 9
write(5, "AT+CCFC=0,3,\"3231393839323634\"\r", 31) = 31
read(5, "AT+CCFC=0,3,\"3231393839323634\"\r", 65536) = 31
read(5, "\r\nERROR\r\n", 65536)         = 9

$ strace -f -e trace=read,write -s512 gammu divert set all all +4721989264
[...]
write(5, "AT+CCFC=0,3,\"2B34373231393839323634\",129,\"\",128,7\r", 50) = 50
read(5, "AT+CCFC=0,3,\"2B34373231393839323634\",129,\"\",128,7\r\r\nERROR\r\n", 
65536) = 59
write(5, "AT+CCFC=0,3,\"2B34373231393839323634\"\r", 37) = 37
read(5, "AT+CCFC=0,3,\"2B34373231393839323634\"\r\r\nERROR\r\n", 65536) = 46

If I do it by hand, it works:
$ cu -l /dev/ttyACM0
AT
OK
AT+CCFC=0,3,"+4721989264"
OK

$ gammu identify
Device               : /dev/ttyACM0
Manufacturer         : Nokia
Model                : 3720c (Nokia 3720c)
Firmware             : V 09.10,25-08-09

Please tell me if you need any more information.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.utf8, LC_CTYPE=nb_NO.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gammu depends on:
ii  libbluetooth3    4.99-2
ii  libc6            2.13-33
ii  libcurl3-gnutls  7.26.0-1
ii  libgammu7        1.31.90-1+b1
ii  libglib2.0-0     2.32.3-1
ii  libgudev-1.0-0   175-3.1

Versions of packages gammu recommends:
ii  dialog         1.1-20120215-1
ii  libgammu-i18n  1.31.90-1
ii  whiptail       0.52.14-10

Versions of packages gammu suggests:
pn  gammu-doc  <none>
pn  wammu      <none>

-- no debconf information

-- 
Tollef Fog Heen
Technical lead, Varnish Software
t: +47 21 98 92 64



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to