View previous topic :: View next topic |
Author |
Message |
omakhileshchand at gma... Guest
|
Posted: Sat Nov 16, 2013 6:24 am Post subject: [asterisk-users] Make phone ring through webserver using Ast |
|
|
What is the easiest way? And how can it be implemented?
I thought to something like:- I request a page to the webserver
- Perl sends to asterisk a number to dial (Perl and asterisk are running in the same machine)
- Asterisk calls the phone
or- A Perl sip client registers to remote asterisk server
- Perl sip client sends to asterisk the number to dial
- Phone rings
i don't care if i can hear something, it's enough that it rings |
|
Back to top |
|
|
nik at naturalnet.de Guest
|
Posted: Sat Nov 16, 2013 6:39 am Post subject: [asterisk-users] Make phone ring through webserver using Ast |
|
|
Quote: | 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
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
tjrlist at live.com Guest
|
Posted: Sat Nov 16, 2013 7:24 pm Post subject: [asterisk-users] Make phone ring through webserver using Ast |
|
|
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@gmail.com
To: asterisk-users@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 webserver
- Perl sends to asterisk a number to dial (Perl and asterisk are running in the same machine)
- Asterisk calls the phone
or- A Perl sip client registers to remote asterisk server
- Perl sip client sends to asterisk the number to dial
- Phone rings
i 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 |
|
Back to top |
|
|
asterisk_list at earth... Guest
|
Posted: Mon Nov 18, 2013 4:26 am Post subject: [asterisk-users] Make phone ring through webserver using Ast |
|
|
On Saturday 16 November 2013, akhilesh chand wrote:
Quote: | 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 rings
|
Just 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.
--
_____________________________________________________________________
-- 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 |
|
Back to top |
|
|
|