Thanks, it's work now. :-)
Alessandro Pereira
-----Mensagem original-----
De: Daniel-Constantin Mierla
[mailto:Daniel-Constantin.Mierla@fokus.fraunhofer.de]
Enviada em: quinta-feira, 13 de janeiro de 2005 07:41
Para: Alessandro
Cc: 'SER - Lista'
Assunto: Re: [Serusers] Method Cancel
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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/1/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/1/2005