Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-03-09 Thread Tilghman Lesher
On Friday 06 March 2009 03:02:30 pm Randy Paries wrote:
> On Tue, Feb 3, 2009 at 2:58 PM, Jose P. Espinal  
wrote:
> > Hello List,
> >
> > I have been working on a little PHP software that uses AMI's
> > UpdateConfig command in order to modify some of it's config files.
> >
> >
> > I was working with 'Asterisk 1.4.22.1' and everything was working.
> > After upgrading to 'Asterisk 1.4.23.1' I receive a lot of errors of the
> > type:
> >
> >
> > ERROR[11505]: utils.c:966 ast_carefulwrite: write() returned error:
> > Broken pipe
> >
> >
> > I'm completely sure that I did not modify anything on the PHP script,
> > in fact, I test it on the older version of Asterisk mentioned above
> > and it still works like a charm.
> >
> > Can someone point me out about a possible place to start looking for
> > this error?
> >
> >
> > NOTE:
> > An interesting thing to note is that I sent all the commands that my
> > script executes on the AMI to a file (/tmp/debug.txt )
> >
> > Then copying all the file content into AMI interface directly ( telnet
> > [server_ip] 5038) and it executed all the commands without any problems.
>
> So is there any news on this issue?
>
> I am seeing the same thing. I am new to the AGI world and just
> starting to do some coding and started getting these errors.
> I was not sure if it is something i am doing wrong or not.

Yes, it was determined on the bugtracker that the OP was not waiting for
Asterisk to return a response, but instead closing the connection prematurely.
This explains why when he concatenated the text to the manager port, it all
worked correctly.  We advised him to use the manager port interactively,
instead of pushing the set of commands and closing the port too soon.  With
current connections, once Asterisk can no longer respond, it assumes that
the remote client is no longer interested in interaction and shuts down its
processing, as well.  This in turn saves server resources, especially when
clients do not shut down the connection properly (like when they crash).

-- 
Tilghman

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-03-06 Thread Randy Paries
On Tue, Feb 3, 2009 at 2:58 PM, Jose P. Espinal  wrote:
> Hello List,
>
> I have been working on a little PHP software that uses AMI's
> UpdateConfig command in order to modify some of it's config files.
>
>
> I was working with 'Asterisk 1.4.22.1' and everything was working.
> After upgrading to 'Asterisk 1.4.23.1' I receive a lot of errors of the type:
>
>
> ERROR[11505]: utils.c:966 ast_carefulwrite: write() returned error:
> Broken pipe
>
>
> I'm completely sure that I did not modify anything on the PHP script,
> in fact, I test it on the older version of Asterisk mentioned above
> and it still works like a charm.
>
> Can someone point me out about a possible place to start looking for
> this error?
>
>
> NOTE:
> An interesting thing to note is that I sent all the commands that my
> script executes on the AMI to a file (/tmp/debug.txt )
>
> Then copying all the file content into AMI interface directly ( telnet
> [server_ip] 5038) and it executed all the commands without any problems.
>
>
>
> Thanks for your help,
>
>
> --
> Jose P. Espinal
> http://eslackware.com


So is there any news on this issue?

I am seeing the same thing. I am new to the AGI world and just
starting to do some coding and started getting these errors.
I was not sure if it is something i am doing wrong or not.

Thanks

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-02-15 Thread Matt Riddell
On 14/02/2009 5:12 a.m., Örn Arnarson wrote:
> I am seeing this problem on 1.6.0.1 when dialing a busy DAHDI channel...
> 
I'm seeing it too on recent builds - is the a bt entry we can add to?

-- 
Kind Regards,

Matt Riddell
Director
___

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-02-13 Thread Örn Arnarson
I am seeing this problem on 1.6.0.1 when dialing a busy DAHDI channel...

On Fri, Feb 13, 2009 at 8:40 AM, Rilawich Ango wrote:

> I also experience that problem.  Is it a bug?
>
> On Wed, Feb 4, 2009 at 5:53 AM, Mark Michelson 
> wrote:
> > Remco Barendse wrote:
> >> 1.4.23.1 is quite badly broken and there are no significant new
> >> features
> >>
> >
> > There are no new features at all, actually. What problems are you having
> with
> > 1.4.23.1? It doesn't accomplish much to say that it is "quite badly
> broken"
> > without at least telling what is wrong.
> >
> > We can't fix what's wrong if we don't know what's wrong to begin with. :)
> >
> > Mark Michelson
> >
> > ___
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-02-13 Thread Rilawich Ango
I also experience that problem.  Is it a bug?

On Wed, Feb 4, 2009 at 5:53 AM, Mark Michelson  wrote:
> Remco Barendse wrote:
>> 1.4.23.1 is quite badly broken and there are no significant new
>> features
>>
>
> There are no new features at all, actually. What problems are you having with
> 1.4.23.1? It doesn't accomplish much to say that it is "quite badly broken"
> without at least telling what is wrong.
>
> We can't fix what's wrong if we don't know what's wrong to begin with. :)
>
> Mark Michelson
>
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-02-03 Thread Mark Michelson
Remco Barendse wrote:
> 1.4.23.1 is quite badly broken and there are no significant new 
> features
>

There are no new features at all, actually. What problems are you having with 
1.4.23.1? It doesn't accomplish much to say that it is "quite badly broken" 
without at least telling what is wrong.

We can't fix what's wrong if we don't know what's wrong to begin with. :)

Mark Michelson

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Broken Pipe error while using UpdateConfig command

2009-02-03 Thread Remco Barendse
1.4.23.1 is quite badly broken and there are no significant new 
features

Better to revert back to 1.4.22.1

On Tue, 3 Feb 2009, Jose P. Espinal wrote:

> Hello List,
>
> I have been working on a little PHP software that uses AMI's
> UpdateConfig command in order to modify some of it's config files.
>
>
> I was working with 'Asterisk 1.4.22.1' and everything was working.
> After upgrading to 'Asterisk 1.4.23.1' I receive a lot of errors of the type:
>
>
> ERROR[11505]: utils.c:966 ast_carefulwrite: write() returned error:
> Broken pipe
>
>
> I'm completely sure that I did not modify anything on the PHP script,
> in fact, I test it on the older version of Asterisk mentioned above
> and it still works like a charm.
>
> Can someone point me out about a possible place to start looking for
> this error?
>
>
> NOTE:
> An interesting thing to note is that I sent all the commands that my
> script executes on the AMI to a file (/tmp/debug.txt )
>
> Then copying all the file content into AMI interface directly ( telnet
> [server_ip] 5038) and it executed all the commands without any problems.
>
>
>
> Thanks for your help,
>
>
> --
> Jose P. Espinal
> http://eslackware.com
>
>
>
> ___
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users