Message |
[+]
Avaya Breeze
» Future of Breeze and Snap-Ins, 13/03/2023 08:50:20
» Go to message
|
|
Correct me if I'm wrong, but Breeze is still needed for Presence (even in Release 10.x).
I heard rumors about new APIs centralized in Breeze for the Aura Systems.
Will there be a (easy?) way to read and modify the SIP messages a client receives?
|
|
[+]
Avaya Breeze
» Future of Breeze and Snap-Ins, 13/03/2023 06:53:29
» Go to message
|
|
Hello,
some Snap-Ins are not supported anymore, like the Smart Caller ID.
Will there be a Breeze API which can handle these types of requests (getting a callers phone number before it reaches the called party and manipulate the SIP protocol)?
Thanks.
|
|
[+]
Avaya Breeze
» Presence REST API - Creating PUBSUB Container, 04/06/2021 01:54:25
» Go to message
|
|
Hi,
my headers to Presence always include this:
Accept: application/vnd.avaya.presence-im.container.v1+json, application/vnd.avaya.presence-im.error.v1+json
But it seems like I found a better solution. I will use the AdHoc Presence Request. This is all I need.
Thank you. :)
|
|
[+]
Avaya Breeze
» Presence REST API - Creating PUBSUB Container, 01/06/2021 08:19:51
» Go to message
|
|
Hello there,
I am able to send Long Poll Requests to the Presence Services REST API. But when I send the PUBSUB Container request, I only get "" as an Answer.
PUBSUB Request:
{
"pubSubContainer": {
"additionalResources": {
"capabilitiesPublication": {},
"presencePublication": {},
"serviceCapabilitiesSubscription": {},
"presenceSubscriptions": [ {}, {} ],
"watcherAuthReqSubscription": {},
"imSubscription": {},
"sentImSubscription": {},
"presentity": {}
},
"restPostbackUri": "https://<server-url>/test.php"
}
}
Answer from Event Delivery:
HTTP/1.1 415 Unsupported Media Type
Server: web
Date: Tue, 01 Jun 2021 13:13:36 GMT
Transfer-Encoding: chunked
Connection: keep-alive
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Language: en-US
Set-Cookie: JSESSIONID=00009WS6u33YXV5VIPNsLfXzDHQ:-1; Path=/; HttpOnly
Set-Cookie: ibmappid=local.1622548124626
Strict-Transport-Security: max-age=31536000; includeSubdomains
I just updates to the latest versions for Presence and EventDelivery (8.1.4)
|
|
[+]
Avaya Breeze
» Presence REST API - Long Poll, 04/01/2021 03:42:26
» Go to message
|
|
IshwarAvaya wrote:We have identified as a issue and created a jira and assigned for the development team. Will keep you posted about the progress.
Any updates on this?
|
|
[+]
Avaya Breeze
» Presence REST API - Long Poll, 19/11/2020 01:46:18
» Go to message
|
|
IshwarAvaya wrote:Can you please provide the request content(URL and other details) and the PS logs so that we can analyze?
The first request, to receive the Service URLs, is working. This is the answer (json converted into php array):
Array
(
[presenceImResources] => Array
(
[bsid] => f7e8f479-9aab-438d-9cd9-27e0cd5e3767
[clientId] => 57865786
[resources] => Array
(
[notificationService] => Array
(
[longPolling] => Array
(
[method] => GET
[href] => https://ava-edp-sm100.remotecolt.local/services/EventDelivery/event-delivery/channels/long-polling/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786
)
)
[session] => Array
(
[method] => DELETE
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
)
[sessionManagement] => Array
(
[delete] => Array
(
[method] => DELETE
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
)
[refresh] => Array
(
[method] => GET
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
)
[ping] => Array
(
[method] => OPTIONS
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sessions/1605771725012
)
)
[serviceCapabilities] => Array
(
[get] => Array
(
[method] => GET
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/service-capabilities
)
)
[pubSubContainers] => Array
(
[create] => Array
(
[method] => POST
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/containers
)
)
[presence] => Array
(
[manualPresenceState] => Array
(
[set] => Array
(
[method] => PUT
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/state
)
[delete] => Array
(
[method] => DELETE
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/state
)
)
[manualNote] => Array
(
[set] => Array
(
[method] => PUT
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/note
)
[delete] => Array
(
[method] => DELETE
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/note
)
)
[manualMode] => Array
(
[set] => Array
(
[method] => PUT
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/mode
)
[delete] => Array
(
[method] => DELETE
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/manual-presence-publications/mode
)
)
[presenceAdhocRequest] => Array
(
[submit] => Array
(
[method] => POST
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/presence-adhoc-requests
)
)
[aclRules] => Array
(
[get] => Array
(
[method] => GET
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/acl-rules
)
[create] => Array
(
[method] => POST
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/acl-rules
)
)
)
[im] => Array
(
[send] => Array
(
[method] => POST
[href] => https://ava-edp-sm100.remotecolt.local/services/PresenceServices/rest/cs/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786/sent-ims
)
)
)
)
)
Then I try to access the Long-Poll URL ( https://ava-edp-sm100.remotecolt.local/services/EventDelivery/event-delivery/channels/long-polling/bsid/f7e8f479-9aab-438d-9cd9-27e0cd5e3767/clients/57865786) with a GET-Request and the Answer is:
Error 400: Bad Request
In the Log of the EventDelivery Snap-In I can just see this:
2020-11-19 08:42:05,092 [WebContainer : 3] EventDelivery ERROR - EventDelivery-8.1.3.0.7 - validateRequestAndGetRestPathParameters() sending error response indicating that the request was bad
What more Logs do you need?
|
|
[+]
Avaya Breeze
» Presence REST API - Long Poll, 11/11/2020 04:51:54
» Go to message
|
|
One update: After rebooting the Breeze Server, I get now "Error 400: Bad Request" when accessing the long-poll URL
:(
|
|
[+]
Avaya Breeze
» Presence REST API - Long Poll, 10/11/2020 08:24:29
» Go to message
|
|
Hi all,
I'm new in using the REST API of Presence. I'm able to set a manual presence state and also a personal note using the REST API.
Now I want to receive Presence and Notes changes from Breeze/Presence.
When I access the URL for Long Poll I get the following error in return:
Error 503: CECommonSpace space is unreachable.
Can anybody help me with this? What am I missing or what do I need to do?
|
|
[+]
Avaya Breeze
» Presence REST API - DoNotDisturb and DND_SAC_LINK, 19/10/2020 08:14:14
» Go to message
|
|
Hi all,
normally, when DND_SAC_LINK is set to "1" the "Send all Calls" feature is activated, when the user sets his presence status to "Do not disturb".
If the presence status is set to the same by using the REST API of presence, the "Send all Calls" feature is not activated.
Is this works as designed?!?
Thanks.
|
|
[+]
Web Services
» Avaya System Manager Web Services - Conferencing Codes, 12/09/2016 03:52:54
» Go to message
|
|
Hi all,
I try to update the Moderator and Participant Passcodes by using the SMGR Web XML. I'm sending the modified XML to update the User-Data including the new passcodes. The response is
Operation=Update User, LoginId: admin, Action: Update, replace, Object=[USERID], Status: Success
(I've replaced the User-ID in this response-text).
but the Passcodes are not updated in the AAC Provisioning Client :(
What I tried is both update-options ("merge" and "replace").
Anybody who could help me with this?
Thanks alot.
|
|
[+]
DMCC APIs
» Simple SIP Station Status Page in PHP, 07/03/2016 03:34:37
» Go to message
|
|
I've already tried this, but it's too complex for me... even when you have no experience with this and only need one single status information :?
|
|
[+]
DMCC APIs
» Simple SIP Station Status Page in PHP, 07/03/2016 03:23:34
» Go to message
|
|
It should work with TSAPI. Because all voice recording servers can get the status of a SIP phone via TSAPI and record the call via DMCC. But all I need is the phone-status.
I think this wouldn't be very much lines of code, but I don't know them... :( something like opening a TCP stream, sending some commands and read the answer...
If anybody can send me this in C# or VB.net I could try to translate it into PHP.
|
|
[+]
DMCC APIs
» Simple SIP Station Status Page in PHP, 29/02/2016 03:57:33
» Go to message
|
|
Hi everyone,
I'm new in any kind of phone status programming with Avaya. All I need is a simple Web-Page (PHP would be best) which shows the actual state of a SIP Station by 0 (= on-hook) or 1 (= off-hook). The extension will be in a GET variable (e.g.: getstatus.php?ext=12345).
Is there anybody who could help me with this? I was thinking of the AES SMS Webservice, first, but the SIP Stations doesn't change any status-field on the CM when they are on a call.
Thanks in advance.
|
|
[+]
Web Services
» SMGR Web Services, 30/04/2015 01:18:13
» Go to message
|
|
My request is "accepted", which means, that the SMGR web service is sending a header as reply. Nothing more ("Content: 0").
I think that the URL is not in the right format. The Java Sample is reading the XML file and reads every line into one with "\n" as seperator.
Furthermore some special characters are replaced by HTML code. I do the same in my VB code.
This is the content of the XML file:
<?xml version="1.0" encoding="UTF-8"?>
<tns:management-webservice-criteria xmlns:tns="http://www.avaya.com/mgmt-web-criteria/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.avaya.com/mgmt-web-criteria/mgmt-web-criteria.xsd">
<criterialist>
<criteria>
<propertyname>startindex</propertyname>
<operator>equals</operator>
<value>0</value>
<restriction>and</restriction>
</criteria>
<criteria>
<propertyname>offsetindex</propertyname>
<operator>equals</operator>
<value>10</value>
<restriction>and</restriction>
</criteria>
</criterialist>
</tns:management-webservice-criteria>
This is the converted Data:
<?xml version="1.0" encoding="UTF-8"?>\n<tns:management-webservice-criteria xmlns:tns="http://www.avaya.com/mgmt-web-criteria/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.avaya.com/mgmt-web-criteria/mgmt-web-criteria.xsd">\n<criterialist>\n<criteria>\n<propertyname>startindex</propertyname>\n<operator>equals</operator>\n<value>0</value>\n<restriction>and</restriction>\n</criteria>\n<criteria>\n<propertyname>offsetindex</propertyname>\n<operator>equals</operator>\n<value>10</value>\n<restriction>and</restriction>\n</criteria>\n</criterialist>\n</tns:management-webservice-criteria>\n\n
This is the URL:
https://avayasmgr/web/mgmtwebservice/?entityType=user&searchCriteria=<?xml version="1.0" encoding="UTF-8"?>\n<tns:management-webservice-criteria xmlns:tns="http://www.avaya.com/mgmt-web-criteria/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.avaya.com/mgmt-web-criteria/mgmt-web-criteria.xsd">\n<criterialist>\n<criteria>\n<propertyname>startindex</propertyname>\n<operator>equals</operator>\n<value>0</value>\n<restriction>and</restriction>\n</criteria>\n<criteria>\n<propertyname>offsetindex</propertyname>\n<operator>equals</operator>\n<value>10</value>\n<restriction>and</restriction>\n</criteria>\n</criterialist>\n</tns:management-webservice-criteria>\n\n
I don't think that this will work, because of the "&"-Chars in the URL which may "confuse" the webclient...
Does anybody have a sample URL of a working request?
|
|
[+]
Web Services
» SMGR Web Services, 29/04/2015 08:27:10
» Go to message
|
|
Hi all,
I'm trying to use the Web Services of SMGR to retrieve a list of all Users. I can't get it to work. I'm using VB.net (2010) and do a HTTP GET of the right URL. The programmer guide says, that the URL must be like this:
https://<smgr-fqdn>/web/mgmtwebservice/?entityType=user&searchCriteria=<xmlData>
I read the <xmlData> from the "SearchCriteria" XML-File which is part of the SDK. The content is changed like in the Java example, where some chars are replace (e.g. "&" with "&" ...). But I never get a response from the Webserver. Even if I try to open the URL in Firefox it doesn't show anything. With no searchCriteria filled in, I get an error that this is missing. That tells me, that I am at the right point...
Can anybody help me? How does Java encode the URL?
|
|