Juha Heinanen writes: > my next guess is that this has something to do with amd64 architecture > of the host. perhaps the sizes of ints/pointers/etc are not what the > code somewhere expects?
i added check on length of int and pointer: LM_INFO("got <%.*s>\n", res.rs.len, res.rs.s); LM_INFO("len is %lu bytes and s is %lu bytes\n", sizeof(res.rs.len), sizeof(res.rs.s)); Sep 1 08:58:09 siika /usr/sbin/sip-proxy[16919]: INFO: dialplan [dialplan.c:315]: setting pvar from attrs <fi> Sep 1 08:58:09 siika /usr/sbin/sip-proxy[16919]: INFO: dialplan [dialplan.c:326]: got <0> Sep 1 08:58:09 siika /usr/sbin/sip-proxy[16919]: INFO: dialplan [dialplan.c:328]: len is 4 bytes and s is 8 bytes perhaps the code somewhere (e.g. int_str handling) assumes that int and pointer are of same length? -- juha _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users