Improved callback granularity. Also, updated support to pjsip 2.2.1