call() method not functioning

113 views
Skip to first unread message

JasonW

unread,
Jan 2, 2013, 6:38:48 PM1/2/13
to google-v...@googlegroups.com
Has anyone noticed problems with the call() method?
My sms calls are working, although when trying to place a call..I receive no indication of an error..however no call is ever placed.

I'm simply using this..

public static void callNumber(String originNumber, String destinationNumber, String type){
try {
Voice voice = new Voice(userName, pass);
voice.call(originNumber, destinationNumber, type);
} catch (IOException e) {
System.out.println("IO error creating voice! - "+e.getLocalizedMessage());
System.out.println("Goodbye.");
System.exit(1);
e.printStackTrace();
}


Here's the response from Eclipse..


Any help is appreciated.



JasonW

unread,
Feb 19, 2013, 11:53:04 AM2/19/13
to google-v...@googlegroups.com
Found I had the wrong originNumber declared.
Reply all
Reply to author
Forward
0 new messages