[asterisk-users] Re: call dispatching - legacy application

adriano ghezzi adriano.ghezzi at gmail.com
Thu Apr 26 15:20:50 MST 2007


well more indeep the actual process is

myparser a php script connected "telnet" to aah manager get and parse events
it grab cid from manager event (incoming call)
it passes cid to a legacy visual basic app that query a db on ibm as/400
the query return info about customer's status and opened tickets
now it should instruct asterisk to send the call to the right operator,
because at the moment I'm not able to do it i do:
the call get dispatched "Normal way"
i wait the call ends, the php parser inform another (master vb app)
that open a pop-up on the pc of the operator that processed the call
and update the customer'ts ticket

what i would like is to dispatch the call to a specific operator eg
the "preferred" customer's operator.

thanks to Brad.
ciao!




2007/4/26, adriano ghezzi <adriano.ghezzi at gmail.com>:
> Hy all
>
> need to preprocess
> 1) incoming call get caller id lookup some info in my db,
> 2) based on the result dispatch the call to the right operator
>
> step 1 is ok I developped a small .php script that connect manager and
> parse events, now I have to tell AAH do dispatch call to the right
> operator
>
> questions
> 1) is this the right practice ?
> 2) where to find a complete manager api reference, (to buy too)
>
> note that
> there is a legacy application that query the db actually php script
> send the request to this app and wait for response
>
> I'm a programmer at very first installation of AAH , just testing capabilities
>
> thanks in advance for any help and suggestion.
>


More information about the asterisk-users mailing list