编译
解压pjproject-2.3.tar.bz2
./configure
make dep
make
使用
到下面目录
pjproject-2.3/pjsip-apps/bin
./pjsua-armv7l-unknown-linux-gnueabihf --config-file=cfg.ini
运行后出现如下界面
出现sip:1001@x.x.x.x: 200/OK (expires=294)表示注册成功。
拨号
m
可从Buddy list选择或输入完整url:sip:1000@x.x.x.x
接听
a
200
挂机
h或ha
调节声音
V
使用帮助
pjsua-armv7l-unknown-linux-gnueabihf–help
性能调用图
|
附录
# Logging options:
--log-level 5
--app-log-level 4
# Account 0:
--id sip:1001@x.x.x.x
--registrar sip:x.x.x.x
--reg-timeout 300
--realm x.x.x.x
--username 1001
--password 1234
--use-timer 1
# Network settings:
--local-port 5060
# Media settings:
--snd-auto-close 1
#using default --quality 8
#using default --ilbc-mode 30
--rtp-port 4000
--clock-rate 8000
--dis-codec speex/16000
--dis-codec PCMU/8000
--add-codec PCMA/8000
--ec-tail 0
# User agent:
--max-calls 4
# Buddies:
--add-buddy sip:1000@x.x.x.x
--add-buddy sip:1002@x.x.x.x
#
# SIP extensions:
#
--use-timer 1