Hello all,
is it possible to completely drop a reply from failure_route? I know it is possible to change the reply with t_reply, but I need the possibility to send nothing back to the UAC.
Hi Alex,
No this in not possible. In statefull mode, the server has not send a reply to the client.
regards, bogdan
Alex Hermann wrote:
Hello all,
is it possible to completely drop a reply from failure_route? I know it is possible to change the reply with t_reply, but I need the possibility to send nothing back to the UAC.
Isn't it possible to drop provisional responses? http://www.openser.org/dokuwiki/doku.php/core-cookbook:devel#drop
klaus
Bogdan-Andrei Iancu schrieb:
Hi Alex,
No this in not possible. In statefull mode, the server has not send a reply to the client.
regards, bogdan
Alex Hermann wrote:
Hello all,
is it possible to completely drop a reply from failure_route? I know it is possible to change the reply with t_reply, but I need the possibility to send nothing back to the UAC.
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
Hi Klaus,
yes, it is possible to drop provisional replies. But I think Alex was referring to final negative reply as he mentioned failure route (you do not get any provisional reply there).
Regards, Bogdan
Klaus Darilion wrote:
Isn't it possible to drop provisional responses? http://www.openser.org/dokuwiki/doku.php/core-cookbook:devel#drop
klaus
Bogdan-Andrei Iancu schrieb:
Hi Alex,
No this in not possible. In statefull mode, the server has not send a reply to the client.
regards, bogdan
Alex Hermann wrote:
Hello all,
is it possible to completely drop a reply from failure_route? I know it is possible to change the reply with t_reply, but I need the possibility to send nothing back to the UAC.
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users
On Tuesday 13 November 2007 09:41, Bogdan-Andrei Iancu wrote:
Hi Klaus,
yes, it is possible to drop provisional replies. But I think Alex was referring to final negative reply as he mentioned failure route (you do not get any provisional reply there).
Right.
I pass REGISTER requests to an upstream registrar, but when it is unavailable I use the 'save()' function from failure_route to create a valid 200 OK response to the UAC. In this scenario the UAC also receives the locally created 408 or upstream response. I want to drop this (negative) response.
Luckily the 200 OK is sent earlier than the 408, but there is no gauarantee is will arrive earlier. It is also not known how every UAC will react when it receives both replies.
Alex Hermann schrieb:
On Tuesday 13 November 2007 09:41, Bogdan-Andrei Iancu wrote:
Hi Klaus,
yes, it is possible to drop provisional replies. But I think Alex was referring to final negative reply as he mentioned failure route (you do not get any provisional reply there).
Right.
I pass REGISTER requests to an upstream registrar, but when it is unavailable I use the 'save()' function from failure_route to create a valid 200 OK response to the UAC. In this scenario the UAC also receives the locally created 408 or upstream response. I want to drop this (negative) response.
IMO it should be possible to also drop final responses (yes I know it is bad as the transactions stay in memory but sometimes it is needed).
As a workaround - in failure route loop the request to the proxy again and then save it (of course src_ip is then wring. Thus for NAT traversal you have to store the received paramters in a proprietary header which will be read when receiving the REGISTER again).
regards klaus
Luckily the 200 OK is sent earlier than the 408, but there is no gauarantee is will arrive earlier. It is also not known how every UAC will react when it receives both replies.