Giter Club home page Giter Club logo

Comments (1)

carlsondan avatar carlsondan commented on August 22, 2024

Yes, have a look at Sccp.class.php. I'm not sure why this is being done, but effectively, the code is taking what is being populated in the outboundcid field and assigning it to the cid_num field in the sccpline table. If you add a new line and the outboundcid field is left blank then the cid_num field in the sccpline table is given a null value. This causes problems for internal calling and for accessing voice mail (*97), where it does not recognize the extension.

The workaround I did involved removing the code that assigned outboundcid to $settings['cid_num']['value'], modified code to parse outboundcid if it included cid name and number and assign number to $outboundcid only. I then assigned a the $id value (the extension number) to $settings['cid_num']['value'].

After making these changes, doing a "sccp show line XXXX" shows both the "Caller ID name" and the "Caller ID number" properly. Doing a "database show ampuser XXXX" shows the correct information in /AMPUSER/XXXX/cidname, /AMPUSER/XXX/cidnum, and /AMPUSER/XXXX/outboundcid. Putting a value in the "Outbound CID" form field only changes /AMPUSER/XXXX/outboundcid as I believe it should. More importantly, doin an internal call display the correct cid_name and cid_number on the receiving end, and when the user dials voice mail (*97), it recognizes the calling extension. If an oubound call is made and value was put into the "Outbound CID" form field, then that override value is sent out the trunk line.

from sccp_manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.