Hi Juha,
there are 3 MI commands used by SEMS : t_reply, t_uac_cancel, t_uac_dlg, but only t_reply and t_uac_dlg are effected by the syntax changes.
As it will be difficult to have 2 syntaxes in openser (and as the parser is a general one with no knowledge about the parsed function), I would suggest to generate a patch for SEMS to will ensure the compatibility with openser new interface - on a first look, the changes are minor and I will happy to assist in building the patch.
regards, bogdan
Juha Heinanen wrote:
Bogdan-Andrei Iancu writes:
t_write_unix() was not changed at all, but I do not sure what MI commands SEMS triggers from openser. If you could let me know which are the functions (most probably from TM), I will take a look at the compatibility aspect.
sems replies to t_write_unix() call using t_reply on its reply socket. on the same socket it sends invite/bye/etc. requests using t_uac_dlg message. this code is all in AmSipDialog.cpp file:
http://svn.berlios.de/wsvn/sems/trunk/core/AmSipDialog.cpp?op=file&rev=0...
and for sending requests, in its AmSipDialog::sendRequest function.
i have heard rumors that a new sems/ser interface in on the works, but i don't know details. i'll ask the sems list.
-- juha