[Asterisk-Dev] Comedian Mail features

Alex Lopez alex at opsys.com
Thu Jul 24 12:56:56 MST 2003


-----Original Message-----
From: Ryan Tucker [mailto:rtucker at netacc.net] 
Sent: Thursday, July 24, 2003 2:59 PM
To: asterisk-dev at lists.digium.com
Subject: Re: [Asterisk-Dev] Comedian Mail features

On Thu, 24 Jul 2003 12:17:16 -0400, Alex Lopez <alex at opsys.com> wrote:
> On the customer I am configuring now, they have several companies
working 
> out of one location.  I put the different phones, sip, and IAX into
the 
> correct context for outgoing calls so that CID shows the correct name.

> How hard would it be to add something to voicemail.conf??

>We're in the same boat, more or less -- different companies, one
server.

>I was thinking of using a database to keep track of things.  Perhaps
even 
>base extension handling altogether out of the database.


I haven't had a chance to play with that yet, how hard was it the
configure??? Can you share some examples??


> As far as call forwarding is concerned. I am thinking about having a
DB 
> that the user can place a value of 'where' they are. I would then do a

> lookup against the DB and send the call there.

>We are using the Asterisk internal DB currently, as it's there, it's
fast, 
>and the call forwarding code posted to asterisk-users a bit ago uses
it.  I 
>don't think I'd be too adverse to PostgreSQL, except I'm not sure about
the 
>reliability concerns of throwing in a couple SQL queries in the middle
of 
>call processing.  I am, however, wondering how effective it would be to

>edit the physical database files outside of Asterisk.

Editing outside of * may pose a problem. How ever MySql or Postgress
should not be a big problem, as php exist for both.

> My idea is to use touch tones and the phone as an interface as someone

> may not have access to a browser, but usually always have access to a 
> phone. These options are not mutually exclusive.

>Yup.  The phone-based processing is quite doable, and is being done
here.  
>However, our management seems to have a thing for pretty pictures, and
it 
>would be cool to be able to adjust things remotely.  -rt

I was planning on putting the whole Dial string ie SIP/999 or ZAP/999,
or  IAX/blah:blah at 10.1.1.1...., or even ZAP/g2/18005551212 in the
database.  If I was doing this in shell, I would do something like this:


Where 123 is the argument:

Grep "$1" /etc/asterisk/extensions.list

It returns:
123:SIP/9999

I store that in a Variable call DIALARG

Then I would 

Exten => 123,1,Dial(${DIALARG})

Simple......




-- 
Ryan Tucker
Network Engineer
NetAccess, Inc.

1159 Pittsford-Victor Road
Bldg. 5, Suite 140
Pittsford, New York 14534
585-419-8200
www.netacc.net
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list