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

Doubt using VoicemailUsersList #28

Open
jesusprubio opened this issue Oct 27, 2014 · 2 comments
Open

Doubt using VoicemailUsersList #28

jesusprubio opened this issue Oct 27, 2014 · 2 comments

Comments

@jesusprubio
Copy link

Hi guys, thanks for the library, it rocks! ;). But I have a problemv with the "VoicemailUsersList" function, I'm not able to capture this event, I've tried different options. Any idea please?

var action = new namiLib.Actions.VoicemailUsersList();

ami.on('VoicemailUserEntry', function (entry) {
ami.on('namiVoicemailUserEntry', function (entry) {
ami.on('namiEvent', function (evt) {

[2014-10-27 22:01:57.970] [WARN] Nami.Client - Discarded: |ActionID: 1
Event: VoicemailUserEntry
VMContext: default
VoiceMailbox: 2000
Fullname: Support
Email:
Pager:
ServerEmail:
MailCommand:
Language:
TimeZone:
Callback:
Dialout:
UniqueID:
ExitContext:
SayDurationMinimum: 2
SayEnvelope: No
SayCID: No
AttachMessage: No
AttachmentFormat:
DeleteMessage: No
VolumeGain: 0.00
CanReview: Yes
CallOperator: Yes
MaxMessageCount: 100
MaxMessageLength: 0
NewMessageCount: 1|

@jesusprubio jesusprubio changed the title Doubt using Doubt using VoicemailUsersList Oct 27, 2014
@marcelog
Copy link
Owner

hello!

can you paste the log line with the message "Building raw message: " ? the event should have been recogniced by https://github.com/marcelog/Nami/blob/master/src/nami.js#L128

@jesusprubio
Copy link
Author

Finally I could get it working this way, but I'm not sure if it's the correct solution.
ami.on('namiRawMessage', function (evt) {
data.push(evt);
});

I'm using your module here, thanks :)
https://github.com/jesusprubio/bluebox-ng

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

2 participants