[asterisk-users] utils.c: fwrite() returned error: Broken pipe how to solve it ???

2013-10-10 Thread akhilesh chand
Dear all, I want to make call through socket i have set code given below: #!/usr/bin/perl -w use IO::Socket::INET; sub asterisk_command () { # my $command=$_[0]; my $ami=IO::Socket::INET-new(PeerAddr='127.0.0.1',PeerPort=5038,Proto='tcp') or die failed to connect to

Re: [asterisk-users] utils.c: fwrite() returned error: Broken pipe how to solve it ???

2013-10-10 Thread Tony Mountifield
In article cae6_ne+dxtsgadtg0mp-9jumngxguwo4exadm_hrwc8opuo...@mail.gmail.com, akhilesh chand omakhileshch...@gmail.com wrote: I want to make call through socket i have set code given below: #!/usr/bin/perl -w use IO::Socket::INET; sub asterisk_command () { # my

Re: [asterisk-users] utils.c: fwrite() returned error: Broken pipe how to solve it ???

2013-10-10 Thread A J Stiles
On Thursday 10 October 2013, akhilesh chand wrote: Dear all, I want to make call through socket i have set code given below: #!/usr/bin/perl -w use IO::Socket::INET; sub asterisk_command () { # my $command=$_[0]; my

Re: [asterisk-users] utils.c: fwrite() returned error: Broken pipe how to solve it ???

2013-10-10 Thread Tony Mountifield
In article 201310101230.56058.asterisk_l...@earthshod.co.uk, A J Stiles asterisk_l...@earthshod.co.uk wrote: Also, as Asterisk runs on Unix-like systems, you don't really need the Microsoft-style \r\n line endings. Just an ordinary Unix-style \n on its own will suffice. It even saves a

Re: [asterisk-users] utils.c: fwrite() returned error: Broken pipe how to solve it ???

2013-10-10 Thread akhilesh chand
thanks a lot Tony On Thu, Oct 10, 2013 at 4:31 PM, Tony Mountifield t...@softins.co.ukwrote: In article cae6_ne+dxtsgadtg0mp-9jumngxguwo4exadm_hrwc8opuo...@mail.gmail.com, akhilesh chand omakhileshch...@gmail.com wrote: I want to make call through socket i have set code given below: