Well I was seeing "Andy-Out" but didn't think anything much about it...well
I guess I should pay more attention to these small yet useful fields.

Andy Jaikissoon


-----Original Message-----
From: Dave Donovan [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 31, 2006 1:41 PM
To: TAUG
Subject: Re: [on-asterisk] Inbound Calls

I thought about that but I figured you would have seen it when you
echoed the CALLERIDNUM to the console.

Glad to hear you got it worked out.

Dave

On 7/31/06, Andy Jaikissoon <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I GOT IT FIGURED OUT!!!
>
> My coding on the Trixbox was actually right.  It was the setup on the
other
> end that wasn't passing me the DID properly. (Thanks to Luke for the FYI).
>
> I'm one step closer to my ultimate box now!
>
> Thanks again to everyone who replied to my posting.  You guys are the
> greatest.
>
> Andy Jaikissoon
>
> -----Original Message-----
> From: Luke Kahtava [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 31, 2006 1:05 PM
> To: TAUG
> Subject: RE: [on-asterisk] Inbound Calls
>
> Dave
>
> Are you sure your DID's are going to Asterisk as 4165551212, they could
> be 5551212, or 1212.
> In which case your exten file could also be one of the following:
> exten => 5551212,1,Goto(DISA,1,1)
> exten => 1212,1,Goto(DISA,1,1)
> You can check this be using the command show channels under the CLI when
> you have accepted an incoming call under _X.
>
> -----Original Message-----
> From: Dave Donovan [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 31, 2006 12:51 PM
> To: TAUG
> Subject: Re: [on-asterisk] Inbound Calls
>
> I just re-read your original post in light of what you just wrote.
>
> You should be putting your DID stuff in ext-did-custom in
> extensions_custom.conf.  Don't edit the stuff that was already on your
> system.  It will be overridden by the configuration scripts.
>
> Putting it in that file and that context should ensure that your code
> executes with precedence.
>
> Dave
>
> On 7/31/06, Andy Jaikissoon <[EMAIL PROTECTED]> wrote:
> > And here I am thinking that this would all be so simple...ah well.
> >
> > Thanks for the info though.  It does indeed help.  I tried it that way
> but
> > it still hits the "Catch All".  I'll keep on pushing at it.
> >
> > Andy Jaikissoon
> >
> > -----Original Message-----
> > From: Dave Donovan [mailto:[EMAIL PROTECTED]
> > Sent: Monday, July 31, 2006 11:35 AM
> > To: TAUG
> > Subject: Re: [on-asterisk] Inbound Calls
> >
> > I think Mike's suggestion is easier to implement and manage but I'll
> > tell you this because it's a matter of asterisk fundamentals and it's
> > someplace where people get hungup when writing for their dialplan.
> >
> > The reason that your _X. extension fires instead of your DID extension
> > is that Asterisk does not process extensions in order of appearance in
> > the .conf files.  It reads them all in then sorts them according to
> > it's own design.  It's sort method is basically arbitrary so it won't
> > do you much good.  What's important is that it doesn't work from
> > specific to general the way we might like it to work.  If you're
> > interested in knowing how it _does_ sort them, issue 'show diaplan'
> > from the CLI.
> >
> > If you want to enforce processing order, you have to use include
> > statements.  For example, if you want asterisk to try apples, then
> > oranges then bananas you have to do it like this:
> >
> > [sequential-fruit-context]
> > include apples-context ; this is where you'd put your defaults
> (s,h,etc)
> > include oranges-context ; this is where you'd put your explicit DIDs
> > include bananas-context ; this is where you'd put that catchall.  Only
> > executes if no match.
> > #include grapefruit ; oh yeah, it also holds for files
> >
> > There's a little tidbit that should serve you well for years to come.
> >
> > Dave
> >
> > On 7/31/06, Andy Jaikissoon <[EMAIL PROTECTED]> wrote:
> > > The following is the coding in the system where it always hits:
> > >
> > > [ext-did]
> > >
> > > include => ext-did-custom
> > > exten => s,1,Goto(DISA,1,1)
> > > exten => 4165551212,1,Goto(DISA,1,1)
> > > exten => _X.,1,Noop(Catch-All DID Match - Found ${CALLERIDNUM})
> > > exten => _X.,n,Goto(ext-did,s,1)
> > > ; end of [ext-did]
> > >
> > >
> >
> ========================================================================
> ====
> > ======
> > >
> > >
> > >
> > > All calls seem to hit the _X. section which I don't want.  Also,
> those 2
> > > lines were created when I installed my Trixbox.  I've tried
> commenting
> > those
> > > lines out but the call then fails.  Maybe I'm missing something here
> so if
> > > anyone could let me know, that would be appreciated.
> > >
> > >
> > >
> > > Andy Jaikissoon
> >
> >
> > --
> > David Donovan
> > Consultant
> > Fulcrum Solutions
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> David Donovan
> Consultant
> Fulcrum Solutions
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
David Donovan
Consultant
Fulcrum Solutions

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to