Chinaunix

标题: linksys Sap400 + trixbox如何配置? [打印本页]

作者: xieweihua    时间: 2007-08-06 20:02
标题: linksys Sap400 + trixbox如何配置?
如题:
作者: xieweihua    时间: 2007-08-06 20:19
spa400便宜!
有4个FXO,所以买了个,

但是不知道如何才能与Asterisk配置起来!

网上看到有!



configured spa400 as per the instructions given in this thread.
On asterisk side I configure sip.conf with
[general]
register=spa400@10.0.0.114 /spa

and from GUI of Freepbx i created a trunk with name spa400 and the following settings;
canreinvite=no
context=from-trunk
dtmfmode=rfc2833
host=10.0.0.114
insecure=very
type=friend
user=spa400

then from GUI, outbound routes option i created a route to dial out using the trunk spa400------Till this point every thing is working i can dialout using spa400.

I dont know what to do for incoming calls in GUI of Freepbx. I already tried to add the following in extensions.conf

[from-pstn-custom]
exten =>spa400,1,Goto(ext-local,703,1)
作者: xieweihua    时间: 2007-08-06 20:21
并且linksys的东西的手册都不讲如何与开原的东西的配置!

应该是行业垄断,真是的??
作者: zhulizhong    时间: 2007-08-07 09:35
标题: look this:
hello, maybe, these urls can help you.
http://www.voip-info.org/wiki/view/Linksys-Cisco+SPA400
http://www.voipshop.com.au/pdf/SPA400Trixbox.pdf
good luck!
zhu
作者: xieweihua    时间: 2007-08-07 09:39
我现在可以拨出去,

不知道楼上的朋友提供的资料是否可以解决外面拨入,

先看看你提供的资料,希望可以。

同时感谢你提供的资料
作者: xieweihua    时间: 2007-08-07 10:10
我已经按照zhulizhong 提供的资料做过了,不过我不知道
  impedance 在大陆是填多少,我一个个试都不行!

当我从外面拨入,当信号到达spa400后就自动挂机,根本没有任何数据传到trixbox中去

asterisk -rvvvvvvvvvvvvvvvvvvvvvv 都没有任何输出!
作者: xieweihua    时间: 2007-08-07 11:36
标题: 在trixbox中用抓包,没有发现有从linksys spa400过来的任何包
在trixbox中用抓包,没有发现有从linksys spa400过来的任何包,

但是我的linksys spa400中是有设置trixbox的ip的,为什么linksys spa400不会把数据

转到trixbox中去呢??


真是很郁闷啊!!
作者: xieweihua    时间: 2007-08-18 20:51
已经解决!
作者: dnysea    时间: 2007-08-22 12:12
楼上搞定的兄弟,你用linksys spa400接PSTN的话,提示音问题是如何解决的?
谢谢
作者: xieweihua    时间: 2007-08-22 17:26
不明白你的意思啊

我的提示音是trixbox提供的!

linksys spa400的别的功能我也没有用到,只用了他能接pstn的功能.

[ 本帖最后由 xieweihua 于 2007-8-22 17:28 编辑 ]
作者: dnysea    时间: 2007-08-23 11:17
收到,我用的是Planet VIP-400FXO,结构与你一样,现在提示音问题也解决了,asterisk提供
但是现在的问题是外线拨进来之后能听到提示音,然后再拨任何号码就都没有反应了,同时asterisk报如下信息:
WARNING[2267]: codec_ilbc.c:175 ilbctolin_framein: Huh?  An ilbc frame that isn't a multiple of 50 bytes long from RTP (4)?

哪位能指教下?谢谢
作者: dnysea    时间: 2007-08-24 11:34
我现在发现从 asterisk <-> VIP-400FXO双线线路都有这个问题,就是电话接通了之后没有办法再拨任何号码,比如拨打电话银行,后面的菜单就没有办法操作了,电话中输入任何数字均没有反应
请问可能是什么问题?
谢谢
作者: xieweihua    时间: 2007-09-01 18:09
Planet VIP-400FXO 没有使用过!


和spa400区别应该不会大,
作者: spritecat    时间: 2007-09-11 11:35
标题: 回复 #1 xieweihua 的帖子
请问一下你说的这个spa400多少钱一个呀?
作者: xieweihua    时间: 2007-09-11 22:37
2K多
作者: dnysea    时间: 2007-09-12 12:24
楼上的兄弟,你的SPA400在哪里买的阿?国内哪里有卖的?
谢谢
作者: dnysea    时间: 2007-10-11 16:32
楼主请进,我现在也在配置SPA400+Asterisk,按照网上的文档配置好之后,发现asterisk无法注册到SPA400上去,请问兄弟你是怎么解决的?
我现在只是想把SPA400当作PSTN的网关,需要将asterisk注册到SPA400上去吗?
谢谢
作者: xieweihua    时间: 2007-10-13 10:42
不用将asterisk注册到SPA400上去,
将spa400注册到asterisk上就可以了




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2