Re: [asterisk-users] WARNING message when play

2010-06-14 Thread equis software
This are the console messages with AGI debugging

AGI Rx  STREAM FILE msgBienvenida112 1234567890*#
-- Playing 'msgBienvenida112' (escape_digits=1234567890*#)
(sample_offset 0)
[Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
failed: Broken pipe
[Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
failed: Broken pipe



On Fri, Jun 11, 2010 at 4:23 PM, Steve Edwards asterisk@sedwards.comwrote:

 On Fri, 11 Jun 2010, equis software wrote:

  When I use an eagi script when play a message appear a lot of warning
 messages, but it play very well
 I´m using
 Asterisk 1.4.32
 dahdi-linux-2.3.0.1
 chan_ss7-1.4.1

 Any ideas??

 -- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0)
 [Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
 failed: Broken pipe


 I don't use EAGI, and coming from file.c may indicate otherwise, but
 broken pipe messages and AGI may mean you are violating the AGI protocol.
 Enabling AGI debugging and watching the console output may give you a clue.

 EAGI implies you are doing something with the incoming audio on FD 3. Any
 chance you are closing FD3?

 --
 Thanks in advance,
 -
 Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
 Newline  Fax: +1-760-731-3000
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] WARNING message when play

2010-06-14 Thread equis software
In Asterisk 1.4.22 it doesn't happend, in version 1.4.23.1 and above appear
this messages


On Mon, Jun 14, 2010 at 9:08 AM, equis software equissoftw...@gmail.comwrote:

 This are the console messages with AGI debugging

 AGI Rx  STREAM FILE msgBienvenida112 1234567890*#
 -- Playing 'msgBienvenida112' (escape_digits=1234567890*#)
 (sample_offset 0)
 [Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
 failed: Broken pipe
 [Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
 failed: Broken pipe
 [Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
 failed: Broken pipe
 [Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
 failed: Broken pipe
 [Jun 14 09:06:14] WARNING[21576]: file.c:1300 waitstream_core: write()
 failed: Broken pipe



 On Fri, Jun 11, 2010 at 4:23 PM, Steve Edwards 
 asterisk@sedwards.comwrote:

 On Fri, 11 Jun 2010, equis software wrote:

  When I use an eagi script when play a message appear a lot of warning
 messages, but it play very well
 I´m using
 Asterisk 1.4.32
 dahdi-linux-2.3.0.1
 chan_ss7-1.4.1

 Any ideas??

 -- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0)
 [Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write()
 failed: Broken pipe


 I don't use EAGI, and coming from file.c may indicate otherwise, but
 broken pipe messages and AGI may mean you are violating the AGI protocol.
 Enabling AGI debugging and watching the console output may give you a clue.

 EAGI implies you are doing something with the incoming audio on FD 3. Any
 chance you are closing FD3?

 --
 Thanks in advance,
 -
 Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
 Newline  Fax: +1-760-731-3000
 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] WARNING message when play

2010-06-14 Thread Warren Selby
On Mon, Jun 14, 2010 at 8:27 AM, equis software equissoftw...@gmail.comwrote:

 In Asterisk 1.4.22 it doesn't happend, in version 1.4.23.1 and aboveappear 
 this messages


This message was added around 1.4.23 to let you know that you're violating
the AGI protocol.  Read up on the AGI protocol then check through your AGI
file to see what you're missing.  Usually it's not reading something that
asterisk is sending back to your script, or not sending a response that
asterisk is expecting.  Everything else typically will still do what you
want, but technically you're violating the protocol.


-- 
Thanks,
--Warren Selby
http://www.selbytech.com
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] WARNING message when play

2010-06-14 Thread equis software
If I use CONTROL STREAM FILE the messages disapearIt´s this ok?


On Mon, Jun 14, 2010 at 12:22 PM, Warren Selby wcse...@selbytech.comwrote:



 On Mon, Jun 14, 2010 at 8:27 AM, equis software 
 equissoftw...@gmail.comwrote:

 In Asterisk 1.4.22 it doesn't happend, in version 1.4.23.1 and aboveappear 
 this messages


 This message was added around 1.4.23 to let you know that you're violating
 the AGI protocol.  Read up on the AGI protocol then check through your AGI
 file to see what you're missing.  Usually it's not reading something that
 asterisk is sending back to your script, or not sending a response that
 asterisk is expecting.  Everything else typically will still do what you
 want, but technically you're violating the protocol.


 --
 Thanks,
 --Warren Selby
 http://www.selbytech.com

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] WARNING message when play

2010-06-11 Thread Steve Edwards

On Fri, 11 Jun 2010, equis software wrote:


When I use an eagi script when play a message appear a lot of warning messages, 
but it play very well
I´m using
Asterisk 1.4.32
dahdi-linux-2.3.0.1
chan_ss7-1.4.1

Any ideas??

    -- Playing 'ser002' (escape_digits=0123456789*#) (sample_offset 0)
[Jun 11 18:12:45] WARNING[15807]: file.c:1300 waitstream_core: write() failed: 
Broken pipe


I don't use EAGI, and coming from file.c may indicate otherwise, but 
broken pipe messages and AGI may mean you are violating the AGI 
protocol. Enabling AGI debugging and watching the console output may give 
you a clue.


EAGI implies you are doing something with the incoming audio on FD 3. Any 
chance you are closing FD3?


--
Thanks in advance,
-
Steve Edwards   sedwa...@sedwards.com  Voice: +1-760-468-3867 PST
Newline  Fax: +1-760-731-3000-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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