Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Make phone ring through webserver using Asterisk


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
omakhileshchand at gma...
Guest





PostPosted: Sat Nov 16, 2013 6:24 am    Post subject: [asterisk-users] Make phone ring through webserver using Ast Reply with quote

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
Back to top
nik at naturalnet.de
Guest





PostPosted: Sat Nov 16, 2013 6:39 am    Post subject: [asterisk-users] Make phone ring through webserver using Ast Reply with quote

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 Wink!

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





PostPosted: Sat Nov 16, 2013 7:24 pm    Post subject: [asterisk-users] Make phone ring through webserver using Ast Reply with quote

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:
  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

-- _____________________________________________________________________ -- 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





PostPosted: Mon Nov 18, 2013 4:26 am    Post subject: [asterisk-users] Make phone ring through webserver using Ast Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services