Index: channels/chan_sip.c =================================================================== RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v retrieving revision 1.861 diff -u -r1.861 chan_sip.c --- channels/chan_sip.c 18 Sep 2005 22:10:35 -0000 1.861 +++ channels/chan_sip.c 25 Sep 2005 19:06:46 -0000 @@ -4438,7 +4438,7 @@ return send_request(p, &req, 1, p->ocseq); } -/*--- extract_uri: Check Contact: URI of SIP message ---*/ +/*--- extract_uri: Copy Contact: URI of SIP message into URI ---*/ static void extract_uri(struct sip_pvt *p, struct sip_request *req) { char stripped[256]; @@ -8956,7 +8956,8 @@ -/*--- parse_moved_contact: Parse 302 Moved temporalily response */ +/*--- parse_moved_contact: Parse 3XX Moved temporarily + Replace URI with Contact URI */ static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req) { char tmp[256]; @@ -10420,7 +10421,6 @@ ignore=1; } - extract_uri(p, req); e = ast_skip_blanks(e); if (sscanf(e, "%d %n", &respid, &len) != 1) { ast_log(LOG_WARNING, "Invalid response: '%s'\n", e);