由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
_voip版 - 谁能共享一个asterisk dialplan?
相关主题
关于asterisk注册nonoh的问题caller id?
崩溃了,Asterisk 1.8.7.1+GV+Dockstar 没有incoming call啊asterisk 1.8+gtalk总结
求救!asterisk分机打另一个分机只响铃二次就出忙音.问一下,版上有没大牛分享过asterisk的配置文件?
asterisk 1.8的incoming call的问题asterisk 如何避免二个分机同时使用NONOH?
asterisk gtalk接不起来的,你们有没有试过关于Asterisk1.8+GV的一个小问题,请帮忙看下
新手请教个问题:Asterisk+GV是不是要这么回事?Asterisk 1.8 多google voice用户一点心得
Asterisk 1.4, GV call out problemasterisk又接不起来了<==已解决
asterisk +gv怎样才能打到国内?拨的是0118613312345678,asterisk给我拨少了一个号。
相关话题的讨论汇总
话题: exten话题: dial话题: sip话题: gtalk话题: 103
1 (共1页)
w*m
发帖数: 1806
1
最近rt-n16上的u盘坏了,asterisk全没了。
已经安装了asterisk 1.8,哪位能共享一下你的配置文件?
sip.conf, extensions.conf, jabber.conf, gtalk.conf
我以前一直用google voice拨打国内的电话,最近用版上的例子,总是没办成功,拨
01186总是不成功,估计是extensions.conf不对
thx
w*m
发帖数: 1806
2
here is the message:
unknown*CLI>
> Saved useragent "RTP300-3.1.22" for peer 101
> Saved useragent "Cisco-CP7940G/8.0" for peer 103
== Using SIP RTP CoS mark 5
-- Executing [01186XXXXXXXXXXX@outbound:1] Dial("SIP/103-00000000", "
Gtalk/wdmshop/0**************[email protected]") in new stack
-- Called Gtalk/wdmshop/0**************[email protected]
[Oct 19 11:42:40] WARNING[1778]: channel.c:5851 ast_channel_make_compatible_
helper: No path to translate from Gtalk/0**************[email protected]
df44 to SIP/103-00000000
== Spawn extension (outbound, 01186XXXXXXXXXXX, 1) exited non-zero on 'SIP
/103-00000000'
[Oct 19 11:42:40] NOTICE[1585]: chan_gtalk.c:1995 gtalk_parser: Remote peer
reported an error, trying to establish the call anyway
== Starting Gtalk/01186XXXXXXXXXXX-f97a at google-in,w*****[email protected],1
failed so falling back to exten 's'
== Starting Gtalk/01186XXXXXXXXXXX-f97a at google-in,s,1 still failed so
falling back to context 'default'
-- Executing [s@default:1] Set("Gtalk/01186XXXXXXXXXXX-f97a", "CALLERID(
name)=") in new stack
-- Executing [s@default:2] Dial("Gtalk/01186XXXXXXXXXXX-f97a", "SIP/103,
10") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/103
-- SIP/103-00000001 is ringing
-- Nobody picked up in 10000 ms
-- Executing [s@default:3] Hangup("Gtalk/01186XXXXXXXXXXX-f97a", "") in
new stack
== Spawn extension (default, s, 3) exited non-zero on 'Gtalk/
01186XXXXXXXXXXX-f97a'
unknown*CLI>
电话打出去后,又自动打回本机了SIP/103-00000001 is ringing

【在 w*m 的大作中提到】
: 最近rt-n16上的u盘坏了,asterisk全没了。
: 已经安装了asterisk 1.8,哪位能共享一下你的配置文件?
: sip.conf, extensions.conf, jabber.conf, gtalk.conf
: 我以前一直用google voice拨打国内的电话,最近用版上的例子,总是没办成功,拨
: 01186总是不成功,估计是extensions.conf不对
: thx

w*m
发帖数: 1806
3
dialplan,
[general]
static=yes
writeprotect=no
clearglobalvars=no
[globals]
CONSOLE=Console/dsp ; Console interface for
demo
IAXINFO=guest ; IAXtel username/
password
TRUNK=Zap/G2 ; Trunk interface
TRUNKMSD=1 ; MSD digits to strip (
usually 1 or 0)
[default]
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => s,n,Dial(SIP/103,10)
exten => s,n, Hangup
exten => 103, 1, Dial(SIP/103, 10)
[google-in]
exten => w*****[email protected], n, Answer
exten => w*****[email protected], n, Wait(1)
exten => w*****[email protected], n, SendDTMF(1)
exten => w*****[email protected], n, Dial(SIP/103,180,)
[outbound]
include => seven-digit
include => local-devices
include => talk-gmail-outbound
include => talk-numeric-outbound
include => nonoh-international
include => dial-uri
[local-devices]
exten => _1, 1, Dial(SIP/101,10)
exten => 101, 1, Dial(SIP/101,10)
exten => _3, 1, Dial(SIP/103,10)
exten => 103, 1, Dial(SIP/103,10)
[nonoh-international]
exten => _0XXXXXXXXXX,1,Dial(SIP/0086${EXTEN:1}@nonoh)
exten => _0XXXXXXXXXXX,1,Dial(SIP/0086${EXTEN:1}@nonoh)
[seven-digit]
exten => _NXXXXXX,1,Set(CALLERID(dnid)=1713${CALLERID(dnid)})
exten => _NXXXXXX,n,Goto(1713${EXTEN},1)
exten => _NXXNXXXXXX,1,Set(CALLERID(dnid)=1${CALLERID(dnid)})
exten => _NXXNXXXXXX,n,Goto(1${EXTEN},1)
[talk-gmail-outbound]
exten => _[a-z][email protected],1,Dial(Gtalk/wdmshop/${EXTEN}@gmail.com)
exten => _[A-Z][email protected],1,Dial(Gtalk/wdmshop/${EXTEN}@gmail.com)
[talk-numeric-outbound]
exten => _1NXXNXXXXXX,1,Dial(Gtalk/wdmshop/${EXTEN}@voice.google.com)
exten => _+1NXXNXXXXXX,1,Dial(Gtalk/wdmshop/${EXTEN}@voice.google.com)
exten => _0XXXXXXXXXXXXXXX,1,Dial(Gtalk/wdmshop/${EXTEN}@voice.google.com)
[gv-agi-outbound]
exten => _1NXXNXXXXXX,1,AGI(google-voice-dialout.agi)
exten => _+1NXXNXXXXXX,1,AGI(google-voice-dialout.agi)
[dial-uri]
exten => _[a-z].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},120,tr)
exten => _[A-Z].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},120,tr)
exten => _X.,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},120,tr)
dm (WDM) 的大作中提到: 】
h****f
发帖数: 200
4
exten => _0XXXXXXXXXXXXXXX,1,Dial(Gtalk/wdmshop/${EXTEN}@voice.google.com)
是不是改成
exten => _01186X.,1,Dial(Gtalk/wdmshop/${EXTEN}@voice.google.com)
可能你拨的号跟原来的X的个数不一致吧,你拨号的时候是01186xxxxxxxxxx还是
01186xxxxxxxxxxx?or 0xxxxxxxxxx 0xxxxxxxxxxx
这是我的dialplan,拨01186用nonoh,拨0086用GV,拨其他国家直接挂掉
[China]
exten => _01186.,1,Dial(SIP/${EXTEN}@nonoh)
exten => _01186.,n,Hangup()
exten => _0086.,1,Dial(Gtalk/superm1/011${EXTEN:2}@voice.google.com)
exten => _0086.,n,Hangup()
exten => _011X.,1,Hangup()

【在 w*m 的大作中提到】
: dialplan,
: [general]
: static=yes
: writeprotect=no
: clearglobalvars=no
: [globals]
: CONSOLE=Console/dsp ; Console interface for
: demo
: IAXINFO=guest ; IAXtel username/
: password

1 (共1页)
相关主题
拨的是0118613312345678,asterisk给我拨少了一个号。asterisk gtalk接不起来的,你们有没有试过
用GOOGLE VOICE打中国的问题新手请教个问题:Asterisk+GV是不是要这么回事?
freepbx问题Asterisk 1.4, GV call out problem
重新来过了.asterisk +gv怎样才能打到国内?
关于asterisk注册nonoh的问题caller id?
崩溃了,Asterisk 1.8.7.1+GV+Dockstar 没有incoming call啊asterisk 1.8+gtalk总结
求救!asterisk分机打另一个分机只响铃二次就出忙音.问一下,版上有没大牛分享过asterisk的配置文件?
asterisk 1.8的incoming call的问题asterisk 如何避免二个分机同时使用NONOH?
相关话题的讨论汇总
话题: exten话题: dial话题: sip话题: gtalk话题: 103