[asterisk-users] Realtime and hints

Aaron Daniel amdtech at shsu.edu
Fri Aug 25 07:18:11 MST 2006


I seem to remember someone posting somewhere (was it the list or some
site I was browsing...) where someone had created a hint lookup table
and just put a db lookup in the dialplan for the hint priority.  Then
you just need one line to cover all your hints and the db will handle
everything else.  You just have to figure out the best realtime <->
static combination that works for you, just like ALL of us have had to.
Trial and error does wonders.

Aaron

On Thu, 2006-08-24 at 11:00 -0600, Douglas Garstang wrote:
> I don't see how that helps. If you have a portion of the hint still in extensions.conf, then what use is the database?
> 
> > -----Original Message-----
> > From: Aaron Daniel [mailto:amdtech at shsu.edu]
> > Sent: Thursday, August 24, 2006 10:24 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: RE: [asterisk-users] Realtime and hints
> > 
> > 
> > That's what he was gettin at.  Take the second line out, and put the
> > first priority in the database.
> > 
> > On Thu, 2006-08-24 at 10:17 -0600, Douglas Garstang wrote:
> > > But... you need _both_ in your dialplan.
> > > 
> > > My extensions.conf has:
> > > 
> > > exten => 2944054,hint,              SIP/2944054
> > > exten => 2944054,1,                 Dial(SIP/2944054)
> > > 
> > > ie two lines for the hint.
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: Dovid Bender [mailto:asteriskusers at dovid.net]
> > > > Sent: Thursday, August 24, 2006 9:32 AM
> > > > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > > > Subject: Re: [asterisk-users] Realtime and hints
> > > > 
> > > > 
> > > > Doug I have
> > > > Exten => 10,hint,SIP/11010
> > > > and in mysql I have
> > > > exten => 10,1,Dial(SIP/11010)
> > > > 
> > > > ----- Original Message ----- 
> > > > From: "Douglas Garstang" <dgarstang at oneeighty.com>
> > > > To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
> > > > <asterisk-users at lists.digium.com>
> > > > Sent: Monday, August 21, 2006 3:37 PM
> > > > Subject: [asterisk-users] Realtime and hints
> > > > 
> > > > 
> > > > Can realtime be used with hints? How would you get the 
> > > > following into the 
> > > > database given that the priority column is numeric, and that 
> > > > there is no 
> > > > application for the first entry?
> > > > 
> > > > exten => 2944006,hint,SIP/2944006
> > > > exten => 2944006,1,Dial(SIP/2944006)
> > > > 
> > > > Every time I touch realtime I hit obstacles. How are others 
> > > > getting around 
> > > > this limitation?
> > > > 
> > > > Doug.
> > > > 
> > > > _______________________________________________
> > > > --Bandwidth and Colocation provided by Easynews.com --
> > > > 
> > > > asterisk-users mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > 
> > > > 
> > > > _______________________________________________
> > > > --Bandwidth and Colocation provided by Easynews.com --
> > > > 
> > > > asterisk-users mailing list
> > > > To UNSUBSCRIBE or update options visit:
> > > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > 
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > > 
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > -- 
> > Aaron Daniel
> > Computer Systems Technician
> > Sam Houston State University
> > amdtech at shsu.edu
> > (936) 294-4198
> > 
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> > 
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> > 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Aaron Daniel
Computer Systems Technician
Sam Houston State University
amdtech at shsu.edu
(936) 294-4198




More information about the asterisk-users mailing list