Asterisk
  1. Asterisk
  2. ASTERISK-8155

wrong behavior of 'L(x:y:z)' parameters in Dial application

    Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Component/s: Applications/app_dial
    • Labels:
      None
    • Mantis ID:
      8386
    • Regression:
      No

      Description

      the example of it is so:

      – Executing Set("SIP/phone3-0817b868", "LIMIT_PLAYAUDIO_CALLER=yes") in new stack
      – Executing Set("SIP/phone3-0817b868", "LIMIT_PLAYAUDIO_CALLEE=no") in new stack
      – Executing Set("SIP/phone3-0817b868", "LIMIT_TIMEOUT_FILE=hello-world") in new stack
      – Executing Set("SIP/phone3-0817b868", "LIMIT_CONNECT_FILE=hello-world") in new stack
      – Executing Set("SIP/phone3-0817b868", "LIMIT_WARNING_FILE=hello-world") in new stack
      – Executing Dial("SIP/phone3-0817b868", "SIP/phone1|20|L(15000:10000:5000)") in new stack
      – Limit Data for this call:
      – - timelimit = 15000
      – - play_warning = 10000
      – - play_to_caller= yes
      – - play_to_callee= no
      – - warning_freq = 5000
      – - start_sound = hello-world
      – - warning_sound = hello-world
      – - end_sound = hello-world
      – Called phone1
      – SIP/phone1-08181790 is ringing
      – SIP/phone1-08181790 answered SIP/phone3-0817b868
      – Playing 'hello-world' (language 'en')
      == Spawn extension (l_call, 1, 6) exited non-zero on 'SIP/phone3-0817b868'

      So it plays only the first sound (start_sound) with starting the call.
      And then it makes hungup after 'x-y' ! ms with no 'warning sound' or even 'end_sound' . But it should do hungup after 'x' ms.

                • ADDITIONAL INFORMATION ******

      my context for example:

      [l_call]
      exten => 1,1,SET(LIMIT_PLAYAUDIO_CALLER=yes)
      exten => 1,n,SET(LIMIT_PLAYAUDIO_CALLEE=no)
      exten => 1,n,SET(LIMIT_TIMEOUT_FILE=hello-world)
      exten => 1,n,SET(LIMIT_CONNECT_FILE=hello-world)
      exten => 1,n,SET(LIMIT_WARNING_FILE=hello-world)
      exten => 1,n,Dial(SIP/phone1,20,L(15000:10000:5000))

        Activity

        No work has yet been logged on this issue.

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development