# Missing numbers in Caller ID before dash

**URL:** <https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922>\
**Category:** V4 Question\
**Created:** [July 29, 2014, 6:28pm UTC](https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922 "2014-07-29T18:28:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohaibbismal](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@sohaibbismal](https://forum.sambapos.com/u/sohaibbismal)\
**Post date:** [July 29, 2014, 6:28pm UTC](https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922/1 "2014-07-29T18:28:18Z")

</div>

Hello,

I have Trixes USB 56K modem that I want to use for caller ID. It seems to be set up correctly and in Putty I can see the phone number correctly.

However in SambaPOS any numbers before the dash in the caller ID is discarded.

I have played about with all the settings I can think of, including trim chars and I am having no luck.

I have attached screenshots to demonstrate the problem.

![](http://i.imgur.com/v0rck4U.png) ![](https://forum.sambapos.com/uploads/default/2647/9304ed010b7de2ff.png)

 ![](http://i.imgur.com/mW3xhIX.png)

Can anyone shed some light on this issue? Any help would be appreciated!

Thanks!

---

<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:** [July 29, 2014, 8:40pm UTC](https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922/2 "2014-07-29T20:40:01Z")

</div>

Try setting `Match Pattern` setting as

```
NMBR.*=[^0-9]+([0-9|-]+)

```

---

<div class="post-metadata">

**Author:** ![sohaibbismal](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@sohaibbismal](https://forum.sambapos.com/u/sohaibbismal)\
**Post date:** [July 31, 2014, 7:15pm UTC](https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922/3 "2014-07-31T19:15:35Z")

</div>

Hi Emre,

Thank you so much for your reply back.  
The Match Pattern setting seemed to have worked for mobile numbers but for land line there is a new problem. I think it may be because of the format again, there seems to be a space before the last four digits of the number. I have posted pics again of whats happening in sambapos and putty

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

 ![](https://forum.sambapos.com/uploads/default/original/3X/8/1/81bbec0f2d8c2aed3c8395342017d5595df6a159.png) 

As you can see the last 4 digits are missing from the number in sambapos.

Many thanks once again

---

<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 1, 2014, 12:45pm UTC](https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922/4 "2014-08-01T12:45:34Z")

</div>

Try

```
NMBR.*=[^0-9]+([0-9-\s]+)
```

---

<div class="post-metadata">

**Author:** ![sohaibbismal](https://forum.sambapos.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@sohaibbismal](https://forum.sambapos.com/u/sohaibbismal)\
**Post date:** [August 1, 2014, 3:57pm UTC](https://forum.sambapos.com/t/missing-numbers-in-caller-id-before-dash/1922/5 "2014-08-01T15:57:26Z")

</div>

Yes sorted Emre,

Thank You so much

Sohaib Bismal
