Changeset 546:d276b88db68b in verona
- Timestamp:
- Mar 18, 2013 3:10:50 PM (2 months ago)
- Branch:
- default
- Tags:
- tip
- rebase_source:
- 36ae1b90934c62cf275ed2c3f863830842de5b06
- Files:
-
- 4 edited
-
phtest/phmxtestsrunner.cpp (modified) (3 diffs)
-
phtest/phtests_core.cpp (modified) (1 diff)
-
swig/java/CMakeLists.txt (modified) (1 diff)
-
swig/verona.i (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
phtest/phmxtestsrunner.cpp
r532 r546 41 41 42 42 #define DUMMY_PATH_LEN 128 43 using namespace std; 43 44 void prepare_phapi(); 45 void clean_phapi(); 44 46 45 47 int main(int argc, char *argv[]) … … 88 90 } 89 91 90 strcat(buf,"/dummy cslrc");92 strcat(buf,"/dummyisl.ini."); 91 93 // child : update conf.myid and conf.otheruri with child_no 92 94 val = atoi(conf.otheruri) + child_no; … … 101 103 sprintf(conf.myid, "%d", val); 102 104 strcat(buf,conf.myid); 105 103 106 setenv("DUMMYCSLRC", buf, 1); 104 107 printf("SIPPORT %s SERVER %s DUMMYCSLRC for %s is %s, other uri is %s\n",conf.sipport, conf.server, conf.myid, buf, conf.otheruri); 105 if(strcmp(conf.audiodev_out, "default") && !strstr(conf.audiodev_out, " dev/null")){108 if(strcmp(conf.audiodev_out, "default") && !strstr(conf.audiodev_out, "/dev/null")){ 106 109 strcat(conf.audiodev_out, conf.myid); 107 110 printf("audiodev_out is %s\n", conf.audiodev_out); 108 111 } 112 prepare_phapi(); 109 113 sleep(child_no%10); 110 114 (*loops[0]).loop(&conf); 115 clean_phapi(); 111 116 exit(0); 112 117 }else{ -
phtest/phtests_core.cpp
r532 r546 159 159 printf("INCALL line=%d cid=%d to=%s from=%s streams=%x callinfo=%s\n", info->vlid, cid, 160 160 info->localUri, info->remoteUri, info->streams, nz(info->callinfo)); 161 #ifdef HAVE_CSL 161 162 this->ringingCall(cid); 162 //this->acceptCall(cid, 0, PH_STREAM_AUDIO); 163 #else 164 this->acceptCall(cid, 0, PH_STREAM_AUDIO); 165 #endif 163 166 break; 164 167 -
swig/java/CMakeLists.txt
r264 r546 4 4 5 5 if (ANDROID) 6 set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} "-package" "com.mbdsys.qutecom.service.swig.phapi" 6 set(CMAKE_SWIG_FLAGS ${CMAKE_SWIG_FLAGS} "-package" 7 "com.discretio.android.service.swig.phapi" 7 8 "-I${CMAKE_CURRENT_SOURCE_DIR}/") 8 9 SWIG_ADD_MODULE(jni_verona java verona.i ../../phcpp/phapipp.cpp) -
swig/verona.i
r507 r546 79 79 ms_set_jvm(ajvm); 80 80 osip_set_jvm(ajvm); 81 putenv("SSLISLRC=/data/data/com.discretio.android/files/sslisl.ini"); 81 82 return JNI_VERSION_1_6; 82 83 }
Note: See TracChangeset
for help on using the changeset viewer.
