<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Ok, so rfc3263 defines what the user agent should do when a 503 reply, or no reply is received.<br>What about the rest of the possible SIP replies?<br><br>We use several different ITSP's. I just checked the logs for our last 50,000 calls from all of them and there was a total of 19 different replies received.<br><br>They are:<br>200,400,401,403,404,408,410,480,484,486,487,488,500,501,502,503,504,603<br><br>Some of these can occur under normal conditions, 486 is busy for example, or 487 is generated by a CANCEL.<br><br>What about the rest? Most of the rest can be classified as error conditions. Are you saying that if another error condition besides 503 is received that you don't do failover? Why?
 <br><br>Douglas.<br><br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Bogdan-Andrei Iancu &lt;bogdan@voice-system.ro&gt;<br>To: Douglas Garstang &lt;dougmig33@yahoo.com&gt;; users openser.org &lt;users@openser.org&gt;<br>Sent: Friday, February 15, 2008 5:56:45 AM<br>Subject: Re: [OpenSER-Users] Failover using NAPTR/SRV<br><br>
Of 
course 
it 
is.....by 
IETF&nbsp; 

see 
RFC3263.<br><br>4.3 
Details 
of 
RFC 
2782 
Process<br><br><br>Regards,<br>Bogdan<br><br><br>Douglas 
Garstang 
wrote:<br>&gt; 
Well 
that's 
weird. 
What 
do 
you 
mean 
by 
'fail'? 

thought 
dns_blacklist <br>&gt; 
was 
used 
when 

503 
response 
was 
received? 
What 
if 
the 
connection <br>&gt; 
times 
out? 
What 
if 
another 
negative 
reply 
is 
received? 
Is 
this 
stuff <br>&gt; 
documented 
anywhere?<br>&gt;<br>&gt; 
----- 
Original 
Message 
----<br>&gt; 
From: 
Bogdan-Andrei 
Iancu 
&lt;<a ymailto="mailto:bogdan@voice-system.ro" href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;<br>&gt; 
To: 
Tobias 
Lindgren 
&lt;<a ymailto="mailto:tobias.lindgren@ip-only.se" href="mailto:tobias.lindgren@ip-only.se">tobias.lindgren@ip-only.se</a>&gt;<br>&gt; 
Cc: 
<a ymailto="mailto:users@openser.org" href="mailto:users@openser.org">users@openser.org</a><br>&gt; 
Sent: 
Thursday, 
February 
14, 
2008 
3:25:33 
AM<br>&gt; 
Subject: 
Re: 
[OpenSER-Users] 
Failover 
using 
NAPTR/SRV<br>&gt;<br>&gt; 
Hi 
Tobias,<br>&gt;<br>&gt; 
if 
you 
have 
"dns_backlist=yes" 
in 
your 
config, 
if 
one 
of 
the 
destination<br>&gt; 
server 
fails 
(according 
to 
SIP 
definition), 
it's 
IP 
will 
be 
added 
to 
a<br>&gt; 
temporary 
blacklist 
(for 

minutes) 
and 
not 
used. 
So, 
openser 
should 
do<br>&gt; 
dns-based 
failover 
and 
use 
the 
next 
entry 
provided 
by 
NAPTR/SRV/A 
lookup.<br>&gt;<br>&gt; 
Regards,<br>&gt; 
Bogdan<br>&gt;<br>&gt; 
Tobias 
Lindgren 
wrote:<br>&gt; 
&gt; 
Hi 
all,<br>&gt; 
&gt;<br>&gt; 
&gt; 
I've 
been 
trying 
to 
find 
this 
information 
but 

cannot 
find 
any 
exact<br>&gt; 
&gt; 
specifications 
on 
how 
it 
really 
works.<br>&gt; 
&gt;<br>&gt; 
&gt;&nbsp; 
&gt;From 
what 

know 
using 
NAPTR/SRV 
records 
with 
OpenSER 
will 
allow <br>&gt; 
it 
to<br>&gt; 
&gt; 
find 
and 
use 
servers 
behind 
those 
DNS-records. 
This 
works 
just 
fine.<br>&gt; 
&gt;<br>&gt; 
&gt; 
However, 
what 
I'm 
not 
sure 
about 
is 
what 
actually 
will 
happen 
in <br>&gt; 
OpenSER<br>&gt; 
&gt; 
when 
one 
of 
two 
servers 
in 
this 
scenario 
would 
fail.<br>&gt; 
&gt;<br>&gt; 
&gt; 
For 
example, 

have 
two 
servers 
as 
SRV 
where 
one 
is 
primary 
and 
one 
is<br>&gt; 
&gt; 
secondary 
for 
SIP/UDP. 
What 
will 
happend 
in 
OpenSER 
when 
the 
primary<br>&gt; 
&gt; 
server 
is 
down? 
Will 
OpenSER 
continue 
to 
send 
all 
request 
first 
towards<br>&gt; 
&gt; 
that 
server 
or 
will 
it 
learn 
that 
one 
server 
is 
down 
and 
always 
send<br>&gt; 
&gt; 
requests 
to 
the 
second 
server 
for 

period 
of 
time 
and 
try 
the 
primary<br>&gt; 
&gt; 
one 
just 
occassionally?<br>&gt; 
&gt;<br>&gt; 
&gt; 
Please 
direct 
me 
to 
any 
page 
where 
this 
is 
explained 
in 
detail, 
if 
such<br>&gt; 
&gt; 
page 
exists.<br>&gt; 
&gt;<br>&gt; 
&gt; 
Br,<br>&gt; 
&gt; 
/Tobias<br>&gt; 
&gt;<br>&gt; 
&gt; 
_______________________________________________<br>&gt; 
&gt; 
Users 
mailing 
list<br>&gt; 
&gt; 
<a ymailto="mailto:Users@lists.openser.org" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a> 
&lt;mailto:<a ymailto="mailto:Users@lists.openser.org" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a>&gt;<br>&gt; 
&gt; 
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt; 
&gt;<br>&gt; 
&gt; <br>&gt;<br>&gt;<br>&gt; 
_______________________________________________<br>&gt; 
Users 
mailing 
list<br>&gt; 
<a ymailto="mailto:Users@lists.openser.org" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a> 
&lt;mailto:<a ymailto="mailto:Users@lists.openser.org" href="mailto:Users@lists.openser.org">Users@lists.openser.org</a>&gt;<br>&gt; 
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt;<br>&gt;<br>&gt; 
------------------------------------------------------------------------<br>&gt; 
Never 
miss 

thing. 
Make 
Yahoo 
your 
homepage. <br>&gt; 
&lt;<a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs" target="_blank">http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs</a>&gt; <br><br></div><br></div></div><br>
      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>