[Serusers] Method Cancel

Alessandro alessandro.pereira at redevox.com.br
Wed Jan 12 19:21:43 CET 2005


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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050112/0772120f/attachment.htm>


More information about the sr-users mailing list