02-08-2022 07:12 AM
Hi All,
We are facing an issue with Configuring the Cisco UC WSAPI XMF provider to capture the call events.
Please go through our use case and followed the steps and try to provide us with some solution.
We are trying to capture the call events like call-Connected, Call-Disconnected, Call-Active, Call-Hangup. At each event level, we want to execute some custom code to update data in the system.
Steps Followed:
Ref:
Followed "Configuring the XMF Provider" steps mentioned in the above Cisco document and successfully registered the XMF provider from the client machine(web API server) to CUBE. When we make a test inbound call, able to see XMF call events in our API end.
CUBE Cofiguration:
CC-VCUBE(config)#ip http server
CC-VCUBE(config)#ip http max-connection 100
CC-VCUBE(config)#ip http timeout-policy idle 600 life 86400 requests 86400
CC-VCUBE(config)#http client connection persistent
CC-VCUBE(config)#http client connection idle timeout 600
CC-VCUBE(config)#uc wsapi
CC-VCUBE(config-uc-wsapi)#message-exchange max-failures 2
CC-VCUBE(config-uc-wsapi)#probing max-failures 5
CC-VCUBE(config-uc-wsapi)#probing interval keepalive 180
CC-VCUBE(config-uc-wsapi)#probing interval negative 10
CC-VCUBE(config-uc-wsapi)#source-address [CUBE IP]
CC-VCUBE(config-uc-wsapi)#provider xmf
CC-VCUBE(config-wsapi-xmf)#no shutdown
CC-VCUBE(config-wsapi-xmf)#remote-url 1 http://[WEB Server IP]:9001/CUBE/UPDATE_CALL
CC-VCUBE(config-wsapi-xmf)#remote-url 2 http://[CUBE IP]:8090/cisco_xmf
Show Command: when we run the show command It is showing registration status properly
DalDevVGW2#show wsapi registration all
Provider XCC
=====================================================
Provider XMF
=====================================================
registration index: 1
id: 89B90578:XMF:VisualQ:72
appUrl:http://<web server IP>/CUBE/UPDATE_CALL
appName: VisualQ
provUrl: http://<cube IP>:8090/cisco_xmf
prober state: STEADY
connEventsFilter: CONNECTED|DISCONNECTED
mediaEventsFilter: MEDIA_ACTIVITY
Events/responses getting at Web API End:
Please find response events (XML format) at the end.
When XMF Wsapi started pushing call events to app URL (Web API) from CUBE, after 3 to 4 events pushing immediately call is dropping and not able to hear the IVR prompts/menus and all other DN's also stopped working which configured in the same CUBE. Once the XMF provider is unregistered then all calls are working as expected.
Here are my questions:
Please Help me with this. Thank you in advance for your support.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide