#1 2014-01-12 21:00:53
Baresip, SIP user agent
Baresip是文字介面的SIP UA.
OpenWrt有baresip套件.
以下是以Raspberry Pi跑Arch Linux ARM, 使用Tomato RAF內建的Siproxd作測試:
# baresip
baresip v0.4.9 Copyright (C) 2010 - 2014 Alfred E. Heggestad et al.
Binding to interface 'wlan0'
net: wlan0: could not get IPv6 address (No such device)
Local network address: IPv4=wlan0:192.168.2.107
aucodec: PCMU/8000/1
aucodec: PCMA/8000/1
aufilt: vumeter
ausrc: oss
auplay: oss
ausrc: alsa
auplay: alsa
vidcodec: H264
vidcodec: H263
vidcodec: MP4V-ES
medianat: stun
medianat: turn
medianat: ice
Populated 1 account
Populated 2 contacts
Populated 2 audio codecs
Populated 1 audio filter
Populated 3 video codecs
Populated 0 video filters
baresip is ready.
3333@192.168.2.1: {0/UDP/v4} 200 OK () [1 binding]
All 1 useragent registered successfully! (10 ms)
撥號, 結束通話.
> 1234
call: connecting to 'sip:1234@192.168.2.1'..
call: SIP Progress: 100 Trying ()
call: SIP Progress: 180 Ringing ()
audio: Set audio decoder: PCMA 8000Hz 1ch
audio: Set audio encoder: PCMA 8000Hz 1ch
audio tx pipeline: alsa ---> vumeter ---> PCMA
audio rx pipeline: alsa <--- vumeter <--- PCMA
alsa_src: read open: default No such file or directory
3333@192.168.2.1: Call established: sip:1234@192.168.2.1
sip:1234@192.168.2.1: session closed: Connection reset by peer [= ]
sip:3333@192.168.2.1: Call with sip:1234@192.168.2.1 terminated (duration: 10 secs)
接受撥入, 結束通話.
sip:3333@192.168.2.1: Incoming call from: 1234 sip:1234@192.168.2.1 - (press ENTER to accept)
answering call from sip:1234@192.168.2.1 with 200
audio: Set audio decoder: PCMA 8000Hz 1ch
audio: Set audio encoder: PCMA 8000Hz 1ch
audio tx pipeline: alsa ---> vumeter ---> PCMA
audio rx pipeline: alsa <--- vumeter <--- PCMA
alsa_src: read open: default No such file or directory
3333@192.168.2.1: Call established: sip:1234@192.168.2.1
call: terminate call with sip:1234@192.168.2.1 [== ]
sip:3333@192.168.2.1: Call with sip:1234@192.168.2.1 terminated (duration: 5 secs)
視訊電話就沒測試了.
最後修改: hippo (2014-01-12 21:02:48)
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
Mail Agent - msmtp 作者 a00403a
|
0 | 5128 | 2016-08-14 02:15:56 作者 a00403a |
如何設定DHCP Relay Agent? 作者 tsengleoo
|
0 | 6892 | 2013-08-28 16:33:18 作者 tsengleoo |
安裝 Mail Agent - esmtp 作者 Aven
|
2 | 18873 | 2008-12-28 06:16:55 作者 kav |
輕巧的 Mail Agent (esmtp) 作者 lubyhung
|
0 | 11274 | 2008-05-15 00:14:10 作者 lubyhung |