Hi All,
Whenever openser is made to route a call to 0.0.0.0, I have observed that it replies as 403 Forbidden to the call initiator.
Is there a method to change this default behaviour and change the reply message from 403 Forbidden to 404 Not Found or any other response code.
Basically I query a set of 5 destination IP addresses for every call that comes in, in a particular order and route the call in a serial manner if call fails to particular IP using failure routes.
Suppose if there are only 4 IPs available for a particular destination, I substitute the 5th IP address as 0.0.0.0. Now if a user has dialed an invalid number Openser keeps routing the call to next IP address until it comes to 0.0.0.0.
As soon as it gets 0.0.0.0 it replies back as 403 Forbidden, in this case I want to reply back as 404 Not Found which is a better user reply in case of an invalid number.
Any pointers/suggestions will be highly appreciated.
Thanks,
--- Jayesh