Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a phone call for a voice mail
Message
De
13/07/2001 11:51:33
 
 
À
13/07/2001 11:47:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00530268
Message ID:
00530319
Vues:
50
>>Ok, now that I have succeeded in dialing a phone number, I need to be able to have the modem to stay connected as long as the voice mail message is over so a message will be left. Here is the code I have so far. Anyone know how to achieve that?
>>
>>
>>PUBLIC oPhone
>>oPhone=CREATEOBJECT('Form')
>>oPhone.AddObject('Phone','Olecontrol','MSCOMMLib.MSComm')
>>oPhone.Phone.Settings='9600,N,8,1'
>>WAIT WINDOW 'Setting up modem' TIMEOUT 1
>>oPhone.Phone.CommPort=1
>>WAIT WINDOW 'Setting up comm port' TIMEOUT 1
>>oPhone.Phone.PortOpen=.T.
>>WAIT WINDOW 'Opening port' TIMEOUT 1
>>oPhone.Phone.Output='ATDT923-1406'+CHR(13)
>>WAIT WINDOW 'Dialing' TIMEOUT 1
>>
>
>I'm not sure how to do what you want, but would this package suit your needs (I haven't tried it).
>
>http://www.voicemailspecial.com/

Well, when I dial, I hear it rings. Then, the voice mail starts (which means the call gets answered) but there is no event which is fired in onComm(). This is what I don't understand.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform