I'm sure this is both simple and been asked before, but I cant find it and don't get it.
The callboth bit
So if I already do my dial plans in the trunk settings, I can dispense with that and just pass all/any numbers onto the trunk ? If thats right what would that look like ?
edit/ Ive puzzled this for a good while, 2 minutes after posting it came to me, replace the lot with _X.
The callboth bit
This is matching numbers to that pattern and passing them onto the trunk you picked ?[custom-callboth]
exten => _1NXXNXXXXXX,1,Wait(1)
exten => _1NXXNXXXXXX,2,Background(pls-wait-connect-call)
exten => _1NXXNXXXXXX,3,Macro(dialout-trunk,3,${EXTEN},)
exten => _1NXXNXXXXXX,4,Macro(outisbusy) ; No available circuits
exten => _NXXNXXXXXX,1,Wait(1)
exten => _NXXNXXXXXX,2,Background(pls-wait-connect-call)
exten => _NXXNXXXXXX,3,Macro(dialout-trunk,3,${EXTEN},)
exten => _NXXNXXXXXX,4,Macro(outisbusy) ; No available circuits
So if I already do my dial plans in the trunk settings, I can dispense with that and just pass all/any numbers onto the trunk ? If thats right what would that look like ?
edit/ Ive puzzled this for a good while, 2 minutes after posting it came to me, replace the lot with _X.