CoreBOSBB
Very basic PBX integration - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17)
+--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8)
+--- Thread: Very basic PBX integration (/showthread.php?tid=1125)



Very basic PBX integration - addady2 - 06-20-2018

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?


RE: Very basic PBX integration - joebordes - 06-20-2018

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


RE: Very basic PBX integration - addady2 - 06-20-2018

(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?


RE: Very basic PBX integration - joebordes - 06-20-2018

What error do you get?


RE: Very basic PBX integration - joebordes - 06-20-2018

the "failure" message is because the user has no asterisk extension


RE: Very basic PBX integration - addady2 - 06-21-2018

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.