question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with DBPutAction

See original GitHub issue
asternet.SendAction(new DBPutAction("/AMPUSER/2001", "cidnum", 2002))

this returns success but the values aren’t actually being written, not sure where to start on this one

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Deantwocommented, Mar 28, 2019

Sounds dangerous to alter the user’s input. In a future Asterisk version it could be a feature to set a leading / for example.

Best to just direct people to the (lacking) Asterisk documentation and other resources that describe how to use this AMI command.

I found the answer just by looking at the Asterisk forum, and noticed that no one was using a leading /.

0reactions
moldypenguinscommented, Mar 28, 2019

that was the issue. thank you so much.

on that note maybe a check for leading slash in future versions?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PAMI Message Action DBPutAction
The ActionID can be at most 69 characters long, according to Asterisk Issue 14847. Therefore we'll throw an exception when the ActionID is...
Read more >
[asterisk-users] AMI - DBPut
I'm using AMI on Asterisk 1.2.15 and I'm having problems with DBPut action. If I execute this: Action: DBPut. Family: checkin. Key: 316....
Read more >
ASTERISK-03380: [patch] manager actions 'dbget' and 'dbput'
Versions: Frequency of. Occurrence. Related Issues: ... The DBPut action simply returns a response. Action: DBGet. Family: EXT Key: 100. Response: Success
Read more >
Example in wiki doesn't work · Issue #4 · augcampos/asterisk-cpp
Hi, I tried to test the example in the wiki but I can't compile it correctly, this is error displayed after compilation: root@debian:~#...
Read more >
Getting class ApiIndex not found? ▷ Download fullduplexuk/pami ...
Please go to our download page to download this composer package and to solve the problem class 'ApiIndex' not found. Download fullduplexuk/pami.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found