Telephone

SIP softphone for Mac

Github星跟蹤圖

Telephone is a VoIP program which allows you to make phone calls over
the internet. It can be used to call regular phones via any
appropriate SIP provider. If your office or home phone works via SIP,
you can use that phone number on your Mac anywhere you have decent
internet connection.

Building

Opus

Opus codec is optional.

Download:

$ curl -O https://archive.mozilla.org/pub/opus/opus-1.2.1.tar.gz
$ tar xzvf opus-1.2.1.tar.gz
$ cd opus-1.2.1

Build and install:

$ ./configure --prefix=/path/to/Telephone/ThirdParty/Opus --disable-shared CFLAGS='-O2 -mmacosx-version-min=10.10'
$ make
$ make install

PJSIP

Download:

$ curl -O https://www.pjsip.org/release/2.7.2/pjproject-2.7.2.tar.bz2
$ tar xzvf pjproject-2.7.2.tar.bz2
$ cd pjproject-2.7.2

Create pjlib/include/pj/config_site.h:

#define PJSIP_DONT_SWITCH_TO_TCP 1
#define PJSUA_MAX_ACC 32
#define PJMEDIA_RTP_PT_TELEPHONE_EVENTS 101
#define PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR "101"
#define PJ_DNS_MAX_IP_IN_A_REC 32
#define PJ_DNS_SRV_MAX_ADDR 32
#define PJSIP_MAX_RESOLVED_ADDRESSES 32
#define PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION 1

Patch pjlib/src/pj/sock_qos_darwin.c:

$ patch -p0 -i /path/to/Telephone/ThirdParty/PJSIP/patches/sock_qos_darwin.patch

Build and install (remove --with-opus option if you don’t need Opus):

$ ./configure --prefix=/path/to/Telephone/ThirdParty/PJSIP --with-opus=/path/to/Telephone/ThirdParty/Opus --disable-video --disable-libyuv --disable-libwebrtc --host=x86_64-apple-darwin CFLAGS='-mmacosx-version-min=10.10'
$ make lib
$ make install

LibreSSL

$ curl -O https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.6.5.tar.gz
$ curl -O https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.6.5.tar.gz.asc
$ gpg --verify libressl-2.6.5.tar.gz.asc
$ tar xzvf libressl-2.6.5.tar.gz
$ cd libressl-2.6.5
$ ./configure --prefix=/path/to/Telephone/ThirdParty/LibreSSL --disable-shared CFLAGS='-mmacosx-version-min=10.10'
$ make
$ make install

Build Telephone.

Contribution

For the legal reasons, pull requests are not accepted. Please feel
free to share your thoughts and ideas by commenting on the issues.

主要指標

概覽
名稱與所有者64characters/Telephone
主編程語言Swift
編程語言Objective-C (語言數: 4)
平台
許可證GNU General Public License v3.0
所有者活动
創建於2011-01-15 22:14:27
推送於2024-11-29 14:32:00
最后一次提交2024-11-29 15:31:53
發布數57
最新版本名稱1.6 (發布於 2022-06-29 20:01:57)
第一版名稱0.8.0 (發布於 )
用户参与
星數1.1k
關注者數49
派生數220
提交數2.5k
已啟用問題?
問題數497
打開的問題數127
拉請求數194
打開的拉請求數0
關閉的拉請求數17
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?