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