Closed sammachin closed 7 years ago
I have 46 numbers on my account,
Running an app:numbers command for an app ID returns no numbers if the linked ones are outside the first 10 results,
app:numbers
Works fine for numbers in the first 10
Sams-iMac:~ smachin$ nexmo -V 0.3.5 Sams-iMac:~ smachin$ nexmo apps | grep Alexa bd88e230-101e-4fa6-be0a-64e8401f7ab8 | Alexa MyMessages Sams-iMac:~ smachin$ nexmo app:numbers bd88e230-101e-4fa6-be0a-64e8401f7ab8 Sams-iMac:~ smachin$ nexmo numbers -v | grep bd88e230-101e-4fa6-be0a-64e8401f7ab8 442038614515 | GB | landline | VOICE | app | bd88e230-101e-4fa6-be0a-64e8401f7ab8 | undefined | undefined 442038795480 | GB | landline | VOICE | app | bd88e230-101e-4fa6-be0a-64e8401f7ab8 | undefined | undefined 447520615900 | GB | mobile-lvn | VOICE,SMS | app | bd88e230-101e-4fa6-be0a-64e8401f7ab8 | undefined | undefined Sams-iMac:~ smachin$ nexmo app:numbers bd88e230-101e-4fa6-be0a-64e8401f7ab8 --debug info: Request: { host: 'rest.nexmo.com', port: 443, path: '/account/numbers?&api_key=XXXXXXX&api_secret=XXXXXXX', method: 'GET', headers: { 'Content-Type': 'application/x-www-form-urlencoded', Accept: 'application/json', 'User-Agent': 'nexmo-node/2.0.1 node/4.4.4 nexmo-cli/0.3.5' } } Body: undefined info: response ended: 200 Validator.response() - Error: null Validator.response() - Response: { count: 46, numbers: [ { country: 'US', msisdn: '13022811212', type: 'mobile-lvn', features: [Object], voiceCallbackType: 'app', voiceCallbackValue: 'dda377cf-bb9e-4a81-8986-e39bd45e2534' }, { country: 'US', msisdn: '14086505900', type: 'mobile-lvn', features: [Object], voiceCallbackType: 'app', voiceCallbackValue: 'c28977ce-56dd-426b-a281-578a011fdea3' }, { country: 'US', msisdn: '14156195700', type: 'mobile-lvn', features: [Object], voiceCallbackType: 'vxml', voiceCallbackValue: 'http://callalexa.herokuapp.com/call' }, { country: 'US', msisdn: '14705750106', moHttpUrl: 'http://lexdemo.herokuapp.com/sms', type: 'mobile-lvn', features: [Object], voiceCallbackType: 'app', voiceCallbackValue: 'ff43296b-19f0-4e3e-aec2-b40d0e7605e0' }, { country: 'US', msisdn: '18084683038', type: 'mobile-lvn', features: [Object], voiceCallbackType: 'vxml', voiceCallbackValue: 'http://callalexa.herokuapp.com/call' }, { country: 'US', msisdn: '19732984300', type: 'mobile-lvn', features: [Object], voiceCallbackType: 'app', voiceCallbackValue: '7dab9d79-51e6-43a1-94d1-60f7d793241f' }, { country: 'NL', msisdn: '3197010240032', moHttpUrl: 'https://pimatrixsms.herokuapp.com/sms', type: 'landline', features: [Object] }, { country: 'BE', msisdn: '32460208330', moHttpUrl: 'https://emfsmstalk.herokuapp.com/sms', type: 'mobile-lvn', features: [Object] }, { country: 'FR', msisdn: '33644630009', moHttpUrl: 'https://pimatrixsms.herokuapp.com/sms', type: 'mobile-lvn', features: [Object] }, { country: 'IE', msisdn: '35315295110', type: 'landline', features: [Object], voiceCallbackType: 'vxml', voiceCallbackValue: 'http://callalexa.herokuapp.com/call' } ] } End Validator.response()
I have 46 numbers on my account,
Running an
app:numbers
command for an app ID returns no numbers if the linked ones are outside the first 10 results,Works fine for numbers in the first 10