R: [Users] failure_route

Bogdan-Andrei Iancu bogdan at voice-system.ro
Sat May 13 12:14:58 CEST 2006


Hi,

in the instance where you send a stateless reply, the failure route will 
not be triggered. You need to try:

UserA -> proxy (rewrite with some non existent user) -> proxy (replies 
with 404).

you will get failure route execution on first iteration on proxy.

regards,
bogdan

D'Addelfio Davide wrote:

>Thanks for reply.
>
>When I have a 404 Not Found, openser doesn't enter in failure root block and so it doesn't store anything into db. In attach my cfg file.
>
>Had a REFER message, why and what does it means?
>
>Thanks, 
>Davide 
>
>-----Messaggio originale-----
>Da: Bogdan-Andrei Iancu [mailto:bogdan at voice-system.ro] 
>Inviato: mercoledì 10 maggio 2006 23.56
>A: D'Addelfio Davide
>Cc: users at openser.org
>Oggetto: Re: [Users] failure_route
>
>Hi,
>
>D'Addelfio Davide wrote:
>
>  
>
>>Hi all,
>>
>>i have 2 questions for the forum:
>>
>>1) What can I do to simulate a failure message to understand if 
>>openser store it into database, through acc_db_request?
>>
>>    
>>
>just send it back to your proxy with a username that does not exists in 
>RURI -> 404 Not Found.
>
>  
>
>>2) Have I any chance to get information from reply messages, like 
>>storing some in db or something else? I know I can't use acc and avp 
>>module in on_reply route block, so any suggestion?
>>
>>    
>>
>not from on_reply but from the failure_route you can.
>
>
>regards,
>bogdan
>
>  
>





More information about the sr-users mailing list