Hello,
On 24/08/16 13:34, Stefan Kohlhauser wrote:
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?
if you think it is a bug, open an issue on bug tracker from kamailio
github project, otherwise it will be forgotten, as during the summer
many of us were offline for personal holidays.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com -
http://www.kamailio.org
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda