Advertisement
Guest User

Untitled

a guest
Aug 1st, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. # RingCentral main phone number in full format that includes the country code
  2. Username=""
  3.  
  4. # Extension number
  5. Ext=""
  6.  
  7. # Account's password
  8. Password=""
  9.  
  10. # Call back number
  11. From=""
  12.  
  13. # Caller ID number
  14. Clid=""
  15.  
  16. # "1" to prompt user to press "1" to connect
  17. Prompt=""
  18.  
  19. exec /usr/bin/curl -# \
  20. -F "Cmd=call" \
  21. -F "Username=$Username" \
  22. -F "Ext=$Ext" \
  23. -F "Password=$Password" \
  24. -F "To=${1//-}" \
  25. -F "From=$From" \
  26. -F "Clid=$Clid" \
  27. -F "Prompt=$Prompt" \
  28. 'https://service.ringcentral.com/ringout.asp'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement