'g' argument in combination with 'e' causes Dial() to return to 'h' extension in a different context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
asterisk (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
If the 'g' argument is passed to Dial(), the functionality provided by
the 'e' argument changes subtly (and, for us at least, breaks). If
'g' is passed to Dial(), when control is returned to the 'h'
extension, it returns in a different context, e.g.:
[Feb 19 19:01:46] VERBOSE[5956] pbx.c: -- Executing [s@macro-
[Feb 19 19:01:53] VERBOSE[5956] pbx.c: -- Executing [h@macro-
This new context, naturally, has none of the variables of the original
context which breaks what we're trying to do in the 'h' extension.
If I remove the 'g' argument, 'h' is invoked in the original context
as expected.
We're running asterisk 1:1.8.10.
This appears to be a regression from Asterisk 1.4, FWIW.
Changed in asterisk (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
We'll need to see a complete debug log[1] and copy of your extensions.conf file.
[1] https:/ /wiki.asterisk. org/wiki/ display/ AST/Collecting+ Debug+Informati on