04-08-2020 12:41 AM - edited 04-08-2020 09:54 AM
we are able to get success response without port (8011 or 8012) but we need to get confirmation from Cisco broad-soft core team to deploy the same thing in production.
We are sending the same input with different types of ports(with out port , with port 8011 or 8012) and getting different responses . Please find details
Without Port -- Success
Response
<?xml version="1.0" encoding="UTF-8"?>
<CallStartInfo xmlns="http://schema.broadsoft.com/xsi"><callId>callhalf-4587:0</callId><externalTrackingId>35f954d5-fdc2-4cc1-a0b6-f92544fb8c3f</externalTrackingId></CallStartInfo>
with port -8011
https://166.38.218.150:8011/com.broadsoft.xsi-actions/v2.0/user/3016798766@vasg003.vzlab.com/calls/new?address=3016798765
Error response : The underlying connection was closed: An unexpected error occurred on a send. - The handshake failed due to an unexpected packet format.
With Port - 8012
https://166.38.218.150:8012/com.broadsoft.xsi-actions/v2.0/user/3016798766@vasg003.vzlab.com/calls/new?address=3016798765
Error response : The underlying connection was closed: An unexpected error occurred on a send. - Authentication failed because the remote party has closed the transport stream.
=======================================================================================
Regarding Events:
We are subscribing to the httpContact uri through https (443). We got a successful response . As per design, httpContact uri needs to send xsi broadsoft events. We are getting Only Offhook and subscription terminated events but not all events (Like call release event...) Please verify the events flow
UrL : https://166.38.218.150/com.broadsoft.xsi-events/v2.0/serviceprovider/FV_ASG003
Request :
<?xml version="1.0" encoding="UTF-8"?>
<Subscription xmlns="http://schema.broadsoft.com/xsi">
<event>Advanced Call</event>
<expires>360000</expires>
<httpContact>
<uri>https://dcfvsitaws.ebiz.verizon.com/DCXSIServices-AC1/XSICallEvent/PostXSICallEvents</uri>
</httpContact>
<applicationId>FVAM</applicationId>
</Subscription>
Response :
<?xml version="1.0" encoding="UTF-8"?>
<Subscription xmlns="http://schema.broadsoft.com/xsi">
<subscriptionId>6012a627-ed37-49a9-965d-c6a22346d70d</subscriptionId>
<expires>360000</expires>
</Subscription>
HookStatusEvent:
<?xml version="1.0" encoding="UTF-8"?>
<xsi:Event xmlns:xsi="http://schema.broadsoft.com/xsi" xmlns:xsi1="http://www.w3.org/2001/XMLSchema-instance" xsi1:type="xsi:SubscriptionEvent">
<xsi:eventID>979fce77-20ed-426b-84f2-6fcaba289dc1</xsi:eventID>
<xsi:sequenceNumber>1</xsi:sequenceNumber>
<xsi:userId>ssiadmin-vasg3@vasg003.vzlab.com</xsi:userId>
<xsi:externalApplicationId>FVAM</xsi:externalApplicationId>
<xsi:subscriptionId>6012a627-ed37-49a9-965d-c6a22346d70d</xsi:subscriptionId>
<xsi:httpContact>
<xsi:uri>https://dcfvsitaws.ebiz.verizon.com/DCXSIServices-AC1/XSICallEvent/PostXSICallEvents</xsi:uri>
</xsi:httpContact>
<xsi:targetId>3016798766@vasg003.vzlab.com</xsi:targetId>
<xsi:eventData xsi1:type="xsi:HookStatusEvent">
<xsi:hookStatus>Off-Hook</xsi:hookStatus>
</xsi:eventData>
</xsi:Event>
SubscriptionTerminatedEvent :
<?xml version="1.0" encoding="UTF-8"?>
<xsi:Event xsi1:type="xsi:SubscriptionEvent" xmlns:xsi="http://schema.broadsoft.com/xsi" xmlns:xsi1="http://www.w3.org/2001/XMLSchema-instance">
<xsi:eventID>74f2a9ed-24ca-484d-89c6-964622922c02</xsi:eventID>
<xsi:sequenceNumber>3</xsi:sequenceNumber>
<xsi:userId>ssiadmin-vasg3@vasg003.vzlab.com</xsi:userId>
<xsi:externalApplicationId>FVAM</xsi:externalApplicationId>
<xsi:subscriptionId>6012a627-ed37-49a9-965d-c6a22346d70d</xsi:subscriptionId>
<xsi:httpContact>
<xsi:uri>https://dcfvsitaws.ebiz.verizon.com/DCXSIServices-AC1/XSICallEvent/PostXSICallEvents</xsi:uri>
</xsi:httpContact>
<xsi:eventData xsi1:type="xsi:SubscriptionTerminatedEvent"/>
</xsi:Event>
Note : We got all events on 3/31 for the same tn( 3016798766 ).
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