No variables passed when using dispo URL

All installation and configuration problems and questions

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

No variables passed when using dispo URL

Postby dspaan » Wed Jul 29, 2020 12:33 pm

We are trying to use the Dispo Call URL field in the campaign settings to grab a container and use the --A-- --B-- variables inside the container.

We are using the ALT feature in the Dispo Call URL field and have set our URL linked to a specific dispo code like this:

https://fqdn/dispomail/dispo_containerm ... m_fields=Y

But in the URL log we can see that everything after containder_id is not passed in the URL so we had to do this:

https://fqdn/dispomail/dispo_containerm ... email--B--

Any help on why this isn't work would be appreciated.

When we use this same URL in one of the Web form fields in the campaign settings it works fine:
https://fqdn/dispomail/dispo_containerm ... d=MailMVI1

So it looks like there is a difference in the way how the webform fields work as apposed to the dispo url field.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: No variables passed when using dispo URL

Postby williamconley » Wed Jul 29, 2020 3:49 pm

Have you tried:

Web Form -This is where you can set the custom web page that will be opened when the user clicks on the WEB FORM button. To customize the query string after the web form, simply begin the web form with VAR and then the URL that you want to use, replacing the variables with the variable names that you want to use --A--phone_number--B-- just like in the SCRIPTS tab section. If you want to use custom fields in a web form address, you need to add &CF_uses_custom_fields=Y as part of your URL.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: No variables passed when using dispo URL

Postby dspaan » Wed Jul 29, 2020 5:08 pm

Yes I tried both VAR and the custom fiels option but didn't work.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: No variables passed when using dispo URL

Postby williamconley » Wed Jul 29, 2020 6:09 pm

Do other variable pass successfully? (lead_id ... etc)
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: No variables passed when using dispo URL

Postby dspaan » Thu Jul 30, 2020 3:39 am

No, only if i actually add them to the URL itself.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: No variables passed when using dispo URL

Postby williamconley » Thu Jul 30, 2020 2:05 pm

So ... yes, when you add them to the URL? Which is how it works ...?

The Web Form URL will populate all variables unless you tell it not to ... but other URLs, I believe, require manual formatting. You may need to check the code, but I'm not sure that's an accident. The URL string limit has been reached in many cases so "just put everything in there" is not entirely viable any more. A reasonable approach may be to switch to POST instead of GET (which has a MUCH higher limit) may be useful. Just hasn't happened yet.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: No variables passed when using dispo URL

Postby dspaan » Fri Jul 31, 2020 2:47 am

No we are using a dispomail.php which has the text of the email in the container and the variables are in the container and normally when you use a webform field this works but for the dispomail field it doesn't.

So for instance "https://fqdn/dispomail/containermail.php?container_id=001" would pull up container 001 and inside that container it would grab --A--email--B-- and --A--fullname--B-- etcetera without the need to have to insert hem into the URL itself.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: No variables passed when using dispo URL

Postby williamconley » Fri Jul 31, 2020 2:37 pm

So you're saying it works in the web form url but not in the dispo url. Has it EVER worked in the dispo URL? If not ... then it could merely be that you need to manually add your parameters if using the dispo URL.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: No variables passed when using dispo URL

Postby dspaan » Fri Jul 31, 2020 2:39 pm

Yeah that's what i ended up doing but i was just posting here to ask if Matt, you or anyone can confirm that what i want is not supported or maybe i need to use another parameter/setting.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Re: No variables passed when using dispo URL

Postby williamconley » Fri Jul 31, 2020 2:43 pm

You'd have to check the code (and/or compare it to the Web Form code). Do note that the web form code runs in the agent screen, whereas the dispo URL code runs server side. So it's not at all surprising that they are different. If nobody has paid for the dispo URL to have ALL fields by default, then ... it won't until someone pays. I suppose. But it's possible that there's a technical flaw elsewhere blocking and you'd find that in the code (in an if/then ...) if that's the problem.
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: 20256
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 101 guests

cron