Solved

asterisk 1.4 gotoif busy

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

Suggested Solutions

Title # Comments Views Activity
showing numeric numbers 2 36
CheckListBox usage 3 59
mysql ide 10 40
PHP & MySQL - Rounding Results from a Select Query 3 25
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 …
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

777 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