[SR-Users] pua_dialoginfo: Tags only in "early" state PUBLISH

Stefan Kohlhauser stefan.lists at gmx.net
Wed Aug 24 13:34:26 CEST 2016


Hello everyone!

I've been playing around with the pua_dialoginfo. I noticed that the From- and To-Tags are only included in the PUBLISH's dialog-info of the "early" state.
This is also true if include_tags of pua_dialoginfo is explicitly set to '1'.

The reason for this behaviour is probably that in pua_dialoginfo.c in the function __dialog_sendpublish() the call to dialog_publish_multi() only happens with the tag parameters set for the "early" state. For all other dialog states the tag parameters are statically set to '0'.

Even though the local- and from-tags are optional I tend to regard this as a bug.
I would have expected for the tags to be included in the dialog-info for all states when include_tags is set.
Or is there a reason for this behaviour?

Best regards
Stefan



More information about the sr-users mailing list