akhilesh chand
2013-Nov-16 11:23 UTC
[asterisk-users] Make phone ring through webserver using Asterisk
What is the easiest way? And how can it be implemented? I thought to something like: 1. I request a page to the webserver 2. Perl sends to asterisk a number to dial (Perl and asterisk are running in the same machine) 3. Asterisk calls the phone or 1. A Perl sip client registers to remote asterisk server 2. Perl sip client sends to asterisk the number to dial 3. Phone rings i don't care if i can hear something, it's enough that it rings -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131116/4ad3b7cd/attachment.html>
Dominik George
2013-Nov-16 11:39 UTC
[asterisk-users] Make phone ring through webserver using Asterisk
> I thought to something like: > > [...] > > or > > [...]Or make the script place a call file [0]. -nik [0]: http://www.voip-info.org/wiki/view/Asterisk+Call+Files -- <burny> Ein Jabber-Account, sie alle zu finden; ins Dunkel zu treiben und ewig zu binden; im NaturalNet, wo die Schatten droh'n ;)! PGP-Fingerprint: 3C9D 54A4 7575 C026 FB17 FD26 B79A 3C16 A0C4 F296 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 905 bytes Desc: Digital signature URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131116/4eab232b/attachment.pgp>
Todd R.
2013-Nov-17 00:23 UTC
[asterisk-users] Make phone ring through webserver using Asterisk
What do you want to happen once the call is made? You can choose to fire the call off using the originate command with the Asterisk Manager Interface from a PHP page or some other similar language. No need for Perl on the Asterisk box at all really unless you need it for something else. http://www.voip-info.org/wiki/view/Asterisk+Manager+API+Action+Originate Date: Sat, 16 Nov 2013 16:53:59 +0530 From: omakhileshchand at gmail.com To: asterisk-users at lists.digium.com Subject: [asterisk-users] Make phone ring through webserver using Asterisk What is the easiest way? And how can it be implemented? I thought to something like: I request a page to the webserverPerl sends to asterisk a number to dial (Perl and asterisk are running in the same machine) Asterisk calls the phoneor A Perl sip client registers to remote asterisk serverPerl sip client sends to asterisk the number to dialPhone ringsi don't care if i can hear something, it's enough that it rings -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20131116/00521649/attachment.html>
A J Stiles
2013-Nov-18 09:26 UTC
[asterisk-users] Make phone ring through webserver using Asterisk
On Saturday 16 November 2013, akhilesh chand wrote:> What is the easiest way? And how can it be implemented? > i don't care if i can hear something, it's enough that it ringsJust inject a callfile into /var/spool/asterisk/outgoing/ . One end is the extension you want to ring, the other end is a dummy extension in a special context which (optionally) can play music down the line. Just do it exactly like an alarm call, but without using `touch` to set a future timestamp on the callfile. -- AJS Answers come *after* questions.