Solved

asterisk 1.4 gotoif busy

Posted on 2014-10-17
3
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
Phonebuff earned 500 total points
ID: 40389977
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
ID: 40408281
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
ID: 40408388
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 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