z****n 发帖数: 26 | 1 请教asterisk高手,我的DOCKSTAR装有asterisk1.8联了三个分机,每个分机都能用GV外
线打进,打出均正常.但分机打另一个分机只响铃二次就出忙音,不知哪里可设置响铃次
数和外线打入时怎么指定某个分机响铃.先谢了. | a9 发帖数: 21638 | 2 看看extensions.conf啊。是不是dial的时间太短了?
【在 z****n 的大作中提到】 : 请教asterisk高手,我的DOCKSTAR装有asterisk1.8联了三个分机,每个分机都能用GV外 : 线打进,打出均正常.但分机打另一个分机只响铃二次就出忙音,不知哪里可设置响铃次 : 数和外线打入时怎么指定某个分机响铃.先谢了.
| z****n 发帖数: 26 | 3 多谢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)
exten => s,n, Hangup
exten => 101, 1, Dial(SIP/101, 10)
exten => 102, 1, Dial(SIP/102, 10)
exten => 103, 1, Dial(SIP/103, 10)
exten => 104, 1, Dial(SIP/104, 10)
exten => 105, 1, Dial(SIP/105, 10)
[google-in]
exten => m**[email protected], 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged)
exten => m**[email protected], n, NoOp(Callerid ${CALLERID(name)})
exten => m**[email protected], n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)})
exten => m**[email protected], n, Set(CALLERID(name)=${DB(cidname/${CALLERID(num)}
)})
exten => m**[email protected], n, Answer
exten => m**[email protected], n, Wait(1)
exten => m**[email protected], n, SendDTMF(1)
exten => m**[email protected], n, Dial(SIP/101,180,)
exten => m**[email protected], n(bridged),Bridge(${DB_DELETE(gv_dialout/channel)},
p)
[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 => _2, 1, Dial(SIP/102,10)
exten => 102, 1, Dial(SIP/102,10)
exten => _3, 1, Dial(SIP/103,10)
exten => 103, 1, Dial(SIP/103,10)
exten => _4, 1, Dial(SIP/104,10)
exten => 104, 1, Dial(SIP/104,10)
exten => _5, 1, Dial(SIP/105,10)
exten => 105, 1, Dial(SIP/105,10)
[seven-digit]
exten => _NXXXXXX,1,Set(CALLERID(dnid)=1858${CALLERID(dnid)})
exten => _NXXXXXX,n,Goto(1604${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/myGV/${EXTEN}@gmail.com)
exten => _[A-Z][email protected],1,Dial(Gtalk/myGV/${EXTEN}@gmail.com)
[talk-numeric-outbound]
exten => _1NXXNXXXXXX,1,Dial(Gtalk/myGV/${EXTEN}@voice.google.com)
exten => _+1NXXNXXXXXX,1,Dial(Gtalk/myGV/${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) | a9 发帖数: 21638 | 4 exten => 101, 1, Dial(SIP/101, 10)
exten => 102, 1, Dial(SIP/102, 10)
exten => 103, 1, Dial(SIP/103, 10)
exten => 104, 1, Dial(SIP/104, 10)
exten => 105, 1, Dial(SIP/105, 10)
是不是这个10改成30?
【在 z****n 的大作中提到】 : 多谢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
| z****n 发帖数: 26 | 5
这些所有的10 我改过20 ,30 直至180. 都是一样,只响铃二次就出忙音.谢谢!
【在 a9 的大作中提到】 : exten => 101, 1, Dial(SIP/101, 10) : exten => 102, 1, Dial(SIP/102, 10) : exten => 103, 1, Dial(SIP/103, 10) : exten => 104, 1, Dial(SIP/104, 10) : exten => 105, 1, Dial(SIP/105, 10) : 是不是这个10改成30?
| a9 发帖数: 21638 | 6 加完后reload了吗?
【在 z****n 的大作中提到】 : : 这些所有的10 我改过20 ,30 直至180. 都是一样,只响铃二次就出忙音.谢谢!
| z****n 发帖数: 26 | 7 谢谢a9大大,不愧是大师,一语点中,现在行了.犯了一个低级错误,改后没重起系统.非常
感谢! |
|