mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
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:
@@ -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
|
||||
|
@@ -2371,6 +2371,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;
|
||||
|
Reference in New Issue
Block a user