diff options
author | pcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-02 19:01:10 +0000 |
---|---|---|
committer | pcadach <pcadach@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-02 19:01:10 +0000 |
commit | ec81a6f866d47d738ef96cab9cfc4e092d76b042 (patch) | |
tree | 96fddef4232af2a2e2e824c25092b380a2728996 | |
parent | 6cd18490330f764eda9ea4b00c975aa334f8cc7f (diff) |
Merged revisions 44186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44186 | pcadach | 2006-10-03 00:52:56 +0600 (Втр, 03 Окт 2006) | 1 line
Missed part of userconf functionality for chan_h323
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44196 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | configs/users.conf.sample | 5 | ||||
-rw-r--r-- | pbx/pbx_config.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/configs/users.conf.sample b/configs/users.conf.sample index 0e3ca2237..b03d7d3ce 100644 --- a/configs/users.conf.sample +++ b/configs/users.conf.sample @@ -34,6 +34,10 @@ hassip = yes ; hasiax = yes ; +; Create H.323 friend +; +;hash323 = yes +; ; Create manager entry ; hasmanager = no @@ -59,6 +63,7 @@ pickupgroup = 1 ;hasvoicemail = yes ;hassip = yes ;hasiax = no +;hash323 = no ;hasmanager = no ;callwaiting = no ;context = international diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index d76aa68db..b295c57d6 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1536,6 +1536,10 @@ static void pbx_load_users(void) snprintf(tmp, sizeof(tmp), "IAX/%s", cat); append_interface(iface, sizeof(iface), tmp); } + if (ast_true(ast_config_option(cfg, cat, "hash323"))) { + snprintf(tmp, sizeof(tmp), "H323/%s", cat); + append_interface(iface, sizeof(iface), tmp); + } hasexten = ast_config_option(cfg, cat, "hasexten"); if (hasexten && !ast_true(hasexten)) continue; |