Asterisk
  1. Asterisk
  2. ASTERISK-2480

[request] SNOM 200 CMC code to UserData field in CDR

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Severity: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Component/s: Core/NewFeature
    • Labels:
      None
    • Mantis ID:
      2521
    • Regression:
      No

      Description

      The SNOM phones have a feature to set a CMC code on the user interface during a call. This is "client matter code", and can be used by solicitors, etc, to put their charge account number for the call in while on the call. It would be useful if asterisk could put this in to the CDR as the user data field, or have that option some how.

                • ADDITIONAL INFORMATION ******

      Using asterisk CVS-01/15/05-18:14:55 and SNOM200 3.52.
      SNOM sends an INFO message with X-ClientCode: and the entered CMC code, and Content-Length: 0. Asterisk responses with 415 Unsupported media type.

        Activity

        Hide
        revk added a comment -

        Yeh, I want to capture the INFO and put it in the userdata for the cdr at the end of the call.

        Show
        revk added a comment - Yeh, I want to capture the INFO and put it in the userdata for the cdr at the end of the call.
        Hide
        Olle Johansson added a comment -

        We really dont need a new option, just store the stuff in a channel variable named CMC and let the dial plan handle what to do with it in the CDR. (CDRUserFIeld)

        Now, any coders?

        Show
        Olle Johansson added a comment - We really dont need a new option, just store the stuff in a channel variable named CMC and let the dial plan handle what to do with it in the CDR. (CDRUserFIeld) Now, any coders?
        Hide
        Olle Johansson added a comment -

        If you put a bounty on this, I might take the time to fix this

        Show
        Olle Johansson added a comment - If you put a bounty on this, I might take the time to fix this
        Hide
        Mark Spencer added a comment -

        Added to CVS. You'll need to put "useclientcode=yes" in each user/friend/peer that you want this feature to be enabled for. Due to the security risk of allowing a user/friend/peer to adjust their CDR in any way, I've decided not to allow this to be a global configuration option.

        Show
        Mark Spencer added a comment - Added to CVS. You'll need to put "useclientcode=yes" in each user/friend/peer that you want this feature to be enabled for. Due to the security risk of allowing a user/friend/peer to adjust their CDR in any way, I've decided not to allow this to be a global configuration option.
        Hide
        Russell Bryant added a comment -

        not included in 1.0

        Show
        Russell Bryant added a comment - not included in 1.0

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development