t***n 发帖数: 546 | 1 鉴于有人要求详细配置,现在把几个配置文件贴出来,欢迎大牛们指正
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 | 2 装了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 | 3 用的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 | 4 多谢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 | 5 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/... 阅读全帖 |
|
f*u 发帖数: 5576 | 6 Try this
[google-in]
exten => Y*****[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?
bridged)
exten => Y*****[email protected], n, NoOp(Callerid ${CALLERID(name)})
exten => Y*****[email protected], n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => Y*****[email protected], n, Set(CALLERID(name)=${DB(cidname/${CALLERID(
num)})})
exten => Y*****[email protected], n, Dial(SIP/101, 180, D(:1))
exten => Y*****[email protected], n(bridged),Bridge(${DB_DELETE(gv_dialout/channel
)}, p) |
|
f*u 发帖数: 5576 | 7 Try this
[google-in]
exten => Y*****[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?
bridged)
exten => Y*****[email protected], n, NoOp(Callerid ${CALLERID(name)})
exten => Y*****[email protected], n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => Y*****[email protected], n, Set(CALLERID(name)=${DB(cidname/${CALLERID(
num)})})
exten => Y*****[email protected], n, Dial(SIP/101, 180, D(:1))
exten => Y*****[email protected], n(bridged),Bridge(${DB_DELETE(gv_dialout/channel
)}, p) |
|
r*****8 发帖数: 2697 | 8 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... 阅读全帖 |
|
k***e 发帖数: 7933 | 9 我的extension是如下, 哪里改增加delay?谢谢
exten => _[cz][email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridg
ed)
exten => _[a-z][email protected], n, NoOp(Callerid ${CALLERID(name)})
exten => _[a-z][email protected], n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)}
)
exten => _[a-z][email protected], n, Set(CALLERID(name)=${DB(cidname/${CALLERID(n
um)})})
exten => _[a-z][email protected], n, Dial(SIP/101, 180, aD(:1))
exten => _[a-z][email protected], n(bridged),Bridge(${DB_DELETE(gv_dialout/channe
l)}, p) |
|
m*d 发帖数: 7658 | 10 我的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 => ... 阅读全帖 |
|
d********g 发帖数: 10550 | 11 你的配置里为什么有SendDTMF?GV里没有把Call Screening关掉?
我的:
[google-in]
exten => , 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged)
exten => , n, NoOp(Callerid ${CALLERID(name)})
exten => , n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => , n, Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => , n, Dial(SIP/, 180, D(:1))
exten => , n(bridged),Bridge(${DB_DELETE(gv_dialout/channel)}, p)
我觉得问题应该就在这个DTMF。发... 阅读全帖 |
|
a*****s 发帖数: 8146 | 12 贴上我的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... 阅读全帖 |
|
w*m 发帖数: 1806 | 13 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... 阅读全帖 |
|
k****t 发帖数: 2288 | 14 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 | 15 加了,似乎没效果
是不是_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... 阅读全帖 |
|
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]... 阅读全帖 |
|
d**u 发帖数: 1639 | 18 ☆─────────────────────────────────────☆
luoyuan (walle) 于 (Mon Aug 16 17:27:02 2010, 美东) 提到:
几天前问过,谢谢大家的回帖。
但是,
我是要剪女头,短发。
同事推荐了Newark Gloss Salon,我也相信一定不错的。但是不知道他们会不会make a
mess,因为我的头发又粗又厚,美国人不会理。
请再推荐华人或韩国理发店。
多谢多谢!
☆─────────────────────────────────────☆
callerid (id) 于 (Mon Aug 16 18:30:37 2010, 美东) 提到:
co-ask,费城有没有好发廊
☆─────────────────────────────────────☆
berry123 (哈) 于 (Mon Aug 16 19:06:44 2010, 美东) 提到:
http://www.mitbbs.com/article/PHILADELPHIA/31206455_0.html
☆──────────... 阅读全帖 |
|
i**w 发帖数: 883 | 19 [custom-park]
exten => s,1,Wait(2)
exten => s,n,Set(GVNUM=GV_NUM)
exten => s,n,Set(CALLPARK=75)
exten => s,n,NoOp(**CALLERID: ${CALLERID(number)})
exten => s,n,GotoIf($["${CALLERID(number)}"="${GVNUM}"]?6:7)
exten => s,n,ParkedCall(${CALLPARK})
你这个里面GotoIf的index不对 |
|
g**d 发帖数: 723 | 20 哈哈, 把kanke的楼歪掉了, 重开一个问一下.用了如下的conf, GV_NUMBER也在nonoh里
verify了. 但是打在我手机上仍然显示"private".怎么解决?
asterisk1.6
extension.conf
[call-with-nonoh]
exten => _X.,1,ExecIf($[ "${CALLERID(name)}" = "" ] ,Set(CALLERID(name)=1${
GV_NUMBER}))
exten => _X.,n,Set(CALLERID(number)=1${GV_NUMBER})
exten => _X.,n,Set(CALLERPRES()=allowed_not_screened)
exten => _X.,n,Dial(SIP/${EXTEN}@nonoh,90,r)
sip.conf
[nonoh]
type=peer
host=sip.nonoh.net
username=NONOH_ID
secret=NONOH_PASS
nat=yes
fromdomain=sip.nonoh.net
fromuser=1 |
|
a9 发帖数: 21638 | 21 ten => s,1,ExecIf($["${CALLERID(num)}"="xxxxx"]?SET(CALLERID(name)=repast))
把callerid(num)改成${EXTERN}就行了。
母, |
|
i**w 发帖数: 883 | 22 这一段有问题
[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... 阅读全帖 |
|
i**w 发帖数: 883 | 23 这个SipGate的CallerID问题很诡异,有时候会加前缀1,有时候不加,看一下SipGate
的incoming history,有时候会是(XXX)XXX XXXX,有时候会是11XXX XXX XXXX。
我的dialplan里面,GV_NUMBER应该定义为10位:XXX XXX XXXX
这样,下面的dialplan对有没有1前缀的CallerID都可以正确处理:
exten => ${SipGate_DID},1,GotoIf($[${CALLERID(num)}=~"(\d)?${GV_NUMBER}" > 0
]?:normalcall) |
|
m******m 发帖数: 445 | 24 多谢。我改了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... 阅读全帖 |
|
m******m 发帖数: 445 | 25 多谢。我改了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... 阅读全帖 |
|
p**i 发帖数: 688 | 26 我这个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... 阅读全帖 |
|
w*j 发帖数: 336 | 27 很奇怪的现象发生了。刚才去google voice的设置里,随便在那里选中了sipgate (
google chat也选中着),给GV号打了个电话测试,结果自然是不通。然后就又把
sipgate去掉了。然后打给GV,忽然就有来电振铃了,asterisk -rvvvv也有显示:
-- Executing [[email protected]@google-in:1] GotoIf("Gtalk/+来电电话-10bc", "0?
bridged") in new stack
-- Executing [[email protected]@google-in:2] NoOp("Gtalk/+来电电话-10bc", "
Callerid +来电电话@voice.google.com/srvres-MTAuMTM4LjM4LjM6OTg1MQ==") in
new stack
-- Executing [[email protected]@google-in:3] Set("Gtalk/+来电电话-10bc", "
CALLERID(num)=+来电电话") in new stack
-- Exe... 阅读全帖 |
|
w****d 发帖数: 128 | 28 这里是所有的信息。老大看看是不是有其他的问题。
-- Executing [X***[email protected]@google-in:1] GotoIf("Gtalk/+1617XXXXXX-
a446", "0?bridged") in new stack
-- Executing [X***[email protected]@google-in:2] NoOp("Gtalk/+1617XXXXXX-a446"
, "Callerid +*********[email protected]/srvres-MTAuMjIwLjIxNy4xMzc6OTgyMA=
=") in new stack
-- Executing [X***[email protected]@google-in:3] Set("Gtalk/+1617XXXXXX-a446",
"CALLERID(num)=+1617XXXXXX") in new stack
-- Executing [X***[email protected]@google-in:4] Set("Gtalk/+1617XXXXXX-a446",
"C... 阅读全帖 |
|
D*******l 发帖数: 5462 | 29 拨的是0118613312345678,asterisk给我拨少了一个号,成了011861331234567。
哪里的问题?
extensions.conf
[default]
exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})
exten => _011x.,1,Dial(${CALLERID(num)})@callwithus)
-------------------------------------------------------------------
asterisk -rvvv 看到下面的。
Executing [011861331234567@outbound2:2] Goto("SIP/222-00000001", "outbound,
011861331234567,1") in new stack |
|
e**********i 发帖数: 108 | 30 谢谢,这个问题终于弄好了。 现在能打人打出,但是通话质量很差,试试微调一下
sipura看看会不会好点。
现在打进来的时候,虽然能通,可显示还有两errors,google了一下,在modules.conf
加了load => app_senddtmf.so,load => func_odbc.so,load => func_db.so,问题
依旧。试过autoload=yes也不行,不知道什么原因。错误信息如下:
[Oct 10 09:37:11] ERROR[1276]: pbx.c:3669 ast_func_read: Function DB_EXISTS
not registered
-- Executing [M***[email protected]@google-in:1] GotoIf("Gtalk/+17778889999-
4b7e", "?bridged") in new stack
-- Executing [M***[email protected]@google-in:2] NoOp("Gtalk/+17778889999-4b7e
", "Callerid +... 阅读全帖 |
|
e**********i 发帖数: 108 | 31 按照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 | 32 按照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... 阅读全帖 |
|
d**u 发帖数: 1639 | 33 ☆─────────────────────────────────────☆
lllllll (lllllll) 于 (Mon Sep 6 18:05:07 2010, 美东) 提到:
谢谢大家对我们腐败的支持。应很多住在KOP和西费朋友的要求,我们把这周的腐败改
道了Upper Darby,这样对这两边的朋友都相对比较方便些。
时间:周五(09/10)下午7:00 -- 7:30
地点:Upper Darby Philly's Buffet
7260 Marshall Rd
Upper Darby, PA 19082
(610) 284-9000
报名:报名截止时间到星期五(09/09)晚上12时。 有意者报名从速!
现在我们已有6-7名同学参加,有意加入的朋友请尽快与我联系。我会在周中向大家汇
报参加此次活动同学的名单。
P.S.听说此店可以免费接送住在西费的朋友,但从来没有使用过这个服务,所以有人愿
意,可以与店里联系。
请继续支持我们的活动,认识新朋友.............
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>... 阅读全帖 |
|
d**u 发帖数: 1639 | 34 ☆─────────────────────────────────────☆
jianan (JiaNan) 于 (Thu Oct 28 20:38:25 2010, 美东) 提到:
迟到的总结
我们一行20人在晚上8点左右到达。没想到,halloween都过去一周了,还是人很多。站在门口等的时候,气氛就超
好,时不时的有各式恐怖分子吓唬人。最恐怖的是一个在地上趴的“犯人”抓你的脚。还有一个白衣小鬼不做声的站到你
身后,趁你不注意的时候吓唬你。当时,我们几个女生在攀谈,眼睁睁的看着他站到一个女生身后,那个女生丝毫没有
意识到,继续讲话。。。几秒钟后,就听到她的尖叫声。嘻嘻,目睹这一起很好玩儿~~
在漫长的排队等待的时候,我们大家就开始自己人吓唬自己人。呵呵,某位男生尖叫的很“性感”(引用)
真正要进监狱的时候,我们被分成6,6,8人三组。里面有不同的场景,如废弃的school bus, 哀号遍野的监狱,恐怖的
医院,night watch等。值得一提的是竟然还有绚烂的3D场景,不过当你戴着3d眼镜的时候,你根本无法注意到突然冒
出来的“小鬼”。
一群人当中既有胆大的,也有胆... 阅读全帖 |
|
i**w 发帖数: 883 | 35 电话卡好像做不到。Skype-out会把验证过的手机号作为callerid;有些voip service
provider也可以设置callerid。 |
|
p**i 发帖数: 688 | 36 用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 |
|
a9 发帖数: 21638 | 37
CALLERID
}})
加上下面这句试试。
xxxxxxxxxx是你的gv号码
exten => SIP_NUM,n,ExecIf($["${CALLERID(num)}"="xxxxxxxxxx"],ParkedCall,75)
)= |
|
a9 发帖数: 21638 | 38 这个放在00002里。
另外,上面加上一句 exten => SIP_NUM,n,NoOp(callerid is ${CALLERID(num)})
ParkedCall, |
|
p**i 发帖数: 688 | 39 应该可以,如果你的gv-inbound的context有check CALLERID. 你不妨试一下
如果你的gv-inbound的context没有check CALLERID, 需要再把context优化
普通的incoming call不需要走gvoice的setup |
|
c**y 发帖数: 2282 | 40 我觉得楼主的意思是,同一个号码打来的,他有两个GV号码,要做区分。这样用
CALLERID好像就不行了,因为CALLERID还是一样的 |
|
a9 发帖数: 21638 | 41 首先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=... 阅读全帖 |
|
k****t 发帖数: 2288 | 42 目前看来我的sipgate的callerid都是加1的。你这个
$[${CALLERID(num)}=~"(\d)?${GV_NUMBER}"
是说只要包含gv_number的字符串就是大于0的,对吧!!
如果碰到问题了再修改吧~~ |
|
s*******d 发帖数: 4135 | 43 更weird的事情发生了:
== Parked Local/6022189742@custom-gv-5a91;2 on 75 (lot default). Will
timeout back to extension [custom-gv] s, 1 in 30 seconds
-- Added extension '75' priority 1 to parkedcalls (0x438a70)
-- Playing 'digits/7.gsm' (language
'en')
-- Playing 'digits/5.gsm' (language
'en')
-- Started music on hold, class 'default', on Local/6022189742@custom-gv
-5a91;2
== Spawn extension (custom-gv, s, 1) exit... 阅读全帖 |
|
r****t 发帖数: 10904 | 44 不应该,我这儿大概是 7 秒左右,应该只比固话慢 3 秒左右。
固话应该也有个 4-5 秒。
送 sipgate 号码的问题用 CALLERID() 加适当参数试试,我还没有搞过,不过
CALLERID 加参数可能行。 |
|
t***n 发帖数: 546 | 45 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 (... 阅读全帖 |
|
p**i 发帖数: 688 | 46 这个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()
那个 |
|
l*****7 发帖数: 1125 | 47 打出没问题,打进不振铃
asterisk -rvvv后的信息:
JABBER: phone INCOMING:
"SIP357561136@10.
... 阅读全帖 |
|
b*****n 发帖数: 221 | 48 用dummy教程设的RT-N16,asterisk + gv.GV可以打出,对方显示的号码也是对的.但无法打入.总是进voice mail.ipkall可以打入.
大伙帮忙看看(修正过):
gtalk.conf
[general]
context=google-a-in ; Context to dump call into
allowguest=yes
bindaddr=0.0.0.0
externip=xx.xxx.xxx.248
[guest] ; special account for options on guest account
disallow=all
allow=ulaw
context=google-a-in
[a-gtalk]
[email protected]/Talk
disallow=all
allow=ulaw
context=google-a-in
connection=a
jabber.conf
[general]
autoprune=no
autoregister=yes
[a]
t... 阅读全帖 |
|
j*****g 发帖数: 463 | 49 更新:
瞎蒙出来根据区号,选择性使用哪一 GV account。
但 CID 似乎还没弄出来。如果有大侠,能否帮忙搞定 CallerID,并检查一下语法. 多谢。
原问题和代码如下
==============================
用 SIPGate + GoogleVoice + SIPSorcery, 一直用 Simple Dial plan.
有哪位高人能发个具有如下功能的 Complex Dial plan 么?
1. 根据区号自动选择使用哪一 GV account.
本人有两个 GV account, 一个搬家前的区号,另一搬家后现在的区号。希望和老朋
友联系时用搬家前的号码。打现在本地时,使用新的号码。
2. 来电显示
现在来电显示在姓名处显示的是 SIPGate 的号码,在电话号码处显示的是对方真实号
码。希望能将 SIPGate 号码替换成对方实际姓名。
我知道网上的 Complex Dial plan 可以 Customize 实现上述功能。
想偷懒,如果谁有现成的直接能用最好。
另一方面也是实在忙得没空。
多谢。
张
Update:
=====... 阅读全帖 |
|