how to get the answer response on telnet

Hi everyone,
I am using socket connection to login and originate the call. Before this i am using telnet to test the commands.
Now i want to get the answer response on telnet/socket.
And i want to use the following things on the telnet/socket.

exten => 120,1,Answer()
exten => 120,2,AGI(vm-pw.agi,2205@pstn)
exten => 120,3,Playback(lots-o-monkeys)

I'l really appreciate if someone help to do this.Thanks
Who is Participating?
Ron MalmsteadConnect With a Mentor Information Services ManagerCommented:
If you want to recieve the "events"...or responses... try using NetCat instead of telnet. 

nc.exe 5038 < callfile.txt
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.