Database Lookup based Call Forwarding

Hi All,

I am doing some basic research for a client who wants to setup a telephony system that basically accepts incoming calls on various lines (generally 800 numbers), asks the caller for their zip code, uses this zip code to look up an appropriate number in a Database, forward the call to this number and record all of the details including the audio of the final call itself. Is all this possible with Asterisk? If so, can someone point me in the right direction to get started? I am a total asterisk/telephony n00b but a competent unix devel/admin.

Thanks in advance,

Jeff

Hi
If you recive calls from any user no matter who call from 800 number or normal numbers , simply recive that calls

exten => XXXXXXXXXX,1,Answer
exten => XXXXXXXXXX,2,Background(Dial your Zip code)
include =>call forward
once anybody enter its zip code then we dail respective number

like this
[call forward]
exten => 12345,1,Dial(SIP/16468106677@host,20,tTw)
exten => 12040,1,Dial(SIP/16468106677@host,20,tTw)
when caller enter dail his zip code as 12345 number as per code dail
where host is your sip provide peer which you mention in sip.conf

for recording there is many options in Dial comand Alos monitor command which you can put before Dail command with proyority 1
rember all zip code proyority sud be same that 1 so when ever any caller enter is zip code call routed that way
for recored check voip-info.org
I think this is simple than That Database technique. wher u need to put enter number for respective zip code.
try this it is same that u want

Amit

Hi
If you recive calls from any user no matter who call from 800 number or normal numbers , simply recive that calls

exten => XXXXXXXXXX,1,Answer
exten => XXXXXXXXXX,2,Background(Dial your Zip code)
include =>call forward
once anybody enter its zip code then we dail respective number

like this
[call forward]
exten => 12345,1,Dial(SIP/16468106677@host,20,tTw)
exten => 12040,1,Dial(SIP/16468106677@host,20,tTw)
when caller enter dail his zip code as 12345 number as per code dail
where host is your sip provide peer which you mention in sip.conf

for recording there is many options in Dial comand Alos monitor command which you can put before Dail command with proyority 1
rember all zip code proyority sud be same that 1 so when ever any caller enter is zip code call routed that way
for recored check voip-info.org
I think this is simple than That Database technique. wher u need to put enter number for respective zip code.
try this it is same that u want

Amit

Hi
If you recive calls from any user no matter who call from 800 number or normal numbers , simply recive that calls

exten => XXXXXXXXXX,1,Answer
exten => XXXXXXXXXX,2,Background(Dial your Zip code)
include =>call forward
once anybody enter its zip code then we dail respective number

like this
[call forward]
exten => 12345,1,Dial(SIP/16468106677@host,20,tTw)
exten => 12040,1,Dial(SIP/16468106677@host,20,tTw)
when caller enter dail his zip code as 12345 number as per code dail
where host is your sip provide peer which you mention in sip.conf

for recording there is many options in Dial comand Alos monitor command which you can put before Dail command with proyority 1
rember all zip code proyority sud be same that 1 so when ever any caller enter is zip code call routed that way
for recored check voip-info.org
I think this is simple than That Database technique. wher u need to put enter number for respective zip code.
try this it is same that u want

Amit