Update of /usr/cvsroot/asterisk/channels/h323
In directory mongoose.digium.com:/tmp/cvs-serv2456/h323

Modified Files:
        ast_h323.cpp chan_h323.h 
Log Message:
Fix dtmfmode, dtmfcodec capability, Faststart for users and peers. Bug #4112

Index: ast_h323.cpp
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/ast_h323.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -d -r1.72 -r1.73
--- ast_h323.cpp        29 Apr 2005 04:22:28 -0000      1.72
+++ ast_h323.cpp        2 May 2005 18:46:01 -0000       1.73
@@ -298,7 +298,7 @@
                        cout << " -- Making call to " << fullAddress << " 
without gatekeeper." << endl;
                }
        }
-       if (!(connection = (MyH323Connection 
*)H323EndPoint::MakeCallLocked(fullAddress, token))) {
+       if (!(connection = (MyH323Connection 
*)H323EndPoint::MakeCallLocked(fullAddress, token, opts))) {
                if (h323debug) {
                        cout << "Error making call to \"" << fullAddress << '"' 
<< endl;
                }

Index: chan_h323.h
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/h323/chan_h323.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- chan_h323.h 4 Apr 2005 07:06:26 -0000       1.38
+++ chan_h323.h 2 May 2005 18:46:01 -0000       1.39
@@ -31,16 +31,16 @@
 /** call_option struct holds various bits
  *         of information for each call */
 typedef struct call_options {
-       char            cid_num[80];
-       char            cid_name[80];
-       int             noFastStart;
-       int             noH245Tunneling;
-       int             noSilenceSuppression;
-       unsigned int    port;
-       int             progress_setup;
-       int             progress_alert;
-       int             progress_audio;
-       int             dtmfcodec;
+       char                    cid_num[80];
+       char                    cid_name[80];
+       int                             noFastStart;
+       int                             noH245Tunneling;
+       int                             noSilenceSuppression;
+       unsigned int    port;
+       int                             progress_setup;
+       int                             progress_alert;
+       int                             progress_audio;
+       int                             dtmfcodec;
 } call_options_t;
 
 /* structure to hold the valid asterisk users */
@@ -51,6 +51,7 @@
        char callerid[80];
        char accountcode[20];
        int amaflags;
+       int capability;
        int bridge;
        int nat;
        int dtmfmode;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to