Hello,
I'm having an issue where this doesn't work:
#!trydef PRODUCT "Foo"
if( $hdr("X-" + PRODUCT + "-Transport") != "" ) {
add_uri_param( $hdr("X-" + PRODUCT + "-Transport") );
}
It seems Kamailio doesn't like the concatenation within the $hdr(). Concatenation does work in other places though:
append_hf( "X-" + PRODUCT + "-Transport: tcp\r\n" );
Can anyone advise how to make the concatenation within $hdr() work? Thanking you in advance.
--
David Cunningham, Voisonics Limited
http://voisonics.com/USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782