Merged revisions 162738 via svnmerge from
[asterisk/asterisk.git] / channels / chan_sip.c
index 9c07c41..e6b5193 100644 (file)
@@ -11118,6 +11118,7 @@ static enum parse_register_result parse_register_contact(struct sip_pvt *pvt, st
                ast_string_field_set(peer, useragent, "");
                peer->sipoptions = 0;
                peer->lastms = 0;
+               pvt->expiry = 0;
 
                ast_verb(3, "Unregistered SIP '%s'\n", peer->name);