Allow SIP/peer/exten like IAX

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 22 years ago
parent 2154f62f51
commit 171b29fd4c

@ -5673,8 +5673,15 @@ static struct ast_channel *sip_request(char *type, int format, void *data)
host++;
ext = tmp;
} else {
host = tmp;
ext = NULL;
ext = strchr(tmp, '/');
if (ext) {
*ext++ = '\0';
host = tmp;
}
else {
host = tmp;
ext = NULL;
}
}
/* Assign a default capability */

Loading…
Cancel
Save