00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
#ifndef CALLOUTGOINGMODULE_H
00018
#define CALLOUTGOINGMODULE_H
00019
00020
#include "callmodule.h"
00021
#include "../backend/connection.h"
00022
00023
00024
using namespace std;
00025
00041 class CallOutgoing:
public CallModule
00042 {
00043
public:
00056
CallOutgoing(
Capi *
capi, _cdword
controller, string
call_from, string
call_to, Connection::service_t
service,
int timeout, string
faxStationID, string
faxHeadline,
bool clir);
00057
00065
void mainLoop()
throw (
CapiExternalError,
CapiMsgError);
00066
00070
void callConnected();
00071
00074
void alerting();
00075
00080
Connection*
getConnection();
00081
00090
int getResult();
00091
00092
private:
00093 Connection::service_t service;
00094 string call_from,
00095 call_to,
00096 faxStationID,
00097 faxHeadline;
00098 Capi *capi;
00099 _cdword controller;
00100 bool clir;
00101 int result;
00102 int saved_timeout;
00103 };
00104
00105
#endif
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124