I’m coming back to Kamailio after about a 10 year absence. I have v6.0.1 running handling registrations (unique devices) and inbound/outbound PSTN calling correctly. What I need is to process subscribe requests.
I’m looking for direction on the correct configuration to
#eDevice: Need to authenticate subscribes before proceeding
xlog("L_INFO", "eDevice: Start initial SUBSCRibe check. \n");
if (is_method("SUBSCRIBE")) {
record_route();
if (!auth_check("$fd", "subscriber", "1")) {
auth_challenge("$fd", "0");
}
# eDevice SUB Change
consume_credentials();
route(PRESENCE);
}
Only the above authentication is working so direction on proper processing of subscribes when Kamailio is not the presence server will be appreciated.
Thanks