On Sun, 21 Sep 2003, Jan Janak wrote:
I made a quick change and turned rpid_prefix and
rpid_suffix parameters
into parameters of append_rpid_hf function. That will allow you to
specify different prefix and suffix in every call to the function from
the script.
yes, this is very useful.
NOTE: The patch is against the stable release and I
didn't test it !
let me know if it works, Jan.
works perfectly. I suggest we add this to -current!
I ended up doing something like this:
if (search("From:.*Anonymous")) {
append_rpid_hf("<sip:+",
"@zettou.net>;party=calling;id-type=subscriber;privacy=on;screen=yes");
} else {
append_rpid_hf("<sip:+",
"@zettou.net>;party=calling;id-type=subscriber;privacy=off;screen=yes");
};
very nice. thanks!
jakob