Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-20656

Dialplan warning ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: Core
    • Labels:
      None
    • Sprint:
      Sprint 15!
    • ToDo:
    • Module Fix Version:

      Description

      From forum https://community.freepbx.org/t/warning-ast-yyerror-after-last-updates/62096

       

      15.10.2019 i’ve updated several Freepbx 14 installations to the latest module versions. It seems everything is working fine, but after update i’ve started to get warnings in the CLI of all updated PBX. This warning appears only on outbound calls.

      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“SIP/210-00004c32”, “210”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“SIP/210-00004c32”, “”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“SIP/210-00004c32”, “off”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“SIP/210-00004c32”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“SIP/210-00004c32”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:6] ExecIf(“SIP/210-00004c32”, “0?Set(REALCALLERIDNUM=210)”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:7] ExecIf(“SIP/210-00004c32”, “0?Set(AMPUSER=210)”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:8] GotoIf(“SIP/210-00004c32”, “1?normcid”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx_builtins.c: Goto (macro-outbound-callerid,s,12)
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:12] Set(“SIP/210-00004c32”, “USEROUTCID=43210”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:13] Set(“SIP/210-00004c32”, “EMERGENCYCID=”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:14] Set(“SIP/210-00004c32”, “TRUNKOUTCID=78332256466”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:15] GotoIf(“SIP/210-00004c32”, “1?trunkcid”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx_builtins.c: Goto (macro-outbound-callerid,s,21)
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:21] ExecIf(“SIP/210-00004c32”, “1?Set(CALLERID(all)=78332256466)”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“SIP/210-00004c32”, “1?Set(CALLERID(all)=43210)”) in new stack
      [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:23] ExecIf(“SIP/210-00004c32”, “1?Set(CALLERID(all)=78332256466)”) in new stack
      [2019-10-15 09:22:50] WARNING[1178][C-0000262a] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:

        • = 1 & 0 = 0**
        • ^**
          [2019-10-15 09:22:50] WARNING[1178][C-0000262a] ast_expr2.fl: If you have questions, please refer to link to asterisk org
          [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:24] ExecIf(“SIP/210-00004c32”, “?Set(CALLERID(all)=210)”) in new stack
          [2019-10-15 09:22:50] WARNING[1178][C-0000262a] ast_expr2.fl: ast_yyerror(): syntax error: syntax error, unexpected ‘=’, expecting $end; Input:
        • = 1 & 0 = 0**
        • ^**
          [2019-10-15 09:22:50] WARNING[1178][C-0000262a] ast_expr2.fl: If you have questions, please refer to link to asterisk org
          [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:25] ExecIf(“SIP/210-00004c32”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
          [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:26] ExecIf(“SIP/210-00004c32”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
          [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:27] Set(“SIP/210-00004c32”, “CDR(outbound_cnum)=78332256466”) in new stack
          [2019-10-15 09:22:50] VERBOSE[1178][C-0000262a] pbx.c: Executing [s@macro-outbound-callerid:28] Set(“SIP/210-00004c32”, “CDR(outbound_cnam)=”) in new stack

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jphilip Philip Joseph
                  Reporter:
                  billsimon billsimon
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: