[asterisk-bugs] [JIRA] (ASTERISK-21036) Error in filename for jb	log for DAHDI
    Michael L. Young (JIRA) 
    noreply at issues.asterisk.org
       
    Tue Feb  5 15:07:58 CST 2013
    
    
  
     [ https://issues.asterisk.org/jira/browse/ASTERISK-21036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael L. Young updated ASTERISK-21036:
----------------------------------------
    Description: 
DAHDI channels have two slashes, so both must be changed to '#' when forming the filename for the jitterbuffer log.
*_edited* Removed patch_
  was:
DAHDI channels have two slashes, so both must be changed to '#' when forming the filename for the jitterbuffer log.  Like so:
*** abstract_jb.c.orig  2013-02-04 21:32:40.000000000 -0500
--- abstract_jb.c       2013-02-04 21:33:01.000000000 -0500
***************
*** 444,448 ****
                int safe_fd;
                snprintf(name2, sizeof(name2), "%s", chan->name);
!               if ((tmp = strchr(name2, '/'))) {
                        *tmp = '#';
                }
--- 444,448 ----
                int safe_fd;
                snprintf(name2, sizeof(name2), "%s", chan->name);
!               while ((tmp = strchr(name2, '/'))) {
                        *tmp = '#';
                }
***************
*** 453,457 ****
  
                snprintf(name1, sizeof(name1), "%s", bridged->name);
!               if ((tmp = strchr(name1, '/'))) {
                        *tmp = '#';
                }
--- 453,457 ----
  
                snprintf(name1, sizeof(name1), "%s", bridged->name);
!               while ((tmp = strchr(name1, '/'))) {
                        *tmp = '#';
                }
    
> Error in filename for jb log for DAHDI
> --------------------------------------
>
>                 Key: ASTERISK-21036
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21036
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Jitterbuffer
>    Affects Versions: 10.7.1
>            Reporter: Richard Kenner
>            Severity: Minor
>
> DAHDI channels have two slashes, so both must be changed to '#' when forming the filename for the jitterbuffer log.
> *_edited* Removed patch_
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
    
    
More information about the asterisk-bugs
mailing list