yagitoshiro / titwilio Goto Github PK
View Code? Open in Web Editor NEWTiTwilio
TiTwilio
Hi,
Do you think you could include an example of your auth server php? I just don´t get this to work. Of course, leave your appID, auth thoken etc. blank. It´s just so I - and maybe others as well - can understand what needs to happen on the other side. That would be great!
By now, I tried something like this:
allowClientIncoming('ICallU'.$_GET["ID"]); // This allows outgoing connections to $appSid with the "From" // parameter being the value of $clientName $capability->allowClientOutgoing($appSid, array(), $clientName); // This returns a token to use with Twilio based on // the account and capabilities defined above $token = $capability->generateToken(); echo $token; if (!isset($_GET["client"])) { try { // Initiate a new outbound call $call = $client->account->calls->create( '++++my-registered-twilio-number++++', // The number of the phone initiating the call 'client:'.$clientName, // The number of the phone receiving call 'http://www.icallu-app.com/icallu/incoming.php' // The URL Twilio will request when the call is answered ); echo 'Started call: ' . $call->sid.'
'; } catch (Exception $e) { echo 'Error: ' . $e->getMessage().'
'; } } ?>But I guess, I need to use the file that is connected to my twilio-app (at twilio.com) which is another one. That one would create the Twilio-needed XML, not the above code. Or is it a mixture of both?
I would really appreciate your help. Thanks a lot!
Frank
Hi man thank u for this nice module this module work fine on android but in ios after 64 it's work but every time i try to do login it can't read it
Hi,
wenn I try to rund the build.py in the terminal, it says, I need to insert my license in the license-File (I guess, it´s the license.txt in the iOS-folder). What license is meant here? The twilio.accountID? The token as well? Is there any kind of correct way it should be inserted? A comma between them?
Or am I totally wrong, here?
Best regards and keep up the cool coding,
Frank
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.