Solved

Asterisk dialplan: Back to DISA after remote party hangup

Posted on 2010-08-12
5
837 Views
Last Modified: 2013-11-12
Hello experts,

In my Asterisk dialplan:

[authorised]

exten => s,1,Playback(access-granted)
exten => s,n,DISA(no-password,privileged_context)

Say that user called 00812345678.

When remote party 00812345678 is hanging up, the call both legs are being hung . Is it possible to let caller to resume back to DISA again after the remote party hangs up? I remember that somebody made this for me before, but I forgot how it was.
0
Comment
Question by:Muhajreen
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:samdart
ID: 33420880
See if this works?

[authorised]

exten => s,1,Playback(access-granted)
exten => s,n,DISA(no-password,privileged_context)
exten => s,n,Goto(s,2,authorised)
0
 
LVL 6

Accepted Solution

by:
nasirbest earned 500 total points
ID: 33421343
replace your dialplan with following

[authorised]
exten => s,1,Playback(access-granted)
exten => s,n(dial),Dial(Local/disa-ext@authorised,3600,g)
exten => s,n,Goto(dial)

exten => disa-ext,DISA(no-password,privileged_context)

Open in new window

0
 

Author Comment

by:Muhajreen
ID: 33423604
Thank you both.

@samdart: Your solution didn't work, the call hangs up before proceding to the next priority.

@nasirbest: You solution works partially, just a problem that after caller receives DISA tone, when he presses any single digit, it proceeds to the Goto(dial) priority and repeats again...... forever.

I think we are very near to the solution.
0
 
LVL 6

Expert Comment

by:nasirbest
ID: 33434753
can you provide asterisk cli logs ?
0
 

Author Comment

by:Muhajreen
ID: 33437913
Thank you,

It was a mistake in the (privileged_context) name, now it's working fine !

Have a good night.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
So you think no one can listen in on your VOIP conversations, eh? Well... if you haven't setup Secure Real Time Transport (SRTP), your voice communications can be hacked into by just about anyone! First, let's talk about the intended audience for…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 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

13 Experts available now in Live!

Get 1:1 Help Now