r****t 发帖数: 10904 | 1 Linksys PAP2 has a default packet size of 0.030, which is incompatible
with the uLaw (G711u)
号称最大只能填 0.02 |
|
t***n 发帖数: 546 | 2 鉴于有人要求详细配置,现在把几个配置文件贴出来,欢迎大牛们指正
gtalk.conf***********************
[general]
context=google-in ; Context to dump call into
allowguest=yes
[guest] ; special account for options on guest account
disallow=all
allow=ulaw
context=google-in
[dummy-gtalk]
username=d***[email protected]
disallow=all
allow=ulaw
context=google-in
connection=dummy
[user3-gtalk]
username=u***[email protected]
disallow=all
allow=ulaw
context=google-in
connection=user3
[user1-gtalk]
username=u***[email protected]
disallow=all
... 阅读全帖 |
|
k****t 发帖数: 2288 | 3 装了1.8,也用了google talk,但是也用了sipgate来接sipgate的电话或者是用来打800
电话。但是现在我从sipgate的另外一个号码call这个650XXXXX2的电话得到如下的log
,给人的感觉就是进了outbound的了,好奇怪;看了一下externsion。conf,应该是
come in phone call会自动dial default的呀?
其他的都很正常:从1001往外打电话,接gtalk来的电话,但是没有办法接从sipgate过
来的电话。
== Using SIP RTP CoS mark 5
-- Executing [650XXXXXX2@outbound:1] Set("SIP/SipGate-0000001d", "
CALLERID(dnid)=1650XXXXXX2") in new stack
-- Executing [650XXXXXX2@outbound:2] Goto("SIP/SipGate-0000001d", "
1650XXXXXX2,1") in new stack
-- Goto (o... 阅读全帖 |
|
k***e 发帖数: 7933 | 4 这是sip.conf, SIPID,SIPPassword和SIPNUMBER
都是我从sipgate的账户里面来的。
[general]
register => SIPID:S*********[email protected]/SIPNUMBER
disallow=all
allow=ulaw
context=default
[1000]
type=friend
host=dynamic
secret=1234
context=from-internal
allow=ulaw
qualify=yes
port=5060
nat=no
dtmfmode=rfc2833
canreinvite=no
[SipGate]
disallow=all
username=SIPID
type=peer
secret=SIPPassword
nat=yes
insecure=invite
host=sipgate.com
fromuser=SIPID
fromdomain=sipgate.com
context=ext-did
canreinvite=no
caninvite=no
allow=ulaw |
|
i**w 发帖数: 883 | 5 sip_extensions.conf
=====================================
[1000]
type=friend
host=dynamic
secret=1234
context=outgoing
allow=ulaw
qualify=yes
port=5060
nat=no
dtmfmode=rfc2833
canreinvite=no
callgroup=1
pickupgroup=1-2
[1001]
type=friend
host=dynamic
secret=1234
context=outgoing
allow=ulaw
qualify=yes
port=5060
nat=no
dtmfmode=rfc2833
canreinvite=no
callgroup=1
pickupgroup=1-2
[1002]
type=friend
host=dynamic
secret=1234
context=outgoing
allow=ulaw
qualify=yes
port=5060
nat=no
dtmfmode=rfc2833
ca |
|
k****t 发帖数: 2288 | 6 这些天在认真补习astersik的经典书 asterisk the future of telephony
里面有讲到template这个东西,看来不错。
比如在sip。conf中有如下:
[1000]
type=friend
context=internal
host=dynamic
disallow=all
allow=ulaw
dtmfmode=rfc2833
maibox=1000
secret=AllYourSetsAreBelongToUs
[1001]
type=friend
context=internal
host=dynamic
disallow=all
allow=ulaw
dtmfmode=rfc2833
maibox=1001
secret=AllYourSetsAreBelongToUs
[1002]
type=friend
context=internal
host=dynamic
disallow=all
allow=ulaw
dtmfmode=rfc2833
maibox=1002
secret=AllYourSetsAreBelongToUs
如果是 |
|
l****n 发帖数: 3081 | 7 还是拨完号以后就嘟嘟嘟嘟的忙音.
是不是要装
install asterisk14-moh-freeplay-ulaw
install asterisk14-core-sounds-en-ulaw
install asterisk14-extra-sounds-en-ulaw
这些?
能指点一下PAP(SPA1001)的详细配置吗?还是我有别的地方没弄对? |
|
l****n 发帖数: 3081 | 8 还是拨完号以后就嘟嘟嘟嘟的忙音.
是不是要装
install asterisk14-moh-freeplay-ulaw
install asterisk14-core-sounds-en-ulaw
install asterisk14-extra-sounds-en-ulaw
这些?
能指点一下PAP(SPA1001)的详细配置吗?还是我有别的地方没弄对? |
|
e******o 发帖数: 1160 | 9 用的dockstar,装的archlinux,安装的asterisk 1.8,很是奇怪,打中国电话老是出错
。。。。。
dockstar*CLI> sip show peers
Name/username Host Dyn Force
rport ACL Port Status
1001/1001 192.168.1.138 D N
A 5060 OK (215 ms)
1002 (Unspecified) D N
0 Unmonitored
SipGate/xxx 204.155.28.10 N
5060 OK (24 ms)
nonoh/bbb... 阅读全帖 |
|
k***e 发帖数: 7933 | 10 asterisk -r出错
Unable to connect to remote asterisk (does /opt/var/run/asterisk.ctl exist?)
这个文件不存在。
sip.conf文件如下,好像run script的时候那些
user/pwd的信息没有更新上去?
[general]
register => sgun:s***[email protected]/sg_num
disallow=all
allow=ulaw
context=default
[1000]
type=friend
host=dynamic
secret=1234
context=from-internal
allow=ulaw
qualify=yes
port=5060
nat=no
dtmfmode=rfc2833
canreinvite=no
[SipGate]
disallow=all
username=sgun
type=peer
nat=yes
insecure=invite
host=sipgate.com
fromuser=sgun
fromdomain=sipgate |
|
p**i 发帖数: 688 | 11 这个看起来好像codec没有问题, 因为capabilities里出现的都是combined - 0x4 (
ulaw)
你可以试一下turn off sip debug , 然后注意剩下的message. 把不含你个人信息的部
分贴上来
nat->nat->asterisk->pygooglevoice 拨出,goog411 也听不见我说话了。只有通过
google voice web page, 2-way voice 才没问题。。。变得更像是 NAT 问题了。。
以常常出现 pap2@asterisk_externip. log 里面其他替换了的有:
uri="sip:phone_called@asterisk_externip",algorithm=MD5,response="
5355c630d216f731cdcfcdf6a0f379e2"
g729|ilbc|h263p)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x4 (
ulaw)
telephone-event), combined - 0x1 ( |
|
g**d 发帖数: 723 | 12 asterisk 1.4, 拨出响很久音乐 主观感觉超过30秒, 然后听见回拨。 用sip debug
view看见dial in, 但是按什么都接不到, 然后就说busy.
sip.conf
[general]
register => [SIPID]:[SIPPASS]@sipgate.com/[SIP_NUM]
disallow=all
allow=ulaw
context=default
[1000]
type=friend
host=dynamic
secret=1234
context=from-internal
allow=ulaw
qualify=yes
port=5060
nat=no
dtmfmode=rfc2833
canreinvite=no
[SipGate]
disallow=all
username=[SIPID]
type=peer
secret=[SIPPASS]
nat=yes
insecure=invite
host=sipgate.com
fromuser=[SIPID]
fromdomain=sipgate.com
context=ext-did |
|
r****t 发帖数: 10904 | 13 好像没啥效果,
disallow=all
allow=g729
allow=g723
allow=ulaw
以后,打出的 channel 还是用 ulaw 了 |
|
a9 发帖数: 21638 | 14 不是bug,asterisk协商编码是一段一段的搞,比如我说的这个例子,你ata拨完号,
asterisk就跟他商定了用哪个编码,如果你ata配成ulaw,那你通过g729这个网关出去
的话,因为两端的编码不一样,你又没有g729的编码器,结果就断掉了。
如果你ata配成g729优先,那ulaw的又是同样的结果。 |
|
a9 发帖数: 21638 | 15 gtalk.conf
[general]
context=gtalkin ; Context to dump call into
bindaddr=0.0.0.0 ; Address to bind to
stunaddr=stunserver.org ; Get your external ip from a STUN server.
; Note, if the STUN query is successful, thi
; replace any value placed in externip;
allowguest=yes ; Allow calls from people not in list of pee
rs
[gtalk1] ; special account for options on guest account
disall... 阅读全帖 |
|
a9 发帖数: 21638 | 16 gtalk.conf
[general]
context=gtalkin ; Context to dump call into
bindaddr=0.0.0.0 ; Address to bind to
stunaddr=stunserver.org ; Get your external ip from a STUN server.
; Note, if the STUN query is successful, thi
; replace any value placed in externip;
allowguest=yes ; Allow calls from people not in list of pee
rs
[gtalk1] ; special account for options on guest account
disall... 阅读全帖 |
|
b*****n 发帖数: 221 | 17 用dummy教程设的RT-N16,asterisk + gv.GV可以打出,对方显示的号码也是对的.但无法打入.总是进voice mail.ipkall可以打入.
大伙帮忙看看(修正过):
gtalk.conf
[general]
context=google-a-in ; Context to dump call into
allowguest=yes
bindaddr=0.0.0.0
externip=xx.xxx.xxx.248
[guest] ; special account for options on guest account
disallow=all
allow=ulaw
context=google-a-in
[a-gtalk]
[email protected]/Talk
disallow=all
allow=ulaw
context=google-a-in
connection=a
jabber.conf
[general]
autoprune=no
autoregister=yes
[a]
t... 阅读全帖 |
|
m******t 发帖数: 4077 | 18 gtalk.conf
----------------
[general]
context=google-in ; Context to dump call into
allowguest=yes
[guest] ; special account for options on guest account
disallow=all
allow=ulaw
[chihuono1-gtalk]
username=c*******[email protected]
disallow=all
allow=ulaw
context=google-in
connection=chihuono1
|
|
r****t 发帖数: 10904 | 19 在 pap2 上用 nonoh 每次充值10欧元后免费 200min/7days for 4 months,
then ~2c/min 直到到再次充值。这个是 pap2 连上网就可以,不需要电脑。
也能像电话卡一样直接拨接入号使用,那样音质就受电话限制,比 pap2
的 ulaw 要差一点。
这个能直接打国内电话号码,不要求国内电话有任何设置。 |
|
w*******t 发帖数: 960 | 20 我的网络 internet -- router(port forwarding) --- ubuntu pc( w/ iptables)
iptables 里 drop input
允许一些必要的port
把规则改了改,
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
又加了这几条 drop非法连接
-A INPUT -m state --state INVALID -j DROP
-A OUTPUT -m state --state INVALID -j DROP
-A FORWARD -m state --state INVALID -j DROP
======================================================================
asterisk CLi还是出现下面的信息:
212.I29.2.I76
这里的5112端口,我并没有开... 阅读全帖 |
|
w*******y 发帖数: 60932 | 21 Apple Apple TV (Limit Three Per Customer):
http://www.macconnection.com/IPA/Shop/Product/Detail.htm?sku=12
code SHIPTV7 gets you $7 off
Connectivity
Connector Type USB
Connector Type HDMI
Connector HDMI
Connector RJ-45
Connector 3.5mm optical audio
Connector microUSB
Connector Type Ethernet
Connector Type Digital audio (optical)
General
Color Black
Video
Digital Video Capture Resolution 1280 x 720
Actual Weight 0.60 lb(s)
Compatibility ... 阅读全帖 |
|
r****t 发帖数: 10904 | 22 sip.conf 里面这么搞电话不响, extensions.conf 里面是空的。
哪里指定 forward 到 101? 现在概念不清楚,
...
; 这个最后的 /from-Gizmo5 是 extension? 改成 101 也不行
register => 1747xxxxxxx:p****[email protected]/from-Gizmo5
; 这个是 peer, 是 outbound call 设置对不对?
[from-Gizmo5]
type=peer
context=from-gizmo
disallow=all
allow=ulaw
allow=ilbc
dtmfmode=rfc2833
host=proxy01.sipphone.com
fromdomain=proxy01.sipphone.com
insecure=very
qualify=yes
fromuser=1747xxxxxxx
authuser=1747xxxxxxx
defaultuser=1747xxxxxxx
secret=xxxx ; The passw |
|
p**i 发帖数: 688 | 23 你的nonoh是不是和voipbuster差不多? 我的users.conf里是这样设置voipbuster的
[general]
type = friend
qualify = yes
disallow = all
allow = ulaw,alaw
callwaiting = yes
threewaycalling = yes
callwaitingcallerid = yes
transfer = yes
canpark = yes
cancallforward = yes
callreturn = yes
call-limit = 100
[piii]
host = connectionserver.voipbuster.com
username = piii
secret = secret
context = gv-inbound-6000
trunkname = VoipBuster
hassip = yes
registersip = yes
trunkstyle = voip
canreinvite = yes
insecure = port,invite
hasia |
|
r****t 发帖数: 10904 | 24 可能是哪边的问题?pap2 上面是默认的 G711u,其他 codec 都选 yes. Asterisk 上
面把 pap2 device 配成了 allow=ulaw。
BTW, 通过 Asterisk 拨出 -> nonoh -> 中国电话号码,双向语音没问题。所以我觉得
应该不是 ATA/asterisk 之间的编码问题。 |
|
r****t 发帖数: 10904 | 25 具体来讲编码哪里会出现问题? 我只知道 G711u 可以和 asterisk 的 ulaw 配,除此
以外所知甚少。如果是编码问题,应该怎么去 debug? |
|
a9 发帖数: 21638 | 26 多启动几个codec试一下。
alaw ulaw g729 gsm都启用。 |
|
r****t 发帖数: 10904 | 27 I am not sure. What's your "show translation" or "core show translation"? In
my asterisk I am missing g723, g729, ilbc, siren7, siren14, all others are
available: gsm, ulaw, alaw, g726aal2, adpcm, slin, lpc10, speex, g726, g722,
slin16.
My pap2 has all supported codecs enabled... |
|
i**w 发帖数: 883 | 28 sip_servers.conf
=====================================
[sipgate]
context=incoming
type=peer
host=sipgate.com
username=
secret=
nat=yes
fromdomain=sipgate.com
fromuser=
insecure=invite
canreinvite=no
caninvite=no
disallow=all
allow=ulaw
allow=alaw
allow=g729
dtmfmode=rfc2833
[nonoh]
type=peer
host=sip.nonoh.net
username=
secret=
nat=yes
fromdomain=nonoh.net
fromuser=
insecure=invite
canreinvite=no
caninvite=no
disallow= |
|
k****t 发帖数: 2288 | 29 修改sip.conf
在【general】中加入
bindaddr=0.0.0.0
externip=x.x.x.x
localnet=192.168.1.0/255.255.255.0
nat=yes
增加分机【1001】:
[1001]
type=friend
host=dynamic
secret=1234
context=from-internal
allow=ulaw
qualify=yes
port=5060
nat=yes
dtmfmode=rfc2833
canreinvite=no
然后先telnet上router,cmd输入:
iptables -I INPUT -p udp --dport 5060 -j ACCEPT
iptables -I INPUT -p udp --dport 10000:20000 -j ACCEPT
这样x-lite可以注册上了:
*CLI> sip show peers
Name/username Host Dyn Nat ACL Port Status
nonoh/kermit |
|
k******t 发帖数: 163 | 30 allow=ulaw
g729无法工作。(CPU太差)
[myDISA]
exten => s,1,Answer()
exten => s,n,Read(OUTNUM)
exten => s,n,Goto(dial-800,${OUTNUM},1)
exten => s,n(end),Hangup
如果由外线拨入GIZMO工作正常:
-- Executing [s@myDISA:1] Answer("SIP/Gizmo1-00000003", "") in new stack
-- Executing [s@myDISA:2] Read("SIP/Gizmo1-00000003", "OUTNUM") in new
stack
-- User entered '005388888'
-- Executing [s@myDISA:3] Goto("SIP/Gizmo1-00000003", "dial-800,
005388888,1") in new stack
-- Goto (dial-800,005388888,1)
-- Exec |
|
|
f*u 发帖数: 5576 | 32 Thanks for your hint.
Changing RTP# did resovle our echo problom with nonoh. |
|
r****t 发帖数: 10904 | 33 很多人还觉得 ooma 音质好,不知道它用啥 codec, 我猜多半比不过 ulaw 吧, |
|
r****t 发帖数: 10904 | 34 以前有人问类似问题的,不知道结果。不过有了 ulaw 为啥还要用 g729 呢? |
|
|
j*******e 发帖数: 409 | 36 我用过,Spandsp,收发都正常,要用ulaw不能用g729,对网速有一定要求。
后来不太经常用也就闲置了,现在不知道还好不好使 |
|
j*******e 发帖数: 409 | 37 其实我也试过dockstar,G729/Ulaw都试过了,G729确实稍好一些,但是还是不解决根
本问题 |
|
j*******e 发帖数: 409 | 38 我限制到256K左右可以正常通话,用的G729,带宽占用大概是30多k。用ulaw的时候没
有试过qos,带宽占用100k左右 |
|
a9 发帖数: 21638 | 39 首先asterisk 1.8在dockstar上运行不正常
gtalk+asterisk 1.6在dockstar上也跑的不太正常。
安装asterisk.首先安装
iksemel
wget http://iksemel.googlecode.com/files/iksemel-1.4.tar.gz
解压 tar -zxvf iksemel-1.4.tar.gz并进入这个目录
配置 ./configure --prefix=/usr (不装在usr下好像会有问题)
编译安装 make & make install
下载编译asterisk 1.8
./configure --use-ssl=/usr/lib 注意看usr/lib下有没有libssl*.so
make menuselect 选上channels->gtalk,resources->res_jabber
编译安装 make & make install
配置
/etc/asterisk/jabber.conf
[general]
debug=no
autoprune=no
autoregister=... 阅读全帖 |
|
l*****7 发帖数: 1125 | 40 DOCKSTAR上装的,没装freepbx
; sip.conf
[general]
register => 17470026666:6**[email protected]/17470026666
[Gizmo]
type=peer
host=proxy01.sipphone.com
outboundproxy=proxy01.sipphone.com
insecure=invite
qualify=yes
dtmfmode=rfc2833
username=17470026666
defaultuser=17470026666
fromuser=17470079210
outboundproxy=proxy01.sipphone.com
secret= 6666
context=gizmo_in
disallow=all
allow=ulaw
[102]
type=friend
host=dynamic
nat=yes
qualify=yes
context=sip
defaultuser=102
secret=102
callerid=102
mailbox=102
然... 阅读全帖 |
|
i**w 发帖数: 883 | 41 用asterisk试了一下nonoh, Gizmo5和SipGate的SIP URI dialling,标准设置就可以了
,不需要特别的设置。 (没有voipbuster的account,不过nonoh和voipbuster是一家
的,nonoh可以的话,voipbuster应该也可以)
sip.conf
==============================================================
register => :@sip.voipbuster.com
[voipbuster]
context=answer-incoming
type=peer
host=sip.voipbuster.com
defaultuser=
secret=
nat=yes
fromdomain=sip.voipbuster.com
fromuser=
insecure... 阅读全帖 |
|
r****t 发帖数: 10904 | 42 前面我贴过,适用于 ulaw, 用 RTP size 搜下试试。 |
|
r****t 发帖数: 10904 | 43 替代方案用 asterisk + ata 的话:
1. 有来电显示,也能设打出时候的 caller id.
2. 能同时打出第二路电话(如果插了两个电话机)。
3. 有 asterisk 语音信箱。也可以选择完全用 google voice 语音信箱。
基本 ooma 就是个传说通话质量好,但是现在 upload 带宽都很充足,只要 > 8kB 的
话 ulaw
的语音完全比 ilbc 听起来好, ilbc 压缩太厉害,只不过对丢包不敏感而已。说 ooma
语音质量
好是靠不住的。 |
|