######################################################################## # ChangeLog: # # 2005-03-18: agranig: Initial version. # 2005-03-21: agranig: Fixed handling of requests with interchanged From/To # (not fully supported by uac module yet). ######################################################################## # ... loadmodule "/path/to/ser/modules/group.so" loadmodule "/path/to/ser/modules/uac.so" modparam("uac", "from_restore_mode", 2) route { # ... if(is_user_in("From", "clir")) { # anonymize a standard request uac_replace_from("Anonymous", "sip:anonymous@my.domain.com"); t_on_reply("3"); } # TODO: do we need this regex or is it save to let uac_restore_from() handle # the presence of the vsf-param in the To-Header? else if(search("(To|t): \"Anonymous\"