removed unused vars and typos, updated to kamailio 4.1.1