Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

asterisk 1.4 gotoif busy

Posted on 2014-10-17
3
Medium Priority
?
232 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 2000 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 2000 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

Enhanced Intelligibility Without Cable Clutter

Challenge: The ESA office in Brussels wanted a reliable audio conference system for video conferences. Their requirement - No participant must be left out from the conference and the audio quality must not be compromised.

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…
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

564 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