[asterisk-commits] file: branch 1.4 r71576 - /branches/1.4/channels/chan_h323.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jun 25 09:13:45 CDT 2007


Author: file
Date: Mon Jun 25 09:13:45 2007
New Revision: 71576

URL: http://svn.digium.com/view/asterisk?view=rev&rev=71576
Log:
Build a peer as well when hash323 is enabled in users.conf (issue #9599 reported by asagage)

Modified:
    branches/1.4/channels/chan_h323.c

Modified: branches/1.4/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_h323.c?view=diff&rev=71576&r1=71575&r2=71576
==============================================================================
--- branches/1.4/channels/chan_h323.c (original)
+++ branches/1.4/channels/chan_h323.c Mon Jun 25 09:13:45 2007
@@ -2780,6 +2780,11 @@
 						ASTOBJ_CONTAINER_LINK(&userl, user);
 						ASTOBJ_UNREF(user, oh323_destroy_user);
 					}
+					peer = build_peer(cat, gen, ast_variable_browse(ucfg, cat), 0);
+					if (peer) {
+						ASTOBJ_CONTAINER_LINK(&peerl, peer);
+						ASTOBJ_UNREF(peer, oh323_destroy_peer);
+					}
 				}
 			}
 		}




More information about the asterisk-commits mailing list