This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
    Bookmark Topic Watch Topic
  • New Topic

passing commands using socket connection  RSS feed

 
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I need to access a asterisk server using socket connection and i have to execute the commands which are all in asterisk through socket.Is it possible to do?Now the following code helps me to login to the asterisk server.


I got the output as


Asterisk Call Manager/1.0



for example ,in asterisk server ,if i give the command asterisk -r from the console,the asterisk will be started.

How can i use this command in java socket program mentioned above?please assist me to do this.

Thanks
 
CAUTION! Do not touch the blades on your neck propeller while they are active. Tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!