電訊茶室's Archiver

角色 發表於 2012-10-14 09:42

Using a SIP proxy instead of Asterisk/FreeSWITCH

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

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

hklkf 發表於 2014-12-24 15:46

有冇人用FreeSWITCH?

角色 發表於 2014-12-25 09:24

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

ckleea 發表於 2014-12-26 17:01

设定不容易

ckleea 發表於 2014-12-30 17:44

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

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


[img]http://www.opentelecoms.org/sites/www.opentelecoms.org/files/sip-proxy.png[/img]

ckleea 發表於 2014-12-30 17:57

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.

[img]http://www.althos.com/sample_diagrams/ag_SIP_Proxy_Server_Operation_low_res.jpg[/img]


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.

角色 發表於 2014-12-31 00:11

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

ckleea 發表於 2014-12-31 07:47

[b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=39964&ptid=4853]7#[/url] [i]角色[/i] [/b]

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

[url]http://www.kamailio.org/w/download/[/url]

debian - yes
centos - yes
raspberry pi  raspbian -yes   

好似 dd-wrt都有

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

ckleea 發表於 2014-12-31 09:46

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

Registration
[img]http://kb.asipto.com/lib/plugins/ditaa/img.php?width=0&height=0&antialias=1&edgesep=&round=1&shadow=1&scale=1&align=center&version=2010-11-24&md5=950ca1812f17173a5ef99ffd13eb4f5e[/img]

Call Initiation
[img]http://kb.asipto.com/lib/plugins/ditaa/img.php?width=0&height=0&antialias=1&edgesep=&round=1&shadow=1&scale=1&align=center&version=2010-11-24&md5=136f5563504c76bf925e6e0fc9a4bf3a[/img]

ckleea 發表於 2014-12-31 09:51

我參考這網頁安裝
[url]http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb[/url]

alang 發表於 2015-1-1 12:53

CK 做了正解。

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

Asterisk 只能扮演其中的小部分,至於 FreeSwitch 也是。

ckleea 發表於 2015-1-1 17:40

所以現在試用sip proxy

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.