javascript - Twilio Hangup: charge for call Id -


i'm developing application using twilio , during development have been using following script grab caller id client. working treat until realised if answer call , hangup charged minute. there anyway grab callid without answering during development i'm not charged every time need test code? thoughts appreciated.

app.use(function(req, res) {   var resp = new twilio.twimlresponse();   resp.hangup();   var callid = req.body.from   res.type('text/xml');   res.send(resp.tostring());   res.end(//send callid); }); 

colin pickard got it...

resp.reject();  

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -