Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending a phone call for a voice mail
Message
De
16/07/2001 07:10:29
 
 
À
15/07/2001 12:18:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00530268
Message ID:
00530910
Vues:
30
>>>>Yes. Until your modem sees and negotiates with another modem, it appears to be staying in command mode so you should be able send digits until the modem reaches it's dialing timeout. Having fun yet?
>>>
>>>I can't send anything to be recorded. The only difference is that when I hang up, the voice mail recognize the end of call and record an empty message. But, whatever I send is ignored.
>>
>>Meaning? You should be able to control your voicemail system with the modem just like you would through a standard phone. Touch tone is touch tone. Just a matter of having the modem in a proper mode and somehow guessing where you are in the sequence. Without more details, I can't help much here.
>
>It's just that I am not sure how to handle it. The manual gives an example to dial into a system, wait for 5 seconds, send a username, wait for 5 seconds and send the password.
>
>
>ATX4 DT5551234 @ 12345 @ 6789 @ 2<Enter>
>
>
>However, VFP will continue to the next line right away. As VFP does not understand that there is some commands sent to the modem, does this mean we have to send everything we need to the modem in one line such as that one?

Yes.

>In my case, I am using timeouts. However, this doesn't allow me to control exactly the time. Sometimes, it'll take longer for the voice mail to kick in. So, when that happens, I may miss the correct point.
>
>I'm not using ATX to dial. Is that what I should use?

X4 means to Enable monitoring of busy tones, and send all messages back to you. Should be the default setting.

>Also, in that example, does this mean the first 5 seconds pause will only kick in as soon as the line is answering? Or is it 5 seconds from the startup of the command?
>

I believe that the 5 seconds start when the modem encounters the @ in the string. It will not proceed until that expires. Again check info for S7. In your example, it would start after dialing the number.

>In that example, there is no special characters to be send such as the pound sign. In my case, if I would be able to send a dial, wait the line to be answered, send a pound sign and a few digits, I'll be ok.

If youe aren't monitoring the call progress(NO DIALTONE,BUSY,NO ANSWER), then your best bet may be to experiment with some pauses after your dial command, such as "ATDT1234567,,#246" or something similar. The ',' defaults to 2 seconds, can be configured through the S8 register.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform