diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-25 17:44:16 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-11-25 17:44:16 +0000 |
commit | c8edf66bb453b75f541a3ff4caea1ba3b804a9fe (patch) | |
tree | 13817a8e8d1c5749cf2f7767a732abfbfb2eadc6 /channels/chan_sip.c | |
parent | debdfd958cece3fafce7df4b4d9bbbe2177b405a (diff) |
Typo (someone needs to test compile before committing his changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 52bfec2d3..873f59af0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -17540,7 +17540,7 @@ static struct sip_user *build_user(const char *name, struct ast_variable *v, int } else if (!strcasecmp(v->name, "accountcode")) { ast_copy_string(user->accountcode, v->value, sizeof(user->accountcode)); } else if (!strcasecmp(v->name, "callcounter")) { - user->call_limit = ast_strue(v->value) ? 999 : 0; + user->call_limit = ast_true(v->value) ? 999 : 0; } else if (!strcasecmp(v->name, "call-limit")) { user->call_limit = atoi(v->value); if (user->call_limit < 0) @@ -17838,7 +17838,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, str } else if (!strcasecmp(v->name, "callbackextension")) { ast_copy_string(callback, v->value, sizeof(callback)); } else if (!strcasecmp(v->name, "callcounter")) { - peer->call_limit = ast_strue(v->value) ? 999 : 0; + peer->call_limit = ast_true(v->value) ? 999 : 0; } else if (!strcasecmp(v->name, "call-limit")) { peer->call_limit = atoi(v->value); if (peer->call_limit < 0) |