On Tuesday 31 March 2009, kokoska rokoska wrote:
- When I comment out "modparam", kamailio starts successfuly, but:
All INVITEs (from all clients) are reject through this snippet of code
if (method=="INVITE") { if (sanity_check("128")) { xlog("L_ERR", "bad INVITE SDP body length from $si:$sp\n"); exit; } else if (sanity_check("1024", "7")) { xlog("L_ERR", "malformed INVITE from $si:$sp\n"); exit; } }
I don't think that all of them could have bad length on SDP body (about 120 diffenet UAC types), so I assume I use "sanity" wrong way...
Hi kokoska,
you should get a exact error message in the reply, which indicates the check that failed. The parameter in the sanity_check is the sum of all checks, so this includes also a bit more checks, take a look in the documentation.
Cheers,
Henning