[asterisk-commits] pcadach: branch 1.4 r44186 - in /branches/1.4: configs/ pbx/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Oct 2 11:52:57 MST 2006


Author: pcadach
Date: Mon Oct  2 13:52:56 2006
New Revision: 44186

URL: http://svn.digium.com/view/asterisk?rev=44186&view=rev
Log:
Missed part of userconf functionality for chan_h323

Modified:
    branches/1.4/configs/users.conf.sample
    branches/1.4/pbx/pbx_config.c

Modified: branches/1.4/configs/users.conf.sample
URL: http://svn.digium.com/view/asterisk/branches/1.4/configs/users.conf.sample?rev=44186&r1=44185&r2=44186&view=diff
==============================================================================
--- branches/1.4/configs/users.conf.sample (original)
+++ branches/1.4/configs/users.conf.sample Mon Oct  2 13:52:56 2006
@@ -34,6 +34,10 @@
 ;
 hasiax = yes
 ;
+; Create H.323 friend
+;
+;hash323 = yes
+;
 ; Create manager entry
 ;
 hasmanager = no
@@ -59,6 +63,7 @@
 ;hasvoicemail = yes
 ;hassip = yes
 ;hasiax = no
+;hash323 = no
 ;hasmanager = no
 ;callwaiting = no
 ;context = international

Modified: branches/1.4/pbx/pbx_config.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_config.c?rev=44186&r1=44185&r2=44186&view=diff
==============================================================================
--- branches/1.4/pbx/pbx_config.c (original)
+++ branches/1.4/pbx/pbx_config.c Mon Oct  2 13:52:56 2006
@@ -2371,6 +2371,10 @@
 			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;



More information about the asterisk-commits mailing list