[asterisk-commits] pcadach: branch pcadach/chan_h323-live r43094 -
/team/pcadach/chan_h323-live/...
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Sun Sep 17 09:56:43 MST 2006
Author: pcadach
Date: Sun Sep 17 11:56:42 2006
New Revision: 43094
URL: http://svn.digium.com/view/asterisk?rev=43094&view=rev
Log:
Create users instead of peers with users.conf
Modified:
team/pcadach/chan_h323-live/channels/chan_h323.c
Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=43094&r1=43093&r2=43094&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Sun Sep 17 11:56:42 2006
@@ -2726,10 +2726,10 @@
if (strcasecmp(cat, "general")) {
has_h323 = ast_variable_retrieve(ucfg, cat, "hash323");
if (ast_true(has_h323) || (!has_h323 && genhas_h323)) {
- peer = build_peer(cat, gen, ast_variable_browse(ucfg, cat), 0);
- if (peer) {
- ASTOBJ_CONTAINER_LINK(&peerl, peer);
- ASTOBJ_UNREF(peer, oh323_destroy_peer);
+ user = build_user(cat, gen, ast_variable_browse(ucfg, cat), 0);
+ if (user) {
+ ASTOBJ_CONTAINER_LINK(&userl, user);
+ ASTOBJ_UNREF(user, oh323_destroy_user);
}
}
}
More information about the asterisk-commits
mailing list