the CANCEL request does not include authentication credentials and must not be challenged. You can use is_user_in(“from”,”group1”) instead.
Daniel
On 01/12/05 19:21, Alessandro wrote:
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
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 10/1/2005
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers