t***n 发帖数: 546 | 1 autoload=yes crashes the asterisk, lot's of modules cannot be found.
did some research, seems function DB_EXIST is not available.
Here is some result from asterisk debug console:
tomato-asus-rt-n16*CLI> module show
Module Description Use
Count
res_adsi ADSI Resource 0
res_jabber.so AJI - Asterisk Jabber Interface 0
format_pcm.so Raw/Sun uLaw/ALaw 8KHz (... 阅读全帖 |
|
c**s 发帖数: 771 | 2 Sorry, I meant to say that DB was not loaded.Acutally DB_exists is a
function.
But mine was on Dockstar, and it worked fine when I used the autoload=yes.
The problem only happend when I set that autoload=no, and loaded some other
modules. Once I changed it back to autoload=yes in modules.conf, it worked
fine again. |
|
t***n 发帖数: 546 | 3 Could you please do a:
module show
in asterisk console? So I can see which modules you loaded through autoload,
maybe I can add it manually.
other |
|
t***n 发帖数: 546 | 4 based on the function name, I added:
load => func_db.so
At least The error is gone. Will test later to see if I can really pick up
the call. |
|
t***n 发帖数: 546 | 5 终于可以接电话了。接着折腾多个google voice 帐号 |
|
c*******o 发帖数: 1722 | 6 能具体说说怎么打中国么?我是用的Dockstar. thx
some
directly, |
|
|
|
t***n 发帖数: 546 | 9 优点在于:
1. 多个人用同一个电话时,可以在电话号码上加前缀决定从谁的google voice走。也
决定了对方的来电显
示显示的是谁的电话。
2. 当某人有自己的专属电话时,可以默认所有电话都从他自己的google voice走 |
|
m******m 发帖数: 445 | 10 按照教程一步步走到最后,发现不能打出,下面是错误信息(假设GV账号是abc@gmail.
com, 要打的号
码是1234567890)
== Parsing '/opt/etc/asterisk/asterisk.conf': == Found
== Parsing '/opt/etc/asterisk/extconfig.conf': == Found
Connected to Asterisk 1.8.4 currently running on unknown (pid = 20585)
Verbosity is at least 4
-- Remote UNIX connection
== Using SIP RTP CoS mark 5
-- Executing [11234567890@outbound:1] Dial("SIP/101-00000000",
"Gtalk/abc/1*********[email protected]") in new stack
[May 28 15:13:23] ERROR[20669]: c_g... 阅读全帖 |
|
m******m 发帖数: 445 | 11 我这个是装好了么?
Type Description Devicestate
Indications
Transfer
---------- ----------- ----------- ----------
-
--------
Gtalk Gtalk Channel Driver no yes
no
SIP Session Initiation Protocol (SIP) yes yes
yes |
|
t***n 发帖数: 546 | 12 seems the google talk client is not connected.
try: jabber show connetions
do you see your account connected?
gmail. |
|
m******m 发帖数: 445 | 13 似乎连上的。
Jabber Users and their status:
[Your_GV] a*[email protected] - Connected |
|
t***n 发帖数: 546 | 14 seems your jabber.conf is not consistent with your gtalk.conf
in your jabber.conf, you use:
[Your_GV] as the context
and in your gtalk.conf
you may entered:
connetion=abc
Is this the case?
if so, you need to change Your_GV to abc |
|
m******m 发帖数: 445 | 15 多谢。我改了jabber设置文件后出现了你之前提到的
pbx.c:3491 ast_func_read: Function DB_EXISTS not registered
pbx.c:3491 ast_func_read: Function DB not registered
所以我在modules.conf文件中加了你提到的两行
load => func_odbc.so ;NEW ADD BY MY SLET FOR THE Function DB not
load => func_db.so ;NEW ADD BY MY SLET FOR THE Function DB not
这个错误信息没了,出现了别的错误信息。现在的情况是打入不行,打出对方能听到声
音,但是这边听不
到对方的声音。
打入时的信息是:
Verbosity is at least 4
-- Executing [a*[email protected]@google-in:1] GotoIf("Gtalk/+1xxxxxxxxxx-
3729", "0?bridged") in... 阅读全帖 |
|
t***n 发帖数: 546 | 16 not quite sure what is the problem.
one thing you can try is to add another SIP connection, 102 in sip.conf,
similar to 101 that you already have.
then in extension.conf, context [local-devices], change to:
exten => 101, 1, Dial(SIP/101,30)
exten => 102, 1, Dial(SIP/102,30)
use another sip client, either a softphone from PC or iphone, connect to 102
. now you should have two phones connected to asterisk
at phone 102, dial 101 to ring the PAP2, check the voice. then at PAP2, dial
102 to ring the ... 阅读全帖 |
|
m******m 发帖数: 445 | 17 多谢!
问一下iphone有什么sip client比较容易设置接入到asterisk?
102
dial |
|
|
x*g 发帖数: 689 | 19 如果安装在usb drive里面(或者SD卡可以吗?),应该要哪些改动?
some
directly, |
|
f*u 发帖数: 5576 | 20 It work on either USB drive or HD, no difference. |
|
w***w 发帖数: 1552 | 21 俺的神由发现重启后不能自动启动asterisk,ssh上去后可以手动开启。试了s50,S51
,S90 script和前面有人贴的simple script,都不行。ssh上去后命令行运行这些
script都是可以启动asterisk的,有什么好的建议?谢谢 |
|
w***w 发帖数: 1552 | 22 最后在/opt下面放了个.autorun,里面就一条启动asterisk的命令,搞定不知道为什么
init.d下面的不行。BTW,我是usb外置了个2.5的硬盘
S51 |
|
|
d********g 发帖数: 10550 | 24 S开头那些脚本能用才怪,教程都没有写全。我贴那个简单脚本是直接放Tomato系列固
件的开机脚本一栏的,DD-WRT也应该可以用
实际上最关键的无非就是asterisk -q,别的都是浮云,用来检查这个检查那个,拷这
个备份那个的
S51 |
|
|
w***w 发帖数: 1552 | 26 好像是压根就不执行init.d下的文件,换成最简单的就一个asterisk -q也不行。ssh上
去命令行可以执行,开机不会自动执行。 |
|
d********g 发帖数: 10550 | 27 ……
脚本写在固件自带的网页界面设置里,不是让你手动放那下面
你非要用init.d方式来启动,参照这个教程吧:
http://www.fivn.com/products/asterisk.html
上面教程是针对openwrt的,大同小异,但可能需要自己看要不要修改
一句话,忘掉init.d,我就是在linux下都不用它了,Arch Linux直接用rc.conf配置,
方便得不得了 |
|
x*g 发帖数: 689 | 28 我在神座上安装了asterisk,SSH进去发现用了100+MB的内存,好像有点多。 用ps看
了一下,有好几个apache2的进程,是不是必要的? 如果不必要,怎么让他不要开机启
动? |
|
F******k 发帖数: 7375 | 29 感谢楼主以及各位兄弟的辛勤劳动。
俺问个问题:楼主原帖里说Search "Your_GV" as replace and replace with your
google voice account,这里这个google voice account是指GV Number还是指登陆
google account用的email地址?谢谢! |
|
f*u 发帖数: 5576 | 30
That's your Google voice account ended with @gmail.com, not your GV number. |
|
|
m*d 发帖数: 7658 | 32 文中提到的附件里面的jabber.conf
autoprune=yes
这样每次登陆gtalk里面的好友就被清空了
建议改成autoprune=no
或者删掉这一行
如果你不想好友列表被清空的话
some
directly, |
|
|
|
b***k 发帖数: 2829 | 35 请问这个‘asterisk -q'是放在TOMATO的: ADMINISTRATION->SCRIPTS: INIT 里面吗? |
|
a*****s 发帖数: 8146 | 36 有个新问题,nonoh可以打出.
但是其他nonoh用户就打不进到asterisk上面的nonoh.
asterisk上的nonoh可以打到普通电话.和nonoh上都没有问题
是不是设置上不对啊.
谢谢. |
|
a*****s 发帖数: 8146 | 37 有个新问题,nonoh可以打出.
但是其他nonoh用户就打不进到asterisk上面的nonoh.
asterisk上的nonoh可以打到普通电话.和nonoh上都没有问题
是不是设置上不对啊.
谢谢. |
|
s*****a 发帖数: 1269 | 38 新问题,好像打出时候,必须要在美国号码前边加前缀 1,要不就忙音。这个在ata里
的dialplan改还是在asterisk里什么地方改? |
|
|
k****t 发帖数: 2288 | 40 都可以改。
asterisk是在externsion里面改。 |
|
|
|
s*****a 发帖数: 1269 | 43 新问题,好像打出时候,必须要在美国号码前边加前缀 1,要不就忙音。这个在ata里
的dialplan改还是在asterisk里什么地方改? |
|
|
k****t 发帖数: 2288 | 45 都可以改。
asterisk是在externsion里面改。 |
|
|
|
s*****e 发帖数: 404 | 48 前几天突然停电把我的dockstar给brick了。现在用rt-n16来折腾这个,我的rt-n16在
主router rt-ac66n的后面。以前的sipura spa都是按dockstart asterisk 1.8设好的
。安装asterisk 1.8没啥问题,可sipura spa就是register fail。现在用asterisk -r
显示结果如下:
Connected to Asterisk 1.8.19.1 currently running on unknow (pid = 705)
verbosity is at least 4
请问怎么debug呀?什么地方会有问题? 谢谢! |
|
s*****e 发帖数: 404 | 49 Seems, gtalk driver issue. Any suggestion to fix this? Thank you a lot!
unknown*CLI> core show channeltypes
Type Description Devicestate
Indications Transfer
---------- ----------- ----------- ----------
- --------
Gtalk Gtalk Channel Driver no yes
no
SIP Session Initiation Protocol (SIP) yes yes
yes
Local Local Proxy Channel Driver ... 阅读全帖 |
|
|