[Users] Best practice for DNS failover using OpenSER?

Jiri Kuthan jiri at iptel.org
Fri Jan 19 16:50:20 CET 2007


At 15:38 16/01/2007, Greg Fausak wrote:
>Retransmissions are good (most of the time).  Somehow the ser
>script would need to know that there is another thread tending to
>a DNS lookup.  How does my script know if a message is original,
>or a retransmission anyway?

That's the think ... expensive request processing must be wrapped in transaction
processing in your script, otherwise every single retranmission will trigger it
all over times again.

>It seems to me that the tm module should be reaping the retransmits.

Yes, the it is responsibility of tm code and properly designed script (and properly
set up DNS and properly set up blacklisting).

-jiri


--
Jiri Kuthan            http://iptel.org/~jiri/ 





More information about the sr-users mailing list