Hi all,
my Asterisk version is 1.6.1.17 and I want to implement the Gosub within Dial as described here http://www.asterisk.org/docs/asterisk/trunk/applications/dial but it does not work as expected …
Here’s the command
exten => s,n,Dial(SIP/279737@250988815,gU(display-calldata^${CALLERID(NUM)}^${DIGIT_TYPED}))
calling the routine, but when I want to return from the routine
exten => s,n,Return()
the error below occurs.
Here’s the result:
– Executing [s@display-calldata:6] Return(“SIP/250988815-00000003”, “”) in new stack
– Executing [s@app_dial_gosub_virtual_context:1] NoOp(“SIP/250988815-00000003”, “”) in new stack
[Mar 7 15:08:52] WARNING[3291]: pbx.c:3914 __ast_pbx_run: Timeout, but no rule ‘t’ in context ‘app_dial_gosub_virtual_context’
– Native bridging SIP/250988815-00000002 and SIP/250988815-00000003
– Executing [s@from-readdigits:7] NoOp(“SIP/250988815-00000002”, ""Result_2: “”) in new stack
The problem is that I run into a timeout until the channels will be bridged and did not find any hint on the net what to do to prevent / solve that issue.
Thx for your help!