由买买提看人间百态

topics

全部话题 - 话题: asterisk
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
m**v
发帖数: 373
1
在step3要运行
ln -s /lib/modules/`uname -r`/ /lib/modules/`uname -r`/asterisk
这个是不是生成了loop?子目录连接到了父目录?
下一步运行depmod时候出现错误:
WARNING: Can't read module /lib/modules/2.6.34.1/asterisk/asterisk/asterisk/
asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/
asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/
asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/
asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/asterisk/2.6.34.1/2.6.
34.1/aste... 阅读全帖
j******a
发帖数: 1599
2
那你最后怎么解决的step 4的问题的呢?
重装?我遇到了和你一模一样的问题,但是我没有改什么用户名什么的,不过设密码的时候好像出错了?
log:
freepbx-2.7.0/SQL/cdr_mysql_table.sql
+----------------------------------------------------------------+
| Changing maximum upload limit in PHP |
+----------------------------------------------------------------+
+----------------------------------------------------------------+
| Setting permissions for asterisk user |
+----------------------------------------------------... 阅读全帖
e*i
发帖数: 10288
3
Your asterisk is NOT running.
asterisk -r means "Connect to Asterisk on this machine"
if your asterisk is not running, how can you connect to asterisk?
Run this first
ps ax |grep asterisk
if you see something like this
root@DD-WRT:~# ps ax |grep asterisk
747 ? S 0:01 /opt/sbin/asterisk -q
754 ? S 0:00 /opt/sbin/asterisk -q
760 ? S 0:07 /opt/sbin/asterisk -q
770 ? S 0:00 /opt/sbin/asterisk -q
774 ? S 0:00 /opt/sbin/asterisk -q
... 阅读全帖
e*i
发帖数: 10288
4
Your asterisk is NOT running.
asterisk -r means "Connect to Asterisk on this machine"
if your asterisk is not running, how can you connect to asterisk?
Run this first
ps ax |grep asterisk
if you see something like this
root@DD-WRT:~# ps ax |grep asterisk
747 ? S 0:01 /opt/sbin/asterisk -q
754 ? S 0:00 /opt/sbin/asterisk -q
760 ? S 0:07 /opt/sbin/asterisk -q
770 ? S 0:00 /opt/sbin/asterisk -q
774 ? S 0:00 /opt/sbin/asterisk -q
... 阅读全帖
y***o
发帖数: 246
5
按照flu大侠的教本装了asterisk 在RT-N16。现在出现了一些问题。
1. 输入 asterisk -r 后显示 “unable to connect remote asterisk"
google后知道,asterisk.conf文件没有正确配置, ls 后发现在、opt/etc/
asterisk目录下就没有asterisk.conf这个文件。然后尝试创建了个asterisk.conf,尝
试了一些网上的模板。然后输入asterisk -rvvvvv后,错误信息显示"does /opt/var/
run/asterisk.ctl exist”。查了一下后,在那个目录下没有asterisk.ctl文件。
2. troubleshooting时,很多配置文件被改的自己也记不得了,只是跟着网上查到的信
息改这改那的,但是问题没有解决。现在觉得自己装的这个asterisk已经千疮百孔了。
想重头装一个。我应该怎么装?如何把旧文件都覆盖了或卸掉?
3。 在flu大侠的configuration文件中,有个IP是"192.168.0.1" mask"255.255.255.0... 阅读全帖
d****n
发帖数: 12461
6
☆─────────────────────────────────────☆
yddmj (yddmj) 于 (Fri Apr 20 16:13:54 2012, 美东) 提到:
原来用e3000加上神座dockstar,神座上挂一个网络硬盘,和一个打印机,另外
asterisk+gv做家里的电话,phone adapter用的pap2。最近有了老二准备吧神座折腾成
babymonitor,就要放到楼上。e3000又没法同时挂硬盘和打印机。正好有这个22刀(
btw:大家shopper的cb通知了么?)的地沟由(Belkin Share Max N300 Wireless N+ Router, model # F7D7301 which is a rebadged F7D3301).的deal就进了一个。基本上有线拷贝东西
7M左右还凑合跟e3000一样,好像覆盖范围比e3000差点儿?但是能覆盖我的乳房了。无
线拷贝的速度还没测试。
现在我的垃圾由装了西红柿,带一块硬盘,一个打印机,另外开asterisk。
——————ddwrt——————
1.下载ddwrt:http... 阅读全帖
s*******d
发帖数: 4135
7
下面是每个进程的内存使用量:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2065 asterisk 20 0 35968 12m 2748 S 0.0 10.4 0:35.80 apache2
2003 asterisk 20 0 37276 12m 2580 S 0.0 10.4 0:21.92 apache2
2398 asterisk 20 0 35972 12m 2768 R 8.6 10.0 0:36.16 apache2
2004 asterisk 20 0 35968 12m 2640 S 0.0 9.9 0:04.26 apache2
2403 asterisk 20 0 35964 9044 1164 S 0.0 7.3 0:02.71 apache2
2177 asterisk 20 0 36232 8840 1160 S 0.0 7.1 0:02.18 apache2
2002 ast... 阅读全帖
k****t
发帖数: 2288
8
用top得到的:
Mem: 14888K used, 111788K free, 0K shrd, 444K buff, 8224K cached
CPU: 0% usr 0% sys 0% nic 100% idle 0% io 0% irq 0% sirq
Load average: 0.00 0.03 0.00 2/42 2008
PID PPID USER STAT VSZ %MEM %CPU COMMAND
1849 1842 root S 5616 4% 0% /usr/sbin/asterisk
1841 1 root S 5616 4% 0% /usr/sbin/asterisk
1846 1842 root S 5616 4% 0% /usr/sbin/asterisk
1845 1842 root S 5616 4% 0% /usr/sbin/asterisk
1843 1842 root S 56... 阅读全帖
y***j
发帖数: 11235
9
原来用e3000加上神座dockstar,神座上挂一个网络硬盘,和一个打印机,另外
asterisk+gv做家里的电话,phone adapter用的pap2。最近有了老二准备吧神座折腾成
babymonitor,就要放到楼上。e3000又没法同时挂硬盘和打印机。正好有这个22刀(
btw:大家shopper的cb通知了么?)的垃圾由的deal就进了一个。基本上有线拷贝东西
7M左右还凑合跟e3000一样,好像覆盖范围比e3000差点儿?但是能覆盖我的乳房了。无
线拷贝的速度还没测试。
现在我的垃圾由装了西红柿,带一块硬盘,一个打印机,另外开asterisk。
——————ddwrt——————
1.下载ddwrt:http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-K26/svn15396/dd-wrt.v24-15396_NEWD-2_K2.6_mini_f7d3301.bin
2.30/30/30:开机按reset 30秒,保持reset拔电源(要从机身这边拔)30秒,再保持
reset插上电源30秒。
3.进CFE m... 阅读全帖
y***j
发帖数: 11235
10
原来用e3000加上神座dockstar,神座上挂一个网络硬盘,和一个打印机,另外
asterisk+gv做家里的电话,phone adapter用的pap2。最近有了老二准备吧神座折腾成
babymonitor,就要放到楼上。e3000又没法同时挂硬盘和打印机。正好有这个22刀(
btw:大家shopper的cb通知了么?)的地沟由(Belkin Share Max N300 Wireless N+ Router, model # F7D7301 which is a rebadged F7D3301).的deal就进了一个。基本上有线拷贝东西
7M左右还凑合跟e3000一样,好像覆盖范围比e3000差点儿?但是能覆盖我的乳房了。无
线拷贝的速度还没测试。
现在我的垃圾由装了西红柿,带一块硬盘,一个打印机,另外开asterisk。
——————ddwrt——————
1.下载ddwrt:http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-K26/svn15396/dd-wrt.v24-15396_NEWD-2_K2.6_mi... 阅读全帖
b*****n
发帖数: 221
11
来自主题: _voip版 - asterisk + gv无法打入
CLI>jabber test a
User: [email protected]
Resource: asterisk8AF803A5
client: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Jingle Capable: 1
Priority: 0
Status: 4
Message: "This is my Asterisk/Google Voice connection. IMs sent
here will not reach me."
Resource: asteriskB1832824
client: http://www.asterisk.org/xmpp/client/caps
version: asterisk-xmpp
Jingle Capable: 1
Priority: 0
Status: 4
Message: "This is my Asterisk/... 阅读全帖
e*i
发帖数: 10288
12
here is mine. It doesn't help. :P
btw, I installed it on a WL-500G v2 as a test machine. :P
root@DD-WRT:/opt/var/run/asterisk# ls -l
total 4
srwxr-xr-x 1 root root 0 Mar 21 09:07 asterisk.ctl
-rw-r--r-- 1 root root 4 Mar 21 09:07 asterisk.pid
root@DD-WRT:/opt/var/run/asterisk# cat asterisk.ctl
asterisk.ctl: No such device or address
root@DD-WRT:/opt/var/run/asterisk# cat asterisk.pid
751
l*******e
发帖数: 3584
13
来自主题: _voip版 - 升级ASTERISK问题不断
谢谢各位的讨论,手上没有LINUX的机器,交叉编译只好以后再试了,
不过已经把上面的问题解决了,没有想的那么麻烦,只不过中间出了一点问题。
Go to your src directory
cd /usr/src
Download current Asterisk 1.8
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz
Unpack it
tar xvfz asterisk-1.8-current.tar.gz
Go down to asterisk unpacked files directory
NOTE: You need to do a ls -l to see the directory created from the tar.
This is the latest release
cd asterisk-1.8.7.1
Download mp3 support files   **
contrib/scripts/get_mp3_sour... 阅读全帖
e**********i
发帖数: 108
14
来自主题: _voip版 - Asterisk 1.8 won't stay on
I have Asterisk installed a USB drive on RT-N16 with toastman TomatoUSB
following exactly fiu's dummy guide.
Now the problem is that not only Asterisk won't auto-start after router
reboot, it wouldn't stay on even after I SSH login and manually started
Asterisk,
when I SSH login and manually start Asterisk, I can make calls. once i close
the SsH session, i hear only a busy dial tone when i dial a number. I think
Asterisk closed when I log off SSH, because when I login again, I can start
asteris... 阅读全帖
f*********e
发帖数: 8453
15
参考前面帖子在pogo上跑了asterisk服务。用IPTel和IPKall的免费服务和号码。前几
天还好,昨天突然dumb平板上的软电话频繁收到google voice转的电话(206xxxxxx)。
按接听也听不见声音。看GV历史记录发现全是一些陌生号码,基本间隔一两分钟一个。
有的还是收费电话,GV扣了钱。奇怪的是除了软电话GV连的其他电话都不响。停了
asterisk server之后软电话就不提示有电话进来了。打开
asterisk console看见一堆转接信息,也不知道啥意思。下面贴几个例子:
== Parsing '/etc/asterisk/asterisk.conf': == Found
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
== Parsing '/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.6.2.... 阅读全帖
a9
发帖数: 21638
16
来自主题: _voip版 - asterisk 1.8+gtalk总结
首先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
17
root@debian:~# asterisk -rvvvvvvvvvv
Asterisk 1.6.2.6, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
===================================================... 阅读全帖
m****t
发帖数: 2684
18
来自主题: _voip版 - Pogoplug 上的 asterisk 安装问题
刚ssh到pogoplug上看了一下,有两个错误,这个‘permission denied’是为啥?修改
文件属性能够避免吗?
192.168.1.108 是 运行 asterisk 的 pogoplug
5060 是 line 1
5061 是 PSTN
-------------------------------------------------------
[root@alarm asterisk]# asterisk -r
Verbosity is at least 6
[Apr 24 21:09:21] WARNING[3803]: db.c:112 dbinit: Unable to open Asterisk
database '/var/lib/asterisk/astdb': Permission denied
-- Registered SIP '101' at 192.168.1.108:5060
[Apr 24 21:09:21] WARNING[3803]: db.c:112 dbinit: Unable to open Asterisk
data... 阅读全帖
e**********i
发帖数: 108
19
按照fiu的dummy guide装的,打进打出都能响铃,我这边也很清楚,可是对方根本听不
见,声音微弱,还延迟很长,根本没法用,不知道是什么原因,请板上各位给诊断一下
。下面是ssh的信息:打入打出的都在
Tomato v1.28.7500 MIPSR2Toastman-RT K26 USB VPN
root@RT-N16USB:/tmp/home/root# asterisk -rvvv
Asterisk 1.8.17.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and othe... 阅读全帖
e**********i
发帖数: 108
20
按照fiu的dummy guide装的,打进打出都能响铃,我这边也很清楚,可是对方根本听不
见,声音微弱,还延迟很长,根本没法用,不知道是什么原因,请板上各位给诊断一下
。下面是ssh的信息:打入打出的都在
Tomato v1.28.7500 MIPSR2Toastman-RT K26 USB VPN
root@RT-N16USB:/tmp/home/root# asterisk -rvvv
Asterisk 1.8.17.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and othe... 阅读全帖
m*d
发帖数: 7658
21
来自主题: _voip版 - asterisk和obihi都不work了
解决了,就是replace SSLv3 with TLSv1 /opt/lib/asterisk/modules/res_jabber.so
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=302762&sid=8a9931eaeb882d0e13638de0134eef77
If you are running asterisk 1.8.25.0 on your router, you can make Gooble
Voice work again by modifying res_jabber.so. Here is what you need to do.
1. login your router as root
2. stop your asterisk service
3. change directory to /opt/lib/asterisk/modules
* cd /opt/lib/asterisk/modules
4. backup your existing file:
* cp -p res_jabber.so re... 阅读全帖
r****t
发帖数: 10904
22
这个 one way voice 问题是我遇到的最奇怪的问题了,完全 repeatable, Asterisk +
pygooglevoice, Asterisk is behind NAT, PAP2 is behind another NAT.
这儿的“直接拨”指的是通过 pygooglevoice + asterisk 拨出,在 asterisk 里面
通过 Bridge 来连接 google voice 和 outbound calls:
问题:在 ATA (pap2)上直接拨外面手机我能听见对方,对方手机上没声音听不见我。
其他有关:
1. (这个划拉掉,现在用 ATA 直接拨 goog411 它听不见我了,我能听见它)用 ATA 直接拨
1800goog411, 双向语音没问题。
2. 通过 google voice 网页拨外面手机号,用 ATA 接起来,双向语音没问题。
补充:3. 用 ATA 通过 asterisk 拨出 -> nonoh -> 中国电话号码,双向语音没问题。
补充:4. 用 softphone 在和 asterisk所在的同一个 NAT 后面直接拨手机
p**i
发帖数: 688
23
我觉得也有可能是NAT的问题. 我的asterisk run在router上, SIP/IAX/RTP ports都是
open的
iptables -L net2fw
ACCEPT udp -- anywhere anywhere udp dpt:iax /*
Asterisk iax */
ACCEPT udp -- anywhere anywhere udp dpt:5060 /*
Asterisk sip */
ACCEPT udp -- anywhere anywhere udp dpts:18000:
20000 /* Asterisk rtp /etc/asterisk/rtp.conf */
我的pap2t is behind NAT, 它登录到asterisk的分机6000/8888都是canreinvite = no
PAP2T SIP
Handle VIA received: Yes
l*******e
发帖数: 3584
24
I am a new in VOIP and this is the first time I installed something
useful
in debian.
Installed successfully, but do not really know how to use it and set it
up.
Now I feel I need use x-lite long into Asterisk
谁能给个有用一点儿的链接呀,
我实在不知道HOW-TO: Setup Asterisk 1.8/gtalk on Dockstar/Debian
里面,第十步开始应该如何设了。
You also need to edit these files to include the necessary information
of your own, in particular, the Google Voice credentials. Put these 4
files into the /etc/asterisk directory. You can either use... 阅读全帖
y***o
发帖数: 246
25
Anyway, I appreciate your time and effort. Your info did confirm me that
before asterisk running, there is no asterisk.ctl file.
The problem was solved by running asterisk by command "asterisk -c", and
then "core stop now". The asterisk.ctl was generated. Now I can run "
asterisk -r" without any error.
c********l
发帖数: 8138
26
【 以下文字转载自 Hardware 讨论区 】
发信人: coupondeal (coupon and deal), 信区: Hardware
标 题: Pogoplug(神座) 上如何安装Asterisk??
发信站: BBS 未名空间站 (Sun Dec 18 02:13:32 2011, 美东)
神座不准备共享文件(因为另外有NAS)
因神座是linux系统,所以准备装Asterisk和OPENVPN服务器。
在打算安装Asterisk之前,先做了research,看到这么一篇文章
http://archlinuxarm.org/forum/viewtopic.php?f=29&t=1846&p=10192
We have asterisk in the repo, though it may be getting
a little old at this point.
The only ways to appreciably speed up package building are:
1. distcc compilations to a cross-toolchain ... 阅读全帖
c**e
发帖数: 2558
27
☆─────────────────────────────────────☆
sophiashs (小师太|loveTC) 于 (Fri May 15 20:36:04 2009) 提到:
Asterisk原帖
http://mitbbs.com/article/Piebridge/31719069_3.html
作为亲友团团长(自封的:P),我觉得有必要把亲友团的心声表达一下。原来的楼太高
,所以另起一帖。
首先,有那么多亲友做referee,大家上的还是主ID,有意的男生心里应该有数了,要
放心勇敢的去进一步了解Asterisk。
其次,我通篇看了下Asterisk的帖子,没有一个错别字啊,语言通顺,逻辑流畅,这可
以看出Asterisk是一个对自己严格要求的人,所以希望应征的gg也是诚恳认真的。
Asterisk原帖介绍了自己的基本情况,还附了照片,也重申了希望应征的男方大方地讲
一下自己的情况。我个人认为,年龄,location,工作,照片,学历,。。。应该是必
要的信息交换吧。毕竟只有互相了解,才能判断是否合适。既然想进一步交往,这点诚
意男生总要有的。
第三,希
c********l
发帖数: 8138
28
来自主题: Hardware版 - Pogoplug(神座) 上如何安装Asterisk??
神座不准备共享文件(因为另外有NAS)
因神座是linux系统,所以准备装Asterisk和OPENVPN服务器。
在打算安装Asterisk之前,先做了research,看到这么一篇文章
http://archlinuxarm.org/forum/viewtopic.php?f=29&t=1846&p=10192
We have asterisk in the repo, though it may be getting
a little old at this point.
The only ways to appreciably speed up package building are:
1. distcc compilations to a cross-toolchain on a fast x86 computer
2. run builds on a SATA attached drive, USB induces a ton of IO wait
3. create about a 1GB file in tmpfs (thus RAM) on the x86 host... 阅读全帖
g**d
发帖数: 723
29
来自主题: _voip版 - Asterisk 1.4, GV call out problem
root@bt:~# asterisk -r -vvv
...
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
Connected to Asterisk 1.4.19.1 currently running on bt (pid = 1938)
Verbosity was 0 and is now 3
这怎么只parsing两个conf呀, 这个对么?
g**d
发帖数: 723
30
来自主题: _voip版 - Asterisk 1.4, GV call out problem
打入是会响铃因为asterisk连在SIPGATE上, 打出我觉得是这样, asterisk call
gvoice, 然后就park, park 45秒后time out, 回传给extension, 所以有响铃.
现在把ATA line1连SS, line2连asterisk, 各打google411, SS用25秒, Asterisk用40
秒, 都很慢啊, 怎么来加快asterisk的拨号? 我先学习repast的贴子去.
p**e
发帖数: 533
31
我最近装了asterisk 1.8 在netgear WNR3500L。firmware是tomato。直接在asterisk
上配置的gtalk帐户。
安装步骤是根据这里:http://www.dslreports.com/forum/r22812809-How-to-Install-Asteri-WL520GU-
router, 只是我装的是1.8不是1.4.
设置是根据这里来的:http://www.arctangent.net/~superm1/gv_configs/
只是在sip.conf我多加了以下一行:
nat=yes
网络连接如下
WAN
|
AT&T DSL modem (192.168.0.1)
|
Netgear WNR3500L router with asterisk(192.168.1.1)
|
ATA SPA1001 (192.168.1.2)
现在从ATA 打出去没问题,虽然有时候声音不太清楚。
但是如果外面的电话打进来的话,一接ATA的电话,就断了。然后asterisk上看到以下
错误信息:
*CLI> -- Executin... 阅读全帖
c**s
发帖数: 771
32
来自主题: _voip版 - Can not restart Asterisk on Dockstar
With Debian Squeeze installed on Dockstar, Asterisk works well.
But I am having difficulty restarting Asterisk server.
What I am doing is just changing sip.conf, jabber.conf, extensions.conf and
gtalk.conf.
Then issue : Asterisk -rvvvv, to get into CLI
then issue command: core stop now
then issue: restart now
It spits out "Unable to connect to remote asterisk (does /var/run/asterisk.
ctl exist?)"
Anybody has this problem?
I know I can reboot the whole thing, and it works, but I don't want to d... 阅读全帖
m**v
发帖数: 373
33
有个问题,别人打我的GV,我的phonerlite(接在asteriskshang)能够接电话,如果对
方先挂电话,asterisk就会有个warning:
WARNING[1094]: features.c:5845 bridge_exec: Bridge failed because channel d
oes not exists or we cannot get its lock
是不是跟下面的extensions.conf里面的两行有关? 这两行什么意思呢?
exten => d***[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged
)
exten => _[a-z][email protected], n(bridged),Bridge(${DB_DELETE(gv_dialout/channe
l)}, p)
有的时候挂电话asterisk干脆就死了,有个问题,别人打我的GV,我的phonerlite(接
在asteriskshang)能够接电话,如果对
方先挂电话,asterisk就会有个warnin... 阅读全帖
c****0
发帖数: 784
34
来自主题: _voip版 - EC2上面asterisk搞定了
装asterisk的node如果有防火墙(例如aws ec2那些),UDP一般开10000-20000即可,
具体可以参考你的rtp.conf文件,里面有你的asterisk要使用的rtp端口。如果有自己
的iptables,也要开这些端口。客户端一般都不需要特殊处理,大多数路由器会自动打
开需要的端口,如果路由器实在笨,暂时可以设置DMZ排除路由器的问题。
你出现的这个错误是201没有成功注册,所以拨打201的sip channel不能成功建立。
sip show peer 201看看201的状态。看看asterisk的log这个201怎么了,asterisk缺省
会自动probe这些peers (看qualify相关参数),如果probe不到log会有。
asterisk很久没用过了。以上基于1.6.x的版本,如果新的可能有所不同。

,
"
c
w*******y
发帖数: 60932
35
This is a new thread in the spirit of it's predecessors :
Googlevoice + Asterisk pbx (PiAF) + Free DID from SipGate = Free incoming/
outgoing USA VOIP service
Google Voice + Sipgate + MySipSwitch - Asterisk = Free Inbound/outbound
Calling No Server required
This is a new, simpler method using the newly released Asterisk 1.8. Most of
the setup is automated by a package called The Incredible PBX by Ward Mundy
who has also written a decent tutorial:
5 Steps to Paradise: Its Incredible PBX for Aste... 阅读全帖
g**d
发帖数: 723
36
来自主题: _voip版 - Asterisk 1.4, GV call out problem
a9大师, 我加了你这句在
[ext-did-0002]
里,stop asterisk, start asterisk, 没变化,
又加在[ext-did-0001]
里,stop asterisk, start asterisk, 还是没变化
k****t
发帖数: 2288
37
来自主题: _voip版 - 使用asterisk的安全问题
在香港的一个论坛上有人说的,看来asterisk的安全问题得引起大家的重视。
這回是被撥打了共70萬日元(折算港幣六萬三千元啊~ )
而跟據受害者所述...
1)是用NTT西日本的IP電話(這個可以不理,因為形式是像nwt的那樣有一隻類似ATA的東
東)
2)當時是用Asterisk 1.6.1.9
3)已設定allowguest=no
4)因要給IP電話通過,所以在Router中開放了SIP和RTP Port
5)Asterisk user的密碼設定為5位字左右
6)Asterisk Log只有由2月份開始
他好像只有3個帳號...其中一台是Wi-Fi SIP Phone...
而這台機的密碼好像是不夠長...懷疑問題是出於這台機...
其實在日本已經不是第一次了...早前也有幾次被收取了數萬至十多萬日元(也有數千至
一萬多港元啊...)
k****t
发帖数: 2288
38
来自主题: _voip版 - 使用asterisk的安全问题
还有一个从系统上加强asterisk的安全的方法,利用Fail2Ban将scan我们asterisk的ip
ban住,ban的时间可以自己决定。
Fail2Ban (with iptables) And Asterisk
http://www.voip-info.org/wiki/view/Fail2Ban+%28with+iptables%29+And+Asterisk
s*****e
发帖数: 404
39
来自主题: _voip版 - 装不装asterisk
2006年就买了PAP2,家里的3个router也tomoto,dd-wrt 3,4年了。以前想用voip,但
一直没有动力,也怀疑voip的效果。直到前几天看了那篇Google voice用了一年的post
,深受鼓舞,又激起了我的热情。花了两天终于把PAP2 hack,sipsorcery,sipgate等
搞定啦,现在可以用sipgate打进打出。PAP2也flash to spa1001. so far so good。
现在,问题是还要不要再折腾。在我的ASUS wl520 gu上装asterisk?首先,我是Linux
菜鸟,虽然自己装过Linux,但可以说Linux懂得很少,我是不是有能力装上并config
asterisk?第二,这个router到底能不能很好的run asterisk和其他需要的tools。
WL520GU是不是太慢。我的要求很低,只要能打进,打出Google voice,和其他的voip
就行,不用那些fancy的功能。第三,从我读到的post来看,asterisk应该比
sipsorcery稳定,那它的音质和sipsorcery比怎么样?delay
C*******1
发帖数: 422
40
完美Asterisk+GV,折腾ipkall/sipgate的可以休矣
首先谢谢cubs的贴
http://www.mitbbs.com/clubarticle_t/voip/31214271.html
按照里面提到的link
http://forums.plugpbx.org/index.php/topic,247.msg1168.html.
折腾了一番,顺利地装上了asterisk 1.8 + google voice. 效果很好。
控诉一下以前用的asterisk + freepbx + ipkall/sipgate。拨号之后等待,听75+
music,再等待,才接通。我也用nonoh outbound trunk打中国,可要命的是每隔几个
星期,nonoh就出不去了,dockstar重启一下就又好了。最后不得不弄了个crontab每天
reboot一下. shame on dockstar.
还有,装freepbx纯粹是多此一举,freepbx和asterisk搞到一起,增加复杂性和不稳定
性不说,想upgrade任何东西简直是不可能的任务。
现在好了,打出美国和打进就是goo... 阅读全帖
C*******1
发帖数: 422
41
完美Asterisk+GV,折腾ipkall/sipgate的可以休矣
首先谢谢cubs的贴
http://www.mitbbs.com/clubarticle_t/voip/31214271.html
按照里面提到的link
http://forums.plugpbx.org/index.php/topic,247.msg1168.html.
折腾了一番,顺利地装上了asterisk 1.8 + google voice. 效果很好。
控诉一下以前用的asterisk + freepbx + ipkall/sipgate。拨号之后等待,听75+
music,再等待,才接通。我也用nonoh outbound trunk打中国,可要命的是每隔几个
星期,nonoh就出不去了,dockstar重启一下就又好了。最后不得不弄了个crontab每天
reboot一下. shame.
还有,装freepbx纯粹是多此一举,freepbx和asterisk搞到一起,增加复杂性和不稳定
性不说,想upgrade任何东西简直是不可能的任务。
现在好了,打出美国和打进就是google voice,很自... 阅读全帖
k****t
发帖数: 2288
42
xlite连asterisk,连接不上,不外乎这么两种情况:
1, 用户名,password和server的地址在xlite上的设置跟server的设置不一致。
2, server侧限制了注册client的ip地址范围,而xlite的ip正好在这个范围之外。
对于第一种情况,你可以检查/etc/asterisk/sip.conf里面设置的extension的账号,密
码。保证你设置的用户和password跟你xlite上设置的一样。
确保在装有xlite的机器上能ping通asterisk server。
对于第二种情况,还是得check /etc/asterisk/sip.conf里是否限制了注册的client的
ip范围。
C*******1
发帖数: 422
43
刚才看见piii同学回帖,一激动,手一哆嗦把主帖删了。重贴一下。
==========================
原来看见piii同学贴的IPkall直接forward到asterisk的办法
http://qiuzhihaoyue.com/clubarticle/voip/31215257_0.html
照猫画虎弄了一下,结果one way audio。用手机打ipkall号码,手机发出的声音
asterisk
extension 101听不见,但101发出的声音手机能听见。
asterisk和101都是在router后边的。
又放狗搜,发现sip.conf [general]里要加
externip=xxx.xxx.xxx.xxx
加了就好了。但是问题就在这儿:这里必须用数字形式的IP地址,用myname.dyndns.
org就又单向
了。在asterisk里ping myname.dyndns.org也是可以的,那和数字形式的ip地址有什么
区别呢。
为什么呢~~
piii同学是怎么整的捏?谢谢。
t***n
发帖数: 546
44
鉴于有人要求详细配置,现在把几个配置文件贴出来,欢迎大牛们指正
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***e
发帖数: 7933
45
来自主题: _voip版 - asterisk有时抽风。
通过GV进来的电话接不起来,对方拨号,asterisk上的电话响了,接起来没有
声音,对方那边没有接通还是听到拨号音。
运行asterisk -rvvvvv,打进来的电话就没有问题了。exit CLI之后又不行了。
杀了asterisk,重新启asterisk,一切都正常了。。。。
麻烦大师们给看看,指点一下?
b***k
发帖数: 2829
46
来自主题: _voip版 - Obi110 and Asterisk
现在有OBI110, 一个PROVIDER用了GOOGLE VOICE, 另外一个链接到神由
上面的ASTERISK. 我昨天刚装了ASTERISK, 现在还没有搞清楚到底用它来
干什么。
有没有人同时用OBI和Asterisk的? DIALPLAN是怎么设置的? 我看
OBI里面也可以用EXPERT SETTING来控制DigitMap, 是不是这样就用不着
折腾ASTERISK了?
b***k
发帖数: 2829
47
来自主题: _voip版 - Obi110 and Asterisk
现在有OBI110, 一个PROVIDER用了GOOGLE VOICE, 另外一个链接到神由
上面的ASTERISK. 我昨天刚装了ASTERISK, 现在还没有搞清楚到底用它来
干什么。
有没有人同时用OBI和Asterisk的? DIALPLAN是怎么设置的? 我看
OBI里面也可以用EXPERT SETTING来控制DigitMap, 是不是这样就用不着
折腾ASTERISK了?
l*******e
发帖数: 3584
48
来自主题: _voip版 - 升级ASTERISK问题不断
我的设置是 DOCK STAR装DEBIAN架ASTERISK,用VONAGE 的PAP2接电话。
PAP2有两个电话输出口。
以前装的是1.8.2.3现在想装上新的1.8.7.1
这个贴子本来是为了前面的一个问题写了一半儿的,是CPU不能识别的错误,
上一次安装的时候改了两个文件,main/utils.c 和 makeopts.in
可这个版本里第一个文件是城以前要改的内容找不到,我就没有动这个.in,
出了问题之后发现有人提到要改 makeopts,改了,同样报错,改了.in能运行了,
可是又出了这么个提示,
**************************************************************
*** ***
*** ---> READ THIS OR YOUR BUILD WILL FAIL <--- ***
*** ... 阅读全帖
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)