<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="background-color: rgb(255, 255, 255); color: rgb(0, 0,
    0);" text="#000000" bgcolor="#FFFFFF">
All, <br>
<br>
According to RFC3261: <br>
<br>
<pre class="newpage"><span class="h4"><h4><a class="selflink" name="section-10.2.3" href="http://tools.ietf.org/html/rfc3261#section-10.2.3">10.2.3</a> Fetching Bindings</h4></span>

   A success response to any REGISTER request contains the complete list
   of existing bindings, regardless of whether the request contained a
   Contact header field.  If no Contact header field is present in a
   REGISTER request, the list of bindings is left unchanged.</pre>
<br>
We should be able to fetch bindings from registrar. With my very limited knowledge of kamailio code (dialog-ng/dlg-handlers.c) : 
<br>
<br>
   if ((!msg->cseq && (parse_headers(msg, HDR_CSEQ_F, 0) < 0 || !msg->cseq))<br>
            || !msg->cseq->parsed) {<br>
        LM_ERR("bad sip message or missing CSeq hdr :-/\n");<br>
        goto error0;<br>
    }<br>
<br>
This condition should also have something like: msg->method != "REGISTER" otherwise it's throwing errors and I'm not getting any response back from kamailio. Request just times out. Can somebody confirm that this feature is/is not implemented ?<br>
<br>
thank you<br>
Dan.<br>
<br>
Here is snippet of sipp xml scenario which I'm using to fetch bindings:<br>
<br>
<scenario name="FetchBindings"><br>
<br>
<label id="1"/><br>
<send><br>
    <![CDATA[<br>
        REGISTER sip:[field2] SIP/2.0<br>
        Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]<br>
        From: <sip:[field0]@[field2]>;tag=aabbcc<br>
        To: <sip:[field0]@[field2]><br>
        Call-ID: [call_id]<br>
        CSeq: [cseq] REGISTER<br>
        Max-Forwards: 70<br>
        Allow: INVITE, ACK, CANCEL, BYE, MESSAGE, OPTIONS, NOTIFY, PRACK, UPDATE, REFER<br>
        User-Agent: IM-client/OMA1.0 sipp-script<br>
        P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000<br>
        Privacy: none<br>
        P-Visited-Network-ID: [field2]<br>
        Supported: path<br>
        Content-Length: 0<br>
]]><br>
</send><br>
<br>
<recv response="200" timeout="10000"/><br>
</scenario><br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Daniel Ciprus</b><br>
Integration engineer<br>
<a href="http://www.acision.com">http://www.acision.com</a><br>
<br>
9954 Mayland Dr<br>
Suite 3100<br>
Richmond, VA 23233<br>
USA<br>
T: +1 804 762 5601<br>
E: <a class="moz-txt-link-abbreviated" href="mailto:daniel.ciprus@acision.com">daniel.ciprus@acision.com</a><br>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed
 to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.<br>
</font>
<br clear=all> 
</body>
</html>