|
Before to reply a 302, I need to change the contact header
in order to specify the URI of the new callee.
For example A call B, but from the config file I know B
wants to redirect calls to C. So I must specify the URI of user C in the contact
header of the 302 message
In your example, you change only the
domain:
A call [EMAIL PROTECTED] and you change the
message to A call [EMAIL PROTECTED]
Christophe De : Greg Fausak [mailto:[EMAIL PROTECTED] Envoyé : mardi 22 août 2006 15:44 À : Christophe Irles Cc : OpenSER Objet : Re: [Users] Create 302 message and modify contact header if(is_method("INVITE"))
{
rewritehostport("test.com");
sl_send_reply("302", "Moved Temporarily");
}
seems to work
for me.
I'd try loading some branches if you want more than one
item in the contact header. Just guessing though, I'm usually
the recipient of a 302!
-g
On Aug 22, 2006, at 8:24 AM, Christophe Irles wrote:
|
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
