| 263 | | exten => s,n,GotoIf($["${the_num}" = "OUTNUM"]?20:21) ; if we didn't find "OUTNUM", then skip to Dial |
|---|
| 264 | | exten => s,n,Set(the_num=${OUTNUM}) ; replace "OUTNUM" with the actual number to dial |
|---|
| 265 | | exten => s,n,Dial(${pre_num:4}${the_num}${post_num},120,${TRUNK_OPTIONS}) |
|---|
| | 263 | exten => s,n,GotoIf($["${the_num}" = "OUTNUM"]?outnum:skipoutnum) ; if we didn't find "OUTNUM", then skip to Dial |
|---|
| | 264 | exten => s,n(outnum),Set(the_num=${OUTNUM}) ; replace "OUTNUM" with the actual number to dial |
|---|
| | 265 | exten => s,n(skipoutnum),Dial(${pre_num:4}${the_num}${post_num},120,${TRUNK_OPTIONS}) |
|---|