Hello Everyone,
I am trying adjust Record-Route, but can't match headers value
And I am call route(ROUTE_HDR_ORG); right after route(WITHINDLG);
route[ROUTE_HDR_ORG] {
# Getting record routes
if(is_present_hf("Record-Route")) {
if(is_method("SUBSCRIBE")) {
xlog("$sel((a)hf_value.Record_Route[1])")1])");
xlog("L_INFO", "[$rm], Route for removal:
'$sel((a)hf_value.Record_Route[1])'\n")#39;\n");
remove_hf_value("Record-Route[1]");
}
}
return;
}
Any help Thank you,
Slava.