Solved

asterisk 1.4 gotoif busy

Posted on 2014-10-17
3
182 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
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

809 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