diff options
author | jim <jim@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-09 22:39:14 +0000 |
---|---|---|
committer | jim <jim@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-09 22:39:14 +0000 |
commit | 2795ea48a5f7b4208f67459df0577224f787339d (patch) | |
tree | b4d0d63b4901126bc53ced3a093084894255b389 /channels/chan_agent.c | |
parent | fcec8c9fb4dd0bbec896104cd430b035c9bf8bd2 (diff) |
Fixed call parking, added separate paramater to allow/disallow call parking on
Zaptel interfaces (canpark=yes/no in zapata.conf), added urlbase paramater to
Monitor so that a url can optionally be included in CDR (user field), cleaned up a couple of minor things
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4413 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_agent.c')
-rwxr-xr-x | channels/chan_agent.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 526f24e12..9dc0ce7a6 100755 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -1366,9 +1366,14 @@ static int __login_exec(struct ast_channel *chan, void *data, int callbackmode) exten = NULL; } } - if ( options ) { + if (options) { while (*options) { option = (char)options[0]; + if ((option >= 0) && (option <= '9')) + { + options++; + continue; + } if (option=='s') play_announcement = 0; else { |