My failover trunk as follow- exten => _9.,1,Set(GLOBAL(hkno)=00852${EXTEN:1})
- ; first try HKBN2b
- exten => _9.,n,Macro(superdial,SIP/133${EXTEN:1}@hkbn2b,,m,,,1,,,,)
- ; then try YHFung's HKBN2b
- exten => _9.,n,Dial(SIP/6207,2,M(senddigits)tr)
- ; then try SPA3000's landline
- exten => _9.,n,Macro(superdial,SIP/pstn-spa3k-d1/133${EXTEN:1},,m,,,1,,,,)
- ; then try landline at OBi110
- exten => _9.,n,Macro(superdial,SIP/**8${EXTEN:1}@obitrunk,,m,,,1,,,,)
- ; then try USG 3G modem
- exten => _9.,n,Macro(superdial,Datacard/datacard0/133${EXTEN:1},,m,,,1,,,,)
- exten => _9.,n,Hangup()
複製代碼 |