09-23-2020 05:13 PM
I'm using PHP to create a channel. After posting to the Broadsoft server, a Channel is created and returned, but immediately it also returns a ChannelTerminatedEvent. Any ideas why?
09-25-2020 02:42 AM - edited 09-25-2020 04:26 AM
A XSI Channel will be created with an Expire time, client should either respond to keepalive or send heart beat to keep it alive within the Expire time or else channel will be Terminated
09-25-2020 07:09 AM
I wish that would be the case. The response I get from the broadsoft server is:
[quote]
<channel xmlns="http://schema.broadsoft.com/xsi"><channelid>c77281a7-e3c6-4280-96a4-935a5ddc2c95</channelid><expires>60000</expires></channel>
<xsi:event xmlns:xsi="http://schema.broadsoft.com/xsi" xmlns:xsi1="http://www.w3.org/2001/XMLSchema-instance" xsi1:type="xsi:ChannelTerminatedEvent"><xsi:channelid>c77281a7-e3c6-4280-96a4-935a5ddc2c95</xsi:channelid><xsi:reason>ExplicitDelete</xsi:reason></xsi:event>[/quote]
It takes me about ~40 seconds to get a response from the server. Do you think that's why?
When I send a heartbeat, I get the following response:
Channel c77281a7-e3c6-4280-96a4-935a5ddc2c95 does not exist on this system
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