Такой вот вопрос: Допустим, у меня есть 2 SIP-аккаунта у разных провайдеров. Звонить хочу по одному определенному направлению. Как сделать так, чтобы в случае падения одного провайдера, вызов автоматически осуществлялся через другого? Ткните пожалуйста ссылкой или скажите как, ну не нашёл нигде.
asterisk1*CLI>
-= Info about application 'ChanIsAvail' =-
[Synopsis]
Check channel availability
[Description]
ChanIsAvail(Technology/resource[&Technology2/resource2...][|options]):
This application will check to see if any of the specified channels are
available. The following variables will be set by this application:
${AVAILCHAN} - the name of the available channel, if one exists
${AVAILORIGCHAN} - the canonical channel name that was used to create the channel
${AVAILSTATUS} - the status code for the available channel
Options:
s - Consider the channel unavailable if the channel is in use at all
j - Support jumping to priority n+101 if no channel is available
Делаешь типа
exten => _8X.,1,ChanIsAvail(SIP/MyProv1&SIP/MyProv2)
и имеешь то, что хотел. Наслаждайся!