Webex XML APIs to schedule meeting on behalf on another user - webex

I have been working with the Cisco Webex XML APIs to perform all the CRUD operations on the single instance of meeting as well as the recurring meetings.
I wish to know, if there is a way using the current XML APIs to schedule a meeting on behalf on another user. I see on some Cisco communities where they mention about a property "schedulingPermission" within setUser that would let the user assign a delegate. But, I am unable to see/use that property.
Does anyone have an insight on how can I achieve this particular use-case?
Thanks
EDIT
There's a feature under the Meeting Schema referred to as "Role" which allows you to have an alternate host. So, User A can schedule meeting on behalf of User B, assigning User B alternate Host rights. But, the issue here is User B is using all the details of User A for the meeting, which is not what I am looking for.
Still looking for an answer where I can schedule the meeting and the meeting info will have all the details specific to User B and not User A.

Check this out: https://communities.cisco.com/docs/DOC-49935
You would need to implement scheduling permissions. Scheduling permission essentially allows an account (generally one with Site Admin privileges) to schedule meetings on behalf of another user. Before this can be done, the “master account” being used must be added to each host account’s scheduling permission.
With the XML API, this can be done with a request like:
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:serv="http://www.webex.com/schemas/2002/06/service">
<header>
<securityContext>
<webExID>jdoe</webExID>
<password>letmein123</password>
<partnerID>123abc</partnerID>
<siteID>123456</siteID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.user.SetUser">
<webExId>bsmith</webExId>
<schedulingPermission>jdoe</schedulingPermission>
</bodyContent>
</body>
</serv:message>
And then the meeting would be scheduled with:
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:serv="http://www.webex.com/schemas/2002/06/service">
<header>
<securityContext>
<webExID>jdoe</webExID>
<password>letmein123</password>
<partnerID>123abc</partnerID>
<siteID>123456</siteID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="java:com.webex.service.binding.training.CreateTrainingSession">
<telephony>
<telephonySupport>NONE</telephonySupport>
</telephony>
<accessControl>
<sessionPassword>1q2w3e4r5t</sessionPassword>
</accessControl>
<schedule>
<startDate>07/22/2013 00:00:00</startDate>
<hostWebExID>bsmith</hostWebExID>
</schedule>
<metaData>
<confName>Test</confName>
</metaData>
</bodyContent>
</body>
</serv:message>
In general, for others operations, the admin account with the scheduling permissions would be used in the security context to authenticate the request and user account in the body.

Related

Pulling only Registration Contact information on Asterisk

I am not using real-time asterisk , But still astdb.sqlite3 contains entries of online peers with Reg.Contact information in SIP/registry/peer. key . I would like to store contact information of all peers as they come online in a separate persistent database. I need this for sending push notifications by fetching deviceID etc information in registration contact .
I tried to pull this information from astdb.sqlite3 but the entries are clearing off as soon as devices go offline .Though I am able to fetch the information with "sip show peer XXXX" in asterisk CLI , It is overburdened to fetch every time like this . Instead I want to save only Regcontact information for all the devices in a database ( without realtime) as the devices come online. The other way I tried to pull the information is using AMI event listener. But with AMI I don't see complete information like contact information It displays only below information
Event: PeerStatus
Privilege: system,all
SequenceNumber: 75
File: manager.c
Line: 1856
Func: manager_default_msg_cb
ChannelType: SIP
Peer: SIP/2030
PeerStatus: Reachable
Can someone suggest a better way to push Only Regcontact information to a database as the devices come online .
There are no mechanism like that in asterisk.
You can use kamailio or write patch similar to this one https://reviewboard.asterisk.org/r/4490/
It sounds like you have dynamic IPs for your endpoints, and you want a way to update a separate DB as soon as a device registers with an IP/port pair.
If you enable the security log, you will see all auth events, including the "SuccessfulAuth" event, which includes the RemoteAddress of the endpoint (including port and protocol).
Here is an example line:
[Jul 21 19:53:45] SECURITY[1342] res_security_log.c: SecurityEvent="SuccessfulAuth",EventTV="2020-07-21T19:53:45.182+0000",Severity="Informational",Service="SIP",EventVersion="1",AccountID="102",SessionID="0x7f41040132c0",LocalAddress="IPV4/UDP/10.0.0.200/5060",RemoteAddress="IPV4/UDP/10.0.0.75/5062",UsingPassword="1"
If all you're looking for is AccountID="102" and RemoteAddress="IPV4/UDP/10.0.0.75/5062", a very fast/cheap way to get it is to enable the security log, and use a script to tail it and update your DB as soon as the event occurs. I like to keep the security log on anyways for utilities like fail2ban. Just make sure your script is able to reopen the file each time it is rotated.
Edit:
By default the log is in /var/log/asterisk. To enable it, edit /etc/asterisk/logger.conf and un-comment (or create) the line under [logfiles] that says security => security.

how is an event triggered for a service in oracle brm

Hello every one i have been going through the oracle communications business revenue management (BRM) docs for sometime now but one thing i can't figure out is how are the events associated with a service triggered actually. Is it done by the BRM or the client application interacting with the BRM. Somehow the docs don't mention it or i may have missed it.Would be nice if someone can explain it to me. Note the term service is used in the same context as used in BRM docs i.e. something that the customers subscribe to and pay for when use i.e. telephony service. the link to the docs https://docs.oracle.com/cd/E51000_01/index.htm
Events are created by BRM:
the logic is defined in the CM (Connection Manager) tier, inside the Facilities Modules (FMs)
the actual SQL instructions are generated by the Oracle DM (dm_oracle)
For the sake of completeness, there is also another way in which events are created:
Call Detail Records (CDRs) are rated with the Batch Rating Engine (Pipeline Manager) and generate Rated Event records
these are then loaded, via the Rated Event Loader (REL), directly to the database. Under the hood, REL calls SQL*Loader and a stored procedure to update account balances and bill items

Transaction issuer identity information in Corda contract code

How to get information about the party that started transaction in contract code (verify)? That would be useful for implement checks like "only owner of the input state can do some action" in contract instead of flow.
Thanks. Sorry for my bad English.
This information is not contained in a Corda transaction, and therefore cannot be checked by the verify method.
Instead, you should make the owner of the state a required signer, and they should only sign if they are willing to authorise the transfer.
Additionally, you may want to put a check like the following in your flow to prevent human error:
check(ourIdentity == lenderIdentity) {
"Obligation transfer can only be initiated by the lender."
}

What is difference between meetingTypes and supportedServices in webex system

Request URL -
I tried to get user details from rest API and in that response, i say supportedServices and meetingTypes as below
<use:meetingTypes>
<use:meetingType>220</use:meetingType>
<use:meetingType>564</use:meetingType>
</use:meetingTypes>
<use:supportedServices>
<use:meetingCenter>true</use:meetingCenter>
<use:trainingCenter>true</use:trainingCenter>
<use:supportCenter>true</use:supportCenter>
<use:eventCenter>true</use:eventCenter>
<use:salesCenter>false</use:salesCenter>
</use:supportedServices>
what is a difference between these two on webex manages system
meetingTypes control access to specific meetingTypes. You may have multiple meeting types with different features enabled/disabled. For example, you may not want a certain user to have access to Network Based Recording, so you can explicitly enable or disable a custom session type for the user without NBR enabled.
supportedServices simply controls access to an entire service, such as Meeting Center. You can set any of these to 'false' to disallow a host access to a specific service.

Oracle SOA taskflow deployed but not available in worklist

I have been working with Oracle SOA Suit 12c human task component. However, I have created a simple bpel processs that takes one input for human intervention and response required by the user assigned. The project deployed successfully to weblogic domain soa_server1. Now the web service is being tested by oracle em->soa_server->composite application. When the user login to worklist, the task is being populated but when he clicks on task, it shows a login form rathar than the huam task form(the jsf/jspx) page.
Additional Details
Weblogic Server 12c, SOA Quick Start 12c(12.2.2.1.0) installed and weblogic domain configured using database. JDeveloper version 12c.
Below is the screenshot of worklist
Can anyone please look in to this, what's the issue??
Issue was related to user assignment in Human Task dedinition.
Double click on human task in your composite.
Go to assignments(user assignment)
My mistake- I had set the owner as weblogic and trying to access the task in worklist with user 'level1'
SOLUTION THAT WORKED FOR ME
Either leave blank to owner text filed or specify all users whom task is being assigned or users who manually clam task.
I haven't tried but probably of you have hierarchy set for users then it might require only top level person to be specified in owner section.
I had a different issue the url in the humantask configuration was pointing to some random name and not the server host name changing that worked

Resources