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
00042 class CallOutgoing: public CallModule
00043 {
00044 public:
00057 CallOutgoing(Capi *capi, _cdword controller, string call_from, string call_to, Connection::service_t service, int timeout, string faxStationID, string faxHeadline, bool clir);
00058
00064 void mainLoop() throw (CapiExternalError,CapiMsgError);
00065
00069 void callConnected();
00070
00073 void alerting();
00074
00079 Connection* getConnection();
00080
00089 int getResult();
00090
00091 private:
00092 Connection::service_t service;
00093 string call_from,
00094 call_to,
00095 faxStationID,
00096 faxHeadline;
00097 Capi *capi;
00098 _cdword controller;
00099 bool clir;
00100 int result;
00101 int saved_timeout;
00102 };
00103
00104 #endif
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124