<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all,<div><br></div><div>Can someone please take a look at <a href="http://jira.freeswitch.org/browse/FS-2875">http://jira.freeswitch.org/browse/FS-2875</a> ?</div><div><br></div><div>Especially the last few comments and last patch which is here: <a href="http://jira.freeswitch.org/secure/attachment/14120/sofia_reg_enable_register_query_with_optional_multiple_contacts.patch_4.txt">http://jira.freeswitch.org/secure/attachment/14120/sofia_reg_enable_register_query_with_optional_multiple_contacts.patch_4.txt</a></div><div><br></div><div>With this it is possible to fetch bindings by sending a sip register without contact headers. A regular register also responds with all bindings that are in the db now (see traces below).</div><div><br></div><div>Thanks,</div><div><br></div><div>Leon</div><div><br></div><div>---</div><div><br></div><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, FreeSans, Helvetica, sans-serif; border-collapse: collapse; color: rgb(51, 51, 51); font-size: 14px; line-height: 20px; ">Traces (I left out headers that are not important for this): <br><br><br>* UAC does REGISTER fetch (without contact) when there are no bindings in the db yet: <br><br> REGISTER <a href="sip:172.16.44.8">sip:172.16.44.8</a> SIP/2.0 <br> Via: SIP/2.0/UDP 172.16.42.150:5060;rport;branch=z9hG4bKD33480AB9580F76B <br> From: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=4041070207 <br> To: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>> <br> Call-ID: <a href="mailto:967655ECA0FEA994@192.168.178.1" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">967655ECA0FEA994@192.168.178.1</a> <br> CSeq: 2 REGISTER <br><br> SIP/2.0 200 OK <br> Via: SIP/2.0/UDP 172.16.42.150:5060;rport=5060;branch=z9hG4bKD33480AB9580F76B <br> From: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=4041070207 <br> To: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=48QmcmccUc50B <br> Call-ID: <a href="mailto:967655ECA0FEA994@192.168.178.1" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">967655ECA0FEA994@192.168.178.1</a> <br> CSeq: 2 REGISTER <br> Date: Fri, 15 Jul 2011 10:39:07 GMT <br><br><br>* UAC does REGISTER (with contact) when there are no bindings in the db yet: <br><br> REGISTER <a href="sip:172.16.44.8">sip:172.16.44.8</a> SIP/2.0 <br> Via: SIP/2.0/UDP 172.16.42.150:5060;rport;branch=z9hG4bKB8AA233F4F985F7C <br> From: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=4041070207 <br> To: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>> <br> Call-ID: <a href="mailto:967655ECA0FEA994@192.168.178.1" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">967655ECA0FEA994@192.168.178.1</a> <br> CSeq: 3 REGISTER <br> Contact: <sip:<a href="mailto:1000@172.16.42.150" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.42.150</a>;uniq=87E52E228E505C8B8957ADA870829> <br> Expires: 1800 <br><br> SIP/2.0 200 OK <br> Via: SIP/2.0/UDP 172.16.42.150:5060;rport=5060;branch=z9hG4bKB8AA233F4F985F7C <br> From: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=4041070207 <br> To: <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=5HHDeFXFrNUKQ <br> Call-ID: <a href="mailto:967655ECA0FEA994@192.168.178.1" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">967655ECA0FEA994@192.168.178.1</a> <br> CSeq: 3 REGISTER <br> Contact: <sip:<a href="mailto:1000@172.16.42.150" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.42.150</a>;uniq=87E52E228E505C8B8957ADA870829>;expires=1800 <br> Date: Fri, 15 Jul 2011 10:39:07 GMT <br><br><br>* UAC does REGISTER (with contact) when there is already one binding in the db: <br><br> REGISTER <a href="sip:172.16.44.8">sip:172.16.44.8</a> SIP/2.0 <br> Via: SIP/2.0/UDP 172.16.42.126:10818;branch=z9hG4bK-d8754z-a7869a477c0f317c-1---d8754z-;rport <br> Contact: <sip:<a href="mailto:1000@172.16.42.126" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.42.126</a>:10818;rinstance=f2aff35495d275bc> <br> To: "1000"<sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>> <br> From: "1000"<sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=cf168522 <br> Call-ID: MTAyZDJkMTUyN2ViYTE1NmFkNjFiNDc1ZDkwNWQwYTc. <br> CSeq: 2 REGISTER <br> Expires: 3600 <br><br> SIP/2.0 200 OK <br> Via: SIP/2.0/UDP 172.16.42.126:10818;branch=z9hG4bK-d8754z-a7869a477c0f317c-1---d8754z-;rport=10818 <br> From: "1000"<sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=cf168522 <br> To: "1000" <sip:<a href="mailto:1000@172.16.44.8" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.44.8</a>>;tag=ZrQtFUm2rpjtB <br> Call-ID: MTAyZDJkMTUyN2ViYTE1NmFkNjFiNDc1ZDkwNWQwYTc. <br> CSeq: 2 REGISTER <br> Contact: <sip:<a href="mailto:1000@172.16.42.150" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.42.150</a>;uniq=87E52E228E505C8B8957ADA870829>;expires=1787 <br> Contact: <sip:<a href="mailto:1000@172.16.42.126" style="cursor: pointer; text-decoration: none; color: rgb(60, 120, 181); ">1000@172.16.42.126</a>:10818;rinstance=f2aff35495d275bc>;expires=3600 <br> Date: Fri, 15 Jul 2011 11:08:10 GMT <br></span></div><div><br></div><div><br></div></body></html>