On Thu, Dec 11, 2014 at 9:58 AM, Daniel Gonzalez <[email protected]> wrote: > Hi, > > I have run into a strange behaviour: > > [ctx-test] > > exten => h,1,NoOp(*** hangup ***) > > exten => s,1,NoOp(*** ${EXTEN} ***) > same => n,... > same => n,... > same => n,Hangup() > > Strangely, the h extension continues on the priority 2 of the extension s. > Maybe this is caused by the use of same? How can I make sure that an > extension is really ending, something like: > > exten => h,1,NoOp(*** hangup ***) > same => n,RellyEndHere() > > For subroutines there is the Return() application, but this can not be used > generally in contexts. Is there any application to finish processing the > extension in the context? >
Which version of Asterisk are you using? Can you provide a log showing the channel continuing on into the s extension? -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
