Nami icon indicating copy to clipboard operation
Nami copied to clipboard

Doubt using VoicemailUsersList

Open jesusprubio opened this issue 11 years ago • 2 comments

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 avatar Oct 27 '14 21:10 jesusprubio

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

marcelog avatar Oct 27 '14 23:10 marcelog

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

jesusprubio avatar Oct 28 '14 01:10 jesusprubio