Solved

asterisk 1.4 gotoif busy

Posted on 2014-10-17
3
174 Views
Last Modified: 2014-10-28
Hello Experts

in an Asterisk 1.4.38 environment, i have 3 phones. what i want is to have the caller diverted to voicemail if all 3 phones are busy talking. i need to know how to properly use "gotoif" if the 3 phones are busy. btw i am running the dialplans in a mysql database..

i am by no means an expert at asterisk, but i useually find my way around, but this has allured me for some time now..

currently it looks something like this:

             ID      context           exten              priority            app                        appdata
       70057       vbh              vbh-daytime         1                Dial              SIP/VBH10&SIP/VBH11&SIP/VBH12|3600
       70058       vbh              vbh-daytime         2                Playback      /phonesounds/vbh-busy
       70059       vbh              vbh-daytime         3                Voicemail      s*number*10

i have exchanged my number under voicemail with *number* for my own sake ;-)

can anyone help me? :-)
0
Comment
Question by:Tazmaner
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Phonebuff earned 500 total points
Comment Utility
Try this in Google --  asterisk gotoif dialstatus busy  (http://lmgtfy.com/?q=asterisk+gotoif+dialstatus+busy)

An maybe check this thread -  http://lists.digium.com/pipermail/asterisk-users/2013-May/278825.html
0
 

Author Comment

by:Tazmaner
Comment Utility
Looks like what i was Searching for, now for the next part of the question.

how would this look like in mysql? i cant seem to figure it out.

(sorry for the late response i havde been extremely busy)
0
 
LVL 15

Assisted Solution

by:Phonebuff
Phonebuff earned 500 total points
Comment Utility
how would this look like in mysql? i cant seem to figure it out.

Not at all sure what you are asking me --   It's a custom context and has nothing to do with Mysql statements in a normal world.  But if you are running it in "simple realtime" then you are going to modify the appropriate entry in the database extensions table for the context --

http://www.open-voip.org/index.php?title=Asterisk_Simple_Realtime_example
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now