Hi all,
I have a problem with a function is_user_in() when I use this with the method CANCEL. I get
this response: “No authorized credentials found (error in scripts)”.
I trying this:
If(method == “CANCEL){
If(is_user_in(“credentials”,”group1”){
rewritehostport("200.XXX.XXX.XXX:5060");
append_hf("487 Canceled\r\n");
sl_send_reply("487", "Finished...");
t_relay_to_udp("200.XXX.XXX.XXX","5060");
break;
}
};
How can I solve
it?
Thanks,
Alessandro
Pereira