I’m trying to dial 2 extensions at one time but it doesn’t seem to work.
i have two asterisk test servers so this isn’t on the production boxes.
[servera]
[serverb]
both have a iax between each other and is dual-homed but on 2 separate networks, public and private. they both link via the local subnet 192.168.0.0/24.
How can I dial the local extension and the Iax connection on the other server?
So that if servera(local) shuts down the call still rings on serverb and if they are both up they both ring until one answers and if not answer is found it then goes to voicemail.
Server A: -exten => s,1,Dial(${ARG2}/${ARG1}&IAX2/serverb/${ARG1},30,r)
Server B: -exten => s,1,Dial(${ARG2}/${ARG1}&IAX2/servera/${ARG1},30,r)
Assuming that the dialplan context where the IAX server-server calls land up has access to the extension by just dialing it’s number (${ARG1}). But, it must only dial the local one so you’ll need another macro e.g. something like: -[code][macro-localdial]
exten => s,1,Dial(${ARG2}/${ARG1},30,r)
…