diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-13 17:53:29 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-13 17:53:29 +0000 |
commit | da1b1015d97766fd970766661dca362304f117b9 (patch) | |
tree | 1aa456c1513644a4b2ebe7a000b78c863110742b | |
parent | b208be60b0534ae3f98a6e9c8358ba05fb81837b (diff) | |
parent | f87a845d9ebb91cb81eb2ff0a4ceec8548bbf53e (diff) |
Creating tag for the release of asterisk-1.2.7.1-netsec
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.7.1-netsec@19820 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | apps/app_page.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/app_page.c b/apps/app_page.c index 6898bfa27..bd050d183 100644 --- a/apps/app_page.c +++ b/apps/app_page.c @@ -171,16 +171,16 @@ static int page_exec(struct ast_channel *chan, void *data) return -1; } + ast_copy_string(originator, chan->name, sizeof(originator)); + if ((tmp = strchr(originator, '-'))) + *tmp = '\0'; + tmp = strsep(&options, "|"); if (options) ast_app_parse_options(page_opts, &flags, NULL, options); snprintf(meetmeopts, sizeof(meetmeopts), "%ud|%sqxdw", confid, ast_test_flag(&flags, PAGE_DUPLEX) ? "" : "m"); - ast_copy_string(originator, chan->name, sizeof(originator)); - if ((tmp = strchr(originator, '-'))) - *tmp = '\0'; - while ((tech = strsep(&tmp, "&"))) { /* don't call the originating device */ if (!strcasecmp(tech, originator)) |