Sorry, previous supposed be as below.This must be first check

 if ((ro_session->next == 0x00) &&
    (ro_session->prev == 0x00) &&
    (ro_session != ro_session_entry->first) )
{
    return;
}
rest of the code ....

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1549#issuecomment-394325303
_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to