KAZOO-2870 proposed patch for kamailio 4.2