's' => 1. SetVar(ANUMBER=${ARG2}) [pbx_config] 2. Goto(198) [pbx_config] 198. Playtones(ring) [pbx_config] 199. SetVar(times=0) [pbx_config] 200. GotoIf($[${DATETIME:-1} > 4]?300:500) [pbx_config] 300. Dial(SIP/${ARG1}@sipout-a-${ANUMBER}|30|r) [pbx_config] 301. SetVar(status=${DIALSTATUS}) [pbx_config] 302. SetVar(times=$[${times} + 1]) [pbx_config] 303. GotoIf($[${times} > 1]?600:304) [pbx_config] 304. GotoIf($["${status}" = "CONGESTION"]?500:305) [pbx_config] 305. GotoIf($["${status}" = "NOANSWER"]?500:600) [pbx_config] 500. Dial(SIP/${ARG1}@sipout-b-${ANUMBER}|30|r) [pbx_config] 501. SetVar(status=${DIALSTATUS}) [pbx_config] 502. SetVar(times=$[${times} + 1]) [pbx_config] 503. GotoIf($[${times} > 1]?600:504) [pbx_config] 504. GotoIf($["${status}" = "CONGESTION"]?300:505) [pbx_config] 505. GotoIf($["${status}" = "NOANSWER"]?300:600) [pbx_config] 600. GotoIf($["${status}" = "BUSY"]?700:800) [pbx_config] 700. Playtones(Busy) [pbx_config] 701. Wait(5) [pbx_config] 702. Hangup() [pbx_config] 800. Playtones(Info) [pbx_config] 801. Wait(5) [pbx_config] 802. Hangup() [pbx_config]