Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

passing commands using socket connection  RSS feed

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

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.

    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!