tropo / tropo-webapi-php

A set of PHP classes for working with the Voxeo Tropo WebAPI
MIT License
94 stars 50 forks source link

Issue sending SMS message #27

Open russellharrower opened 12 years ago

russellharrower commented 12 years ago

Not sure what I have done wrong but I need to be able to send SMS using PHP and jQuery

The script does get called however I never get a txt message on my phone

<?php include('tropo/tropo.class.php');

// Create a new Session object and obtain the session ID value.

$tropo = new Tropo();

$tropo->call("+61406066666", array( "network" => "SMS", "message" => "Hello") );

$tropo->renderJSON(); ?>

manish-ps commented 12 years ago

Have you able to solve the proble? I have the same issue.

russellharrower commented 12 years ago

nope

undsoft commented 12 years ago

Are you sure you're using it correctly? You have to have 2 scripts: one initiates a session using secret key and the second one receives Tropo request and outputs the JSON.