We have a web-based phone book that we would like to loosely integrate with Asterisk. All we need is for Asterisk to dial the phone number that the user clicks on, and I’m not really sure where to begin, or if that’s even possible. Any advice you guys could give me would be much appreciated. TIA
Hi
Are the users using Hard or Softphones ?
Ian
softphones, as far as i know.
I have written something similar.
What you have to know is either the device of the User(The one calling) or a phonenumber for the user.
Then you can use asterisk-php (phpagi.sourceforge.net/) to connect to the asterisk manager interface. There you can issue an “Originate” command passing the Device of the User (such as SIP/33) or alternatively You can pass a Phonenumber (IAX2/fwd/#######) as part of the Device name of your provider. Additionally you pass in the Application Dial with the Dial Parameters.
Checkout voip-info.org/wiki-Asterisk+manager+API for a description of the manager interface.
If you need help feel free to contact me.
Greetings, Philipp Dunkel