exten => _X.,1,Set(GROUP()=provider1)
same => n,GotoIF($[${GROUP_COUNT(provider1)} > 1]?prov2)
same => n,Dial(SIP/provider1/${EXTEN},60)
same => n(prov2),Set(GROUP()=provider2)
same => n,GotoIF($[${GROUP_COUNT(provider2)} > 4]?prov3)
same => n,Dial(SIP/provider2/${EXTEN},60)
same => n(prov3),Set(GROUP()=provider3)
same => n,GotoIF($[${GROUP_COUNT(provider3)} > 10]?stop)
same => n,Dial(SIP/provider3/${EXTEN},60)
same => n(stop),Hangup()
asterisk -rx "module show like cdr_odbc"
ls -1 /usr/lib/asterisk/modules/ | grep cdr_odbc
yum search asterisk | grep -i odbc
apt-cache search asterisk | grep -i odbc
$ telnet 192.168.1.100 5038
Action: login
Username: extracdr
Secret: extracdr
Action: Command
Command: core show channels
same => n,Answer(0.5)
same => n,Busy(20)
same => n,Hangup()
same => n,Playtones(busy)
same => n,Busy(20)
same => n,Hangup()
chown asterisk:asterisk -R /var/log/asterisk
chown asterisk:asterisk -R /var/run/asterisk
su asterisk
asterisk -cvvvvddddd
<authPassword>308b1d7be99f3b826bd877db92af090d</authPassword>
secret=ae2d9ee27dcaa877e5288f1f01a76021
Action: Originate
Channel: SIP/prov/89123456789
Context: test
Exten: anons
Priority: 1
Variable: anons=beep
[test]
exten => anons,1,Dial(SIP/100,15,A(${anons}))
Лучшее соотношение цена/качество среди телефонных систем до 50 пользователей
Unlimited extensions: Connect as many VoIP phones to AskoziaPBX as you want. However, we recommend AskoziaPBX for installations with up to 100+ phones. This is what we designed the software for and where we grantee smooth operation. Nevertheless, there’s nothing in the software that prevents you from using more phones.