Introduction
Introduction Statistics Contact Development Disclaimer Help
Use the new iaxrecord flags in the dialer, ensure calls are dropped before exit…
Log
Files
Refs
README
---
commit 0bbe5da42b5cd8e8856945aa718a666314e3cb41
parent 1eaeca87fc11414300b9cb17737cde857145d9b5
Author: HD Moore <[email protected]>
Date: Fri, 15 May 2009 03:07:06 +0000
Use the new iaxrecord flags in the dialer, ensure calls are dropped before exit…
Diffstat:
M lib/warvox/jobs/dialer.rb | 7 +++++++
M src/iaxrecord/iaxrecord.c | 3 +++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/lib/warvox/jobs/dialer.rb b/lib/warvox/jobs/dialer.rb
@@ -138,12 +138,19 @@ class Dialer < Base
IO.popen(
[
WarVOX::Config.tool_pa…
+ "-s",
prov[:host],
+ "-u",
prov[:user],
+ "-p",
prov[:pass],
+ "-c",
cid,
+ "-o",
out,
+ "-n",
num,
+ "-l",
@seconds
].map{|i|
"'" + i.to_s.gsub("'",…
diff --git a/src/iaxrecord/iaxrecord.c b/src/iaxrecord/iaxrecord.c
@@ -44,6 +44,7 @@ void cleanup(void) {
}
if ( initialized ) {
iaxc_stop_processing_thread();
+ iaxc_shutdown();
initialized = 0;
}
}
@@ -266,6 +267,8 @@ int main(int argc, char **argv) {
busy,
(unsigned int)(etime) - (unsigned int)(stime)
);
+
+ iaxc_dump_all_calls();
return(0);
}
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.