[Home]

Summary:ASTERISK-05750: Passing Variable: parameter in Originate crashes CVS-HEAD 2005-11-18
Reporter:Denis Voitenko (denis)Labels:
Date Opened:2005-11-30 15:58:25.000-0600Date Closed:2005-11-30 16:50:47.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Core/ManagerInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I belive this is somehow related to renaming the Variable parameter in the Manager API to Set.

When I pass the following action to the Manager API the * crashes instantly

Action: Originate
Channel: SIP/switch/19999999999
MaxRetries: 0
WaitTime: 10
Context: test
Extension: s
Priority: 1
Variable: dialed=19999999999

Logs do not show anything related to this.

If I use Set parameter instead of Variable, the crash doesn't occur but the variable doesn't get set correctly. When a call is originated via a .call file placed in the outbound queue, the Set sets the variable while Variable parameter does nothing.
Comments:By: Mark Spencer (markster) 2005-11-30 16:00:36.000-0600

Please supply a backgrace of the crash in accordance with bug guidelines.

By: Denis Voitenko (denis) 2005-11-30 16:22:35.000-0600

This issue is fixed in the latest HEAD. Please close this.

By: BJ Weschke (bweschke) 2005-11-30 16:28:58.000-0600

I think this is a duplicate of 5737. This was a manager crash when setting variables in the originate command. However, the fix was committed in on 11/14 so that's the only thing that's throwing me off here.

Can you please upgrade your Asterisk and verify that the problem still exists?

By: Denis Voitenko (denis) 2005-11-30 16:37:50.000-0600

Just tested it on SVN-trunk-r7243 and the crash is gone. Alas, the variables aren't getting set when using Set: parameter. Should I submit this as a separate bug?

By: BJ Weschke (bweschke) 2005-11-30 16:49:36.000-0600

You can open another bug about Set: - Did this work at one time and now it doesn't? I'm going to close this one out as a dupe.

By: BJ Weschke (bweschke) 2005-11-30 16:50:17.000-0600

dupe of 5737