Sip Trunk crashing on OPTIONS

Hey all :slightly_smiling_face:
I have beein playing around with sip trunk branch and noticed that it keeps crashing on my OPTIONS messages.

These are the last logs and gdb before/after SEGV:

and OPTIONS are as normal as it can get :slight_smile:

Only thing is that SIP routers that are not know in sip-trunk settings on janus are also sending options to it, but Janus do respond to them, but in log I do see mention of (null)

Any help is appreciated.

Thanks,
Mirko

Thanks for playing with this Mirko, itโ€™s the first feedback I see on trunks :joy:
Could you open an issue on github with the same pastebin links? Itโ€™ll help me track problems in the PR too, as I can reference the issue more easily there.

Thanks, done, not sure the format is correct.

PS. Donโ€™t ask about username, i think it is self explanatory :slight_smile: