[asterisk-addons-commits] murf: trunk r361 - /trunk/asterisk-ooh323c/src/chan_h323.c

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Mon Apr 9 22:43:11 MST 2007


Author: murf
Date: Tue Apr 10 00:43:10 2007
New Revision: 361

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=361
Log:
The channel_alloc() call has been updated to include the new extra args

Modified:
    trunk/asterisk-ooh323c/src/chan_h323.c

Modified: trunk/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/trunk/asterisk-ooh323c/src/chan_h323.c?view=diff&rev=361&r1=360&r2=361
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Tue Apr 10 00:43:10 2007
@@ -247,7 +247,7 @@
 
    /* Don't hold a h323 pvt lock while we allocate a channel */
    ast_mutex_unlock(&i->lock);
-   ch = ast_channel_alloc(1, state, i->callerid_num, i->callerid_name, "OOH323/%s-%04x", host, rand() & 0xffff);
+   ch = ast_channel_alloc(1, state, i->callerid_num, i->callerid_name, i->accountcode, i->exten, i->context, i->amaflags, "OOH323/%s-%04x", host, rand() & 0xffff);
    ast_mutex_lock(&i->lock);
 
    if(ch)



More information about the asterisk-addons-commits mailing list