Page 1 of 1

POST to URL After IVR Dialpad Input

PostPosted: Tue May 13, 2014 4:40 pm
by greenwire
I'm using the latest version of VICIDial. I have a question regarding IVR, is there a way to allow ViciDial to POST a URL call when in IVR or call menu mode?

eg.

A customer would call a certain number and the customer would enter the customer number and vicidial would then POST that customer number to a different URL. Is that possible?

Thank you for your help.

Re: POST to URL After IVR Dialpad Input

PostPosted: Tue May 13, 2014 7:54 pm
by mflorell
We usually do that with a custom AGI script. The only other built-in option is to use DID Url Filtering. You can send a call through a Call Menu and direct it to a DID which will be able to send a URL GET out using the phone number and DID as variables.

Re: POST to URL After IVR Dialpad Input

PostPosted: Wed May 14, 2014 10:57 am
by striker
you can use custom dialplan enabled
and using the below dailplan functions you can send the inputs to a url

READ = reads the customer input
CURL= parse a url in dialplan
refer the below link for more details

read : http://the-asterisk-book.com/1.6/applik ... -read.html
curl : http://the-asterisk-book.com/1.6/funktionen-curl.html

Re: POST to URL After IVR Dialpad Input

PostPosted: Wed May 14, 2014 4:05 pm
by greenwire
mflorell wrote:We usually do that with a custom AGI script. The only other built-in option is to use DID Url Filtering. You can send a call through a Call Menu and direct it to a DID which will be able to send a URL GET out using the phone number and DID as variables.


Thank you for your reply mflorell. I'm still new to DID and custom AGI Script. I'll start reading on this one.

striker wrote:you can use custom dialplan enabled
and using the below dailplan functions you can send the inputs to a url

READ = reads the customer input
CURL= parse a url in dialplan
refer the below link for more details

read : [link removed]
curl : [link removed]


@striker, you're approach seems interesting, forgive me from asking, but how to apply this in ViciDial? Thank you for your support.