Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Very basic PBX integration
#1
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?
Reply
#2
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
Joe
TSolucio
Reply
#3
(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?
Reply
#4
What error do you get?
Joe
TSolucio
Reply
#5
the "failure" message is because the user has no asterisk extension
Joe
TSolucio
Reply
#6
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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)