integer to string (reversal of {s.int} transformation)
Benoit Panizzon via sr-users <[email protected]> Mon, 18 May 2026 16:56:56 +0200
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Organization | ImproWare AG |
| Message-ID | <[email protected]> |
Hi
Is there an obvious integer to string transformation which I am missing?
I would like to perform a bitwise operation on a dlg_var which holds a
string representation of an integer:
$dlg_var(mf) = $(dlg_var(mf){s.int}) | 1;
Is not allowed as this results in assigning an integer to a dialog var
which is string only.
Or would there be some more elegant way to carry a handful of
true/false information through a complete dialogue?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!