On 10-02 14:56, scm-j(a)nuntius.com wrote:
When I receive a SIP INVITE from my service provider,
the normal call
flow is for SER to forward it to my Asterisk for authentication.
However, if the Asterisk is down, SER keeps attempting by sending
multiple INVITEs to Asterisk, until it receives a CANCEL from the
service provider.
The preferred behavior is for SER to give up after 2-3 unsuccessful
attempts and send a "503 Service Unavailable" message back to the
service provider. Is there a way to do this in ser.cfg or anywhere else
in SER? Any examples would be much appreciated.
Note that 5xx means that an error has occured on the server, which is
not true in this case. I would keep the original response which would
be 408 Request Timeout.
Jan.