I made the two changes described here to Kannel, and configuring SIP and VoIP profiles now works very well. The patch for kannel 1.4.1 is below.
Interestingly, all the other parameter values specified in frodek's patch are not required for configuring a VoIP profile using a simple WLAN AP (on an E60 with current firmware). In fact, for me, using them actually causes the provisioning SMS to be ignored by the device.
Also frodek, I think your patch has a typo in it! In the CR doc from the OMA site the "ENCAPS" value is stated as 0x4b rather than 0x5b. But currently I can't make that ENCAPS thing work at all (which I complain about in this thread).
Here's the simple patch to make Kannel compile provisioning messages that correctly create the link between the VoIP profile and the SIP profile on S60:
Apply it to http://www.kannel.org/download/1.4.1...y-1.4.1.tar.gz as follows:Code:diff -ur gateway-1.4.1/gw/ota_compiler.c gateway-1.4.1.s60/gw/ota_compiler.c --- gateway-1.4.1/gw/ota_compiler.c 2006-09-25 11:01:43.000000000 +0100 +++ gateway-1.4.1.s60/gw/ota_compiler.c 2007-06-25 17:46:09.000000000 +0100 @@ -331,6 +331,8 @@ { "NAME", "TO-PROXY", 0x39, 1 }, { "NAME", "URI", 0x3A, 1 }, { "NAME", "RULE", 0x3B, 1 }, + { "NAME", "APPREF", 0x3C, 1 }, + { "NAME", "TO-APPREF", 0x3D, 1 }, { "NAME", "INLINE", 0x5 }, { "VALUE", "IPV4", 0x85 }, { "VALUE", "IPV6", 0x86 },
1. Extract the above tarball.
2. cd gateway-1.4.1
3. Copy and paste the patch into some file patch_filename.
4. patch -p1 < patch_filename.




