[Home]

Summary:ASTERISK-09191: GROUP_COUNT can cause a crash if doing strange things with DUNDi mappings
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2007-04-04 16:15:59Date Closed:2007-04-23 13:20:59
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) fancy_functions_crash_asterisk.txt
Description:Imagine doing something like this with a DUNDi mapping:

[mappings]
conferences => conference_cluster,0,SIP,${GROUP_COUNT(${CUT(NUMBER|-|1)}@conferences-${CUT(NUMBER|-|2)})}-${SYSTEMNAME}

When Asterisk gets a request from a remote machine to execute this mapping, Asterisk crashes. Fun stuff!

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

See backtrace for more information.
Comments:By: Tilghman Lesher (tilghman) 2007-04-04 18:16:29

This crashes for exactly the same reason as why CUT doesn't work.

By: Russell Bryant (russell) 2007-04-23 13:20:59

Since the patch that resolved the problem with CUT has been committed, I'm going to assume this is fixed as well.  Please let me know if there is still a problem.