Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No hint update #607

Open
sawik-PL opened this issue Feb 2, 2024 · 0 comments
Open

No hint update #607

sawik-PL opened this issue Feb 2, 2024 · 0 comments

Comments

@sawik-PL
Copy link

sawik-PL commented Feb 2, 2024

Short description of problem here
A displayed hint is not updated on the extension state change. Eg.: ext1 displayed instead of ext2 => ext1 or ext2 <=> ext1

Reproduction Steps:
Discovered in a following configuration:

  • Cisco 7962 + 7914 addon
  • button config:
    • 7962: line(0), feature, speed dial x4 (0-3)
    • 7614: line(1), speed dials... (4-)
  • issue appears on the first speed dial (position 3, speed dial instance 0 on 7962)

Investigation
The hint is created in src/sccp_hint.c in function sccp_hint_addSubscription4Device(). Then a deviceType is determined (in a wrong way). Finally, if a device is 7914, a hint is reset (due to some issues with 7914 - according to a comment in the code). I've applied a small fix that works for me.
0001-BLFs-fixed-when-lines-mixed-with-speeddials.patch.txt

chan-sccp version: master
asterisk version: 18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant