# Caller ID issue/Enhancement (CTI Comet USB)

**URL:** <https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889>\
**Category:** V4 Issue\
**Created:** [March 30, 2014, 1:52am UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889 "2014-03-30T01:52:56Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![morshed1](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@morshed1](https://forum.sambapos.com/u/morshed1)\
**Post date:** [March 30, 2014, 1:52am UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/1 "2014-03-30T01:52:56Z")

</div>

Hi @emre, We have been using the SAMBAPOS Caller ID feature with CTI Comet USB Caller ID device. its has been working fine making staff’s life easy for a busy Eat-in/takeaway Restaurant. I would highly recommend other SAMBAPOS user to invest in a caller ID device for a takeaway business.

We have come across following issue:

1. When Customers withhold the phone number (Caller ID device does not detect the number) causing SAMBAPOS to display error message and to crash.

Error Message: “The Calling thread must be STA, because UI components require this”

when you click on OK it will cause SAMBAPOS to cash and close, you would then need to restart SAMBAPOS.

 ![](https://forum.sambapos.com/uploads/default/original/3X/f/5/f59be4cfb9794c47997f589730f4e1a43f531c21.jpeg) 

The other issue is that we would like to store two phone numbers for customer record/account because sometime customer may phone from land line or Mobile phone to place an order for delivery. Currently caller ID only detect phone number filed. If you add another phone number in customer account and make a call with that number it will NOT find the customer account intead it will ask you to create new account with that number.

For example: Below is an example of a customer account with two phone numbers.  
currently if a customer phone using phone number 0201 234 5678 caller ID POP would find customer record with all the information.

If customer phone using Mobile number 0771 234 5678, caller ID POP would detect that number, when click on caller ID POP up it would request you to create new customer account instead of finding the current account details with all customer information.

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/4/840ab5af920d4a9a2d935a50d07a025297727db2.jpeg)

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 30, 2014, 1:45pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/2 "2014-03-30T13:45:53Z")

</div>

> [@morshed1](#):
>
> Currently caller ID only detect phone number filed. If you add another phone number in customer account and make a call with that number it will NOT find the customer account intead it will ask you to create new account with that number.

SambaPOS should find any data stored in custom fields. Does it appear as `Phone:xxx` when you click on popup?

---

<div class="post-metadata">

**Author:** ![morshed1](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@morshed1](https://forum.sambapos.com/u/morshed1)\
**Post date:** [March 30, 2014, 2:03pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/3 "2014-03-30T14:03:51Z")

</div>

Yes, it appears as phone:xxx. I have also tried phone1 field which did not work. I’ll try Phone for second number in customer field and see how it goes.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 30, 2014, 2:27pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/4 "2014-03-30T14:27:22Z")

</div>

It appears as Phone:xxx because you don’t have a primary field defined. When you don’t have a primary field SambaPOS automatically matches Caller Id data with `Phone` field so it won’t match other fields. For better handling this you can configure Customer Entity as something similar to this.

 ![](https://forum.sambapos.com/uploads/default/original/3X/0/b/0b422329db992318e15c5d24ecc77f36f18a5992.jpeg) 

 ![](https://forum.sambapos.com/uploads/default/original/3X/1/9/19f5e57aa887375369c84b4393ef7665e015bdc7.jpeg) 

On this setup the primary field name for customer is Phone and we store Customer Name as a Custom Field. We also modify `Display Format` to display Customer Name and Phone together on tickets and other related screens.

 ![](https://forum.sambapos.com/uploads/default/original/3X/1/4/1470c1171bf4cdf1a74f0c419bc8818d0505ac2a.jpeg) 

 ![](https://forum.sambapos.com/uploads/default/original/3X/d/5/d58298809198d5a9e7201303b0205be5e6f748ed.jpeg) 

Since you have a Primary Field Defined SambaPOS will copy CID data to primary field so it won’t append `Phone:` to CID data. That means it will search all fields including mobile.

If you already have customer records you’ll need to modify them to copy `phone` data to primary field and `customer name` to custom field. You can use `Batch Entity Editor` for this.

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 30, 2014, 3:40pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/5 "2014-03-30T15:40:33Z")

</div>

First issue should be solved with 4.1.28

---

<div class="post-metadata">

**Author:** ![morshed1](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@morshed1](https://forum.sambapos.com/u/morshed1)\
**Post date:** [March 30, 2014, 5:44pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/6 "2014-03-30T17:44:33Z")

</div>

Thank you @emre much appreciated.

---

<div class="post-metadata">

**Author:** ![morshed1](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@morshed1](https://forum.sambapos.com/u/morshed1)\
**Post date:** [March 30, 2014, 8:54pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/7 "2014-03-30T20:54:51Z")

</div>

Hi @emre, i’m trying to implement as per your recommendation.  
I have come a cross one issue. How do I get PHONE number to appear on receipt/kitchen Ticket? For some reason the PHONE number will not appear receipt/kitchen Ticket.

Below are my settings.

 ![](https://forum.sambapos.com/uploads/default/original/3X/d/7/d79fb887fefce0e6b6cdadf52def4d0325c35da4.jpeg) 

 ![](https://forum.sambapos.com/uploads/default/original/3X/0/1/011cff6add8155f061f5b3141d3c59780680f6b3.jpeg) 

Account Details:

 ![](https://forum.sambapos.com/uploads/default/original/3X/6/0/60517f70159151e3d8d56116dbbb07f90b94bb90.jpeg)

New ticket - Name and Phone number appers, this is fine.  
 ![](https://forum.sambapos.com/uploads/default/original/3X/4/0/405fcc1af76b2672eb62fb2105973c75eb118319.jpeg)

When Kitchen or Receipt ticket is printed phone number does NOT appear on the ticket. All other customer details appear.

![](https://forum.sambapos.com/uploads/default/original/3X/1/1/11f4139a22b53f9410d85e4ff171f43ebddea467.jpeg)

i believe i’m using the correct ENTITIES under Customer entity format.

 ![](https://forum.sambapos.com/uploads/default/original/3X/e/1/e1d0f2e67ec345877536577ccc3feae7283d09f0.jpeg)

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [March 31, 2014, 8:33am UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/8 "2014-03-31T08:33:57Z")

</div>

It is primary field so `{ENTITY NAME}` should print phone number.

---

<div class="post-metadata">

**Author:** ![morshed1](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@morshed1](https://forum.sambapos.com/u/morshed1)\
**Post date:** [March 31, 2014, 8:59am UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/9 "2014-03-31T08:59:59Z")

</div>

thanks its working now. I have configured as per below.

![](https://forum.sambapos.com/uploads/default/original/3X/b/a/bae0a3d82768911a21bebc67a057f08850a56d4c.png)

---

<div class="post-metadata">

**Author:** ![morshed1](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/8c91f0/32.png) [@morshed1](https://forum.sambapos.com/u/morshed1)\
**Post date:** [April 3, 2014, 7:42pm UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/10 "2014-04-03T19:42:11Z")

</div>

@emre, Thank you, the caller ID is working seamlessly. if customer phone from any numbers which is stored in the customer records it automatically detects customer details.

Below are two devices i have carried caller id tests with and both devices do the same tasks. If anyone looking for a caller ID USB device then i would recommend they go with the low cost version available from Amazon.

- CTI COMET USB CALLER ID - price - £89.00+ VAT/Delivery ( £115.00)
- TRIXES USB 56K External Dial Up Voice Fax Data Modem -Price -£9.50 + delivery (£11.49)

Details of Tested device:

[http://www.crucible-technologies.co.uk/products/WEB-COMET](http://www.crucible-technologies.co.uk/products/WEB-COMET)

![](https://forum.sambapos.com/uploads/default/original/3X/b/1/b1265442c0784ff90f629377e5f78bfb0af2a3f3.png)

CTI Comet USB Hardware only-Price £89.00

**Low Cost alternative:**

> **[TRIXES USB 56K External Dial Up Voice Fax Data Modem for Windows 32-bit: Amazon.co.uk: Computers & Accessories](https://www.amazon.co.uk/gp/product/B005C4680A/ref=oh_details_o01_s00_i00?ie=UTF8&psc=1)**
>
> £6.99

![](https://forum.sambapos.com/uploads/default/original/3X/d/c/dccbe84e7b675be6c9aff42189a4cda180b726b4.jpeg)

Price -£9.50

---

<div class="post-metadata">

**Author:** ![emre](https://forum.sambapos.com/user_avatar/forum.sambapos.com/emre/32/39073_2.png) [@emre](https://forum.sambapos.com/u/emre)\
**Post date:** [April 4, 2014, 7:08am UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/11 "2014-04-04T07:08:08Z")

</div>

Other than these caller id devices if you have a device that can be accessible via serial (COM) port and can be monitored with PuTTy like I’ve described here [Caller id popup](http://forum.sambapos.com/t/via-quote/703/6) that may work with SambaPOS without modifications. Just create a screenshot of PuTTy to show how it displays phone number and I’ll help for the configuration.

---

<div class="post-metadata">

**Author:** ![m\_harisameen](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/m/6a8cbe/32.png) [@m\_harisameen](https://forum.sambapos.com/u/m_harisameen)\
**Post date:** [September 8, 2014, 9:42am UTC](https://forum.sambapos.com/t/caller-id-issue-enhancement-cti-comet-usb/889/12 "2014-09-08T09:42:27Z")

</div>

I am using SamabaPOS3 i have fasing some problem in CTI COMET USB CALLER ID .this device is working well in Putty it showes the result in same line in putty so when i set the com port in samba pos and the click on save button then we receive exception on it  
Please help me
