<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2>I have searched the archive for an answer to this
question, and I did not find it. If I missed, I apologize. Please
point me in the right direction.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am having a problem with the pa module of ser
(0.8.12). Using ethereal, I see that in response to a SUBSCRIBE, ser will
sometimes send an OK and then a NOTIFY. However, other times ser sends the
NOTIFY and then the OK. For a single UA sending multiple SUBSCRIBE's to
ser, about half of the OK's are sent first and about half of the NOTIFY's are
sent first.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>This is a problem because I am running the UA
behind a SIP-aware firewall which expects the OK first. If the OK is not
received, the NOTIFY will not be allowed back through the firewall.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Looking at RFC 3265, 3.1.4.1:</FONT></DIV>
<DIV><FONT face=Arial size=2>"This SUBSCRIBE request will be confirmed with a
final response. 200-class responses indicate that the subscription has
been accepted, and that a NOTIFY will be sent immediately."</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Looking at RFC 3265, 3.1.6.2:</FONT></DIV>
<DIV><FONT face=Arial size=2>"Upon successfully accepting or refreshing a
subscription, notifiers MUST send a NOTIFY message immediately to communicate
the current resource state to the subscriber. This NOTIFY message is sent
on the same dialog as created by the SUBSCRIBE
response.<BR><snip> <BR>Note that a NOTIFY message is always
sent immediately after any 200-class response to a SUBSCRIBE request, regardless
of whether the subscription has already been authorized."</FONT></DIV>
<DIV><BR><FONT face=Arial size=2>My interpretation is that the RFC requires the
OK to be sent first. Is that a valid interpretation?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there an easy fix for this<SPAN
class=148270419-16062004> (</SPAN>perhaps in ser.cfg<SPAN
class=148270419-16062004>)</SPAN> or will this require a code
change?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jay</FONT></DIV></BODY></HTML>