Summary: | ASTERISK-02161: translate.h using c++ | ||
Reporter: | itai_regev (itai_regev) | Labels: | |
Date Opened: | 2004-07-31 15:46:45 | Date Closed: | 2008-01-15 15:04:17.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | when using c++ and including this file , there is an error on line 37 , because of using a c++ word (new) , when changed to newp on both this file and translate.c it works | ||
Comments: | By: Mark Spencer (markster) 2004-07-31 16:58:22 What are you creating in C++ to link to asterisk? By: itai_regev (itai_regev) 2004-08-01 08:04:25 just trying to build an easy to use class for an ivr, play, record, getdigits.... By: Brian West (bkw918) 2004-08-01 13:59:46 You do realize that we have all those features already.. Playback, Background, Record and Read bkw By: Mark Spencer (markster) 2004-08-01 15:00:06 Yes, but not as a C++ class. It sounds like the idea here is to make a more useful C++ interface to Asterisk, something we entirely lack today. Even though I'm not a fan of C++ myself, this could certainly make things easier for C++ programmers. By: Mark Spencer (markster) 2004-08-01 15:01:38 Fixed in CVS. By: Digium Subversion (svnbot) 2008-01-15 15:04:17.000-0600 Repository: asterisk Revision: 3560 U trunk/Makefile U trunk/configs/musiconhold.conf.sample U trunk/include/asterisk/translate.h A trunk/sounds/fpm-calm-river.mp3 D trunk/sounds/sample-hold.mp3 U trunk/translate.c ------------------------------------------------------------------------ r3560 | markster | 2008-01-15 15:04:16 -0600 (Tue, 15 Jan 2008) | 2 lines Rename newp to newpvt (bug ASTERISK-2161), change hold music. ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3560 |