[sr-dev] [kamailio/kamailio] dialog: add dialog init, start end end timestamps to the output of dl… (#2279)

Daniel-Constantin Mierla notifications at github.com
Wed Apr 8 21:50:53 CEST 2020


Thanks! It can be merged.

However, for better flexibility, I was thinking to add an option parameter to this command to specify the fields to be returned in a string-of-char-flags manner. Have hash label, hash id and call-id always int attributes of the output, the the rest be specified in the parameter, like:

  * `f` - from uri
  * `F` - from tag
  * `t` - to uri
  * `T` - to tag
  * ...

Then use `kamcli rpc dialog.briefing "fFtT..."` -- the order of char-flags won't matter. When the parameter is not provided, a default value can be used for it (like what is printed now, before or after this PR).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2279#issuecomment-611158795
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200408/792ca79d/attachment-0001.html>


More information about the sr-dev mailing list