If I set $ru in config file and then print $ru to log, the new value is
printed. If I do the same with $fu, the old value is printed.
I haven't found in Pseudo-Variables Wiki any documentation about this.
Does it exist somewhere else?
-- Juha
If I set $ru in config file and then print $ru to log,
the new value is
printed. If I do the same with $fu, the old value is printed.
I haven't found in Pseudo-Variables Wiki any documentation about this.
Does it exist somewhere else?
-- Juha
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello Juha,
The first line of a SIP request is parsed and kept separately from the
rest of the SIP message. Because of this, it is easy to apply instant
changes to it.
This is what I remember checking the code long time ago, it might not
be 100% accurate.
Hope this helps,
-ovidiu
On Mon, Mar 21, 2022 at 7:15 AM Juha Heinanen <jh(a)tutpro.com> wrote:
OK, got it. What makes $ru special, i.e., why that is applied
immediately?
-- Juha
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Perhaps it would best to explicitly tell on Pseudo-Variables Wiki page,
which R/W pseudo "variables" are not really variables in the sense that
setting of the value does not change its value.
Are there others than these three: $fd, $fu, $fU. If not, I can add a
note to their entries.
-- Juha
Perhaps it would best to explicitly tell on
Pseudo-Variables Wiki page,
which R/W pseudo "variables" are not really variables in the sense that
setting of the value does not change its value.
Are there others than these three: $fd, $fu, $fU. If not, I can add a
note to their entries.
-- Juha
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
I looked at pv_core.c, and based on that these
are header R/W variables:
$tu, $tU, $td, $tn, $fu, $fU, $fd, $fn
I updated the Wiki page accordingly.
-- Juha
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users