[Asterisk-java-users] dnc filter using asterisk java
Brought to you by:
srt
From: Gopal k. <gop...@pe...> - 2008-01-18 11:03:16
|
Hi, The asterisk-java project is excellent to use with asterisk and with customized java code. We are developing a application for DNC scrubbing, where the procedure as follows, 1. dial a outbound number 2. the outbound number is captured by the fastagi 3. the captured number is matched with database, if the number is available a message will play saying that the number is DNC and the call will hangup 4. If the number is not in the database the call will be established And we have done this thru fastagi but the problem is we are using getdata function, but in getdata we need to initiate the agi first then only we are able to check the outgoing number. like, exten => 1300,1,Agi(agi://localhost/hello.agi) for each call we need to dial 1300 first and then only we can able to dial the outgoing number becuase we are using getdata function. But i need to use like this, exten => _XXXXXXXXXX,1,Agi(agi://localhost/hello.ag) Is there a function that the dialing number has to be captured directly to the fastagi. so that instead of dialing a static number at every time the dynamic outbound number dialed will be captured in our java program, then we can able to match with the database. no need of static number. Please let us know the possibilities if any. -- Thank you with regards, Gopal, PeopleTech Systems Private Limited www.peopletech.co.in |