|
| Phone
CreatePhoneNotification
(Bool IsSmarter)
throw Exception
|
|
| IsSmarter |
| If true the phone equipment tries to recognize answer machine |
|
| Phone notification object |
|
| | Personalizer pers = null; |
| | Session sess = null; |
| | try{ |
| | //Create personalizer object and Session object |
| | pers = new Personalizer(); |
| | sess = pers.CreateSession("LogonName", "Password"); |
| | //Create Phone Notification object |
| | Phone oPhone = sess.CreatePhoneNotification(true); |
| | ...; |
| | //Release Phone Notification object |
| | oPhone.Release(); |
| | sess.Release(); |
| | } |
| | catch(Exception e){ |
| | //Print exception message e.Message |
| | System.out.println(e.Message); |
| | sess.Release(); |
| | } |