V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  sillygoose91  ›  全部回复第 3 页 / 共 5 页
回复总数  92
1  2  3  4  5  
2014-05-28 18:03:30 +08:00
回复了 sillygoose91 创建的主题 VPS 便宜的 VPS 服务大全
@s51431980 debian 7.
2014-05-28 17:37:50 +08:00
回复了 sillygoose91 创建的主题 VPS 便宜的 VPS 服务大全
里面rating 有四星的,应该都不错。三星以下的就不要考虑了。
2013-12-08 13:30:24 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@deyu260 GV 明年五月14以后还能用,只是不能用现有的方法直拨了,需要有用callback的方法,再在asterisk里桥接.
2013-12-07 21:12:17 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@deyu260 没想到这么久的话题还有回复。关于gtalk,需要两个文件,一是gtalk.conf, 一是jabber.conf. sample 文件如下。除这两个文件外,extensions.conf 文件也需要有相应的dialplan.

;=======================gtalk.conf=======================
[general]
context=google-in ; Context to dump call into
bindaddr=0.0.0.0 ; Address to bind to
stunaddr=stun.ekiga.net ; Get your external ip from a STUN server.
allowguest=yes ; Allow calls from people not in list of peers

[guest]
disallow=all
allow=ulaw

[mygmail-gtalk]
[email protected] ; gmail account
disallow=all
allow=ulaw
context=google-in ;context in extensions.conf to receive GV calls
connection=mygmail
;=========================end of gtalk.conf==================

;=========================jabber.conf=====================
general]
debug=no ; Enable debugging (disabled by default).
autoprune=yes ; Auto remove users from buddy list. Depending on your
autoregister=yes ; Auto register users from buddy list.

[mygmail]
type=client ; Client or Component connection
serverhost=talk.google.com ; Route to server for example, talk.google.com
[email protected]/talk ; Username with optional resource.
secret=mygmailpwd ; Password
priority=127
status=available ; One of: chat, available, away, xaway, or dnd
statusmessage="I am asterisk" ; Have custom status message for Asterisk
port=5222
usetls=yes
usesasl=yes
;=======================end of jabber=======================
2013-07-05 17:20:48 +08:00
回复了 tywtyw2002 创建的主题 问与答 在3g下,比起传统的电话用数据流量打voip明显不靠谱呀
我用联通3G网络,华为U9508,用CSipSimple 注册到自建的asterisk server,用GSM codec, 打电话质量基本没有问题,只要不是在地铁站等人特别多的地方。联通3G基本上是H 或H+网络,在上海北京等地VOIP的通话质量是可以接受的。GSM codec的通话质量好象比G729, G726等要好,网速要求很低,在3G网络上很合适。
2013-06-28 17:34:08 +08:00
回复了 HiVPS 创建的主题 VPS 新VPS服务器即将上线,继续提供"免费"测试名额
sillygoose91_1 at yahoo.com

thanks.
2013-06-26 08:13:41 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@ogrish 同样的问题前面已回答过几次,这里copy&paste过来。

asterisk可以说就是另一种IM,让clients通过网络联系,也可以通过voip service provider “落地”,但比其他的IM有很多优势:第1,自己控制服务器,第2,不同的clients都可以联系,比如,设置好后,一个完全不懂电脑的老人可以直接用普通电话(通过ATA), 来拨打另一个client,这个client可以在电脑上,smart phone 上,或者是另一个普通电话。也可以想象办公室内的两个分机(101, 102),只是一个分机可以在中国,另一个在美国。
2013-06-25 22:45:48 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@ogrish 我前面提到过,需要voip service provider来打外部电话(“落地”)。内部电话不用落地。
2013-06-21 16:12:15 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
在第三条附言里的sip.conf 是为server behind NAT router 用的。如果是在VPS,能够直接access, 那么这个文件需要修改如下:(去掉nat 有关的内容,及其他不关键的设置)

;=================================
; SIP Configuration for Asterisk
;
[general]
context=sip
disallow=all
allow=ulaw
allow=gsm
qualify=yes


; Register to sip providers
register => myaccount:[email protected]:5060/201000 ;need to change

;sip providers
[voipms]
context=sip
canreinvite=no
host=dallas.voip.ms
secret=mypwd1 ;need to change
type=peer
username=myaccount ;need to change
fromuser=myaccount ;need to change
trustrpid=yes
sendrpid=yes
insecure=invite
nat=yes


; My SIP phones in the house/office are listed below
;
;All users
[11100] ;need to change
type=peer
username=11100 ;need to change
secret=pwd1 ;need to change
host=dynamic
port=5060
context=phone
canreinvite=no
dtmfmode=rfc2833

[11101] ;need to change
type=peer
username=11101 ;need to change
secret=pwd2 ;need to change
host=dynamic
port=5060
context=phone
canreinvite=no
dtmfmode=rfc2833

;=======end of sip.conf
2013-06-21 15:46:43 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@wjchen 你的server是在VPS上,还是behind NAT router? 如果是在VPS上,一个可能是在sip.conf里,要把nat=yes 改成nat=no,去掉localnet, 去掉externhost.
2013-06-21 14:28:11 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@wjchen 403/401 是在clients 注册时发生的错误吗?asterisk 本身有没有错误?
2013-06-21 12:57:33 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@zxp 所以只要不商用,做一个小服务器给自己的亲友用,应该没有问题。商用的服务器本来就需要license, 美国也一样。
2013-06-21 12:17:30 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@zxp 另外,我在国内有10几个sip clients (通过ATA) ,部分连接到我在美国的asterisk server, 部分连接到上海的server, 三年多重没出现过屏蔽,除了因FQ导致美国的服务器IP被封的时候。
2013-06-21 12:13:09 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
@zxp 我在上海的asterisk server (上海电讯的网络),从没被干扰或屏蔽,已正常运行1年半。sip 是可以加密的。
2013-06-20 22:49:12 +08:00
回复了 sillygoose91 创建的主题 Linux 在VPS上建asterisk server
现在,asterisk的最基本的设置和应用在这里已经介绍完毕。如有朋友尝试过了,无论成功还是失败,请在这里分享。如果成功,那么需要什么其他的功能?如果失败,问题是什么?我希望根据这里的反馈来决定asterisk下一个题目(google voice? SIP URI? etc.).
1  2  3  4  5  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1019 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 19:54 · PVG 03:54 · LAX 12:54 · JFK 15:54
Developed with CodeLauncher
♥ Do have faith in what you're doing.