Caller ID with Asterisk and Ajax

Combine Asterisk and Ajax to display incoming and outgoing call information.
______________________

Mike Diehl is a freelance Computer Nerd specializing in Linux administration, programing, and VoIP. Mike lives in Albuquerque, NM. with his wife and 3 sons. He can be reached at mdiehl@diehlnet.com

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Regarding script in linux

Sagar's picture

Hi,
I need a script which will count the number of lines in a file or directory without counting the commented lines with different patterns.Can anyone help me out in this.

This is great, however, it

sarge's picture

This is great, however, it requires that your browser window be open at all times and on top of all other windows for you to see the caller info.

I have created a windows service that will listen on a defined port. When the call comes in, * posts some details to the listener service and this pops open my default browser to a predefined page and the page then loads the caller information from a call database. This way the only thing running on the windows pc is a small service and not javascript refreshing every second.

The above solution was for my windows machines...but for a linux solution wouldn't it be just as easy to run a system command to open the browser along with the url to a page like myserver.com/phonebook.php?id=123456 And then have the php page pull the caller information when the page loads from the unique id 1 time instead of constantly?

sarge! if you can share your windows listener

Abdul Basit's picture

agree. I need the same functionality as you developed for windows environment.
I will appreciate if you will share this windows listener.

Great combination of scripts

eayala's picture

Just wanted to than you Mike for these great examples. I just finished adding your scripts into our intranet web page and enjoyed learning on the way. This is my first time trying out anything on AJAX and I'm already impressed.

Thank you

Mike Diehl.'s picture

Thank you for the kind words. Sorry I'm just getting back to you; I don't usually check this forum. Take care and have fun,

Mike Diehl.

Caller ID with Asterisk and Ajax

Tattoo Design's picture

Thanks for sharing your in depth knowledge with us.

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState