返回列表 發帖

Using a SIP proxy instead of Asterisk/FreeSWITCH

从网上找到一篇,它说如果为了防止别人去攻击你的系统,我们应该考虑使用SIP Proxy,而不是Asterisk或者FreeSWITCH,详细请大家看看内容。

http://www.opentelecoms.org/use-a-sip-proxy-instead-of-asterisk

有冇人用FreeSWITCH?

TOP

我以前用过一回但是不会怎样set就停止了。

TOP

设定不容易

TOP

其實應該是怎樣用sip proxy配合已設置的asterisk/freeswitch 使用。

大家使用asterisk 比較多,但sip proxy 可能是比較更適合和安全。


TOP

SIP Proxy Server

Proxy servers are computing devices (typically a server) that interface between data processing devices (e.g. computers) and other devices within a communications network. These devices may be located on the same local area network or an external network (e.g. the Internet). A proxy server usually has access to at least two communication interfaces. One interface communicates with a device requesting services (e.g. a client) and a device that is being requested for a service (the server).

The SIP proxy server performs call processing tasks on the behalf (as a proxy) of another device. Proxy servers receive requests (such as invite requests to start a communication session) and perform processes to assist in the establishment of the communication system. This process may only involve the forwarding of requests or it may involve the changing (processing) of information as it passes through the proxy server. SIP proxies may modify or create new SIP messages based on the requirements of the communication session and the setup of the services authorized for the proxy.

Proxy servers may forward call requests to more than one user agent (called forking proxy). This forwarding may be sequential (such as searching through a list of numbers or addresses) or they may be in parallel (such as ringing several extensions at the same time).

This figure shows how a SIP proxy server is responsible for establishing communication connections between devices within a specific domain. In this example, when the proxy server receives a request message from a User Agent (UA) inviting another party to join a session, the proxy server forwards this invitation onwards (it acts as a proxy) to the designated User Agent. If the designated User Agent is unavailable, the proxy server may direct the connection request to the second User Agent or the connection request may be forwarded via one (or more) proxy servers.




The proxy servers can communicate with elements other than User Agent and other proxies, for example to determine the IP address of another server a proxy may need to call on the services of the Domain Name System (DNS) to resolve a domain name into a IP address. Also the proxies are able to interact with an element known as a Location Service that is used to identify the present location of a particular user.

TOP

不知道你怎样实现SIP Proxy呢?请你说说怎样起呢?

TOP

回復 7# 角色

需要先了解你用的系統有沒有 kamailio binary ,這樣安裝會方便不少。現在不想自己手動 compile。

http://www.kamailio.org/w/download/

debian - yes
centos - yes
raspberry pi  raspbian -yes   

好似 dd-wrt都有

個人用 debian ,因為在維修方面比較容易,而且支援都不差。

TOP

大家可參考這兩張圖了解多點sip proxy 的功用

Registration


Call Initiation

TOP

TOP

CK 做了正解。

一個基本的商用 VoIP 網路架構,通常會包含有 SIP Proxy, SIP Registrar, Session Border Controller(SBC), SIP Media(IVR, Voicemail, ....), Billing System 等

Asterisk 只能扮演其中的小部分,至於 FreeSwitch 也是。
OSSLab Blog :: VoIP & IT Consultant

TOP

所以現在試用sip proxy

TOP

返回列表