[asterisk-users] call is not going to Voicemail with "1,n"
Joseph
syscon780 at gmail.com
Thu Dec 30 19:04:00 UTC 2010
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 this:
>
>exten => 1,1,Playback(transfer)
>exten => 1,2,Dial(${sales_support}&IAX2/iaxy-322,20,jrw)
>exten => 1,3,Voicemail(11,b)
>exten => 1,4,Hangup()
>exten => 1,105,Voicemail(11,b)
>exten => 1,106,Hangup()
I was analyzing it and I think in the above:
exten => 1,n+101,Voicemail(11,b)
is not needed at all as it does not take any effect. The (j) in the dial tell is to jump but there is no 103 so it falls through to "3" which is voicemail.
so actually "j" not needed nor are the:
exten => 1,n+101,Voicemail(11,b)
exten => 1,n,Hangup()
--
Joseph
More information about the asterisk-users
mailing list