使用Asterisk的.Call文件拨打电话

时间:2013-12-24 17:07:54

标签: asterisk

您好,先谢谢您的帮助。 我刚刚使用查看此站点的其中一个教程安装了带星号的chan_dongle。目前我可以使用软电话拨打和接听电话,但是你,我想自动打电话给星号。 到我的时候。

的extensions.conf

; Asterisk basic conf files
; By Giovanni Bosa - giovbs@gmail.com -
; Build 01/01/2013

[general]
static=yes
writeprotect=no
clearglobalvars=no

[globals]
LINE1=SIP/101



[FromDongle]
exten => +584147390386,1,Dial(${LINE1},50)
same => n,Hangup()

exten => sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${BASE64_DECODE(${SMS_BASE64})})
exten => sms,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DONGLENAME} - ${CALLERID(num)}$
exten => sms,n,Hangup()

exten => ussd,1,Verbose(Incoming USSD: ${BASE64_DECODE(${USSD_BASE64})})
exten => ussd,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DONGLENAME}: ${BASE64_DECODE($
exten => ussd,n,Hangup()

[modulo01]
exten => _X.,1,Dial(Dongle/modulo01/${EXTEN},60)
exten => _X.,n,Playback(/var/lib/asterisk/sounds/en/textveloper)
exten => _X.,n,Hangup()

[oreilly]
exten => _X.,1,Answer()
exten => _X.,n,Playback(demo-moreinfo)
exten => _X.,n,Hangup()

每次我要拨打var / spool / asterisk / outbound /

中的拨出电话时复制文件

makcall.call

Channel: SIP/101
MaxRetries: 1
RetryTime: 20
WaitTime: 10
Context: oreilly
Extension: 101
Priority: 1

使用这2个文件如何拨打号码4247054406?无需使用软电话拨号码?

1 个答案:

答案 0 :(得分:1)

改变makecall.call

Channel: Dongle/modulo01/4247054406

注意,非专家创建拨号器是非常糟糕的主意,你会有很多其他问题。