[OpenSIPS-Users] bogus to header in rls subscribe

Juha Heinanen jh at tutpro.com
Fri Jun 11 18:55:55 CEST 2010


i then went to see how multipart body is generated and found that its
parts are taken from rls_presentity table and indeed start value is
bogus already there:

-- Dumping data for table `rls_presentity`

INSERT INTO `rls_presentity` (`id`, `rlsubs_did`, `resource_uri`, `content_type`
, `presence_state`, `expires`, `updated`, `auth_state`, `reason`) VALUES
(12, '5r-2-hdkX6N0GsQLtLWjvnOJZFNP6O-h;ka03rLGY7hep5k4keaKfAaHGIYeTB6rV;48de7c3c
b9f0a00e953b10ae4e49e9de-70fc', 'sip:test-buddies at test.fi', 'multipart/related;t
ype="application/rlmi+xml";start="<1276274962', 0x2d2d736f49474e5041663261535277
594a47496d7678504365460d0a436f6e74656e742d5472616e736665722d456e636f64696e673a20
62696e6172790d0a436f6e74656e742d49443a203c313237363237343936322e7369703a74657374
2d6275646469657340746573742e66692e3830333034383933323e0d0a436f6e74656e742d547970
653a206170706c69636174696f6e2f726c6d692b786d6c3b636861727365743d225554462d387222
0d0a0d0a3c3f786d6c2076657273696f6e3d22312e30223f3e0a3c6c697374207572693d22736970
3a746573742d6275646469657340746573742e66692220786d6c6e733d2275726e3a696574663a70
6172616d733a786d6c3a6e733a726c6d69222076657273696f6e3d2231222066756c6c5374617465
3d2274727565223e3c7265736f75726365207572693d227369703a666f6f40746573742e6669222f
3e3c7265736f75726365207572693d227369703a62617240746573742e6669222f3e3c2f6c697374
3e0d0a0d0a2d2d736f49474e5041663261535277594a47496d7678504365462d2d0d0a, 12762755
72, -1, 2, '');

now the question is who wrote it there and why it is wrong?  as i have
mentioned, i have only been using python-sipsimple cli commands
xcap-rls-services and sip-subscribe-rls.

-- juha



More information about the Users mailing list