On 12/29/10 21:12, Chad Wallace wrote:
On Wed, 29 Dec 2010 21:55:58 -0700
Joseph <[email protected]> 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
voicemail; call just hangup.

exten => 1,1,Playback(transfer)
exten => 1,n,Dial(${sales_support}&IAX2/iaxy-322,20,jrw)
exten => 1,103,Voicemail(11,b)
exten => 1,104,Hangup()
exten => 1,n,Voicemail(11,b)             ; Right to voicemail
exten => 1,n,Hangup()

I have a feeling you should put the 103 and 104 at the end, after all
your "n" lines for that extension. The "n"s are probably coming up as
105 and 106, because they come after 104 in the file.

You could check the output of "dialplan show <context>" on the Asterisk
console to verify this.

[snip]

That what exactly the case.

--
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