CoreBOSBB

Full Version: Very basic PBX integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

A lot on PBX can open URL base on the incoming caller id number.
They do it by some browser extension or small agent installation on the end user desktop PC.
The user need to set the URL to be open when incoming call arrive.

In Vtiger 5.4 I use this URL:

index.php?module=PBXManager&action=PBXManagerAjax&file=TraceIncomingCall&callerNumber=######

##### represent the caller number

In corebose the same URL give "failure" message.

How can I work around this issue?
That is probably the CSRF protection. I don't know how you can do that. For the moment I would suggest eliminating this security protection by commenting this line:

https://github.com/tsolucio/corebos/blob/master/index.php#L68
(06-20-2018, 09:10 AM)joebordes Wrote: [ -> ]That is probably the CSRF protection. I don't know how you can do that. For the moment I would suggest eliminating this security protection by commenting this line:

https://github.com/tsolucio/corebos/blob/master/index.php#L68


I remark it and check. It's not this line.
Any other direction?
What error do you get?
the "failure" message is because the user has no asterisk extension
All the screen in white, the word failure in black.

I set fake PBX server data and user extension.

But still have the save error.