内网IP:
10.
172.16 _ 172.31
192.168.
winRAR window下打包 自解压后运行
win7安装软件
OCS: like skype (M Office Communicator 2007 R2)
filezilla : like tftpd32,
teraterm : like putty.OpenSSH 是 SSH (Secure SHell) 协议的免费开源实现。 它用安全、加密的网络连接工具代替了 telnet、ftp、 rlogin、rsh 和 rcp 工具
chrome: IE
virtualBox: like vmware
beyondCompare
ultralEdit : totalCommand
ethereal : like wireshark
TortoiseSVN : like clearcase
EnterpriseArchitecture: like UML ; ctrl + t, 将它转换为图片
msapplocalefix : code transfer for UE or other app
window常用命令
conf : netmeeting
msconfig: 启动设置
notepad 记事本
mspaint: 图画
calc 计算机
control 打开控制台
explorer 文件夹浏览
mstsc: 打开远程桌面 tel service control
进入“运行”,输入services.msc , 进入“管理工具”-“服务”
cmd 退出全屏 = alt + enter
tftpd: ftp server
tftpd指定服务器存放的位置
E:\>tftp -i 10.51.3.41 get servFile1.txt E:/PMP/newName.txt / / 客户端下载文件(存放地点可省略)
E:\>tftp -i 10.51.3.41 put E:/PMP/ser.txt // 客户端上传文件(文件的位置省略==当前位置)
wireshark
本机的包怎么抓? route add 本机ip mask 255.255.255.255 网关ip
C:\Documents and Settings\wh1103028>route add 10.51.3.95 mask 255.255.255.255 10.51.3.254
抓某台机器上的包? ip.src==10.51.3.81 || ip.dst==10.51.3.81
eclipse快捷键
帮助:Ctrl+Shift+L
ctrl + shift + t(element) , r(resouce,.c), g(globle reference),
ctrl + alt + h(hierarchy)
ctrl + m(max), Q(跳到最后一次编辑处), k(find next), L(定位到某行),
alt + /(completed or ctrl+ space), <-(back)
alt + shift + w(find where)
f3(def), f4(extends)
Ctrl+Shift+/ 加上段注释/**/
Ctrl+Shift+\ 取消段注释/**/
Ctrl+/ 加上行注释或取消行注释
Ctrl+Shift+O作用是缺少的Import语句被加入,多余的Import语句被删除。
Ctrl+Shift+F,会自动把代码进行格式化的排版
下一个编辑器:Ctrl+F6
下一个视图:Ctrl+F7
下一个透视图:Ctrl+F8
最大化当前视图或编辑器:Ctrl+M
激活编辑器:F12
/***********************************************************************************/
端口切换 IP Phone
/***********************************************************************************/
C:\Documents and Settings\wh1103028>route print
C:\Documents and Settings\wh1103028>route add -p 192.168.0.0 mask 255.255.0.0 192.168.60.1
切换端口配置 : modify my port is 0/8 to 40-----------------------------------
登陆 192.168.10.10
telnet : wistron wistron123
User Access Verification
Username: wistron
Password:
SW2>en
Password:
SW2#show mac address-table address e8b7.4838.33d8 // 根据MAC找到 Local Intrfce
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
10 e8b7.4838.33d8 DYNAMIC Gi0/8
Total Mac Addresses for this criterion: 1
SW2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SW2(config)#interface gigabitEthernet 0/8
SW2(config-if)#switchport v v 40
SW2(config-if)#switchport acc v 40
SW2(config-if)#end
SW2#wr
Building configuration...
[OK]
SW2#
把话机切换到10端口并配置安全模式
切换端口
删除60网上的注册信息
手工在https://192.168.10.3/ 上注册话机信息, // 号码10* calling search space = class3
只接电源,reset话机
话机接入切换的端口 OK
SW2#show run
SW2#show cdp neighbors
Device ID Local Intrfce Holdtme Capability Platform Port ID
SEPe8b7483833d8 Gig 0/16 152 H P M IP Phone Port 1 // other 6945
SEP30E4DB724CD4 Gig 0/16 170 R IP Phone Port 3 // paojie sccp p0a
SEPC89C1DA3761C Gig 0/8 171 H P M IP Phone Port 1 // my cucm port 这个MAC是6921
/***********************************************************************************/
phone board test
/***********************************************************************************/
PC as Server, phone client. phone file ---put to/get from-->PC
start F:\VOIP\Envirnment\tftpd32
# tftp -p -r SEPMAC.cnf.xml 192.168.60.153 // on phone
CUCM as Server, PC client. PC file ---put to/get from-->PC
C:\Documents and Settings\wh1103028>tftp 192.168.60.3 get SEP30E4DB724CCB.cnf.xml
要从本地计算机将文件 Users.txt 传送到远程计算机 vax1 上的 Users19.txt,请键入:
tftp vax1 put users.txt users19.txt
0. 电话通过串口访问
安装适配器的驱动
F:\VOIP\platform 20101215_swrc094f.zip
C:\Program Files\Texas Instruments Inc\TUSB3410 Single Driver Installer\DISK1
1. powerOnNet or 电话单独接电源
2. 打开putty ,以serial方式打开
COM3: 在电脑管理中看 TUSB3410 的端口
参数设置: 9600, 8 ,1
3. Q&A
通过HUB,C可以抓到AB之间的包,switch can't be // phone maybe have no some driver or something else to parse, so 网线要反接HUB
/var/tmp : // 其他目录 permission deny
/sbin/udhcpc -i esw0 : can't tftp or no such device(without -i)
tftp -g -r filename 10.5.92.26
chmod 777 file
4. 拨号时,最后一个号码输入不进去,提示 your call not completed.
需要配置 calling search space = class3
SIP模拟器中修改代码
1. MAC IP eth7 SEP080027EA28C5.cnf.xml
2. 注册后,从CUCM下载配置文件
brian@ubuntu:/tmp$ tftp 192.168.60.3
tftp> get SEP080027EA28C5.cnf.xml
SIP代码架构
主线程 开启服务
SIP服务子线程 "/tmp/cc_server.sock" 接受SOCKET消息
UE客户端 初始化UE