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

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to