-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Displays the number you are calling, e.g. where the code is running 793456, if I am calling from 07770 456 789, 793456 pops up #1
Comments
I'm the OP, sorted, seems I was missing the obvious output was just getting the last of the 3 values that are returned, I need the 2nd, the 27 so can easily fix amazing the basics of win32com.client & pythoncom seem to manage easily & minimal code. I may have towork out a way to go through the source of TAPI, on the PC I want to use eventually has a few modems. My test PC only has the one, NEC Tapi.
except: |
Thanks for trying it and I'll try to assist! It's a bit hard to follow though - do you mean your actual output is Either way, please:
Then:
|
I did reply to your direct email but thought would post here also in case of use to others, made a little clearer below I hope. Hi, I am just interested in Caller ID for incoming calls. It is working correctly now, not sure if by design or luck until I really understand the process. Fairly sure it is because of duplicate I am guessing may work differently on your system as no doubt would have had the same problem, perhaps because mine is on a pbx, You have already done enough & I am sure I will work it out now I have a great example to go on but if you have any advise on how I might go about listing & the selecting the TAPI source. On this windows 10 test system I have just one TAPI source, the NEC pbx. On the Windows 10 PC I will eventually implement has 2 or more TAPI devices. My old VBA ocx, I could list them all & then choose a device number but this was described in the 3rd party manual so easy to code. Huge thanks again, I had rather lost the will with trying to get VBA to work & could not have faced trying again via Python still not knowing if it would have worked in the end. Even though you & the modules have done all the work still seems so much easier than MS Tapi32 VBNet etc. Work in progress & guess unlikely someone viewing here is after connecting to MSAccess but here is what I have work in at the moment. import win32com.client cnn_string = ( def print_check_error(str, obj, code):
Access table name & fields must be identical, also other stuff is case sensitive, just double check. |
This ticket is about weird numbers, so please consider writing the MSAccess code in a standalone ticket as a feature request.
It's not a duplicate:
I guess by default it's undetected thus empty, but your PBX does know how to fill it which looks weird to you. I've also updated the code to let you choose which modem to use. I originally figured if someone had multiple modems, they'd want to know when any of them called. Kindly test the updated Caller ID code. |
Hi,
Thank you very much for this code, as you say no one else has anytihng out there, works'ish straight out of the box once modules installed
HOWEVER
Windows 10
I might be able to work out but could not see immediately,
Tapi is on a local unit PBX with all set up fine, use to use a VB OCX but depreciated but that picked up the caller ID fine on the same setting/line/ext.
I have extension 10 to pick up all incoming call whether external or internal intercom.
So if I internal call from my ext no. 27 to 10, 10 is show in the popup.
If I call from an outside line, e.g. my mobile the master PBX number is show. not the calling number.
Any advise, to be honest I cannot see where the number that pop's up is sourced.
Been a while since I was using python, do love it but a bit of a learning curve to get back into it hence perhaps a stupid question.
The text was updated successfully, but these errors were encountered: