2017-09-15 28 views
0

如果我想使用Plivo API進行呼叫,我需要有源代碼和目標代碼。但是,源代碼必須與我的Plivo帳戶相關聯。但是在閱讀他們的教程時,他們提到購買一個Plivo號碼是可選的,只有當你想接聽電話時才需要。我只想發送電話。任何人都知道如何使用nodejs中的Plivo使用免費帳戶進行通話?使用Plivo在nodejs上設置源代碼

var params = { 
    'to': '2222222222', // The phone numer to which the all has to be placed 
    'from' : '1111111111', // The phone number to be used as the caller id 
    'answer_url' : "https://some-url/speak.xml", // The URL invoked by Plivo when the outbound call is answered 
    'answer_method' : "GET", // The method used to call the answer_url 
}; 

回答

0

顯然,您可以使用任何數字作爲來源。就像它不需要註冊。所以,'from' : '1111111111'實際上會工作。