[Asterisk-Users] indexing tables for dialing

Ipek Zivane ipekziv at hotmail.com
Sun Jun 26 11:20:23 MST 2005


Hi Jay,

Thanks for your response.

Using the fisrt apporach seems to work just for one number extension and one 
phone number. It is not clear for me how ca I manege to use one number 
extension for at least three equivalent phone numbers.

Ypek



>From: "Jay Milk" <jay at skimmilk.net>
>Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion 
><asterisk-users at lists.digium.com>
>To: "'Asterisk Users Mailing List - Non-Commercial Discussion'" 
><asterisk-users at lists.digium.com>
>Subject: RE: [Asterisk-Users] indexing tables for dialing
>Date: Thu, 23 Jun 2005 09:01:05 -0500
>
>Two approaches come to mind -- 1) Using DBPut/DBGet to associate a fixed
>amount of phone-numbers with a given extension and dial, all from
>extensions.conf, or 2) Using a small mySQL table and a short agi script
>to accomplish the same thing.  The former solution has the advantage
>that it's rather easy to implement and won't require any additional
>components; the latter is more flexible and could allow maintenance of
>the forward numbers by, say, a website.
>
> > -----Original Message-----
> > From: Ipek Zivane [mailto:ipekziv at hotmail.com]
> > Sent: Wednesday, June 22, 2005 6:50 PM
> > To: asterisk-users at lists.digium.com
> > Subject: [Asterisk-Users] indexing tables for dialing
> >
> >
> > Hello
> >
> > I would like to know how can I manage to implement a table
> > which translates
> > an extension number into a phone number. Let see an example:
> >
> > If I dial an extension like 3021, Asterisk  has  to Dial an
> > agent (our
> > employees) located at San Francisco  using the following
> > telephone number:
> > 415 541 XXXX. If it does not work we can also use his/her
> > mobile number.
> >
> > We need to manage more than 180 agents nationwide so I would
> > like to use a
> > table or data base to translate a large number of agent's telephones.
> >
> > The table looks like this:
> >
> > EXT        PHONE1        PHONE2       PHONE3
> >
> > 3021      4155XXXX   415YYYYY   510XXXXX
> > 2130      415ZZZZZ    510LLLLL
> > 3060      510XXXXX   XXXXXXX
> > nnnn
> > .
> > .
> > xxxx       XXXXXXX     XXXXXXX
> >
> > Thanks in advance for your help.
> >
> > Ypek
> >
> > _________________________________________________________________
> > Sadece sohbet ile yetinmeyin - eglneceye de doymak için
> > Messenger'i tercih
> > edin! http://messenger.msn.com/?mkt=tr&DI=3490&XAPID=2584
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/aster> isk-users
> > To
> > UNSUBSCRIBE or update options visit:
> >
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
>_______________________________________________
>Asterisk-Users mailing list
>Asterisk-Users at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-users
>To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_________________________________________________________________
Hem e-postalarinizi, hem de Bilgisayarinizi MSN Güvenlik ile koruma altina 
alin! http://www.msn.com.tr/security/




More information about the asterisk-users mailing list