Open GoogleCodeExporter opened 9 years ago
Did you see http://wiki.fusionpbx.com/index.php?title=Mod_cidlookup ?
Original comment by nysoluti...@gmail.com
on 5 May 2015 at 2:49
Thanks for the suggestion, I didn't see that.
I had a read and did a little Googling but couldn't figure out a way to bridge
the gap to Active Directory to lookup an inbound number.
I'm willing to give it a go but I need a bit more of a nudge in the right
direction.
Original comment by griffith...@yahoo.com.au
on 6 May 2015 at 12:03
Original comment by markjcrane@gmail.com
on 7 May 2015 at 5:19
Thanks again for suggesting cidlookup, I was able to make my dream a reality.
Although all the info is on that page I needed to read between the lines a
little. I now have cidlookup send a get request to a PHP page which checks
against Active Directory for that phone number.
For anyone else comes by this, the steps I used were:
1. Ensure Freeswitch is compiled with mod_cidlookup
2. Modify /usr/local/freeswitch/conf/autoload_configs/cidlookup.conf.xml
Change the URL line to:
<param name="url"
value="http://yourserver/yourpage.php?number=${caller_id_number}"/>
3. Reload XML
4. Enable the CID Lookup module and start it
5. Build a PHP page to lookup the variable 'number' against whatever you want
6. add the following to your inbound route dialplans (or at the top and
continue)
action set caller_id_name=${cidlookup(${caller_id_number})}
action set effective_caller_id_name=${caller_id_name}
Original comment by griffith...@yahoo.com.au
on 16 May 2015 at 1:39
Original issue reported on code.google.com by
griffith...@yahoo.com.au
on 5 May 2015 at 11:25