When you've got an * in the Contact header and an Expires of 0 it means that the registrar server has to delete all contacts for the AoR present in the To:
I guess you would have to identify whether the incoming REGISTER is provinding a binding (Expires>0) or removing it (Expires=0) to act appropriately. The use of * is "perfectly" defined in RFC 3261. Remember that the expiration interval can either be in a single Expires header or as a header parameter in the Contact header..... Samuel. 2006/9/13, Fatih Cerit <[EMAIL PROTECTED]>:
Hi I want to overwrite the contact header field using textops but some UAs send only an asterisk as a contact (like below). Is this defined in protocol (I didn't find) ? I don't decide what to do . Do I reply with an error or use another field (from,to) as contact thanks REGISTER sip:sip.anywhere.com SIP/2.0 Via: SIP/2.0/UDP 10.0.0.49;branch=z9hG4bK8eaa0451724f9bf4 From: "test" <sip:[EMAIL PROTECTED];user=phone>;tag=9969d7f94927b840 To: <sip:[EMAIL PROTECTED];user=phone> Contact: * Call-ID: [EMAIL PROTECTED] CSeq: 100 REGISTER Expires: 0 User-Agent: Grandstream HT286 1.0.5.11 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE Content-Length: 0 _______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
