Page 1 of 1

IVRS with extension and AGI Server

PostPosted: Thu Jun 22, 2023 3:05 pm
by macaruchi
Hi!
I have an IVRS for searching data into DB and says to client and credit card payments, My problem is that IVRS is done using FastAGI Java, i mean, is server AGI how can I transfer this call to IVRS ?

I did a test bt I did IVR using AGI in php but this is local ?

Any cluees?

Re: IVRS with extension and AGI Server

PostPosted: Wed Jun 28, 2023 12:39 pm
by martinch
Hey maracuchi,

What is the task you're trying to achieve here? AGI is simply a dynamic way of changing the flow of the dialplan. For example;

; No AGI
exten => 123,1,Answer()
exten => 123,n,Hangup()

The entry answers and hangups.

With AGI, we can do things a little differently.

; With AGI
exten => 123,1,Answer()
exten => 123,n,AGI(agi.agi)

And inside our AGI script we can hangup the channel. AGI can be anything you like...PHP like you said, Perl (my favourite and ViCi's favourite...as well as people in the Asterisk community), Python, any conceivable script really!

If you can tell us what you're trying to do we can help with your AGI scripts :)

Cheers.

Re: IVRS with extension and AGI Server

PostPosted: Fri Jun 30, 2023 9:01 am
by macaruchi
I have a FastAgi Server to take payment with credit card, this is a FastAgi Server with Java. I have used AGI but not FAstAgi from Vicidial so I need to dial an extension and in that extension listen my server AGI.
Now, this AGI server is working in Asterisk no Vicidial so now I want integrate it into Vici