Hello,
How can I generate an ACK locally on openser proxy as a responsetof a failure? And subsequently drop the failed message. In other word I do not want to pass the failed message back to my UA, I just want to process it on openser...
Thanks in advance,
Hello,
ACK is sent automatically by OpenSER if you do stateful processing. You can intercept negative replies for a request and reprocess the request in failure_route.
Cheers, Daniel
On 10/20/06 20:54, Ramin Dousti wrote:
Hello,
How can I generate an ACK locally on openser proxy as a responsetof a failure? And subsequently drop the failed message. In other word I do not want to pass the failed message back to my UA, I just want to process it on openser...
Thanks in advance,
So I should be do something like:
failuer_route[1] { if (status =~"606") { exit; } }
meaning that there is an implicit ACK by openser and by the above config snippet I just do not process the 606, meaning I don't forward it to the destination.
Is my understanding correct?
Ramin
On 10/22/06, Daniel-Constantin Mierla daniel@voice-system.ro wrote:
Hello,
ACK is sent automatically by OpenSER if you do stateful processing. You can intercept negative replies for a request and reprocess the request in failure_route.
Cheers, Daniel
On 10/20/06 20:54, Ramin Dousti wrote:
Hello,
How can I generate an ACK locally on openser proxy as a responsetof a failure? And subsequently drop the failed message. In other word I do not want to pass the failed message back to my UA, I just want to process it on openser...
Thanks in advance,
Hi Daniel,
I implemented your suggestion and I can capture, eg, 606 but I cannot force openser to not forward that. Any suggestions?
Thanks, Ramin
On 10/22/06, Ramin Dousti dousti@gmail.com wrote:
So I should be do something like:
failuer_route[1] { if (status =~"606") { exit; } }
meaning that there is an implicit ACK by openser and by the above config snippet I just do not process the 606, meaning I don't forward it to the destination.
Is my understanding correct?
Ramin
On 10/22/06, Daniel-Constantin Mierla daniel@voice-system.ro wrote:
Hello,
ACK is sent automatically by OpenSER if you do stateful processing. You can intercept negative replies for a request and reprocess the request in failure_route.
Cheers, Daniel
On 10/20/06 20:54, Ramin Dousti wrote:
Hello,
How can I generate an ACK locally on openser proxy as a responsetof a failure? And subsequently drop the failed message. In other word I do not want to pass the failed message back to my UA, I just want to process it on openser...
Thanks in advance,
-- Ramin
My understanding was incorrect. There are implicit actions that cannot be controled by the script.
Does anyone know a trick to force these implicit actions to change behaviour?
Thanks, Ramin
On 10/22/06, Ramin Dousti dousti@gmail.com wrote:
So I should be do something like:
failuer_route[1] { if (status =~"606") { exit; } }
meaning that there is an implicit ACK by openser and by the above config snippet I just do not process the 606, meaning I don't forward it to the destination.
Is my understanding correct?
Ramin
On 10/22/06, Daniel-Constantin Mierla daniel@voice-system.ro wrote:
Hello,
ACK is sent automatically by OpenSER if you do stateful processing. You can intercept negative replies for a request and reprocess the request in failure_route.
Cheers, Daniel
On 10/20/06 20:54, Ramin Dousti wrote:
Hello,
How can I generate an ACK locally on openser proxy as a responsetof a failure? And subsequently drop the failed message. In other word I do not want to pass the failed message back to my UA, I just want to process it on openser...
Thanks in advance,
-- Ramin