Hi,
i'm adding remote party id information to certain SIP messages (to those
destined to the PSTN gateway). After doing that, i try to search() the
"Remote-Party-ID" header field for a specific string, and it seems to me
that search() only works on the initial (received) SIP message rather
than on the "current" modified message.
Is that assumption correct? (i hope it's not :)
If yes, is there another way to search SER's rpid information
for a specific string?
config snippet:
if (!is_rpid_user_e164()) {
append_rpid_hf();
xlog("L_INFO", "rpid added");
if (search("Remote-Party-ID:.*@1005")) {
xlog("L_INFO", "rpid search succeeded");
};
...
thanx
axelm