@laszlovl - thank you for the detailed issue description. Are you planning to work on this further, e.g. by creating pull requests?
It makes probably sense to prioritize the different fixes according to implementation effort. It would be also good to cross-check the implementation with the relevant RFC standards.
This two topics sounds like good next steps to me, let me know what you think.
* making pua 412 handling more granular (by checking the type of the reply) * making pua_dialoginfo callback subscription configurable (if possible with a list of callbacks, otherwise maybe with a mode parameter that adds more and more CBs)