Roger Schreiter
2006-Jul-12 06:15 UTC
[asterisk-users] 1000s of extensions in one context?
Hi, is several 1000s of extensions in a context a problem? Roger.
several thousand extensions or several extensions called 1000 ? ----- Original Message ----- From: "Roger Schreiter" <roger@planinternet.de> To: <asterisk-users@lists.digium.com> Sent: Wednesday, July 12, 2006 9:15 AM Subject: [asterisk-users] 1000s of extensions in one context?> Hi, > > is several 1000s of extensions in a context a problem? > > > Roger. > > _______________________________________________ > --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 > >
Roger Schreiter
2006-Jul-12 09:39 UTC
[asterisk-users] 1000s of extensions in one context?
Dovid Bender schrieb:> several thousand extensions or several extensions called 1000 ?Several thousend extensions. exten => 497111234,1,goto(...) exten => 497111235X,1,goto(...) exten => 497111236XX,1,goto(...) exten => 497111237,1,goto(...) Several thousend extensions of maybe different length. For overlap dialing to operate correct (and no need to wait for timeouts) I would like to put the whole dial plan into the file extensions.conf. Before starting, I would like to know, whether there are experiences with such long dialplans. Roger.
My working experience with 100s of extensions, usually associated to personnel that will *not* change from my defaults is: ; Extensions exten => 1000,1,Macro(call-sip-local,1000,SIP/1000,default) ; Operator exten => _1XXX,1,Macro(call-sip-local,${EXTEN},SIP/${EXTEN},default) Then, [macro-call-sip-local] ; ; Standard extension macro: ; ${ARG1} - Extension (we could have used ${MACRO_EXTEN} here as well ; ${ARG2} - Device(s) to ring ; ${ARG3} - voicemailcontext ; exten => s,1,Set(LANGUAGE()=en) exten => s,n,Playback(pls-wait-connect-call) exten => s,n,Set(LANGUAGE()=es) exten => s,n,Dial(${ARG2},20,tT) ; Ring the interface, 20 seconds maximum exten => s,n,NoOp(${DIALSTATUS}) exten => s,n,Goto(s-${DIALSTATUS},1) ; Jump based on status (NOANSWER,BUSY,CHANUNAVAIL,CONGESTION$ exten => s-NOANSWER,1,Voicemail(u${ARG1}@${ARG3}) ; If unavailable, send to voicemail w/ unavail announce exten => s-NOANSWER,n,HangUp() exten => s-BUSY,1,Voicemail(b${ARG1}@${ARG3}) ; If busy, send to voicemail w/ busy announce exten => s-BUSY,n,HangUp() exten => s-CHANUNAVAIL,1,PlayTones(congestion) exten => s-CHANUNAVAIL,n,Wait(2) exten => s-CHANUNAVAIL,n,StopPlayTones() exten => s-CHANUNAVAIL,n,Voicemail(${ARG1}@${ARG3}) exten => s-CHANUNAVAIL,n,HangUp() exten => _s-.,1,Goto(s-NOANSWER,1) ; Treat anything else as no answer ; ; end; On 7/12/06, Roger Schreiter <roger@planinternet.de> wrote:> Dovid Bender schrieb: > > several thousand extensions or several extensions called 1000 ? > > > Several thousend extensions. > > > exten => 497111234,1,goto(...) > exten => 497111235X,1,goto(...) > exten => 497111236XX,1,goto(...) > exten => 497111237,1,goto(...) > > > Several thousend extensions of maybe different length. > For overlap dialing to operate correct (and no need to > wait for timeouts) I would like to put the whole dial > plan into the file extensions.conf. > > Before starting, I would like to know, whether there are > experiences with such long dialplans. > > > Roger. > > > _______________________________________________ > --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 >-- ------------------------------------------------------------ Erick Perez Panama Sistemas Integradores de Telefonia IP y Soluciones Para Centros de Datos Panama, Republica de Panama Cel Panama. +(507) 6694-4780 ------------------------------------------------------------
i would go with realtime for that ----- Original Message ----- From: "Roger Schreiter" <roger@planinternet.de> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com> Sent: Wednesday, July 12, 2006 12:39 PM Subject: Re: [asterisk-users] 1000s of extensions in one context?> Dovid Bender schrieb: >> several thousand extensions or several extensions called 1000 ? > > > Several thousend extensions. > > > exten => 497111234,1,goto(...) > exten => 497111235X,1,goto(...) > exten => 497111236XX,1,goto(...) > exten => 497111237,1,goto(...) > > > Several thousend extensions of maybe different length. > For overlap dialing to operate correct (and no need to > wait for timeouts) I would like to put the whole dial > plan into the file extensions.conf. > > Before starting, I would like to know, whether there are > experiences with such long dialplans. > > > Roger. > > > _______________________________________________ > --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 > >
On Wed, Jul 12, 2006 at 08:07:30PM -0400, Dovid Bender wrote:> i would go with realtime for thatDoes the real-time configuration engine handle 1000-s of extensions in the same context more efficiently? -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com
I wouldnt think why not and its a lot easier to program as oposed to going thru a conf file over and over, reloading etc. ----- Original Message ----- From: "Tzafrir Cohen" <tzafrir.cohen@xorcom.com> To: <asterisk-users@lists.digium.com> Sent: Wednesday, July 12, 2006 8:32 PM Subject: Re: [asterisk-users] 1000s of extensions in one context?> On Wed, Jul 12, 2006 at 08:07:30PM -0400, Dovid Bender wrote: >> i would go with realtime for that > > Does the real-time configuration engine handle 1000-s of extensions > in the same context more efficiently? > > -- > Tzafrir Cohen sip:tzafrir@local.xorcom.com > icq#16849755 iax:tzafrir@local.xorcom.com > +972-50-7952406 jabber:tzafrir@jabber.org > tzafrir.cohen@xorcom.com http://www.xorcom.com > _______________________________________________ > --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 > >
On Thu, Jul 13, 2006 at 09:43:45AM -0400, Dovid Bender wrote:> I wouldnt think why not and its a lot easier to program as oposed to going > thru a conf file over and over, reloading etc.Hint: a config file can be generated. Part of it can. Anyway, The OP asked about performance. -- Tzafrir Cohen sip:tzafrir@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com