[asterisk-addons-commits] russell: trunk r377 - /trunk/asterisk-ooh323c/src/chan_h323.c

asterisk-addons-commits at lists.digium.com asterisk-addons-commits at lists.digium.com
Mon Apr 30 09:25:27 MST 2007


Author: russell
Date: Mon Apr 30 11:25:26 2007
New Revision: 377

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=377
Log:
update to API changes in trunk

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=377&r1=376&r2=377
==============================================================================
--- trunk/asterisk-ooh323c/src/chan_h323.c (original)
+++ trunk/asterisk-ooh323c/src/chan_h323.c Mon Apr 30 11:25:26 2007
@@ -58,7 +58,7 @@
 static enum ast_rtp_get_result ooh323_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp);
 static enum ast_rtp_get_result ooh323_get_vrtp_peer(struct ast_channel *chan, struct ast_rtp **rtp);
 static int ooh323_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, 
-                             struct ast_rtp *vrtp, int codecs, int nat_active);
+                             struct ast_rtp *vrtp, struct ast_rtp *trtp, int codecs, int nat_active);
 
 static void print_codec_to_cli(int fd, struct ast_codec_pref *pref);
 static void ast_ooh323c_exit();
@@ -411,7 +411,7 @@
       return NULL;
    }
  
-   ast_rtp_settos(pvt->rtp, gTOS);
+   ast_rtp_setqos(pvt->rtp, gTOS, 0);
 
 
    pvt->call_reference = callref;
@@ -2970,8 +2970,8 @@
 }
 
 static int ooh323_set_rtp_peer
-   (struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, 
-    int codecs, int nat_active)
+   (struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp,
+    struct ast_rtp *trtp, int codecs, int nat_active)
 {
    /* XXX Deal with Video */
    struct ooh323_pvt *p;



More information about the asterisk-addons-commits mailing list