Summary: | ASTERISK-05751: Originate doesn't set variables with Set | ||
Reporter: | Denis Voitenko (denis) | Labels: | |
Date Opened: | 2005-11-30 17:46:38.000-0600 | Date Closed: | 2011-06-07 14:10:41 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/ManagerInterface |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Sending the following Originate command to the Manager API doesn't set the variable dialed or in fact any variable. -- start -- Action: Originate Channel: SIP/switch/19999999999 MaxRetries: 0 WaitTime: 10 Context: nexus Extension: s Priority: 1 Set: dialed=19999999999 -- stop -- But placing the following .call file into the outgoing spool sets it correctly: -- start --- Channel: SIP/switch/19999999999 MaxRetries: 0 WaitTime: 10 Context: nexus Extension: s Priority: 1 Callerid: 5555555555 Set: dialed=9999999999 -- stop -- | ||
Comments: | By: Russell Bryant (russell) 2005-11-30 18:23:13.000-0600 This never worked, actually. :) The correct way to set a variable using the manager originate action is to use "Variable" headers. For example: Variable: myvar=12345 Variable: myvar2=67890 |