[Kamailio-Users] break a call?
BERGANZ Francois
francois at acropolistelecom.net
Thu Feb 4 12:37:17 CET 2010
I have that error:
onreply_route[1] {
if(t_check_status("3[0-9][0-9]")){
xlog("L_ERR", "3XX!!!!!!!!!!!\n");
t_reply("406", "Not Acceptable");
exit;
}
}
Feb 4 12:36:41 [4584] CRITICAL:core:yyerror: parse error in config file,
line 254, column 16-17: Command cannot be used in the block
Any idea?
Thank you
-----Message d'origine-----
De : Klaus Darilion [mailto:klaus.mailinglists at pernau.at]
Envoyé : jeudi 4 février 2010 08:59
À : BERGANZ Francois
Cc : users at lists.kamailio.org
Objet : Re: [Kamailio-Users] break a call?
e.g.:
failure_route[1] {
if(t_check_status("302")) {
xlog("L_INFO","302 redirect received\n");
t_reply("403","received 302 from downstream client");
exit;
}
}
klaus
Am 04.02.2010 08:37, schrieb BERGANZ Francois:
> Hello,
>
> I know that we can break a call with sl_reply().
>
> But, in the on_reply route, how can I break a call if I receive a 3XX
> (I cant use a sl_reply() function!) ?
>
> Thank you
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list