Solved

Asterisk dialplan: Back to DISA after remote party hangup

Posted on 2010-08-12
5
841 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Advice on replacing old telephone system 8 58
How to get Asterisk calls indicators? 2 72
Auto-Dialers 3 63
Office 365 for Voice - RTP Pathing 3 86
Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
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.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

773 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