Missed part of userconf functionality for chan_h323

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Paul Cadach
2006-10-02 18:52:56 +00:00
parent e7a2e3cb07
commit 6b37705130
2 changed files with 9 additions and 0 deletions

View File

@@ -34,6 +34,10 @@ hassip = yes
; ;
hasiax = yes hasiax = yes
; ;
; Create H.323 friend
;
;hash323 = yes
;
; Create manager entry ; Create manager entry
; ;
hasmanager = no hasmanager = no
@@ -59,6 +63,7 @@ pickupgroup = 1
;hasvoicemail = yes ;hasvoicemail = yes
;hassip = yes ;hassip = yes
;hasiax = no ;hasiax = no
;hash323 = no
;hasmanager = no ;hasmanager = no
;callwaiting = no ;callwaiting = no
;context = international ;context = international

View File

@@ -2371,6 +2371,10 @@ static void pbx_load_users(void)
snprintf(tmp, sizeof(tmp), "IAX/%s", cat); snprintf(tmp, sizeof(tmp), "IAX/%s", cat);
append_interface(iface, sizeof(iface), tmp); 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"); hasexten = ast_config_option(cfg, cat, "hasexten");
if (hasexten && !ast_true(hasexten)) if (hasexten && !ast_true(hasexten))
continue; continue;