|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.voicent.webalert.Voicent
| Constructor Summary | |
Voicent()
Constructor with default localhost:8155 |
|
Voicent(java.lang.String host,
int port)
Constructor with Voicent gateway hostname and port. |
|
| Method Summary | |
java.lang.String |
callAudio(java.lang.String phoneno,
java.lang.String audiofile,
boolean selfdelete)
Make a call to the number specified and play the audio file. |
void |
callRemove(java.lang.String reqID)
Remove all request from the gateway |
java.lang.String |
callStatus(java.lang.String reqID)
Get call status of the call with the reqID. |
java.lang.String |
callText(java.lang.String phoneno,
java.lang.String text,
boolean selfdelete)
Make a call to the number specified and play the text message using text-to-speech engine. |
void |
callTillConfirm(java.lang.String vcastexe,
java.lang.String vocfile,
java.lang.String wavfile,
java.lang.String ccode)
Invoke BroadcastByPhone and start the call-till-confirm process |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Voicent()
public Voicent(java.lang.String host,
int port)
host - Voicent gateway host machineport - Voicent gateway port number| Method Detail |
public java.lang.String callText(java.lang.String phoneno,
java.lang.String text,
boolean selfdelete)
phoneno - Phone number to call, exactly as it should be dialedtext - Text to play over the phone using text-to-speechselfdelete - After the call, delete the call request automatically if set to 1
public java.lang.String callAudio(java.lang.String phoneno,
java.lang.String audiofile,
boolean selfdelete)
phoneno - Phone number to call, exactly as it should be dialedaudiofile - Audio file path nameselfdelete - After the call, delete the call request automatically if set to 1
public java.lang.String callStatus(java.lang.String reqID)
reqID - Call request ID on the gateway
public void callRemove(java.lang.String reqID)
reqID - Call request ID on the gateway
public void callTillConfirm(java.lang.String vcastexe,
java.lang.String vocfile,
java.lang.String wavfile,
java.lang.String ccode)
vcastexe - Executable file vcast.exe, BroadcastByPhone path namevocfile - BroadcastByPhone call list filewavfile - Audio file used for the broadcastccode - Confirmation code
public static void main(java.lang.String[] args)
throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||