[asterisk-bugs] [Asterisk-GUI 0012734]: Allow custom Dial options for users.conf that do not have voicemail

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Jul 4 02:39:18 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12734 
====================================================================== 
Reported By:                litnimax
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   12734
Category:                   PBX/pbx_config
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             05-28-2008 03:27 CDT
Last Modified:              07-04-2008 02:39 CDT
====================================================================== 
Summary:                    Allow custom Dial options for users.conf that do not
have voicemail
Description: 
This post describes all -
http://lists.digium.com/pipermail/asterisk-gui/2007-March/000238.html

This is an extract from my dialplan:

762' =>          hint: SIP/762                                
[pbx_config]
                    1. Dial(${HINT})                             
[pbx_config]
'770' =>          hint: SIP/770&IAX2/770                       
[pbx_config]
                    1. Macro(stdexten|770|${HINT})   
762 does not have VM, and 770 does. So tranfer works for 770 as it's added
it stdexten macro, but does not for 762. 
Please advise. 
Asterisk 1.4.19.1, GUI  rev 3137. 
====================================================================== 

---------------------------------------------------------------------- 
 litnimax - 07-04-08 02:39  
---------------------------------------------------------------------- 
I am using default stdexten macro. See it below.

[macro-stdexten];
;
; Standard extension macro:
;   ${ARG1} - Extension  (we could have used ${MACRO_EXTEN} here as well
;   ${ARG2} - Device(s) to ring
;
exten => s,1,Dial(${ARG2},20)                   ; Ring the interface, 20
seconds maximum
exten => s,2,Goto(s-${DIALSTATUS},1)            ; Jump based on status
(NOANSWER,BUSY,CHANUNAVAIL,CONGESTION,ANSWER)

exten => s-NOANSWER,1,Voicemail(${ARG1},u)      ; If unavailable, send to
voicemail w/ unavail announce
exten => s-NOANSWER,2,Goto(default,s,1)         ; If they press #, return
to start

exten => s-BUSY,1,Voicemail(${ARG1},b)          ; If busy, send to
voicemail w/ busy announce
exten => s-BUSY,2,Goto(default,s,1)             ; If they press #, return
to start

exten => _s-.,1,Goto(s-NOANSWER,1)              ; Treat anything else as
no answer

exten => a,1,VoicemailMain(${ARG1})             ; If they press *, send
the user into VoicemailMain 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-04-08 02:39  litnimax       Note Added: 0089726                          
======================================================================




More information about the asterisk-bugs mailing list