Re: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-07 Thread Andrew Kohlsmith
Example: 456-7000 is your main number and you have 7001 to 7099 as DIDs: exten = 7000,1,Goto(AutoAttendant|s|1) exten = _7XXX,1,Macro(yourdialmacro|${EXTEN}) How are you dropping the 456 there? I thought extensions picked up what either the SIP phone had dialled, or what DTMF detection

Re: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-07 Thread Paul Liew
The number of digits that your telco sends to you is a configurable figure (at least it is here in Aus). The example assumes that the telco is sending you the last 4 digits. Paul Example: 456-7000 is your main number and you have 7001 to 7099 as DIDs: exten = 7000,1,Goto(AutoAttendant|s|1)

Re: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-07 Thread Andrew Kohlsmith
The number of digits that your telco sends to you is a configurable figure (at least it is here in Aus). The example assumes that the telco is sending you the last 4 digits. Hmmm ok so DIDs are not what is stuffed into the CNID field? Or rather pieces of the DID make it into the CNID?

Re: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-07 Thread Steven Critchfield
On Tue, 2003-10-07 at 07:53, Andrew Kohlsmith wrote: The number of digits that your telco sends to you is a configurable figure (at least it is here in Aus). The example assumes that the telco is sending you the last 4 digits. Hmmm ok so DIDs are not what is stuffed into the CNID field?

RE: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-07 Thread Paul Crick
There's been a few replies but thought I'd elaborate on my initial reply.. How are you dropping the 456 there? I thought extensions picked up what either the SIP phone had dialled, or what DTMF detection picked up when * answered the line...? No.. if you have a PRI, the signalling is digital,

[Asterisk-Users] direct-inward-dialing (DID)

2003-10-06 Thread john lawler
I know that Asterisk supports DID, but does anyone have documentation on how to write the configuration for it? I'll be trying to setup a hybrid system where some incoming numbers will be DID enabled and others won't, so I'll need to be able to sort between the two, i.e. directly connect the

Re: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-06 Thread Steven Critchfield
On Mon, 2003-10-06 at 15:45, john lawler wrote: I know that Asterisk supports DID, but does anyone have documentation on how to write the configuration for it? I'll be trying to setup a hybrid system where some incoming numbers will be DID enabled and others won't, so I'll need to be able

RE: [Asterisk-Users] direct-inward-dialing (DID)

2003-10-06 Thread Paul Crick
It's pretty easy, in your extensions.conf. If your DIDs are in a range, you could set up some pattern matching to take a block of incoming DIDs and map to extension numbers then dial or hand off to the dial'n'voicemail macro thing. If your DIDs are non-contiguous, you'll have to set up a separate