Directly call the interface.
During the test, I used the Skype international card.
Direct use
Skype. Call ("+ 86" + telno.
However, it cannot be used. Then the Skype card is used in China. The dialing method is different. (I did not expect that Skype is not uniform with such a problem)
In the Skype client, you can directly dial the International Card, and add a "*" before the domestic card number.
There is no way to set the domestic and international cards in skypeapi.
FinallyCodeAdded the debugging code.
Skype. setdebug (true );
Skype. setdeamon (false );
Skype. Call (telno );
First, run in Java. Dial on Skype, and print it in the background.
<-SMS 14572 type outgoing <-call 14541 status ringing <-call 14541 status earlymedia <-chatmessage 14601 status canceled ed <-call 14541 status cancelled <-chatmessage 14505 body <-chatmessage 14505 users + 990086680640 ****** (** indicates the phone number) <-chatmessage 14601 users + 990086680640 ****** (** indicates the phone number) <-chatmessage 14601 body <partlist alt = ""> changed the Java code to Skype. call ("+ 990086680640" + telno); dialing successful