THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#78 - function for evaluating string value
User who did this - Juha Heinanen (jh)
----------
defines do not work here, since the idea is to be able to dynamically at runtime to change string values of cfg variables that may contain pseudo variables and transformations. such strings may, for example, appear as parameters of http_queries,
what comes to implementation, this kind of stuff is normal in interpreted languages, for example
#!/usr/bin/php
<?
$format = "Printing number %d\n";
printf($format, 1234);
?>
correctly produces
jh@rautu:~$ /tmp/test.php
Printing number 1234
what comes to my the specific trial implementation, it first calls spve fixup on the string value that may contain pseudo variables and then tries to get final string value based on the fixup result. what exactly is wrong with this? why all calls succeed, but final string value is not correct?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=78#comment92
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
i noticed that msilo generated messages include a Contact header such
as:
Contact: <sip:jh@test.fi>;msilo=yes
according to rfc3428.txt this is wrong:
MESSAGE requests do not initiate dialogs. User Agents MUST NOT
insert Contact header fields into MESSAGE requests.
if no one objects, i'll fix msilo module accordingly, i.e., remove
contact header from msilo generated messages.
-- juha