Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-21 Thread Richard Lyman
Benny Amorsen wrote: RL == Richard Lyman [EMAIL PROTECTED] writes: RL grr, i hate when i typo (and reply to my own posts) exten = RL s/,2,Set(CALLERID(name)=OUTSIDE NAME|CALLERID(num)=xx) Heh, if you want to chase typos, perhaps you should add an underscore before

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-21 Thread Douglas Garstang
-Original Message- From: Richard Lyman [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 4:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan Douglas Garstang wrote

OT: Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-21 Thread Richard Lyman
Douglas Garstang wrote: -Original Message- From: Richard Lyman [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 4:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan Douglas

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Benny Amorsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 6:16 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with dialplan DG == Douglas Garstang [EMAIL PROTECTED] writes: DG So

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Doug Crompton
I haven't really been following this thread but doesn't the following snipet kinda do this [out-international] exten = _011,1,goto(process-international,s,1) [process-international] exten = s,1,playback(international-call) exten = s,n,playback(please-enter-the) exten =

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Doug Crompton [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 8:36 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: RE: [asterisk-users] Re: Match a Numer - then continue with dialplan I haven't really been following

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: David Gomillion [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 10:27 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with, dialplan I think you're making it far too difficult. What I do

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Tony Mountifield [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 11:47 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with dialplan In article [EMAIL PROTECTED], Douglas Garstang [EMAIL

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Tony Mountifield [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 11:47 AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with dialplan In article [EMAIL PROTECTED], Douglas Garstang [EMAIL

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Benny Amorsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 1:04 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with dialplan DG == Douglas Garstang [EMAIL PROTECTED] writes: DG If I

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
[example] include = ctx31X include = ctx3XX exten = _X.,1,NoOp(this gets executed first for everything) exten = _X.,2,NoOp(this gets executed second only if ctx31X or ctx3XX didnt match) exten = _X.,3,NoOp(this gets executed third for everything) [ctx31X] exten = _31X,2,NoOp(this

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Benny Amorsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 1:16 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with dialplan DG == Douglas Garstang [EMAIL PROTECTED] writes: DG

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Benny Amorsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 1:14 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with dialplan DG == Douglas Garstang [EMAIL PROTECTED] writes

Re: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Mike
DG Surely other people have hit the situation where they first check DG extensions within a company, and then if there's no match, you DG glue all the other companies dialplans together with this one. Of course we have. Just Goto(gluedtogethercontext,${EXTEN},1) After doing which, you

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 1:53 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Re: Match a Numer - then continue with dialplan DG Surely other people have hit

Re: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Mike
Perhaps I can get a clarification before proceeding further... In reading the thread the situation seems to be: Company A users has a user with extension/callerid XXX, he calls someone in company B and you want to set the callerid to company A's main number rather than the userr's default

Re: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Mike
Typo, sorry. Should be: Here will match company B numbers exten = , 1, Set(CALLERID=CompanyAMain) exten = , 2, Dial(${EXTEN}) ;Handle calls from A - B ;Here will match company B numbers exten = , 1, Set(CALLERID=CompanyAMain) exten = , 1,

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 2:18 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Re: Match a Numer - then continue with dialplan Perhaps I can get a clarification

RE: [asterisk-users] Re: Match a Numer - then continue with dialplan

2006-12-20 Thread Niklas Larsson
On Wed, 20 Dec 2006 12:16:45 -0700, Douglas Garstang wrote: I think that's the deal breaker right there. I can't start a company within an extension. The starting point for each phone within a company needs to make extensive use of the include= directive. Features will be disabled by default,

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Tony Mountifield [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 2:41 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Re: Match a Numer - then continue with, dialplan In article [EMAIL PROTECTED], Douglas Garstang [EMAIL

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Michael Collins
Firstly, in the setup you are envisaging, how do you distinguish which company the caller is calling from? Their extensions number? The context at which they enter the dialplan? Or something else? Good questions, all of them. Unfortnately, I don't have answers to them. I wanted to take

Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Richard Lyman
Douglas Garstang wrote: -Original Message- From: David Gomillion [mailto:[EMAIL PROTECTED] *snipped David, this is completely different from what I am trying to do. Let's try this a different way. Let's say you have two companies. When someone calls a number in their own

Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Richard Lyman
Richard Lyman wrote: Douglas Garstang wrote: -Original Message- From: David Gomillion [mailto:[EMAIL PROTECTED] *snipped David, this is completely different from what I am trying to do. Let's try this a different way. Let's say you have two companies. When someone calls a

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Douglas Garstang
-Original Message- From: Richard Lyman [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 4:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Re: Match a Numer - then continue with, dialplan Douglas Garstang wrote

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Doug Crompton
On Wed, 20 Dec 2006, Michael Collins wrote: After listing all of that, then give us the description of what needs to happen next, the part about deciding which caller ID info to send. Pretend like you're explaining it to a bunch of idiots who understand only small words and short sentences.

RE: [asterisk-users] Re: Match a Numer - then continue with, dialplan

2006-12-20 Thread Douglas Garstang
I seriously doubt he'd know how to get on the 'Internets' -Original Message- From: Doug Crompton [mailto:[EMAIL PROTECTED] Sent: Wed 12/20/2006 8:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Cc: Subject:RE: [asterisk-users] Re: Match a Numer