LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2008, 05:06 PM   #1
tagno25
Member
 
Registered: Jun 2007
Posts: 53

Rep: Reputation: 15
grandcentral callout w/ asterisk


is there a way to have asterisk run the perl script at the following url ( Call w/o Adding Contact) when you pick up the phone and dial a number? (example: "/bin/callout.pl 1234567890")

I am using FreePBX to manage asterisk
 
Old 04-05-2008, 07:29 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I'm not familiar with Grandcentral, so I'm not quite sure what the script is doing, or what functionality you are looking for. You can make Asterisk do pretty much anything via the dialplan file extensions.conf, in /etc/asterisk. For example, to run a script before (or instead of) dialing you could use something like this:

exten => _X.,1,System(/home/me/myscript.pl)
exten => _X.,2,Dial(SIP/${EXTEN}@voipprovider.com,300,r)
exten => _X.,3,Hangup()

Not sure how this squares with FreePBX, which I'm guessing puts some sort of GUI between you and the config files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing The Asterisk PBX And The Asterisk Web-Based Provisioning GUI On Linu LXer Syndicated Linux News 0 09-25-2007 03:50 PM
451 Could not complete sender verify callout natv Linux - Software 1 03-06-2007 08:47 PM
LXer: VoIPowering Your Office with Asterisk: Shiny New Asterisk 1.4 LXer Syndicated Linux News 0 11-03-2006 07:54 AM
exim - Could not complete sender verify callout ddaas Linux - Networking 2 03-23-2006 03:09 AM
Callout Queue gauge73 Programming 1 04-06-2004 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration