Can someone shed some light on why the 'hint' feature was implemented in the 'priority' field that is purely an integer in the rest of the dialplan? There seems to be a conflict with realtime and the hint priority, in order to put in the hints you would have to change the priority column in the database from int to char and give up some performance (since int indexes better and priority is a parameter in the select)? More importantly, can anyone answer these questions; Can the hint priority by put in mysql realtime? Is there truly an impact to changing the priority datatype to char or varchar? If it can not be put in realtime, can the hint priority exist in the same context statically, and the numbered portion of the dialplan in realtime? (making it "not so real time") Thanks for any info on this. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060526/1d928ef0/attachment.htm
have you tried to set the priority to -1 for the hints in the db? don't know if it works, but I saw somewhere that the 'hint' priority was actually -1 inside asterisk... maybe this will work with realtime arch. Just a suggestion... 2006/5/26, Damon Estep <damon@suburbanbroadband.net>:> > Can someone shed some light on why the 'hint' feature was implemented in > the 'priority' field that is purely an integer in the rest of the dialplan? > > > > There seems to be a conflict with realtime and the hint priority, in order > to put in the hints you would have to change the priority column in the > database from int to char and give up some performance (since int indexes > better and priority is a parameter in the select)? > > > > More importantly, can anyone answer these questions; > > > > Can the hint priority by put in mysql realtime? > > Is there truly an impact to changing the priority datatype to char or > varchar? > > If it can not be put in realtime, can the hint priority exist in the same > context statically, and the numbered portion of the dialplan in realtime? > (making it "not so real time") > > > > > > Thanks for any info on this. > > _______________________________________________ > --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 > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060526/f94f991c/attachment.htm
I put my hints in a separate static context, then set the subscribecontext in sip.conf to make subscriptions look at that context for hints. Perhaps that would work for you? -Jason Damon Estep wrote:> > Can someone shed some light on why the ?hint? feature was implemented > in the ?priority? field that is purely an integer in the rest of the > dialplan? > > There seems to be a conflict with realtime and the hint priority, in > order to put in the hints you would have to change the priority column > in the database from int to char and give up some performance (since > int indexes better and priority is a parameter in the select)? > > More importantly, can anyone answer these questions; > > Can the hint priority by put in mysql realtime? > > Is there truly an impact to changing the priority datatype to char or > varchar? > > If it can not be put in realtime, can the hint priority exist in the > same context statically, and the numbered portion of the dialplan in > realtime? (making it ?not so real time?) > > Thanks for any info on this. > > ------------------------------------------------------------------------ > > _______________________________________________ > --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 >
I will give it a try, thank you. Do you get ringing and on the phone statuses on the subscribed extensions? What kind of phones are you using?> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Jason Bachman > Sent: Friday, May 26, 2006 2:34 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] hint priority and realtime > > I put my hints in a separate static context, then set the > subscribecontext in sip.conf to make subscriptions look at thatcontext> for hints. Perhaps that would work for you? > > -Jason > > Damon Estep wrote: > > > > Can someone shed some light on why the 'hint' feature wasimplemented> > in the 'priority' field that is purely an integer in the rest of the > > dialplan? > > > > There seems to be a conflict with realtime and the hint priority, in > > order to put in the hints you would have to change the prioritycolumn> > in the database from int to char and give up some performance (since > > int indexes better and priority is a parameter in the select)? > > > > More importantly, can anyone answer these questions; > > > > Can the hint priority by put in mysql realtime? > > > > Is there truly an impact to changing the priority datatype to charor> > varchar? > > > > If it can not be put in realtime, can the hint priority exist in the > > same context statically, and the numbered portion of the dialplan in > > realtime? (making it "not so real time") > > > > Thanks for any info on this. > > > >------------------------------------------------------------------------> > > > _______________________________________________ > > --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