Let Yun make a phone call.

  1. Register demo twilio.com account. https://www.twilio.com/try-twilio

  2. Login the account, get account_sid and auth_token.

  3. Install twilio-python

opkg update
opkg install nano
opkg install python-openssl
opkg install python-expat
opkg install distribute
easy_install twilio
  1. have python code to make a call
nano /mnt/sda1/twiliocall.py
#!/usr/bin/python
from twilio.rest import TwilioRestClient

account_sid = "ACXXXXXXXXXXXXXXXXX"
auth_token  = "YYYYYYYYYYYYYYYYYY"
client = TwilioRestClient(account_sid, auth_token)

call = client.calls.create(to="+12125551212",
                           from_="+12125551212",
                           url="http://twimlets.com/holdmusic?Bucket=com.twilio$

print call.sid
chmod 755 /mnt/sda1/twiliocall.py
/mnt/sda1/twiliocall.py

We could update demo account ( remove demo message) , at US cost 2¢/min to make calls plus $1/month to have phone number.