Eric Hiller writes:
Is there a way to make is_from_user_enum test ALL
values of the SRV
record?
i could not find from svn who implemented is_from_user_enum function,
since i don't remember myself doing it. source has this comment that
may explain your problem:
/*
* Check if from user is a valid enum based user, and check to make sure
* that the src_ip == an srv record that maps to the enum from user.
*/
int is_from_user_enum_2(struct sip_msg* _msg, char* _suffix, char*
_service)
i don't understand motivation for the second condition, but since i'm most
likely not author of the function and since i have never used it,
cannot comment more about it.
-- juha