[Asterisk-Users] AGI and incoming call

Olivier Saulnier steganux at steganux.com
Tue Apr 25 23:47:03 MST 2006


Hello,

I would like to intercept each incoming call and with an awk script, 
search the internal phone number ask.
For example:
I have a text database as this:
External phone   Internal Phone
12345678             10
45874521             11
32544884             12

When the client 45874521 call, Asterisk must routed the incoming call to 
the internal phone 11
I have an awk script able to find the good internal phone, but i don't 
know how to interface it with Asterisk. I thought that AGI is the best 
way. Is it?

Best regards,

-- 
Olivier Saulnier
STEGANUX
35 Quai Louis Blanc
03100 Montluçon
T: 04.70.02.80.55
F: 04.70.02.80.57
http://www.steganux.com




More information about the asterisk-users mailing list