network_example1111

所属分类:邮电通讯系统
开发工具:Windows_Unix
文件大小:114KB
下载次数:17
上传日期:2005-07-11 23:08:43
上 传 者lsz780820
说明:  未改进的经典的SIP NETWORK API。 请尽快给下载权限
(not improve the classic NETWORK SIP API. Urged to download competence)

文件列表:
network_example\call_example (45056, 2005-01-19)
network_example\call_proxy (40960, 2005-01-19)
network_example\callapiproxy.c (37590, 2005-01-19)
network_example\callapiproxy.o (15604, 2005-01-19)
network_example\Makefile.examples (953, 2005-01-19)
network_example\sip_call_example (40960, 2005-01-19)
network_example\sip_ivp_network.sh (702, 2005-01-19)
network_example\sip_trans_example (32768, 2005-01-19)
network_example\sip_trp_example (36864, 2005-01-19)
network_example\sipmsgdump.c (6592, 2005-01-19)
network_example\sipmsgdump.o (3924, 2005-01-19)
network_example\sipproxyserver.c (17226, 2005-01-19)
network_example\sipproxyserver.o (7564, 2005-01-19)
network_example\sipua.c (41558, 2005-01-19)
network_example\sipua.o (18932, 2005-01-19)
network_example\trans_example (32768, 2005-01-19)
network_example\trp_example (36864, 2005-01-19)
network_example (0, 2005-01-19)

HP SIP network layer application examples ***************************************** To compile the example applications in this directory, type the command: > make -f Makefile.examples An executable version of these examples is provided to allow you to run these examples without compiling. There name begin with the prefix 'sip_'. For each of the 3 applications, you can use the -h option to get detailed information on command line options and to know your IP address: > call_example -h > trans_example -h > trp_example -h Do not use IP address: 127.0.0.1 with these examples. 1. UAC -> UAS call ****************** The call_example application can act as a UAS or a UAC (please refer to the -c option in the help screen). You can establish a basic call between 2 UAs with the following commands: In one window, start the UAS on the default port (5060): > call_example In another window, start the UAC on port 5061 (if you are running both examples on the same machine, you need to use 2 different ports), and call the UAS running on port 5060: > call_example -p 5061 -c sip:x.x.x.x:5060 (where x.x.x.x is the UAS IP address ) 2. UAC -> Proxy -> UAS call *************************** You can also integrate the sample proxy in the call path. By default the proxy runs on port 6060 and forwards all requests to UDP port 5060 of the local host. In one window, start the UAS on the default port (5060): > call_example In another window, start the proxy (using the default port 6060): > trans_example In a third window, start the UAC on port 5061, and call the proxy running on port 6060: > call_example -p 5061 -c sip:x.x.x.x:6060 (where x.x.x.x is the proxy IP address) You will see information messages in the proxy window each time a request or response is forwarded.

近期下载者

相关文件


收藏者