Re: [Asterisk-Users] Newbie Question: Help with incoming dial plan

2005-10-18 Thread asterisk
Title: Newbie Question: Help with incoming dial plan



This is how I do it.

[default-incoming]exten = 
2691,1,Goto(extensions,3212,1)exten = 
2692,1,Goto(extensions,3204,1)exten = 
2693,1,Goto(extensions,3207,1)exten = 
2694,1,Goto(extensions,3212,1)exten = 
2695,1,Goto(extensions,3205,1)exten = 
2696,1,Goto(extensions,3208,1)exten = 
2697,1,Goto(extensions,1105,1)exten = 
3211,1,Goto(extensions,,1)exten = 
3223,1,Goto(extensions,3207,1)
You will have to know how many digits are being 
sent, in my case it is four. So for example, someone dials the DID 
xxx-xxx-2691 the dialplan matches on the first line and then sends the cal to 
the context "extensions" (you would replace with default) and the extension 
"3212" in the first priority.

If more or less digits are being sent by the telco, 
you will have to adjust the exten =  to match. Sometimes they send 
three.

Thanks,
Steve Totaro


  - Original Message - 
  From: 
  Dave Morrow 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, October 18, 2005 11:26 
  AM
  Subject: [Asterisk-Users] Newbie 
  Question: Help with incoming dial plan
  
  Hi all. I just got Asterisk installed with a 
  Digium TE110P T1 card. Have it working for outbound calls so I know that 
  all the hardware is functioning.
  Since all inbound calls come through my T1, I would 
  like to setup a dial plan that handles the incoming call and tells the caller 
  to enter the extension they wish to reach. All of my real extensions are 
  in the [default] context, and the Zaptel is configured to go to the 
  [default-incoming] context. It is the [default-incoming] context 
  that I am unsure of how to set.
  If anyone could provide some insight, it would be 
  much appreciated…….get me started at least. 
  David A. Morrow Technical Systems Lead Autodata 
  Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: 
  (519) 951-6079 Fax: (519) 
  451-6615 
   Poor planning on your part does 
  not necessarily constitute an emergency on my part!  
  This message has originated from Autodata 
  Solutions. The attached material is the Confidential and Proprietary 
  Information of Autodata Solutions. This email and any files transmitted with 
  it are confidential and intended solely for the use of the individual or 
  entity to whom they are addressed. If you have received this email in error 
  please delete this message and notify the Autodata system administrator at 
  [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED]
  
  

  ___--Bandwidth and 
  Colocation sponsored by Easynews.com --Asterisk-Users mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users
  
  

  No virus found in this incoming message.Checked by AVG 
  Anti-Virus.Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date: 
  10/15/2005
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

RE: [Asterisk-Users] Newbie Question: Help with incoming dial plan

2005-10-18 Thread Dave Morrow
Title: Newbie Question: Help with incoming dial plan



I do not use any DID, all calls come in on the same number 
111222 so what I would like to do is simply prompt the caller to enter the 
extension they wish to reach, then redirect to that extension in the [default] 
context.

David A. Morrow 
Technical Systems 
Lead Autodata 
Solutions Company [EMAIL PROTECTED] http://www.autodata.net 
Tel: (519) 951-6079 
Fax: (519) 451-6615 
 Poor planning on 
your part does not necessarily constitute an emergency on my part! 
 
This message has originated from 
Autodata Solutions. The attached material is the Confidential and Proprietary 
Information of Autodata Solutions. This email and any files transmitted with it 
are confidential and intended solely for the use of the individual or entity to 
whom they are addressed. If you have received this email in error please delete 
this message and notify the Autodata system administrator at 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
asteriskSent: Wednesday, October 19, 2005 11:34 AMTo: 
Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: 
[Asterisk-Users] Newbie Question: Help with incoming dial 
plan

This is how I do it.

[default-incoming]exten = 
2691,1,Goto(extensions,3212,1)exten = 
2692,1,Goto(extensions,3204,1)exten = 
2693,1,Goto(extensions,3207,1)exten = 
2694,1,Goto(extensions,3212,1)exten = 
2695,1,Goto(extensions,3205,1)exten = 
2696,1,Goto(extensions,3208,1)exten = 
2697,1,Goto(extensions,1105,1)exten = 
3211,1,Goto(extensions,,1)exten = 
3223,1,Goto(extensions,3207,1)
You will have to know how many digits are being 
sent, in my case it is four. So for example, someone dials the DID 
xxx-xxx-2691 the dialplan matches on the first line and then sends the cal to 
the context "extensions" (you would replace with default) and the extension 
"3212" in the first priority.

If more or less digits are being sent by the telco, 
you will have to adjust the exten =  to match. Sometimes they send 
three.

Thanks,
Steve Totaro


  - Original Message - 
  From: 
  Dave Morrow 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, October 18, 2005 11:26 
  AM
  Subject: [Asterisk-Users] Newbie 
  Question: Help with incoming dial plan
  
  Hi all. I just got Asterisk installed with a 
  Digium TE110P T1 card. Have it working for outbound calls so I know that 
  all the hardware is functioning.
  Since all inbound calls come through my T1, I would 
  like to setup a dial plan that handles the incoming call and tells the caller 
  to enter the extension they wish to reach. All of my real extensions are 
  in the [default] context, and the Zaptel is configured to go to the 
  [default-incoming] context. It is the [default-incoming] context 
  that I am unsure of how to set.
  If anyone could provide some insight, it would be 
  much appreciated.get me started at least. 
  David A. Morrow Technical Systems Lead Autodata 
  Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: 
  (519) 951-6079 Fax: (519) 
  451-6615 
   Poor planning on your part does 
  not necessarily constitute an emergency on my part!  
  This message has originated from Autodata 
  Solutions. The attached material is the Confidential and Proprietary 
  Information of Autodata Solutions. This email and any files transmitted with 
  it are confidential and intended solely for the use of the individual or 
  entity to whom they are addressed. If you have received this email in error 
  please delete this message and notify the Autodata system administrator at 
  [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED]
  
  

  ___--Bandwidth and 
  Colocation sponsored by Easynews.com --Asterisk-Users mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users 
  
  

  No virus found in this incoming message.Checked by AVG 
  Anti-Virus.Version: 7.0.344 / Virus Database: 267.12.1/136 - Release Date: 
  10/15/2005
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

RE: [Asterisk-Users] Newbie Question: Help with incoming dial plan

2005-10-18 Thread Giles Coochey
Title: Newbie Question: Help with incoming dial plan



exten = 
s,1,Answerexten = s,2,Wait,2exten = 
s,3,Background(enter-ext-of-person)exten = s,4,DigitTimeout,5exten 
= s,5,ResponseTimeout,10

  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Dave 
  MorrowSent: 18 October 2005 16:41To: Asterisk Users 
  Mailing List - Non-Commercial DiscussionSubject: RE: 
  [Asterisk-Users] Newbie Question: Help with incoming dial 
  plan
  
  I do not use any DID, all calls come in on the same 
  number 111222 so what I would like to do is simply prompt the caller to 
  enter the extension they wish to reach, then redirect to that extension in the 
  [default] context.
  
  David A. Morrow 
  Technical Systems 
  Lead Autodata 
  Solutions Company [EMAIL PROTECTED] http://www.autodata.net 
  Tel: (519) 951-6079 
  Fax: (519) 451-6615 
   Poor planning 
  on your part does not necessarily constitute an emergency on my part! 
   
  This message has originated from 
  Autodata Solutions. The attached material is the Confidential and Proprietary 
  Information of Autodata Solutions. This email and any files transmitted with 
  it are confidential and intended solely for the use of the individual or 
  entity to whom they are addressed. If you have received this email in error 
  please delete this message and notify the Autodata system administrator at 
  [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED]
  
  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  asteriskSent: Wednesday, October 19, 2005 11:34 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [Asterisk-Users] Newbie Question: Help with 
  incoming dial plan
  
  This is how I do it.
  
  [default-incoming]exten = 
  2691,1,Goto(extensions,3212,1)exten = 
  2692,1,Goto(extensions,3204,1)exten = 
  2693,1,Goto(extensions,3207,1)exten = 
  2694,1,Goto(extensions,3212,1)exten = 
  2695,1,Goto(extensions,3205,1)exten = 
  2696,1,Goto(extensions,3208,1)exten = 
  2697,1,Goto(extensions,1105,1)exten = 
  3211,1,Goto(extensions,,1)exten = 
  3223,1,Goto(extensions,3207,1)
  You will have to know how many digits are being 
  sent, in my case it is four. So for example, someone dials the DID 
  xxx-xxx-2691 the dialplan matches on the first line and then sends the cal to 
  the context "extensions" (you would replace with default) and the extension 
  "3212" in the first priority.
  
  If more or less digits are being sent by the 
  telco, you will have to adjust the exten =  to match. Sometimes 
  they send three.
  
  Thanks,
  Steve Totaro
  
  
- Original Message - 
From: 
Dave Morrow 
To: Asterisk Users Mailing List - 
Non-Commercial Discussion 
Sent: Tuesday, October 18, 2005 11:26 
AM
Subject: [Asterisk-Users] Newbie 
Question: Help with incoming dial plan

Hi all. I just got Asterisk installed with 
a Digium TE110P T1 card. Have it working for outbound calls so I know 
that all the hardware is functioning.
Since all inbound calls come through my T1, I 
would like to setup a dial plan that handles the incoming call and tells the 
caller to enter the extension they wish to reach. All of my real 
extensions are in the [default] context, and the Zaptel is configured to go 
to the [default-incoming] context. It is the [default-incoming] 
context that I am unsure of how to set.
If anyone could provide some insight, it would be 
much appreciated.get me started at least. 
David A. Morrow Technical Systems Lead Autodata 
Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 Fax: (519) 
451-6615 
 Poor planning on your part 
does not necessarily constitute an emergency on my part!  
This message has originated from Autodata 
Solutions. The attached material is the Confidential and Proprietary 
Information of Autodata Solutions. This email and any files transmitted with 
it are confidential and intended solely for the use of the individual or 
entity to whom they are addressed. If you have received this email in error 
please delete this message and notify the Autodata system administrator 
at [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



___--Bandwidth and 
Colocation sponsored by Easynews.com --Asterisk-Users mailing 
listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users 



No virus found in this incoming message.Checked by AVG 
Anti-Virus.Version: 7.0.344 / Virus Database: 267.12.1/136 - Release 
Date: 10/15/2005

NOTICE: This e-mail message and all attachments
transmitted with it may contain legally privileged and
confidential information intended solely for the 

Re: [Asterisk-Users] Newbie Question: Help with incoming dial plan

2005-10-18 Thread asterisk
Title: Newbie Question: Help with incoming dial plan



add this context

[default-incoming]exten = 
111222,1,Goto(default-incoming,s,1)

exten = s,1,Answerexten = 
s,2,DigitTimeout(10)exten = s,3,ResponseTimeout(20)exten = 
s,4,Background(swelcome)exten = t,1,Hangupinclude = 
extensions
add this to your extensions context

;directory appexten = 
9,1,Directory(default-extensions)
; exten for recording greetings/menusexten 
= 12,1,Authenticate(1234|)exten = 12,2,Wait(2)exten = 
12,3,Record(/var/lib/asterisk/sounds/welcome:gsm)exten = 
12,4,Wait(2)exten = 
12,5,Playback(/var/lib/asterisk/sounds/welcome)exten = 
12,6,Wait(2)exten = 12,7,Hangup

Reload and dial 12 with the password of 1234 and 
record your greeting and then hangup. If you mess up just do it 
over.

Thanks,
Steve


  - Original Message - 
  From: 
  Dave Morrow 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, October 18, 2005 11:41 
  AM
  Subject: RE: [Asterisk-Users] Newbie 
  Question: Help with incoming dial plan
  
  I do not use any DID, all calls come in on the same 
  number 111222 so what I would like to do is simply prompt the caller to 
  enter the extension they wish to reach, then redirect to that extension in the 
  [default] context.
  
  David A. Morrow 
  Technical Systems 
  Lead Autodata 
  Solutions Company [EMAIL PROTECTED] http://www.autodata.net 
  Tel: (519) 951-6079 
  Fax: (519) 451-6615 
   Poor planning 
  on your part does not necessarily constitute an emergency on my part! 
   
  This message has originated from 
  Autodata Solutions. The attached material is the Confidential and Proprietary 
  Information of Autodata Solutions. This email and any files transmitted with 
  it are confidential and intended solely for the use of the individual or 
  entity to whom they are addressed. If you have received this email in error 
  please delete this message and notify the Autodata system administrator at 
  [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED]
  
  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  asteriskSent: Wednesday, October 19, 2005 11:34 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [Asterisk-Users] Newbie Question: Help with 
  incoming dial plan
  
  This is how I do it.
  
  [default-incoming]exten = 
  2691,1,Goto(extensions,3212,1)exten = 
  2692,1,Goto(extensions,3204,1)exten = 
  2693,1,Goto(extensions,3207,1)exten = 
  2694,1,Goto(extensions,3212,1)exten = 
  2695,1,Goto(extensions,3205,1)exten = 
  2696,1,Goto(extensions,3208,1)exten = 
  2697,1,Goto(extensions,1105,1)exten = 
  3211,1,Goto(extensions,,1)exten = 
  3223,1,Goto(extensions,3207,1)
  You will have to know how many digits are being 
  sent, in my case it is four. So for example, someone dials the DID 
  xxx-xxx-2691 the dialplan matches on the first line and then sends the cal to 
  the context "extensions" (you would replace with default) and the extension 
  "3212" in the first priority.
  
  If more or less digits are being sent by the 
  telco, you will have to adjust the exten =  to match. Sometimes 
  they send three.
  
  Thanks,
  Steve Totaro
  
  
- Original Message - 
From: 
Dave Morrow 
To: Asterisk Users Mailing List - 
Non-Commercial Discussion 
Sent: Tuesday, October 18, 2005 11:26 
AM
Subject: [Asterisk-Users] Newbie 
Question: Help with incoming dial plan

Hi all. I just got Asterisk installed with 
a Digium TE110P T1 card. Have it working for outbound calls so I know 
that all the hardware is functioning.
Since all inbound calls come through my T1, I 
would like to setup a dial plan that handles the incoming call and tells the 
caller to enter the extension they wish to reach. All of my real 
extensions are in the [default] context, and the Zaptel is configured to go 
to the [default-incoming] context. It is the [default-incoming] 
context that I am unsure of how to set.
If anyone could provide some insight, it would be 
much appreciated…….get me started at least. 
David A. Morrow Technical Systems Lead Autodata 
Solutions Company [EMAIL PROTECTED] http://www.autodata.net Tel: (519) 951-6079 Fax: (519) 
451-6615 
 Poor planning on your part 
does not necessarily constitute an emergency on my part!  
This message has originated from Autodata 
Solutions. The attached material is the Confidential and Proprietary 
Information of Autodata Solutions. This email and any files transmitted with 
it are confidential and intended solely for the use of the individual or 
entity to whom they are addressed. If you have received this email in error 
please delete this message and notify the Autodata system administrator 
at [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]



___--Bandwidth and 

RE: [Asterisk-Users] Newbie Question: Help with incoming dial plan

2005-10-18 Thread Dave Morrow
Title: Newbie Question: Help with incoming dial plan



Thanks Steve, this works like a charm!

Might I ask how I setup that Directory?

David A. Morrow 
Technical Systems 
Lead Autodata 
Solutions Company [EMAIL PROTECTED] http://www.autodata.net 
Tel: (519) 951-6079 
Fax: (519) 451-6615 
 Poor planning on 
your part does not necessarily constitute an emergency on my part! 
 
This message has originated from 
Autodata Solutions. The attached material is the Confidential and Proprietary 
Information of Autodata Solutions. This email and any files transmitted with it 
are confidential and intended solely for the use of the individual or entity to 
whom they are addressed. If you have received this email in error please delete 
this message and notify the Autodata system administrator at 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
asteriskSent: Wednesday, October 19, 2005 11:51 AMTo: 
Asterisk Users Mailing List - Non-Commercial DiscussionSubject: Re: 
[Asterisk-Users] Newbie Question: Help with incoming dial 
plan

add this context

[default-incoming]exten = 
111222,1,Goto(default-incoming,s,1)

exten = s,1,Answerexten = 
s,2,DigitTimeout(10)exten = s,3,ResponseTimeout(20)exten = 
s,4,Background(swelcome)exten = t,1,Hangupinclude = 
extensions
add this to your extensions context

;directory appexten = 
9,1,Directory(default-extensions)
; exten for recording greetings/menusexten 
= 12,1,Authenticate(1234|)exten = 12,2,Wait(2)exten = 
12,3,Record(/var/lib/asterisk/sounds/welcome:gsm)exten = 
12,4,Wait(2)exten = 
12,5,Playback(/var/lib/asterisk/sounds/welcome)exten = 
12,6,Wait(2)exten = 12,7,Hangup

Reload and dial 12 with the password of 1234 and 
record your greeting and then hangup. If you mess up just do it 
over.

Thanks,
Steve


  - Original Message - 
  From: 
  Dave Morrow 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: Tuesday, October 18, 2005 11:41 
  AM
  Subject: RE: [Asterisk-Users] Newbie 
  Question: Help with incoming dial plan
  
  I do not use any DID, all calls come in on the same 
  number 111222 so what I would like to do is simply prompt the caller to 
  enter the extension they wish to reach, then redirect to that extension in the 
  [default] context.
  
  David A. Morrow 
  Technical Systems 
  Lead Autodata 
  Solutions Company [EMAIL PROTECTED] http://www.autodata.net 
  Tel: (519) 951-6079 
  Fax: (519) 451-6615 
   Poor planning 
  on your part does not necessarily constitute an emergency on my part! 
   
  This message has originated from 
  Autodata Solutions. The attached material is the Confidential and Proprietary 
  Information of Autodata Solutions. This email and any files transmitted with 
  it are confidential and intended solely for the use of the individual or 
  entity to whom they are addressed. If you have received this email in error 
  please delete this message and notify the Autodata system administrator at 
  [EMAIL PROTECTED] 
  mailto:[EMAIL PROTECTED]
  
  
  
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  asteriskSent: Wednesday, October 19, 2005 11:34 
  AMTo: Asterisk Users Mailing List - Non-Commercial 
  DiscussionSubject: Re: [Asterisk-Users] Newbie Question: Help with 
  incoming dial plan
  
  This is how I do it.
  
  [default-incoming]exten = 
  2691,1,Goto(extensions,3212,1)exten = 
  2692,1,Goto(extensions,3204,1)exten = 
  2693,1,Goto(extensions,3207,1)exten = 
  2694,1,Goto(extensions,3212,1)exten = 
  2695,1,Goto(extensions,3205,1)exten = 
  2696,1,Goto(extensions,3208,1)exten = 
  2697,1,Goto(extensions,1105,1)exten = 
  3211,1,Goto(extensions,,1)exten = 
  3223,1,Goto(extensions,3207,1)
  You will have to know how many digits are being 
  sent, in my case it is four. So for example, someone dials the DID 
  xxx-xxx-2691 the dialplan matches on the first line and then sends the cal to 
  the context "extensions" (you would replace with default) and the extension 
  "3212" in the first priority.
  
  If more or less digits are being sent by the 
  telco, you will have to adjust the exten =  to match. Sometimes 
  they send three.
  
  Thanks,
  Steve Totaro
  
  
- Original Message - 
From: 
Dave Morrow 
To: Asterisk Users Mailing List - 
Non-Commercial Discussion 
Sent: Tuesday, October 18, 2005 11:26 
AM
Subject: [Asterisk-Users] Newbie 
Question: Help with incoming dial plan

Hi all. I just got Asterisk installed with 
a Digium TE110P T1 card. Have it working for outbound calls so I know 
that all the hardware is functioning.
Since all inbound calls come through my T1, I 
would like to setup a dial plan that handles the incoming call and tells the 
caller to enter the extension they wish to reach. All of my real 
extensions are in the [default] context, and the Zaptel is configured to go 
to t