Browse code

dialog: update documentation

Riccardo Villa authored on 07/01/2022 10:34:21 • Daniel-Constantin Mierla committed on 11/01/2022 11:45:40
Showing 1 changed files
... ...
@@ -2500,12 +2500,16 @@ dlg_reset_property("timeout-noreset");
2500 2500
 				<emphasis>mkey</emphasis> - matching key. It can be: 'ruri' -
2501 2501
 				match against R-URI of the dialog; 'furi' - match against From
2502 2502
 				header URI of the dialog; 'turi' - match against the To header
2503
-				URI of the dialog; 'callid' - match against Call-Id value.
2503
+				URI of the dialog; 'callid' - match against Call-Id value;
2504
+				'start_ts' - match against start timestamp.
2504 2505
 			</para></listitem>
2505 2506
 			<listitem><para>
2506 2507
 				<emphasis>mop</emphasis> - matching operator. It can be: 'eq' -
2507 2508
 				match using string comparison; 're' - match using regular
2508
-				expression; 'sw' - match using starts-with (prefix) comparison.
2509
+				expression; 'sw' - match using starts-with (prefix) comparison;
2510
+				'gt' - match using integer greater comparison; 'lt' - match
2511
+				using integer lesser comparison. Integer comparison can be used
2512
+				only with 'start_ts' key.
2509 2513
 			</para></listitem>
2510 2514
 			<listitem><para>
2511 2515
 				<emphasis>mval</emphasis> - matching value.
... ...
@@ -2517,6 +2521,8 @@ dlg_reset_property("timeout-noreset");
2517 2521
 &kamcmd; dlg.list_match furi eq sip:alice@test.com 2
2518 2522
 ...
2519 2523
 &kamcmd; dlg.list_match furi sw sip:alice@
2524
+...
2525
+&kamcmd; dlg.list_match start_ts gt s:1641550904
2520 2526
 ...
2521 2527
 		</programlisting>
2522 2528
 		</section>