I’ve been tasked with implementing the caller id functionality available. One of the quickest KB tutorial to implement, I must say!
The issue I have is that I have no way to test anything down here. I don’t know anyone (literally) that has a land line here.
I see the ‘Test’ button that seems to work but there’s no way for me to change the number format to mimic what would be incoming at the location it would be used.
Is there a program to send fake CID stuff for which SambaPOS is listening? My googlefu has failed in this search. I don’t know if maybe the devs have some script/code sitting around they may have used to test.
Current installs don’t use the default delivery screen and has no entity search widget. I created a new entity screen with just the entity search widget to receive the data from the action. When the entity screen is the last that was selected/viewed the number comes through just fine. When another screen is left as the last selected/viewed no phone number makes it to the widget on the necessary entity screen. Having only the ‘Test’ feature in settings, I’m not sure if this is just because the switch is coming from within management.
Any help, advice, tips, or cookie dough ice cream is most appreciated.
I dont have a landline either, when I was tinkering with caller id a while back I used a grandstream handytone as a voip to analogue gateway with a normal USB cid device for testing.
They are not overly expencive.
THat sounds like an idea. I just found an old V4 post about configuring the generic modem. This makes more sense as I was wondering how SambaPOS knew where to listen. I don’t recall seeing that in the KB.
The free com0com tool will let you create a null modem connection between 2 com ports - so you can setup e.g. COM3 → COM4, set in SambaPOS COM4 for listening then send some data to COM3 and it will be picked up by SambaPOS on COM4.
If you have a look at the CHC source I posted on that topic, you can see the format that is being sent and you could send via command prompt echo whatever > COM3 or you could even just modify the program to just work to send test data to the COM port instead of interfacing with the USB caller ID device.
On another point, I notice your original post you were using “CID Show” as the device - that is a specific brand device, so it will be expecting that hardware to be connected. You want to use “Generic Modem” for your own implementation, it is compatible with most devices that send to a COM port.
I’m trying to work with the popup from the modem device.
I have an unmapped entity screen with just the entity search widget.
After creating a new customer entity, one is not allowed to select the newly-created entity. Instead, consistently, focus is given to the another entity screen and it’s always the same entity screen. Order of the entity screens doesn’t change. Whether the entity screen with the entity search widget is mapped or unmapped doesn’t make a difference.
Custom entity search entity screen unmapped:
Custom entity search entity screen mapped:
Order of entity screens changed:
Checked rule debugger just to be on the safe side. Nothing other than the PopupClicket event.
When selecting a customer, everything works as it should.
Any idea what’s going on and how I might go about resolving this? TIA
Clearing the entity type for the entity search widget throws a NullReferenceException as one would expect. I don’t have a tables entity, but changing the entity type to “Deliverers” causes the entity screen to behave as expected. Lovely