# Cannot set-up Caller ID

**URL:** <https://forum.sambapos.com/t/cannot-set-up-caller-id/2044>\
**Category:** V4 Question\
**Created:** [August 7, 2014, 9:28pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044 "2014-08-07T21:28:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 7, 2014, 9:28pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/1 "2014-08-07T21:28:55Z")

</div>

Hello to SambaPOS community users.

I would greatly appreciate if someone could help me set-up Caller ID feature on SambaPOS 4.

I have compatible modem, (CTI METEOR) I can see calling number from putty, but in POS there is no any kind of widget or pop-up screen coming up.

I have followed this guide step by step:

[http://forum.sambapos.com/t/step-by-step-guidance-on-setting-up-caller-id-feature/](http://forum.sambapos.com/t/step-by-step-guidance-on-setting-up-caller-id-feature/)

and [Caller id popup - #5 by emre](http://forum.sambapos.com/t/caller-id-popup/703/5)

Took advices from here

> [@Caller id pop up issue](http://forum.sambapos.com/t/caller-id-pop-up-issue/879):
>
> hi samba team Can anyone explain to me How to make a rule to paste a phone number from caller id pop up to the search entity bar???

And have read all related topics to Caller ID feature.

But unfortunately no any progress by now for few days.

Would greatly appreciate any information regarding this matter.

Thank you everyone in advance

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [August 7, 2014, 9:50pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/2 "2014-08-07T21:50:12Z")

</div>

@r00t  
tri this,

> [@\[SOLVED\] Caller ID not working on v 4.1.43](http://forum.sambapos.com/t/solved-caller-id-not-working-on-v-4-1-43/1977):
>
> dear @emre. After the upgrade to version 4.1.43. Caller ID does not display PopUp. What could be the reason? I checked in putty and it shows the number correctly I tried to see if it works in a previous version And it works great.

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 7, 2014, 10:03pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/3 "2014-08-07T22:03:08Z")

</div>

I should type this

> [@\[SOLVED\] Caller ID not working on v 4.1.43](http://forum.sambapos.com/t/solved-caller-id-not-working-on-v-4-1-43/1977/5):
>
> If it does not work try one of these and please let me know which one works. NMBR.\*=?[^0-9]+([0-9|-|/s]+) NMBR.\*=?[^0-9]+([0-9]+)

In the putty, right?

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [August 7, 2014, 10:10pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/4 "2014-08-07T22:10:21Z")

</div>

emre said:  
try typing **NMBR.\*=?[^0-9]+([0-9-\s]+)** to Match Pattern setting of your modem  
If it does not work try one of these  
**NMBR.\*=?[^0-9]+([0-9|-|/s]+)**  
**NMBR.\*=?[^0-9]+([0-9]+)**

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 7, 2014, 10:11pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/5 "2014-08-07T22:11:17Z")

</div>

In the Putty terminal, correct?

Well, I don’t get any response there, even commands like ^E does not bring back echo

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [August 7, 2014, 10:13pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/6 "2014-08-07T22:13:24Z")

</div>

not In the Putty terminal  
in the Match Pattern setting of your modem in sambapos

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

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 7, 2014, 10:20pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/7 "2014-08-07T22:20:44Z")

</div>

![](https://forum.sambapos.com/uploads/default/original/3X/c/f/cfb5c7a4c676cb63f5258074119a52fb33069dfa.png) 

Have tried both of patterns, still no luck.

Maybe some of the other settings are incorrect?

Baud rate is correct for 100%, this I got from the documentation of my Caller ID developer, and only with this baud rate i can get some output in puTTy. If I put 9600 I just see random chars every single time.

Maybe something is missing in my entities, or somewhere else?

Have tried to do that for clean installation for sample data, still pop up does not appear.

Have tried to restart Samba after adding pattern as well.

---

<div class="post-metadata">

**Author:** ![pizzaeilat4](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pizzaeilat4/32/461_2.png) [@pizzaeilat4](https://forum.sambapos.com/u/pizzaeilat4)\
**Post date:** [August 7, 2014, 10:27pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/8 "2014-08-07T22:27:22Z")

</div>

> [@pizzaeilat4](#):
>
> try typing **NMBR.\*=?[^0-9]+([0-9-\s]+)**

if not working then you will have to wait for @emre to Respond.  
There may be other NMBR code that matches your modem

---

<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:** [August 7, 2014, 11:47pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/9 "2014-08-07T23:47:45Z")

</div>

@r00t please connect your modem to PUTTY and post your PUTTY screenshot here so we can understand how your modem responds.

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 8, 2014, 12:06am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/10 "2014-08-08T00:06:57Z")

</div>

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

Hello @emre

Here is the response from PuTTY

The modem does not pick-up time & date, but this is not critical. In my other POS which I have used before it didn’t pick-it up as well, however it was successfully picking up the customer phone number.

---

<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:** [August 8, 2014, 12:11am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/11 "2014-08-08T00:11:03Z")

</div>

Which line is the phone number? Second one?

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 8, 2014, 12:11am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/12 "2014-08-08T00:11:56Z")

</div>

Yes, second one. The one starting with 075\*\*\*

---

<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:** [August 8, 2014, 12:22am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/13 "2014-08-08T00:22:23Z")

</div>

Can you try setting `[^0-9]*?([0-9]+)\^OFF-LINE` as match pattern?

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 8, 2014, 12:27am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/14 "2014-08-08T00:27:04Z")

</div>

Tested, nothing appears…

Emmm, maybe I’m stupid (I guess this is the case), but does this pop-up window have to come up at any occasion when my modem is receiving the call?

Do I need to create any Entities? or Entity Screens? Maybe some Entity Types?

Currently I have no any Entities set-up, and only one Entity Screen which is main, and no any more are needed anyway.

Thank you

---

<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:** [August 8, 2014, 12:37am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/15 "2014-08-08T00:37:01Z")

</div>

You only need `Customers` entity type and device configuration to see phone number popup.

Close Putty while testing.  
Try restarting SambaPOS.

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 8, 2014, 12:43am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/16 "2014-08-08T00:43:03Z")

</div>

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

 ![](https://forum.sambapos.com/uploads/default/original/3X/5/2/524d35384d3cf1c5bca2c6508572ab76bb4e8101.png) 

Correct?

No need any automated actions or rules or triggers?

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 8, 2014, 12:45am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/17 "2014-08-08T00:45:15Z")

</div>

Tested once again after another restart of POS and with closed PuTTY, no luck.

---

<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:** [August 8, 2014, 1:22am UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/18 "2014-08-08T01:22:57Z")

</div>

I’ve assumed the blank part in front of numbers is space chars but it can be something different. Can you try these in order and let me know your result?

- `\n[^0-9]*?([0-9]+)`
- `[^0-9]*?([0-9]+)`
- `([0-9]+)`

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [August 12, 2014, 7:01pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/19 "2014-08-12T19:01:52Z")

</div>

Hello, my apologize for the late reply. I’m currently on the holidays and I haven’t got access to the POS at the moment. As soon as I will be back I will test this solution and will write an relative reply. Thank you for the help. Best of luck

---

<div class="post-metadata">

**Author:** ![r00t](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/r/e19b73/32.png) [@r00t](https://forum.sambapos.com/u/r00t)\
**Post date:** [September 29, 2014, 6:12pm UTC](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044/20 "2014-09-29T18:12:27Z")

</div>

Hello everyone,  
Came back from the holidays and keep trying to make my caller-id get working. Still no luck.

@emre, I have tried your match patterns, however it still bringing me a headache as there is nothing appearing.

Now, what I have tried more, and what happened:

1. I have changed in the device manager, in the COM port settings Baud rate to 1200, same as in the Samba.
2. After adding one more caller ID device (CTI Comet USB Caller ID) and adding to it match pattern **[^0-9]\*?([0-9]+)**, I got two pop-ups appeared, which was saying “call 1” & “call 2”, after pressing on one of them, it opened customer screen.  
Second call didn’t bring anymore any pop-ups until now. Tried to delete and adding devices again, but couldn’t see the pop-ups any more no matter what I try.  
However, now I’m getting different pop-ups.
3. Generic Modem Error - Access to the port “COM1” is denied.
4. Information - To be able to display Caller-ID you should install hardware drivers.

Well, if the first error is easy to get rid off just by restarting PC, then second one is not clear for me at all. Caller ID I’m using is CTI METEOR PLUS Single line Caller ID device which is powered by COM port, and there is no any drivers for it. Not on the developer website and never had to use them before.  
Also, if I just start different POS I’m currently using, it picks up this modem straight away without any drivers or so.

Would greatly appreciate any help if possible.

Thank you very much

P.S.

Some info from developer:

[http://www.crucible-technologies.co.uk/downloads/Meteor/Meteor\_Plus\_V2\_July\_2014.pdf](http://www.crucible-technologies.co.uk/downloads/Meteor/Meteor_Plus_V2_July_2014.pdf)

Maybe will be useful for someone, specially part 5.0

[Next page](https://forum.sambapos.com/t/cannot-set-up-caller-id/2044.md?page=2)
