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

ALERT_INFO - MP104 - Cannot parse message

    XMLWordPrintable

    Details

    • Asterisk Version:
      13.6.0
    • Distro Version:
      SHMZ release 6.6 (Final)
    • Distro:
      FreePBX Distro

      Description

      After changing my voip Gateway last night and moving it to MP104 i found that incomming calls are not reaching my voip gateway.
      After digging in my pbx logs and some debuging on the sip i found that the pbx for incomming calls was passing the header Alert-Info.
      The Alert-Info in the inbound route was set to none so this header should not have been present.
      Digging further i found that in the databse in table incomming the alertinfo field is set to: ' ' and not '' it contains a space. This space makes the macro-dial-one introduce the Alert-Info header in the sip headers.
      How can i get in touch with some one from freepbx to modify the core in order to take into consideration this fact.
      I suggest a change from:

      
      exten => s,n,GosubIf($["${ALERT_INFO}"!=""]?func-set-sipheader,s,1(Alert-Info,${ALERT_INFO}))
      

      to:

      
      exten => s,n,GosubIf($["${ALERT_INFO}"!="" & "${ALERT_INFO}"!=" "]?func-set-sipheader,s,1(Alert-Info,${ALERT_INFO}))
      

      So it takes into account the space. I also tried to modify the web page to trim the space before updateting the db table but it makes the Alert Info select not work correctly.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tm1000 Andrew Nagy
                Reporter:
                tennet Claudiu Foleanu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.