diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-23 19:55:13 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-23 19:55:13 +0000 |
commit | 3b80b65f43f371da322b08263d94614e59cecb63 (patch) | |
tree | 442d5aa3dd95886dc518246db781670b075bac54 | |
parent | 5d60377531c757ecabdca57dfb4a0c1ab29c7ab9 (diff) |
implement callerid passing on type=users. Thanks Ol1ver
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1206 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | channels/h323/ast_h323.cpp | 4 | ||||
-rwxr-xr-x | channels/h323/ast_h323.h | 4 | ||||
-rwxr-xr-x | channels/h323/chan_h323.c | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp index a3a75b299..9f6f7f9ae 100755 --- a/channels/h323/ast_h323.cpp +++ b/channels/h323/ast_h323.cpp @@ -5,8 +5,8 @@ * By Jeremy McNamara * For The NuFone Network * - * This code has been derived from code created by - * Michael Manousos and Mark Spencer + * This code has been derived from code created by + * Michael Manousos and Mark Spencer * * This file is part of the chan_h323 driver for Asterisk * diff --git a/channels/h323/ast_h323.h b/channels/h323/ast_h323.h index 468f77815..492802955 100755 --- a/channels/h323/ast_h323.h +++ b/channels/h323/ast_h323.h @@ -5,8 +5,8 @@ * By Jeremy McNamara * For The NuFone Network * - * This code has been derived from code created by - * Michael Manousos and Mark Spencer + * This code has been derived from code created by + * Michael Manousos and Mark Spencer * * This file is part of the chan_h323 driver for Asterisk * diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c index 99bfede49..9ad2d48b8 100755 --- a/channels/h323/chan_h323.c +++ b/channels/h323/chan_h323.c @@ -5,8 +5,8 @@ * By Jeremy McNamara * For The NuFone Network * - * This code has been derived from code created by - * Michael Manousos and Mark Spencer + * This code has been derived from code created by + * Michael Manousos and Mark Spencer * * This file is part of the chan_h323 driver for Asterisk * @@ -239,6 +239,8 @@ static struct oh323_user *build_user(char *name, struct ast_variable *v) user->noSilenceSuppression = ast_true(v->value); } else if (!strcasecmp(v->name, "secret")) { strncpy(user->secret, v->value, sizeof(user->secret)-1); + } else if (!strcasecmp(v->name, "callerid")) { + strncpy(user->callerid, v->value, sizeof(user->callerid)-1); } else if (!strcasecmp(v->name, "accountcode")) { strncpy(user->accountcode, v->value, sizeof(user->accountcode)-1); } else if (!strcasecmp(v->name, "incominglimit")) { |