Hello,
I try to add a Remote-Party-ID to call detinated to PSTN with
append_rpid_hf() but the id is not added to the Invite request.
I see in the documentation of the auth module that the function does nothing
if no saved SIP URI exists. Can you say me how the SIP URI is saved.
if (!(method==ACK | method=="CANCEL" | method=="BYE")) {
if (!proxy_authorize("eivd.ch", "subscriber")) {
proxy_challenge( "eivd.ch","0");
break;
}
append_rpid_hf();
if (method=="INVITE" & !check_from()) {
log(1, "LOG: Spoofed from attempt\n");
sl_send_reply("403", "Use From=id next time");
break;
};
};