Summary: | ASTERISK-07419: [patch][post 1.4] control both legs after a bridge | ||
Reporter: | Clod Patry (junky) | Labels: | |
Date Opened: | 2006-07-28 23:01:14 | Date Closed: | 2011-06-07 14:03:15 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) limit_exit_rev1.diff ( 1) limit_exit_rev2.diff | |
Description: | That patch was written for a bounty. That patch looks at 2 chanvars (LIMIT_EXIT_CALLER and LIMIT_EXIT_CALLEE) and when a limitation of duration is achieved (option L with Dial), and redirect both legs to their specified values. This was just a test, so it read just the context, not the full CEP. That patch will go at the same context, at the specifed extension, and priority 1. But even with this, you can use a Goto(contextjunky,extensionjunky,1); Actually, that patch works as expected. This is a first revision to wait for some feedback. Maybe we could expand it to a concept, if these vars are set, we control legs to whatever we want, even without any option to the dial? ****** ADDITIONAL INFORMATION ****** Bounty was provided by Jason Burbage, so a huge thanks to him to giving back to the community. (I disclaim the code) | ||
Comments: | By: Serge Vecher (serge-v) 2006-07-31 09:14:38 disclaimer -> 'no'? By: Clod Patry (junky) 2006-07-31 09:21:06 everything i post here is disclaimed, dont' worry :) By: Clod Patry (junky) 2006-09-06 14:52:59 this was build on 1.2.10, so please dont change it. By: Clod Patry (junky) 2006-09-19 20:02:08 rev2 now support full CEP, instead of just exten. It uses the syntax: Context^Exten^Priority, like the macro in the dial. Thanks to anthm for suggestion and some helping. By: jmls (jmls) 2006-11-01 05:56:30.000-0600 can we have a patch against trunk ? By: jmls (jmls) 2007-01-07 03:16:43.000-0600 any luck on the updated patch ? By: Clod Patry (junky) 2007-02-26 12:49:36.000-0600 Since that patch is idling since last July, I think there's no interest for that patch. If someone considers for commit that one, I will update it. |