Re: [asterisk-users] call is not going to Voicemail with 1,n

2010-12-30 Thread Joseph
Thank you William, It looks nice but I like the previous one you suggested, it looks simpler and it easier to follow the logic :-) -- Joseph On 12/30/10 01:40, William Stillwell wrote: Also, a more fancy approach [macro-dialvm] exten = s,1,NoOp(${ExTEN}|${MACRO_EXTEN}|${ARG1}) exten =

Re: [asterisk-users] call is not going to Voicemail with 1,n

2010-12-30 Thread Joseph
On 12/30/10 01:38, William Stillwell wrote: Try this instead: exten = 1,1,Playback(transfer) exten = 1,n,Dial(${sales_support}IAX2/iaxy-322,20,jrw) exten = 1,n,Voicemail(11,b) exten = 1,n,Hangup() exten = 1,n+101,Voicemail(11,b) exten = 1,n,Hangup() which will result in a DP looking like

[asterisk-users] call is not going to Voicemail with 1,n

2010-12-29 Thread Joseph
I've tried to simplified the dial plan and use n instead of numbers but I've noticed it is not executing my voicemail if I substitute number with n In the example below when the call is not answered, it does not go to voicemail; call just hangup. exten = 1,1,Playback(transfer) exten =

Re: [asterisk-users] call is not going to Voicemail with 1,n

2010-12-29 Thread Chad Wallace
On Wed, 29 Dec 2010 21:55:58 -0700 Joseph syscon...@gmail.com wrote: I've tried to simplified the dial plan and use n instead of numbers but I've noticed it is not executing my voicemail if I substitute number with n In the example below when the call is not answered, it does not go to

Re: [asterisk-users] call is not going to Voicemail with 1,n

2010-12-29 Thread Joseph
On 12/29/10 21:12, Chad Wallace wrote: On Wed, 29 Dec 2010 21:55:58 -0700 Joseph syscon...@gmail.com wrote: I've tried to simplified the dial plan and use n instead of numbers but I've noticed it is not executing my voicemail if I substitute number with n In the example below when the call is

Re: [asterisk-users] call is not going to Voicemail with 1,n

2010-12-29 Thread William Stillwell
The n = prev + 1 So you dialplan technically looks like this: exten = 1,1,Playback(transfer) exten = 1,2,Dial(${sales_support}IAX2/iaxy-322,20,jrw) exten = 1,103,Voicemail(11,b) exten = 1,104,Hangup() exten = 1,105,Voicemail(11,b) ; Right to voicemail exten = 1,106,Hangup() which in

Re: [asterisk-users] call is not going to Voicemail with 1,n

2010-12-29 Thread William Stillwell
Also, a more fancy approach [macro-dialvm] exten = s,1,NoOp(${ExTEN}|${MACRO_EXTEN}|${ARG1}) exten = s,n,Dial(SIP/${ARG1},25,t) exten = s,n,NoOp(${ARG1}) exten = s,n,NoOp(${DIALSTATUS}) exten = s,n,GotoIf($[${DIALSTATUS} = BUSY]?BUSY) exten = s,n,GotoIf($[${DIALSTATUS} = NOANSWER]?NOANSWER)