mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-23 13:09:00 +00:00
Merge enhanced status changes, add SIP subscribe from Andre
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1084,13 +1084,15 @@ static int handle_context_add_extension(int fd, int argc, char *argv[])
|
||||
cidmatch = NULL;
|
||||
}
|
||||
prior = strsep(&whole_exten,",");
|
||||
if (!strcmp(prior, "hint")) {
|
||||
iprior = PRIORITY_HINT;
|
||||
} else {
|
||||
iprior = atoi(prior);
|
||||
if (prior) {
|
||||
if (!strcmp(prior, "hint")) {
|
||||
iprior = PRIORITY_HINT;
|
||||
} else {
|
||||
iprior = atoi(prior);
|
||||
}
|
||||
}
|
||||
app = strsep(&whole_exten,",");
|
||||
if ((start = strchr(app, '(')) && (end = strrchr(app, ')'))) {
|
||||
if (app && (start = strchr(app, '(')) && (end = strrchr(app, ')'))) {
|
||||
*start = *end = '\0';
|
||||
app_data = start + 1;
|
||||
for (start = app_data; *start; start++)
|
||||
|
Reference in New Issue
Block a user