p**i 发帖数: 688 | 4 用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 |
|