Not sure why all my WCB entries call WCB #1?
192.168.1.110/wcb.php?i=1
192.168.1.110/wcb.php?i=2
They both dial the same number, despite clearly using separate misc destination numbers. ??
Not sure why all my WCB entries call WCB #1?
192.168.1.110/wcb.php?i=1
192.168.1.110/wcb.php?i=2
They both dial the same number, despite clearly using separate misc destination numbers. ??
You need to provide real data with these posts. The example web callback form is doing a POST and based on this you’re using GET. You need to show us this form code you made and perhaps a call log showing what should be using Misc Destination #2 using Misc Destination #1.
We cannot answer your question based on your post.
OMG!! Hey Blaze, it was the FORM!!
#frame { background-image: url('/admin/modules/webcallback/assets/images/click2callbackground.png'); background-repeat: no-repeat; width: 424px; height: 240px; cursor: pointer; cursor: hand; } #webcallbackinput { position: relative; left: 20px; top: 117px; width: 200px; height: 50px; color: red; } .input-container { display: -ms-flexbox; /* IE10 */ display: flex; width: 100%; margin-bottom: 5px; } .icon { padding: 20px 13px 10px 10px; background: dodgerblue; color: white; min-width: 20px; min-height: 20px; text-align: center; position: relative; left: 20px; top: 117px; } .input-field { padding: 10px; outline: none; } .input-field:focus { border: 2px solid dodgerblue; background: rgb(143,143,157); background: linear-gradient(24deg, rgba(143,143,157,1) 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,1) 100%);} }<span class=material-icons icon style=font-size: 14px; background: rgb(22,58,130); background: linear-gradient(0deg, rgba(22,58,130,1) 30%, rgba(112,172,222,1) 70%)>call<input type=text name=num placeholder=Phone Number: id=webcallbackinput class=input-field onkeydown=javascript:backspacerDOWN(this,event); onkeyup=javascript:backspacerUP(this,event); value=> |
|
---|---|
Tom, can’t we localize the form???
What do you mean by localize? Isn’t already on the system?
WIthin the same LAN, can we keep FPBX on one host, hosting on another, then POST the form? There are some values on the form which have to be change based on which of the Web Callback’s are being used. In other words, make the form independent of FPBX.
Sure but it looks it wants the form data sent in POST not GET
Hey Tom, thanks for the response. Even for us tech types, something new is always a learning curve. LOL. So I suppose it’s just a matter of posting “dest” and “i” value to the server?
The form does this for you in the example. If you want to move it from the FreePBX server to another server, you just change the URL location in the form. But yes, the web callback is expecting this information to be POSTed to the server via a form and not pull it from GET variables in the query string.
Hi Tom,
Thanks for your help. If your at the sangoma office in Toronto, Pizza and Beer will be on its way.
I’m not an employee of Sangoma.
Hey Tom, thx for your help! Very good of you!