[Asterisk-biz] Looking for someone to write a console applica tion for asterisk.

Colin Anderson ColinA at landmarkmasterbuilder.com
Fri Aug 26 10:05:01 MST 2005


To expand on this:

Assumes 2 DID's, 1010 & 1011, operator extension is SIP/1000

extensions.conf:

[globals]
OPERATOR_IS_AVAIL=1

[from-pstn]
exten => 1010,1,Answer()
exten => 1010,2,SetCallerID("Company 1:" & ${CALLERIDNUM})
exten => 1010,3,Gotoif($["${OPERATOR_IS_AVAIL}" = "1"]?4:6)
exten => 1010,4,Dial(SIP/1000,40,T)
exten => 1010,5,DoStuffHereIfOperatorDoesNotAnswer  'Bogus statement
exten => 1010,6,Goto(company1-context,s,1)

exten => 1011,1,Answer()
exten => 1011,2,SetCallerID("Company 2:" & ${CALLERIDNUM})
exten => 1011,3,Gotoif($["${OPERATOR_IS_AVAIL}" = "1"]?4:6)
exten => 1011,4,Dial(SIP/1000,40,T)
exten => 1011,5,DoStuffHereIfOperatorDoesNotAnswer  'Bogus statement
exten => 1011,6,Goto(company2-context,s,1)

[from-internal]
include => change-operator-avaliability

[change-operator-avaliability]
exten => *88,1,SetVar(OPERATOR_IS_AVAIL=0) 'Operator dials *89 to say they
are not avail
exten => *88,2,Playback(TheOperatorIsNotAvaliable) 'You must record a custom
prompt for this

exten => *89,1,SetVar(OPERATOR_IS_AVAIL=0) 'Operator dials *89 to say they
*are* avail
exten => *89,2,Playback(TheOperatorIsNowAvaliable) 'You must record a custom
prompt for this

As far as the rest, transfer, park, etc should work if you have it already
configured i.e. with the default AMP dialplan. However, for an operator
position, consider FOP or an operator sidecar like Snom's for extension
state. Note if you are talking about less than 12 guys, you can do this with
a Snom 360, I have one in front of me and it has 12 extension indicators,
you can program them with Hint priority.

I'll take my $800 now. :-)>


-----Original Message-----
From: Tom Rymes [mailto:trymes at rymesheating.com]
Sent: Friday, August 26, 2005 9:40 AM
To: Commercial and Business-Oriented Asterisk Discussion
Subject: Re: [Asterisk-biz] Looking for someone to write a console
application for asterisk.


Couldn't you accomplish this by having asterisk prefix the caller-id  
name with the information you want?

Set(CIDNAME

  Then just use one of the existing operator panels such as FOP or  
IPSwitchboard.

Then you can take the $800 and donate it to FOP or IPSwitchboard.

Tom

On Aug 25, 2005, at 9:19 PM, bclem at im-online.net wrote:

> Hello, we are looking for a unix programmer who can write the  
> following type of
> application that works with asterisk.
>
> 1. Operator Console.
> When a call comes in on a did, the did should be looked up in a  
> database(against
> a list of did's assigned to companies) and the name of the "called  
> company"
> should be looked up. If a flag on the DID entry in the database is  
> to forward
> to the operator, then the name of the called company is displayed  
> on the
> operator console, ie "FooCompany is being called on line xxx-xxx- 
> xxxx". If not,
> the call should be forwarded to the IVR/Context for the company. 
> (the context
> will be looked up in a database table as well).
>
> The operator console should be able to answer, park, transfer and  
> hang up calls
> it recieves. Additional calls(up to 3 at a time) should be able to  
> be displayed
> and answered.
>
> 2. Asterisk will need to be configured to work with the above  
> application. We
> don't know the best way to do this. Probably some sort of  
> forwarding of the
> call to the "operator extension" and agi.
>
> We have a small initial budget($800.00) which I know is very low  
> for something
> like this, but we would like to work with someone to do some sort  
> of payment or
> licensing plan for the application with eventual buyout.
>
> The program can be in any language, ncurses/c, perl-ncurses, php- 
> ncurses
> anything you like just as long as it works and is somewhat fast.
>
> I would write this myself, but I don't have the time since we are  
> nearing
> deployment of all of the actual infrastructure for our showplace  
> client.
>
>
>
> -Brent
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Asterisk-Biz mailing list
> Asterisk-Biz at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-biz
>

_______________________________________________
Asterisk-Biz mailing list
Asterisk-Biz at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-biz



More information about the asterisk-biz mailing list