All pastes #266696 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-12-04 09:30 UTC
rendered paste body
The following dialplan doesn't execute as planned, after running Wait(20), processing doesn't conitnue after 20 seconds.

the log:

Dec  4 11:23:51 VERBOSE[12052] logger.c:     -- Executing NoOp("IAX2/VG-ACSA-RTT-3", "Extension 1036 is reporting BUSY") in new stack
Dec  4 11:23:51 DEBUG[12052] pbx.c: Expression result is '0'
Dec  4 11:23:51 VERBOSE[12052] logger.c:     -- Executing GotoIf("IAX2/VG-ACSA-RTT-3", "0?50") in new stack
Dec  4 11:23:51 DEBUG[12052] pbx.c: Not taking any branch
Dec  4 11:23:51 VERBOSE[12052] logger.c:     -- Executing NoOp("IAX2/VG-ACSA-RTT-3", "Going to ringback to 1006") in new stack
Dec  4 11:23:51 DEBUG[12052] pbx.c: Expression result is '0'
Dec  4 11:23:51 VERBOSE[12052] logger.c:     -- Executing GotoIf("IAX2/VG-ACSA-RTT-3", "0?30") in new stack
Dec  4 11:23:51 DEBUG[12052] pbx.c: Not taking any branch
Dec  4 11:23:51 VERBOSE[12052] logger.c:     -- Executing Ringing("IAX2/VG-ACSA-RTT-3", "") in new stack
Dec  4 11:23:51 VERBOSE[12052] logger.c:     -- Executing Wait("IAX2/VG-ACSA-RTT-3", "20") in new stack
Dec  4 11:24:22 WARNING[12052] pbx.c: Timeout, but no rule 't' in context 'from-internal'
Dec  4 11:24:22 VERBOSE[12052] logger.c:     -- Executing Macro("IAX2/VG-ACSA-RTT-3", "hangupcall") in new stack


the dialplan

[ Context 'macro-ringback-custom' created by 'pbx_config' ]
  's' =>            1. NoOp(macro-ringback-custom)                [pbx_config]
                    2. NoOp(Findme)                               [pbx_config]
                    3. Macro(dumpvars)                            [pbx_config]
                    4. Set(RINGBACKSTATUS=${ARG1})                [pbx_config]
                    5. Set(ORIGEXT=${ARG2})                       [pbx_config]
                    6. Set(EXTCIDNAME=${DB(AMPUSER/${ORIGEXT}/cidname)}) [pbx_config]
                    7. NoOp(Extension ${ORIGEXT} is reporting ${RINGBACKSTATUS}) [pbx_config]
                    8. GotoIf($["${BLINDTRANSFER}" = ""]?50)      [pbx_config]
                    9. NoOp(Going to ringback to ${BLINDTRANSFER:4:4}) [pbx_config]
                    10. GotoIf($["${RINGBACKSTATUS}" = "CONGESTION"]?30) [pbx_config]
                    11. Ringing()                                 [pbx_config]
                    12. Wait(20)                                  [pbx_config]
                    30. Set(CALLERID(name)=RB:${EXTCIDNAME})      [pbx_config]
                    31. Goto(r-${BLINDTRANSFER:4:4}|1)            [pbx_config]
                    50. Busy()                                    [pbx_config]
                    51. Wait(60)                                  [pbx_config]
                    52. Hangup()                                  [pbx_config]
  '_r-1[0123456789]XX' => 1. Goto(from-pstn|1000|1)                     [pbx_config]