Caller ID App?

Status
Not open for further replies.

Edward Soares

New Member
Feb 28, 2017
12
1
3
40
I don't know if this is the right place to put this but I am wondering if it is possible to capture inbound caller id and send it out to another machine for consumption? Almost like for a screen pop etc. I used to do this with freepbx but have a hard time finding and or understanding how to begin to do something like this with fusionpbx. My actual need is to send caller id to a POS for a pizza store so they can click on the caller in POS to assign the order to etc. I need to send Caller Name and Number in a format that would work similar to a caller id box as the POS will work with the expensive callerid.com box. Any help or pointers would be appreciated, thank you.
 
  • Like
Reactions: yhbilisim

Edward Soares

New Member
Feb 28, 2017
12
1
3
40
So I am looking around at using something from the Operator Panel to achieve this, problem for me is it only shows extensions and not ring groups or queues, I would want the caller ids from ring group or queue so all current callers get sent to external. I can not find where to add ring group or queue to operator panel, what am I missing?
 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
if it is possible to capture inbound caller id and send it out to another machine for consumption?
Yes, it is possible. Use an Lua script in your inbound dialplan block.

I do this in a different way to help populate contacts in Fusion when caller-id-name is "Unknown". I use the event trigger in the IP phone to hit a PHP script on the server upon receiving a call on that extension. The script then emails the receiver asking who the caller was and they reply to the email with a name.
 

Edward Soares

New Member
Feb 28, 2017
12
1
3
40
Thank you all, I am looking into this and learning lua. Diehard PHP programmer here so hopefully not too bad to learn it.
 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
Diehard PHP programmer here so hopefully not too bad to learn it.
Simple Lua is easy but there are some annoyances :), e.g. there is no native function to trim a string!

Now that you mentioned php, you must have a basic idea of JS I presume? Have a look at this example: https://freeswitch.org/confluence/display/FREESWITCH/PHP+Example+-+Wakeup+call
and http://stackoverflow.com/questions/25395395/how-to-run-a-php-script-from-javascript

Or you could use ESL: https://freeswitch.org/confluence/display/FREESWITCH/Event+Socket+Library

and https://freeswitch.org/confluence/display/FREESWITCH/PHP+ESL
 
Last edited:
  • Like
Reactions: tag915

Edward Soares

New Member
Feb 28, 2017
12
1
3
40
Thank you for the above input, it looks good and useful, just haven't had time to play with it yet. And yes JS is something I ended up having to learn lol as it seems to go hand in hand with php nicely in order to get some client side stuff done. Also learned other aspects of it doing mobile development.
 
Status
Not open for further replies.