[asterisk-bugs] [JIRA] (ASTERISK-23727) Async AGI loop breaks when trying to stream missing file
    Chico Manobela (JIRA) 
    noreply at issues.asterisk.org
       
    Thu May  8 03:37:43 CDT 2014
    
    
  
     [ https://issues.asterisk.org/jira/browse/ASTERISK-23727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chico Manobela updated ASTERISK-23727:
--------------------------------------
    Description: 
trying to stream an non existent file using AsyncAGI results in AsyncAGI loop breaks and  control returns to dial plan.
to reproduce:
1. start async agi loop on call - AGI(agi:async)
2. from the cli try to stream file that doesn't exists:
asterisk*CLI> agi exec SIP/192.168.10.22-00000020 "STREAM FILE x 5"
Asterisk will print the normal warning:
[May  8 11:24:58] WARNING[6805][C-00000020]: file.c:701 ast_openstream_full: File x does not exist in any format
<SIP/192.168.10.22-00000020>AGI Tx >> 200 result=-1 endpos=0
    -- Executing [talk at pbxtel-incoming-async:3] 
Next thing asterisk does is to stop thew async loop and continue the dial plan:
Hangup("SIP/192.168.10.22-00000020", "") in new stack
  == Spawn extension (pbxtel-incoming-async, talk, 3) exited non-zero on 'SIP/192.168.10.22-00000020'
  was:
trying to stream an non existent file using AsyncAGI results in AsyncAGI loop breaks a control returns to dial plan.
to reproduce:
1. start async agi loop on call - AGI(agi:async)
2. from the cli try to stream file that doesn't exists:
asterisk*CLI> agi exec SIP/192.168.10.22-00000020 "STREAM FILE x 5"
Asterisk will print the normal warning:
[May  8 11:24:58] WARNING[6805][C-00000020]: file.c:701 ast_openstream_full: File x does not exist in any format
<SIP/192.168.10.22-00000020>AGI Tx >> 200 result=-1 endpos=0
    -- Executing [talk at pbxtel-incoming-async:3] 
Next thing asterisk does is to stop thew async loop and continue the dial plan:
Hangup("SIP/192.168.10.22-00000020", "") in new stack
  == Spawn extension (pbxtel-incoming-async, talk, 3) exited non-zero on 'SIP/192.168.10.22-00000020'
> Async AGI loop breaks when trying to stream missing file
> --------------------------------------------------------
>
>                 Key: ASTERISK-23727
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23727
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_agi
>    Affects Versions: 11.9.0
>         Environment: CentOS 5
>            Reporter: Chico Manobela
>            Severity: Critical
>
> trying to stream an non existent file using AsyncAGI results in AsyncAGI loop breaks and  control returns to dial plan.
> to reproduce:
> 1. start async agi loop on call - AGI(agi:async)
> 2. from the cli try to stream file that doesn't exists:
> asterisk*CLI> agi exec SIP/192.168.10.22-00000020 "STREAM FILE x 5"
> Asterisk will print the normal warning:
> [May  8 11:24:58] WARNING[6805][C-00000020]: file.c:701 ast_openstream_full: File x does not exist in any format
> <SIP/192.168.10.22-00000020>AGI Tx >> 200 result=-1 endpos=0
>     -- Executing [talk at pbxtel-incoming-async:3] 
> Next thing asterisk does is to stop thew async loop and continue the dial plan:
> Hangup("SIP/192.168.10.22-00000020", "") in new stack
>   == Spawn extension (pbxtel-incoming-async, talk, 3) exited non-zero on 'SIP/192.168.10.22-00000020'
--
This message was sent by Atlassian JIRA
(v6.2#6252)
    
    
More information about the asterisk-bugs
mailing list