[Home]

Summary:ASTERISK-13963: [1.6.0.9] exten => i ignored
Reporter:Marcin Kowalczyk (kowalma)Labels:
Date Opened:2009-04-15 15:13:48Date Closed:2011-06-07 14:00:46
Priority:BlockerRegression?Yes
Status:Closed/CompleteComponents:Functions/func_dialplan
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In * 1.6.0.3 I was successfuly using following context to check if prefix should or should not use LCR

[checkLCR]
exten => 07,1,set(gw=1010)
exten => 07,n,set(NoUseLCR=1)
exten => 07,n,set(typ=1)
exten => 07,n,return

exten => i,1,set(NoUseLCR=0)
exten => i,n,return

I was checking by "jumping" form outgoing context:

[out]
exten => _XXXXXXX.,n(perm),gosub(checkLCR,${EXTEN:2:2},1)

but after upgrade to 1.6.0.9 exten "i" seems to be igored:

[Apr 15 21:48:30] VERBOSE[2004] logger.c:     -- Executing [0110000@out:14] Gosub("SIP/11116-b23804b8", "checkLCR,10,1") in new stack
[Apr 15 21:48:30] ERROR[2004] app_stack.c: Attempt to reach a non-existent destination for gosub: (Context:checkLCR, Extension:10, Priority:0)
[Apr 15 21:48:30] VERBOSE[2004] logger.c:   == Spawn extension (out, 0110000, 15) exited non-zero on 'SIP/11116-b23804b8'
[Apr 15 21:48:30] VERBOSE[2004] logger.c:     -- Executing [h@ccig:1] Hangup("SIP/11116-b23804b8", "") in new stack
Comments:By: Marcin Kowalczyk (kowalma) 2009-04-15 15:53:43

I belive that this can be related to http://bugs.digium.com/view.php?id=14411

By: Tilghman Lesher (tilghman) 2009-04-16 16:52:03

While your report is correct, the behavior was a bug.  The Gosub should NEVER have entered the "i" extension in the first place.

By: Leif Madsen (lmadsen) 2009-04-16 16:56:23

Closed due to the same reason in issue 14411