lukebeer / broadworks-ocip

PHP Framework for interacting with the Broadworks OCI Provisioning API
GNU General Public License v2.0
26 stars 15 forks source link

Which login? #9

Open Tklaversma opened 8 years ago

Tklaversma commented 8 years ago

Hi Luke,

First of all, awesome library!

I was hoping you could help me kickstart my project. We are using VoIP from Broadsoft at our company and I was wondering if it would be possible to make a kind of "callboard" which shows all current information, like who is currently on a call, how many missed calls we had today, things like that...

<?php
require_once 'vendor/autoload.php';

// Use the ComplexType required for this example.
use Broadworks_OCIP\api\Rel_17_sp4_1_197_OCISchemaAS\OCISchemaUser\UserServiceGetAssignmentListRequest;

// Create a Client and login. CoreFactory also has getSOAPClient()
$client = Broadworks_OCIP\CoreFactory::getTCPClient('ocip.example.com'); // Which URL??
$client->login('user', 'pass'); // <-- login of what??

The problem I'm facing is the login, since I do not know where I have to login to? Is this a broadsoft login, and if so, how do I get a login? To what URL I have to communicate, since we have no such ocip-example.com URL we know of.

I hope you can help me out and get this project starting...

Thanks in advance.

Cheers, TK

EddieDemon commented 7 years ago

This is the URL to the OCI server. For example: https://oci.myvoipprovider.com/. If you don't know it, contact your provider. It's their server you're connecting to. You can then access it using any user.