mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Merged revisions 71414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r71414 | file | 2007-06-24 21:02:49 -0400 (Sun, 24 Jun 2007) | 2 lines Ignore other URIs after the first in a 300 Multiple Choice response. (issue #10041 reported by homesick) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@71430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -11638,10 +11638,12 @@ static struct ast_custom_function sipchaninfo_function = {
|
||||
static void parse_moved_contact(struct sip_pvt *p, struct sip_request *req)
|
||||
{
|
||||
char tmp[BUFSIZ];
|
||||
char *s, *e, *uri;
|
||||
char *s, *e, *uri, *t;
|
||||
char *domain;
|
||||
|
||||
ast_copy_string(tmp, get_header(req, "Contact"), sizeof(tmp));
|
||||
if ((t = strchr(tmp, ',')))
|
||||
*t = '\0';
|
||||
s = get_in_brackets(tmp);
|
||||
uri = ast_strdupa(s);
|
||||
if (ast_test_flag(&p->flags[0], SIP_PROMISCREDIR)) {
|
||||
|
Reference in New Issue
Block a user