I think this would basically work:
route
{
if(is_method("INVITE"))
{
rewritehostport("redirect.to.com");
sl_send_reply("302", "Moved Temporarily");
return;
}
sl_send_reply("403", "Sorry");
}
-g
On 6/13/06, Anderson Alves Albuquerque <andersonaa(a)gmail.com> wrote:
I would like to see the example of ser replying with a redirect.
On 6/13/06, Greg Fausak <lgfausak(a)gmail.com> wrote:
Anderson:
Did you want an example of ser replying with a redirect (that
is, ser is the redirect server), or, do you want an example of
ser getting and responding to an external redirect?
-g
On 6/13/06, Anderson Alves Albuquerque <andersonaa(a)gmail.com> wrote:
Does someone has some example with redirect in SER and could send it?
--
[],
Anderson
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Greg Fausak
greg(a)thursday.com
--
[],
Anderson Alves de Albuquerque.
---------------------------------------------------------------
E-mails:
andersonalvesdealbuquerque#hotmail.com (replace #
by @)
andersonaa#gmail.com (replace # by @)
Telefones:
Residencial: +55 (21) 2256-1612
Celular: +55 (21) 9883-0758
Virtual (VOIP): +55 (21) 2598-3000 Ramal: 1100-0202
ICQ: 73222660
MSN:
andersonalvesdealbuquerque#hotmail.com (replace # by
@)
---------------------------------------------------------------
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers