Summary:ASTERISK-00052: parked calls on timeout fail redial if macros used
Reporter:pliew (pliew)Labels:
Date Opened:2003-08-05 19:42:56Date Closed:2004-09-25 02:23:01
Versions:Frequency of
Description:Extension 209 dials 201 via macro:
exten => 201,1,Macro(ext,SIP/201)
exten => s,1,Dial(${ARG1}|15|rt)
201 then parks call with "ASTERISK-694" - parks ok
On timeout * tries to redial 201 - but only has context and exten of "[macro-ext}" and "s" - therefore cannot call back.
Console output of callback:
   -- Stopped music on hold on SIP/209-18a2
WARNING[335892]: File pbx.c, Line 1641 (ast_pbx_run): SIP/209-18a2 already has a call record??
WARNING[335892]: File cdr.c, Line 134 (ast_cdr_start): CDR on channel 'SIP/209-18a2' already started
   -- Executing Dial("SIP/209-18a2", "|25|tTr") in new stack
WARNING[335892]: File app_dial.c, Line 388 (dial_exec): Dial argument takes format (technology1/number1&technology2/number2...|optional timeout)
 == Spawn extension (macro-ext, s, 1) exited non-zero on 'SIP/209-18a2'
Comments:By: Mark Spencer (markster) 2003-08-07 00:28:57

In principle, fixed in CVS.  Please confirm this does it for you  Thanks!.

By: pliew (pliew) 2003-08-07 04:58:15

Mark, excellent - that fixed it. Thanks!