-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
callId和sipTrasaction的用途是什么 #29
Comments
另外,ServerSendCmd.deviceStatusQuery((FromDevice) fromDevice, (ToDevice) deviceMap.get(userId)); |
callId 是整个sip事务的id,服务器发起请求,客户端响应或者回包都需要根据这个callId关联事务处理 |
|
客户端支持,并且发送了相应数据,服务端也打印了接收到的数据,但是服务端没有对应的handler,无法处理收到的请求 |
那可能是需要接一下handler |
能服务端能打印日志数据处理应该没问题 |
目前好像无法自定义这个请求对应的handler,没有预留接口 |
`
String catalogQuery=ServerSendCmd.deviceCatalogQuery((FromDevice) fromDevice, (ToDevice) deviceMap.get(userId));
String deviceInfo=ServerSendCmd.deviceInfo((FromDevice) fromDevice, (ToDevice) deviceMap.get(userId));
`
上边的返回值实际上是callId,这个callId有什么用吗?还是忽略callid,直接用默认的各种回调接口?
另外,示例代码中默认的注册回调接口中有sipTrasaction,并且把sipTrasaction保存到sipTransactionMap中了,这个sipTransactionMap有什么用吗?
谢谢。
The text was updated successfully, but these errors were encountered: