IVRS with extension and AGI Server

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

IVRS with extension and AGI Server

Postby macaruchi » Thu Jun 22, 2023 3:05 pm

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?
*------------------
ViciBox 11 | Version:2.14b | SVN Version: 3764| DB Schema Version:1697| BUILD: 230927-0857 | 2 Processors 8 Core | 32 GB Ram | 1 Tera HD
macaruchi
 
Posts: 138
Joined: Wed Sep 21, 2016 8:11 pm

Re: IVRS with extension and AGI Server

Postby martinch » Wed Jun 28, 2023 12:39 pm

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.
Project Lead @ mDial -> https://github.com/TheBlode/mDial
martinch
 
Posts: 273
Joined: Thu Nov 15, 2018 9:14 am
Location: England, UK

Re: IVRS with extension and AGI Server

Postby macaruchi » Fri Jun 30, 2023 9:01 am

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
*------------------
ViciBox 11 | Version:2.14b | SVN Version: 3764| DB Schema Version:1697| BUILD: 230927-0857 | 2 Processors 8 Core | 32 GB Ram | 1 Tera HD
macaruchi
 
Posts: 138
Joined: Wed Sep 21, 2016 8:11 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 70 guests