由买买提看人间百态

topics

全部话题 - 话题: extened
1 2 3 4 5 6 7 8 下页 末页 (共8页)
p**i
发帖数: 688
1
hehe, you have seen how it's dealt with by my asterisk: as long as the
number doesn't start with 001, it's an international number
[CallingRule_outbound]
exten => _001.,1,Dial(Local/${EXTEN:2}@gv-outbound/n)
exten => _00[2-9]X.,1,Macro(trunkdial-failover-0.3,${piii}/${EXTEN:0},,piii,
) ; piii is the name of voip trunk for voipbuster
[macro-trunkdial-failover-0.3]
exten = s,1,GotoIf($[${LEN(${FMCIDNUM})} > 6]?1-fmsetcid,1)
exten = s,2,GotoIf($[${LEN(${GLOBAL_OUTBOUNDCIDNAME})} > 1]?1-setgbobname,
x*****s
发帖数: 952
2
下了个ultra VNC,装在自己的台式机上,想去了学校也能用笔记本远程控制家里的台
式机,但是昨天做了试了下,ultra VNC在台式机上的icon都是LAN ip 见附图,因为家
里用了router连了几台电脑,所以台式机就是192.168.1.2,然后ultra VNC显示的ip也
是LAN ip。
然后我用笔记本装了VNC viewer,笔记本同样在LAN里面,输入192.168.1.2,控制是没
有问题,但是我如果用VNC viewer输入机器的external IP,就是68.*.*.*(我家是
comcast网络,这个应该是comcast 给的ip ) 笔记本就访问不了了。
然后我想可能是笔记本和台式机在一个LAN的缘故,不能用external ip访问,于是我把
笔记本先用VPN登陆到学校的网络,再用VNC viewer访问台式机的extenal ip,但是还
是访问不了。
所以我就不明白这个怎么回事,是不是家里的extenal ip只有一个,但是内部连了好几
台机器,要想找到台式机的,要再做一些设定?我刚用VNC,有些概念不太清楚,高手
指点下啊,多谢多谢了
p****t
发帖数: 5162
3
二手交易风险自负!请自行验证是否合法和一手卡!:
我想卖的物品:
【出售】Adobe extened cs6/illustrator @ 580/390 each
单张面值:
可接受价格(必须明码标价!):
物品新旧要求:
邮寄方式要求:
YOU CHOOSE YOU PAY
买卖双方谁承担邮寄损失(Required if not code only):
DEFAULT
付款方式说明:
BOA
其他补充说明:
广告的有效期:
TILL GONE
物品来源(Required for All Cards!):
HOMEDEPOT
我的联系方式:
PM
Warranty期限:
能否证明是合法的一手卡?(Required for All Cards!):
Y
state and zip:
p****t
发帖数: 5162
4
二手交易风险自负!请自行验证是否合法和一手卡!:
我想卖的物品:
【出售】Adobe extened cs6/illustrator @ 580/390 each
单张面值:
可接受价格(必须明码标价!):
物品新旧要求:
邮寄方式要求:
YOU CHOOSE YOU PAY
买卖双方谁承担邮寄损失(Required if not code only):
DEFAULT
付款方式说明:
BOA
其他补充说明:
广告的有效期:
TILL GONE
物品来源(Required for All Cards!):
HOMEDEPOT
我的联系方式:
PM
Warranty期限:
能否证明是合法的一手卡?(Required for All Cards!):
Y
state and zip:
B***i
发帖数: 1208
5
是所有的AMEX卡都有EXTENED WARRATY吗?
p*******y
发帖数: 1064
6
来自主题: Immigration版 - SR 回复extened review,黑洞了,求问
2016/6 RD
info 过3次。第一次说bc没clear
第二次是10月说bc clear
去年底再去info说是bc 还是没clear,我都吃惊了。
今天得到SR 结果是 extened review
We have received your service request and researched the status of your case
. Our system indicates that your case is currently under extended review and
this has caused a delay in processing time. We do not require any actions f
rom you at this time.
求问。。extended review 一般要等多长时间?
只来过美国,非党员。名字一点也不重名
千老,想拿到卡找工作呢。。能用ead 找工作吗?
这样能找工业界工作吗?
不然还得被压榨好几年啊
薄厚坐久了工作都不好找了
a******w
发帖数: 774
7
万佛,请问用amex的卡在ebay买相机,那个1年extened warranty 有吗
谢谢
t***n
发帖数: 546
8
鉴于有人要求详细配置,现在把几个配置文件贴出来,欢迎大牛们指正
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
9
来自主题: _voip版 - asterisk 1.8的incoming call的问题
装了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... 阅读全帖
e******o
发帖数: 1160
10
来自主题: _voip版 - 关于asterisk注册nonoh的问题
用的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... 阅读全帖
z****n
发帖数: 26
11
多谢a9大大指点,我的extensions.conf见下,应该改哪里,麻烦大师指点一下,谢谢!
[general]
static=yes
writeprotect=no
clearglobalvars=no
allowguest=no
alwaysauthreject=yes
[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/101,10)
ext... 阅读全帖
m******t
发帖数: 4077
12
extensions.conf
----------------------
[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/101,10)
exten => s,n, Hangup
exten => 101, 1, Dial(SIP/... 阅读全帖
w*m
发帖数: 1806
13
来自主题: _voip版 - 谁能共享一个asterisk dialplan?
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... 阅读全帖
s*k
发帖数: 507
14
加了,似乎没效果
是不是_NXXNXXXXXX没匹配上任何东西?asterisk的extension配置文件实在看不懂。
现在line1直连Gizmo5,用#选择
line2连asterisk,打算打美国用GV,打中国用其它
试了拨号1xxxxxxxxxx,似乎不行
目前完整的extension.conf如下
[globals]
GV_NUMBER=我的GV号码
SipGate_DID=我的SipGate号码
SipGate_ID=我的SipGate ID
[from-trunk]
include => ext-did
;这段还没调试,还没注册nonoh
[from-internal]
;exten => _011X.,1,Hangup
;exten => _01186X.,1,Set(CALLERID(num)=${GV_NUMBER})
;exten => _01186X.,n,Dial(SIP/${EXTEN}@nonoh,5... 阅读全帖
r****t
发帖数: 10904
15
这个办法没有用 call file, 用 call file 应该也可以。
in /etc/cron.monthly:
#!/bin/sh
asterisk -rx 'originate LOCAL/MY_IPKALL_NUMBER@outbound-gv extension s@say-
hello'
in extensions.conf or any file included by it:
[say-hello]
exten => s,1,Answer
exten => s,n,Background(hello)
exten => s,n,Wait(5)
exten => s,n,Hangup()
这样自动打出就设好了,自动 pick up 需要修改 ipkall 打进的 context.
我这叫做 [from-ipkall] 需要做判断,(以下把your-gv-number-used-to-make-this-call 改成你的 gv 号就行),实际上这个 context 里面并没有用到任何 ipkall 的号码,所以适用于任何需要周期性的打入来保持使用的 voip 帐号,只要... 阅读全帖
a9
发帖数: 21638
16
extensions.conf
[from-sip-internal]
exten => _XXXXXXXXXX,1,Dial(gtalk/g1/+1${EXTEN}@voice.google.com)
exten => _1XXXXXXXXXX,1,Dial(gtalk/g1/+${EXTEN}@voice.google.com)
[gtalkin]
exten => h,1,NoOp(CALL TO ${EXTEN} hangup)
exten => h,n,Hangup()
exten => [email protected],1,NoOp(CALL FROM ${CALLERID(num) (${CALLERID(na
me)})} THROUGH GTALK LINE)
exten => [email protected],n,Answer()
exten => [email protected],n,Wait(3)
exten => [email protected],n,SendDTMF(1)
exten => [email protected],n,Dial(SIP/8001,30,tT)
exten => [email protected]... 阅读全帖
a9
发帖数: 21638
17
extensions.conf
[from-sip-internal]
exten => _XXXXXXXXXX,1,Dial(gtalk/g1/+1${EXTEN}@voice.google.com)
exten => _1XXXXXXXXXX,1,Dial(gtalk/g1/+${EXTEN}@voice.google.com)
[gtalkin]
exten => h,1,NoOp(CALL TO ${EXTEN} hangup)
exten => h,n,Hangup()
exten => [email protected],1,NoOp(CALL FROM ${CALLERID(num) (${CALLERID(na
me)})} THROUGH GTALK LINE)
exten => [email protected],n,Answer()
exten => [email protected],n,Wait(3)
exten => [email protected],n,SendDTMF(1)
exten => [email protected],n,Dial(SIP/8001,30,tT)
exten => [email protected]... 阅读全帖

发帖数: 1
18
来自主题: CellularPlan版 - Asterisk电话回拨
extensions.conf
[default]
exten => GV,1,Answer()
exten => GV,2,GotoIf($["${CALLERID(num)}" = "myphonenumber"]?3:4) 识别是
否是自己的手机号,是则运行第3步,否则运行第4步
exten => GV,3,System(cp /tmp/*.call /var/spool/asterisk/outgoing/) 激发回
拨(复制准备好的.call文件到outgoing文件下下激发回拨).
exten => GV,4,Hangup() 挂断
[GV]
exten => GV,1,wait(1)
same => n,answer()
same => n,background(ivr) 我录制的ivg.gsm语音文件(请转入要拨打的电话号码),
在/usr/share/asterisk/sounds/en 目录下
same => n,WaitExten(7) 等待7秒输入时间
exten => _NXXXXXXXXX,1,Goto(GVcall,${EXTEN},1) 当... 阅读全帖
t***n
发帖数: 546
19
最近折腾神由上的astersik不少时间,总算让多google voice帐号和SipGate能正常运
行。分享一下自己
的心得,欢迎大牛们拍砖。
多google voice主要用于打出,打入的话就都forward到一个SipGate号码就行了。好处:
1. 多个人用同一个电话时,可以在电话号码上加前缀决定从谁的google voice走。也
决定了对方的来电

示显示的是谁的电话。
2. 当某人有自己的专属电话时,可以默认所有电话都从他自己的google voice走。
假定有一下3个GV 帐号:
d***[email protected] 默认打出打入号码,相当于一个landline。 只forward到google
chat
u***[email protected], u***[email protected] 两个人的常用google voice号码
1. 先配置gtalk.conf和jabber.conf,把3个帐号都连上。参考
http://www.mitbbs.com/clubarticle_t1/voip/31214573_0_1.html
2. 配置sip.conf, 注意公共电话的context=... 阅读全帖
r****t
发帖数: 10904
20
看这个帖子
http://www.mitbbs.com/clubarticle/voip/31208069_3.html
这个是我的 nonoh 打中国的 dialplan, 里面这样设置音量:
Set(VOLUME(TX)=level)
[outbound-nonoh-china]
exten => _0Z.,1,Set(GROUP(nonoh)=OUTBOUND_GROUP_ONCE))
exten => _0Z.,n,Set(CALLERID(num)=1xxxxx)
exten => _0Z.,n,Set(VOLUME(TX)=2)
exten => _0Z.,n,Set(VOLUME(RX)=0)
exten => _0Z.,n,GotoIf($[${GROUP_COUNT(OUTBOUND_GROUP_ONCE@nonoh)}>1]?InUse)
exten => _0Z.,n,NoOp(Calling 86${EXTEN:1})
exten => _0Z.,n,Dial(SIP/86${EXTEN:1}@nonoh)
exten => _0Z.,n,Hangup()
ex... 阅读全帖
r****t
发帖数: 10904
21
load 了 func_db.so 以后这个问题还有?
这个状态说明 asterisk 注册到 provider, ata -> asterisk 啥的都正常。
inbound context 里面有没有判断是否是从 gv 来的回拨?
[inbound-gv]
; _X. matches any number starting with non-zero(?)
exten => _X.,1,Set(DID_EXTEN=${SIP_HEADER(To):5})
exten => _X.,n,Set(DID_EXTEN=${CUT(DID_EXTEN,@,1)})
exten => _X.,n,Set(DID_CID=${CALLERID(num)})
exten => _X.,n,NoOp(Incoming call from ${DID_CID:-10})
exten => _X.,n,GotoIf($[${DID_CID:-10} = 我的GV号码]?:normalcall)
; gizmo5 reports +1xxx, sipgate xxx
exten => _X.,n,NoO... 阅读全帖
p**i
发帖数: 688
22
我这个google帐号是专门留给google voice/chat用的, 应该不会有其他login, 除非被
hack了
为了适应GV回拨, context修改如下
[gtalk-in]
exten => s,1,NoOp(${CHANNEL})
exten =>s,n,Set(CALLERID(name)=${CUT(CHANNEL,/,1)})
exten =>s,n,Set(MYCID=${CUT(CHANNEL,+,2)})
exten =>s,n,Set(CALLERID(num)=${CUT(MYCID,-,1)})
exten =>s,n,Set(DID_CID=${CALLERID(num)})
exten => s,n,Wait(1)
exten => s,n,SendDTMF(1)
exten => s,n,GotoIf($[${DID_CID:1} = XXXXXXXXXX]?:normalcall)
;<==10-digit GoogleVoice number
exten => s,n,NoCDR()
exten =>s,n,Bridge(${DB_DELET... 阅读全帖
r****t
发帖数: 10904
23
小改了一下,除掉两个 wait, 现在拨出 3 秒响铃,6秒 goog411 就 pickup 了
[outbound-gv]
; ${EXTEN} is the destiny number
exten => _Z.,1,NoOp(Calling via outbound-gv)
exten => _Z.,n,Set(ACCTNAME=a**[email protected])
exten => _Z.,n,Set(ACCTPASS=passwd)
exten => _Z.,n,Set(RINGBACK=1747GIZMO_NUMBER 7)
exten => _Z.,n,Set(DB(gv_dialout/channel)=${CHANNEL})
exten => _Z.,n,System(gvoice -b -e ${ACCTNAME} -p ${ACCTPASS} call ${EXTEN} ${RINGBACK})
exten => _Z.,n,Wait(5)
exten => _Z.,n,Hangup
exten => _Z.,n,Verbose(0,$[SYSTEMSTATUS_is
k****t
发帖数: 2288
24
Asterisk 1.6.2.11, Copyright (C) 1999 - 2010 Digium, Inc. and others.
虽然在dockstar上装的是1。6,但是还是按照1。4的方式,用park来拨打gv。
最近很奇怪,有些时候还没有执行到park,结果sipgate的电话就来了,导致接不到,
从而失败。
看到网上很多人都是bridge好用,于是改dialplan,结果出来的就更奇怪了:
[gv-inbound]
exten => 650xxxxxxx,1,GotoIf($[${CALLERID(num)} =$GV_NUM]?:normalcall)
exten => 650xxxxxxx,n,NoCDR()
exten => 650xxxxxxx,n,Bridge(${DB_DELETE(gv_dialout/channel)})
exten => 650xxxxxxx,n(normalcall),Goto(ext-local,100a,1)
[gv-outbound]
exten => _X.,1,NoOp()
exten => _X.,n,Set(RINGB... 阅读全帖
h****f
发帖数: 200
25
来自主题: _voip版 - 谁能共享一个asterisk dialplan?
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()
k******t
发帖数: 163
26
[from-trunk]
include => ext-did
[from-internal]
include => parkedcalls
exten => _NXXNXXXXXX,1,NoOp()
exten => _NXXNXXXXXX,n,Wait(1)
exten => _NXXNXXXXXX,n,Set(ACCTNAME=x*[email protected])
exten => _NXXNXXXXXX,n,Set(ACCTPASS=******)
exten => _NXXNXXXXXX,n,Set(RINGBACK=1747500xxxx)
exten => _NXXNXXXXXX,n,Set(CALLPARK=75)
exten => _NXXNXXXXXX,n,Playback(pls-wait-connect-call)
exten => _NXXNXXXXXX,n,System(/opt/local/bin/gvoice -b -e \${ACCTNAME} -p \$
{ACCTPASS} call \${EXTEN} \${RINGBACK} \7)
exten =>
g**d
发帖数: 723
27
来自主题: _voip版 - Asterisk 1.4, GV call out problem
extension.conf
[from-trunk]
include => ext-did
[from-internal]
include => parkedcalls
exten => _NXXNXXXXXX,1,NoOp()
exten => _NXXNXXXXXX,n,Wait(1)
exten => _NXXNXXXXXX,n,Set(ACCTNAME=a*[email protected])
exten => _NXXNXXXXXX,n,Set(ACCTPASS=pass)
exten => _NXXNXXXXXX,n,Set(RINGBACK=1sipnum)
exten => _NXXNXXXXXX,n,Set(CALLPARK=75)
exten => _NXXNXXXXXX,n,Playback(pls-wait-connect-call)
exten => _NXXNXXXXXX,n,System(/opt/local/bin/gvoice -e ${ACCTNAME} -p ${
ACCTPASS} call ${EXTEN} ${RINGBACK})
exten => _
l*******e
发帖数: 3584
28
来自主题: _voip版 - 用GOOGLE VOICE打中国的问题
一定是这两个问题了,因为根本没有设这些,
1.asterisk你可能没有配置dialplan,这个需要改extensions.conf
2.syslink phone adapter可能没有配dialplan.
先看EXTERSIONS。CONF,我的是这个样子的
[talk-gmail-outbound]
exten => _[a-z][email protected],1,Dial(Gtalk/####/${EXTEN}@gmail.com)
exten => _[A-Z][email protected],1,Dial(Gtalk/####/${EXTEN}@gmail.com)
[talk-numeric-outbound]
exten => _1NXXNXXXXXX,1,Dial(Gtalk/####/${EXTEN}@voice.google.com)
exten => _+1NXXNXXXXXX,1,Dial(Gtalk/####/${EXTEN}@voice.google.com)
[gv-agi-outbound]
exten => _1NXXNXXXXXX,1,AGI(google-voi... 阅读全帖
g**d
发帖数: 723
29
来自主题: _voip版 - Asterisk 1.4, GV call out problem
extension.conf
[from-trunk]
include => ext-did
[from-internal]
include => parkedcalls
exten => _NXXNXXXXXX,1,NoOp()
exten => _NXXNXXXXXX,n,Wait(1)
exten => _NXXNXXXXXX,n,Set(ACCTNAME=U****[email protected])
exten => _NXXNXXXXXX,n,Set(ACCTPASS=MYPASSWD)
exten => _NXXNXXXXXX,n,Set(RINGBACK=1SIP_NUM)
exten => _NXXNXXXXXX,n,Set(CALLPARK=75)
exten => _NXXNXXXXXX,n,Playback(pls-wait-connect-call)
exten => _NXXNXXXXXX,n,System(/opt/local/bin/gvoice -e ${ACCTNAME} -p ${
ACCTPASS} call ${EXTEN} ${RINGBACK})
ex
k****t
发帖数: 2288
30
ianw说得对,根据你的log信息,你的GotoIf有问题
[ext-did]
exten => ${SipGate_DID},1,GotoIf($[${CALLERID(num)}=${GV_NUMBER}]?:
normalcall)
exten => ${SipGate_DID},n,Bridge(${DB_DELETE(gv_dialout/channel)},p)
exten => ${SipGate_DID},n,Hangup()
exten => ${SipGate_DID},n(normalcall),Goto(ext-local,100a,1)
你可以修改如下:
[ext-did]
exten => ${SipGate_DID},1,Set(tmp_var=${CALLERID(num)})
exten => ${SipGate_DID},n,GotoIf($[${CALLERID(num)}=${GV_NUMBER}]?:
normalcall)
exten => ${SipGate_DID},n,Bridge(${DB_DELETE(gv_dialout/chan... 阅读全帖
s*k
发帖数: 507
31
实在搞不定了,目前的状态是:
Executing [7474743246@from-internal:1] Dial("SIP/100a-2871c000",
"Local/7474743246@gv-outbound/n") in new stack
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/100a-2871c000' status is
'CHANUNAVAIL'
sip.conf里面
[100a]
type=friend
host=dynamic
secret=我的密码
context=from-internal
allow=ulaw
port=5062
nat=no
dtmfmode=rfc2833
canreinvite=no
deny=0.0.0.0/0.0.0.0
permit=10.10.0.0/255.255.255.0
extension.co... 阅读全帖
l*******e
发帖数: 3584
32
来自主题: _voip版 - how to setup ASTERISK CONFs
I do not know I am right or not, but I do feel not all the peers are needed
when I just want use gtalk and gvoice to call in north america.
like [seven-digit],[talk-numeric-outbound]and [tollfree]. So I directly
deleted them. But some others I do not know how to setup like
[talk-gmail-outbound]
exten => _[a-z][email protected],1,Dial(Gtalk/mygvname/${EXTEN}@gmail.com)
exten => _[A-Z][email protected],1,Dial(Gtalk/mygvname/${EXTEN}@gmail.com)
[talk-gmail-outbound]
exten => _[a-z][email protected],1,Dial(Gtalk/... 阅读全帖
t***n
发帖数: 546
33
phonerlite 是一个ATA设备吗?
我又试着给dummy的google voice打了个电话,并且先挂断,并没有出现你说的问题。
exten => d***[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged
) 是照前人关于一个GV帐号的配置抄的,具体我也不是很明白。本来下面所有行都应该是
exten => d***[email protected], n*************
但是我改成了
exten => _[a-z][email protected],n*************
不光match d***[email protected],而是match 所有字母开头,@gmail.com结尾的打,也就
是任意gmail帐号。我认为这样的好处是任意配置是否在电话上接听google voice。比
如:
exten => d***[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged)
exten => d****[email protected], 1, GotoIf... 阅读全帖
r*****8
发帖数: 2697
34
来自主题: _voip版 - obi100 deal
GV中call screening设置off以后, 我的obi和asterisk都没有你说的这个问题, 至少到
现在为止还没有碰到过, 建议你申请一个新的gmail和GV试试
另外, 请参考我的extensions.conf中的
[google-in]
exten => g*[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged)
exten => g*[email protected], n, NoOp(Callerid ${CALLERID(name)})
exten => g*[email protected], n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => g*[email protected], n, Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})
})
exten => g*[email protected], n, Answer
exten => g*[email protected], n, Wait(1)
exten => g*2@g... 阅读全帖
m*d
发帖数: 7658
35
来自主题: _voip版 - 最进用obi + GV 好像有问题
我的extensions.conf里面设置如下,打死接电话都不响,谁给看看
另外如何debug asterisk,看到执行到那一行了呢?
我试了asterisk -r 20多个v -d,也没有看到相关的显示,如果知道asterisk收到了
Google voice的request了呢?
[google-in]
exten => , 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bri
dged)
exten => , n, NoOp(Callerid ${CALLERID(name)})
exten => , n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)
})
exten => , n, Set(CALLERID(name)=${DB(cidname/${CALLERID(
num)})})
exten => ... 阅读全帖
a*****s
发帖数: 8146
36
贴上我的google in看看和你的一不一样.
[google-in]
exten => [email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged)
exten => [email protected], n, NoOp(Callerid ${CALLERID(name)})
exten => [email protected], n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => [email protected], n, Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => [email protected], n, Answer
exten => [email protected], n, Wait(1)
exten => [email protected], n, SendDTMF(1)
exten => [email protected], n, Dial(SIP/101,180,)
exten => [email protected], n(brid... 阅读全帖
p**i
发帖数: 688
37
用bridge只需改extensions.conf, 不用动features.conf, 我觉得比parking容易设置
最近好像GV回拨的callerid的number里也是+1开头, 所以我现在的extension 6000的
inbound context如下
[gv-inbound-6000]
exten => s,1,Set(DID_EXTEN=${SIP_HEADER(To):5})
exten => s,n,Set(DID_EXTEN=${CUT(DID_EXTEN,@,1)})
exten => s,n,Set(DID_CID=${CALLERID(num)})
exten => s,n,GotoIf($[${DID_CID:2} = NXXNXXXXXX]?:normalcall) ;<==Your 10-
digit Google Voice number
exten => s,n,Wait(2)
exten => s,n,NoCDR()
exten => s,n,Bridge(${DB_DELETE(gv_dialout/channel)})
exten => s
p**i
发帖数: 688
38
你说的很对, 我回去查了我的extensions.conf, 如果ringback的号码是个gizmo5号码,
那么gvoice的最后一个argument得是phonetype, gizmo5是7, 我的是这样的
[gv-outbound]
exten => _X.,1,Set(ACCTNAME=x****[email protected])
exten => _X.,n,Set(ACCTPASS=secret)
exten => _X.,n,Set(RINGBACK=747xxxxxxx) ; gizmo5 number
exten => _X.,n,Set(PHONETYPE=7) ; 7 for gizmo5
exten => _X.,n,System(/usr/bin/gvoice -e ${ACCTNAME} -p ${ACCTPASS} call ${
EXTEN} ${RINGBACK} ${PHONETYPE})
exten => _X.,n,Set(DB(gv_dialout/channel)=${CHANNEL}) ; channel to be
bridged
exten
i**w
发帖数: 883
39
来自主题: _voip版 - caller id?
;outgoing dialplan
[outgoing]
include => parkedcalls
include => call-freephone
include => call-us-canada
include => call-china
include => call-other
include => call-internal
;dialplan for internal
[call-internal]
exten => 1000,1,Dial(SIP/1000,30)
exten => 1000,n,Congestion
exten => 1001,1,Dial(SIP/1001,30)
exten => 1001,n,Congestion
exten => 1002,1,Dial(SIP/1002,30)
exten => 1002,n,Congestion
;dialplan to call free phonenumber
[call-freephone]
exten => _800X.,1,Goto(call-with-sipgate,1${EXTEN},1
i**w
发帖数: 883
40
来自主题: _voip版 - caller id?
;callout function with gvoice
[call-with-gvoice]
exten => _X.,1,Set(RINGBACK=1${SIPGATE_DID})
;exten => _X.,n,Playback(pls-wait-connect-call)
exten => _X.,n,System(/opt/local/bin/gvoice -e ${GV_ACCT_NAME} -p ${GV_ACCT_
PASS} call ${EXTEN} ${RINGBACK})
exten => _X.,n,Set(PARKINGEXTEN=${GV_CALLPARK})
exten => _X.,n,SetGlobalVar(GV_CALLPARK=$[0 - ${GV_CALLPARK}])
exten => _X.,n,ParkAndAnnounce(,,Console/dsp)
;callout function with localphone
[call-with-localphone]
exten => _X.,1,SetCallerID(${GV_NU
k******t
发帖数: 163
41
[globals]
ZEROONEONE=NotInUse
[localphone-dial]
exten => _00XX.,1,GotoIf($["${ZEROONEONE}" == "NotInUse"]?:ZOOhangup)
exten => _00XX.,n,Set(GLOBAL(ZEROONEONE)="InUse")
exten => _00XX.,n,Dial(SIP/${EXTEN:2}@localphone,30)
exten => _00XX.,n,Playback(invalid)
exten => _00XX.,n,Hangup
exten => _00XX.,n,Set(GLOBAL(ZEROONEONE)="NotInUse")
exten => _00XX.,n(ZOOhangup),Hangup
但是到第3步以后就执行不下去,不知道何故?
i**w
发帖数: 883
42
这一段有问题
[ext-did]
exten => ${SipGate_DID},1,GotoIf($[${CALLERID(num)}=${GV_NUMBER}]?:
normalcall)
exten => ${SipGate_DID},n,Bridge(${DB_DELETE(gv_dialout/channel)},p)
exten => ${SipGate_DID},n,Hangup()
exten => ${SipGate_DID},n(normalcall),Goto(ext-local,100a,1)
SIPGate传回的CallerID(num)返回的值有时候会多加个前缀1,GotoIf的条件跳转就不
对了。
改成这样:
[ext-did]
exten => ${SipGate_DID},1,GotoIf($[${CALLERID(num)}=~"(\d)?${GV_NUMBER}" > 0
]?:normalcall)
exten => ${SipGate_DID},n,Bridge(${DB_DELETE(gv_dialout/channel)},p)
exten... 阅读全帖
p**i
发帖数: 688
43
这个forward到google chat的选项是不是2011年才出现的?以前从来没注意过
It is the best choice so far (sipgate或ipkall可以暂时休息了)!
我的context for in-bound calls (change EXT1-3 to the desired extensions to
ring)
[gtalk-in]
exten = s,1,NoOp(${CHANNEL})
exten = s,n,Set(CALLERID(name)=${CUT(CHANNEL,/,1)})
exten = s,n,Set(MYCID=${CUT(CHANNEL,+,2)})
exten = s,n,Set(CALLERID(num)=${CUT(MYCID,-,1)})
exten = s,n,Wait(1)
exten = s,n,SendDTMF(1)
exten = s,n,Dial(SIP/EXT1&SIP/EXT2&SIP/EXT3)
exten = s,n,Hangup()

那个
i**w
发帖数: 883
44
来自主题: _voip版 - caller id?
extensions_function.conf
=====================================
;callout function with gvoice
[call-with-gvoice]
exten => _X.,1,Set(RINGBACK=1${SIPGATE_DID})
;exten => _X.,n,Playback(pls-wait-connect-call)
exten => _X.,n,System(/opt/local/bin/gvoice -e ${GV_ACCT_NAME} -p ${GV_ACCT_
PASS} call ${EXTEN} ${RINGBACK})
exten => _X.,n,Set(PARKINGEXTEN=${GV_CALLPARK})
exten => _X.,n,SetGlobalVar(GV_CALLPARK=$[0 - ${GV_CALLPARK}])
exten => _X.,n,ParkAndAnnounce(,,Console/dsp)
;callout function with nonoh
g**d
发帖数: 723
45
来自主题: _voip版 - 重新来过了.
发现1.4和1.6就是不一样. 1.6的回播好象快的多, 我把wait(2)去掉就好象不行了, 找
不到park lot. 还有, 用这个1.4的extension.conf, 就碰到repast的one way voice
problem. 用ATA打出对方听不到声音.看样子要用ianw贴出的样板.
[from-trunk]
include => ext-did
[from-internal]
include => parkedcalls
exten => _NXXNXXXXXX,1,NoOp()
exten => _NXXNXXXXXX,n,Wait(1)
exten => _NXXNXXXXXX,n,Set(ACCTNAME=acctname)
exten => _NXXNXXXXXX,n,Set(ACCTPASS=acctpass)
exten => _NXXNXXXXXX,n,Set(RINGBACK=1sg_num)
exten => _NXXNXXXXXX,n,Set(CALLPARK=75)
exten => _NXXNXXXXXX,n,Playback(pls-wai
k******t
发帖数: 163
46
改成:
[localphone-dialout]
exten => _00XX.,1,GotoIf($["${ZEROONEONE}" == "NotInUse"]?:ZOOhangup)
exten => _00XX.,n,Set(GLOBAL(ZEROONEONE)="InUse")
exten => _00XX.,n,Dial(SIP/${EXTEN:2}@localphone,30)
exten => _00XX.,n,Set(GLOBAL(ZEROONEONE)="NotInUse")
exten => _00XX.,n,Hangup
exten => _00XX.,n(ZOOhangup),Hangup
还是不工作:
== Using SIP RTP CoS mark 5
-- Executing [005555555@dial-10a:1] Dial("SIP/101-00000000", "LOCAL/
005555555@localphone-dialout/n") in new stack
-- Called 005555555@localphone-d
s*k
发帖数: 507
47
用php+curl写的拨号程序弄好了,用命令行运行gvoice {number}的时候,自家电话能
响,提起来能接通
但是好像用电话拨号不能触发这个script
[gv-outbound]
exten => _NXXNXXXXXX,1,NoOp()
exten => _NXXNXXXXXX,n,Set(DB(gv_dialout/channel)=${CHANNEL})
exten => _NXXNXXXXXX,n,System(gvoice ${EXTEN})
exten => _NXXNXXXXXX,n,Wait(20)
exten => _NXXNXXXXXX,n,Hangup()
好像System(gvoice ${EXTEN})根本没有运行,不知道我这里搞错了什么了
1 2 3 4 5 6 7 8 下页 末页 (共8页)