[sr-dev] [tracker] Task opened: #!define does not work in $hdr()

sip-router admin at sip-router.org
Mon Jul 18 16:12:12 CEST 2011


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Alex Hermann (axlh) 

Attached to Project - sip-router
Summary - #!define does not work in $hdr()
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - The following does not work as expected, the header name is not substituted in $hdr():

<code>
#!substdef "/HEADER/X-Custom-Header/"

if (is_present_hf("HEADER")) {
    $var(hdr) = $hdr(HEADER);
    remove_hf("HEADER");
}
</code>

The value is correctly substituted for the functions is_present_hf() and remove_hf() but not in $hdr().


More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=139

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.



More information about the sr-dev mailing list