Lukas or anyone who can help

I've been doing quite a lot of testing and I think I can now say where the 
problem comes from. I have written two components (like TEdit & TDBEdit) with 
built in buttons. Click the button and the displayed phone number gets dialed 
by TBlockSerial. That's been working for several years. What I'm now trying to 
do is cope with the nasty menu driven switchboards.

The sequence is roughly:

- click component which dials the number
- that component creates instance of TBlockSerial component
- TBlockSerial dials the number
- press button on headset to pick up whilst number is being dialed
- dialer component closes and frees TBlockSerial instance after 15 seconds

This is fine, and as I say above has been working well for years. If I then hit 
a menu driven switchboard (you know the sort - press 1 for Sales, press 2 for 
finance, press 3 to go totally mad) I now open another form to do the extra 
bits. It creates its own instance of TBlockSerial and this is where things stop 
working.

It seems that if I create a second instance of TBlockSerial whilst I can 
connect to the com port any ATCommands I try and send simply time out.

If I don't free the instance of TBlockSerial after dialing I can't hang the 
phone up.

I don't even know if what I'm trying to do is possible or if I'll have to 
modify my dialer component so I can use it for the switchboard menu responses. 
I don't want to because that will mean having to close it manually every time 
even when there are no extra bits.

I need to do this because I now have a DECT headset (think DECT phone without 
keypad) registered to the same base station as the DECT handset hence I can't 
press the keys on the handset anymore to cope with the menus.

Roy Lambert

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to