All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by Zaraab » Tue Jan 04, 2022 8:32 am
I want some further clarity regarding how to use this
http://vicidial.org/docs/AGENT_EVENTS_PUSH.txtFor using the event push function if I should use this get2post.php?uniqueid=--A--epoch--B--.--A--agent_log_id--B--&type=event&HTTPURLTOPOST=192.168.1.3/agc/vdc_call_url_test.php?user=--A--user--B--&lead_id=--A--lead_id--B--&event=--A--event--B--&message=--A--message--B--&counter=--A--counter--B--
where should I put the external URL which acts like my webhook URL so that the retrieved data from the event push vicidial Function can be sent to my custom webhook external URL. Where should I put my URL ?
Thanks!
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
-
Zaraab
-
- Posts: 151
- Joined: Fri May 22, 2020 1:21 pm
by mflorell » Tue Jan 04, 2022 9:34 am
Yes, the external URL should start at the "192.168.1.3..." part above, you do NOT put the "http://" part because that is implied already.
-
mflorell
- Site Admin
-
- Posts: 18384
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by Zaraab » Tue Jan 04, 2022 9:42 am
mflorell wrote:Yes, the external URL should start at the "192.168.1.3..." part above, you do NOT put the "http://" part because that is implied already.
so you mean to say the url should be like this ->>>
get2post.php?uniqueid=--A--epoch--B--.--A--agent_log_id--B--&type=event&HTTPURLTOPOST=
mywebhookurl/page.php?user=--A--user--B--&lead_id=--A--lead_id--B--&event=--A--event--B--&message=--A--message--B--&counter=--A--counter--B--
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
-
Zaraab
-
- Posts: 151
- Joined: Fri May 22, 2020 1:21 pm
by mflorell » Wed Jan 05, 2022 7:15 am
That looks correct.
-
mflorell
- Site Admin
-
- Posts: 18384
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by Zaraab » Wed Jan 05, 2022 9:32 am
mflorell wrote:That looks correct.
My bad!!! not working even with this format
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
-
Zaraab
-
- Posts: 151
- Joined: Fri May 22, 2020 1:21 pm
by Zaraab » Thu Mar 24, 2022 10:37 am
Zaraab wrote:mflorell wrote:That looks correct.
My bad!!! not working even with this format
anyone working on it?
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
-
Zaraab
-
- Posts: 151
- Joined: Fri May 22, 2020 1:21 pm
by williamconley » Fri Jun 03, 2022 2:53 pm
perhaps check your apache log during an event to see what's happening. I've not tested this feature yet so I can't say, but something bothers me about having a second ? in the URL even if it should be inside a value. Perhaps needs to be converted to %3F, in fact I'd say everything after HTTPURLTOPOST= would require conversion or would break up into separate key/value pairs after the next &
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
-
williamconley
-
- Posts: 20253
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Davenport, FL (By Disney!)
-
by Zaraab » Tue Jun 14, 2022 1:49 pm
williamconley wrote:perhaps check your apache log during an event to see what's happening. I've not tested this feature yet so I can't say, but something bothers me about having a second ? in the URL even if it should be inside a value. Perhaps needs to be converted to %3F, in fact I'd say everything after HTTPURLTOPOST= would require conversion or would break up into separate key/value pairs after the next &
Got it. Gonna give it a try the way you suggested
A VICIDIAL ENTHUSIAST
OS BASED LEARNING : CentOS - openSUSE
INSTALLATION METHODS : MOSTLY SCRATCH & STD INSTALLATION WITH .ISO
HELP - BELIEVE - INNOVATE
-
Zaraab
-
- Posts: 151
- Joined: Fri May 22, 2020 1:21 pm
Return to Support
Who is online
Users browsing this forum: Google [Bot] and 76 guests