查询用户注册状态 在线用户信息
来源:互联网 发布:mysql where in 编辑:程序博客网 时间:2024/06/03 02:02
public void sofia_contact()
{
Client client = new Client();
try
{
client.connect( host, port, password, 2 );
}
catch ( InboundConnectionFailure e )
{
log.error( "Connect failed", e );
return;
}
// EslMessage response = client.sendSyncApiCommand( "sofia_contact", "internal/102@192.168.100.201" );
//回拨两方通话 {origination_caller_id_number=95126,hangup_after_bridge=true,continue_on_fail=true,originate_timeout=60}
// EslMessage response = client.sendSyncApiCommand( "originate", " {origination_caller_id_number=95126,hangup_after_bridge=true,continue_on_fail=true,originate_timeout=60}sofia/gateway/pstn/1118601323147 1003 XML default" );
EslMessage response = client.sendSyncApiCommand("sofia xmlstatus", "profile internal reg 1002");
// client.
// 会议回拨
// originate user/18601323147 conference:conf_uuid-TEST_CON inline
log.info( "Response to 'sofia_contact': [{}]", response );
for ( Entry<Name, String> header : response.getHeaders().entrySet() )
{
log.info( " * header [{}]", header );
}
for ( String bodyLine : response.getBodyLines() )
{
log.info( " * body [{}]", bodyLine );
}
client.close();
{
Client client = new Client();
try
{
client.connect( host, port, password, 2 );
}
catch ( InboundConnectionFailure e )
{
log.error( "Connect failed", e );
return;
}
// EslMessage response = client.sendSyncApiCommand( "sofia_contact", "internal/102@192.168.100.201" );
//回拨两方通话 {origination_caller_id_number=95126,hangup_after_bridge=true,continue_on_fail=true,originate_timeout=60}
// EslMessage response = client.sendSyncApiCommand( "originate", " {origination_caller_id_number=95126,hangup_after_bridge=true,continue_on_fail=true,originate_timeout=60}sofia/gateway/pstn/1118601323147 1003 XML default" );
EslMessage response = client.sendSyncApiCommand("sofia xmlstatus", "profile internal reg 1002");
// client.
// 会议回拨
// originate user/18601323147 conference:conf_uuid-TEST_CON inline
log.info( "Response to 'sofia_contact': [{}]", response );
for ( Entry<Name, String> header : response.getHeaders().entrySet() )
{
log.info( " * header [{}]", header );
}
for ( String bodyLine : response.getBodyLines() )
{
log.info( " * body [{}]", bodyLine );
}
client.close();
}
查询用户在线状态
sofia xmlstatus profile internal reg 1001
sofia xmlstatus profile internal reg
sofia status profile internal reg 1001
sofia status profile internal reg
sofia status profile internal reg
sofia status profile internal
http://iiiiiiii.com/freeswitch/onlineall?type=txt
http://iiiiiiii.com/freeswitch/onlineall?type=xml
http://iiiiiiii.com/freeswitch/online?account=1040&type=txt
http://iiiiiiii.com/freeswitch/online?account=1040&type=xml
http://iiiiiiii.com/freeswitch/online?account=10ddddddd40&type=xml 不在线或者不存在
0 0
- 查询用户注册状态 在线用户信息
- 用户在线状态维护
- 根据用户IP地址查询用户信息
- 【Unix/Linux】【命令】用户信息查询,用户管理
- 用户登录注册界面开发及用户信息管理案例详解
- QQ在线状态查询服务
- 用户注册登陆查询界面
- 统计在线注册用户和游客人数
- Mybatis之根据用户名称模糊查询用户信息(4)
- 定时器TimerTask:定时检测用户在线状态
- Strtus2 session 监听器 监听用户在线状态
- openfire+smack新用户注册、更改用户状态
- 腾讯提供的查询QQ在线状态
- 统计在线用户信息
- Java_JSP2_监听在线用户信息;
- JavaWeb-网站在线用户信息、网站访问量以及管理踢出用户实例
- JavaWeb-网站在线用户信息、网站访问量以及管理踢出用户实例
- 监听器实现案例----自定义session扫描器和统计在线用户人数及用户信息
- 工作之杂记--缓存操作
- Qt Creator快捷键总结
- Java学习笔记(四)
- Activity实现OnclickListener接口的思想和具体用例(转载)
- 浅谈测试驱动开发(TDD)
- 查询用户注册状态 在线用户信息
- 从store中获取数据
- git fetch 和 git pull 的区别
- Redis源码分析(二十三)--- CRC循环冗余算法和RAND随机数算法
- log4j详细教程
- osx升级到10.10后,用pod install报错最终解决办法
- Oracle 里面有相同的列名时在java里取值时那个列需要有一个别名
- RTSP信令的交互
- Java学习笔记(五)