[Home]

Summary:ASTERISK-08454: Zap lines are always named as Zap/0-0
Reporter:nicolasg (nicolasg)Labels:
Date Opened:2006-12-28 16:22:08.000-0600Date Closed:2006-12-30 12:22:17.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_zap
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Running under a PowerPC with Yellow Dog Linux, zap channels are incorrectly named.

The problem occurs in ast_safe_string_alloc (that is called from chan_zap.c)

Applying a patch(1) from trunk (by rizzo) that replaces ast_safe_string_alloc with asprintf fixes the problem.

I guess this is a platform specific problem, since nobody reported this before.

1) http://www.mail-archive.com/svn-commits@lists.digium.com/msg10915.html



****** ADDITIONAL INFORMATION ******

I can provide ssh access to the machine to confirm the issue. The fix is rather simple.
Comments:By: Joshua C. Colp (jcolp) 2006-12-30 12:22:17.000-0600

Fixed in 1.4 as of revision 49070. Thanks!