[Serusers] Append a header field with dynamic data
Michael Stier
m.stier at fh-mannheim.de
Mon May 23 11:30:26 CEST 2005
Hi,
I want to append a new header field on a 183 - session progress response
with dynamic data:
P-hint: dynamic data
The string "dynamic data" e. g. could be generated by an external
script. Is there any way to reach this inside ser.cfg?
My imagination would be something like this:
if (status=~"183") {
exec_msg('TEMPSTRING=`cat /tmp/string.txt`');
append_hf("P-hint: $TEMPSTRING");
};
Many greetings
Michael
More information about the sr-users
mailing list