[asterisk-users] Asterisk -rx command not returning data - Version 1.4.33.1

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Mar 16 04:29:44 CDT 2011


On Mon, Mar 14, 2011 at 07:19:18PM -0000, Paddy Grice wrote:
> Hi List
>  
> I am having trouble running the command 
>  
> siptest:~# asterisk -rx 'dialplan reload'
> 
> most times it does what I expect and I get a response as below
>  
> siptest:~# asterisk -rx 'dialplan reload'
> Dialplan reloaded.
>  
> every now and then I get no response i.e.
>  
> siptest:~# asterisk -rx 'dialplan reload'
> siptest:~# 
>  
> and a "verbose 10" setting shows 
>  
> [Mar 14 19:07:41] ERROR[3092]: utils.c:968 ast_carefulwrite: write()
> returned error: Broken pipe
>     -- Remote UNIX connection disconnected
> siptest*CLI> 
>  
> I assume the problem is timing but any ideas on how to fix it 
>  
> The test is running in an idle box Debian Lenny asterisk version 1.4.33.1
> unpatched
>  
> Any ideas would be helpful

It takes too long? E.g.: more than 0.5 second?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list