From 3b80b65f43f371da322b08263d94614e59cecb63 Mon Sep 17 00:00:00 2001 From: jeremy Date: Wed, 23 Jul 2003 19:55:13 +0000 Subject: implement callerid passing on type=users. Thanks Ol1ver git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1206 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/h323/ast_h323.cpp | 4 ++-- channels/h323/ast_h323.h | 4 ++-- channels/h323/chan_h323.c | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'channels/h323') 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")) { -- cgit v1.2.3