[Kamailio-Users-ES] lograr el siguiente comportamiento voicemail y kamailio

Iñaki Baz Castillo ibc at aliax.net
Tue Sep 9 22:26:48 CEST 2008


El Martes, 9 de Septiembre de 2008, Raúl Alexis Betancor Santana escribió:
> > route[1] {
> >                 t_on_failure("1");
> >                 if (!t_relay()) {
> >                 sl_reply_error();
> >         };
> >         exit;
> > }
>
> Hombre ... ese sl_reply_error ... ¿Que código de error vas a devolver? .. o
> ¿pretendes que lo adivine Kamailio?

Nunca lo he usado, pero esa función existe:

  http://www.kamailio.org/docs/modules/1.3.x/sl.html#AEN90

1.4.2. sl_reply_error()
 Sends back an error reply describing the nature of the last internal error. 
Usually this function should be used after a script function that returned an 
error code. 
 This function can be used from REQUEST_ROUTE.


Pero sinceramente no tengo claro qué devuelve.

-- 
Iñaki Baz Castillo




More information about the Users-es mailing list