Summary: | ASTERISK-17425: [patch] Run a macro on picked up channel when bridging | ||
Reporter: | Gregory Hinton Nietsky (irroot) | Labels: | patch |
Date Opened: | 2011-02-17 12:09:08.000-0600 | Date Closed: | |
Priority: | Minor | Regression? | No |
Status: | Open/New | Components: | Applications/app_directed_pickup |
Versions: | 1.6.2.15 13.18.4 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ( 0) app_directed_pickup.patch ( 1) app_directed_pickup-trunk.patch | |
Description: | as a companion to ASTERISK-17420 to aid with the move from call-limits to channel group variables. the problem with pickup and queue is that they manage channels outside the dialplan and need "helpers" to deal with channel groups. in the case of pickup when a call is placed to a extension with say a "<EXTEN>@called" channel group when it is picked up this needs to be cleared to allow further calls when call waiting is disabled. exten => s,n,GotoIf($[$[${ GROUP_COUNT(${ARG1}@called)} >= 1] | $[${GROUP_COUNT(${ARG1}@caller)} >= 1] | $[${GROUP_COUNT(${ARG1}@pickup)} >= 1] | $[${GROUP_COUNT(${ARG1}@qagent)} >= 1]]?s-BUSY,1) where caller is set when a call is placed. called is set when a call is received pickup is set when before calling pickup in the dialplan qagent is set with patch to queue Hope this is found to be useful and finds a home in trunk. ****** ADDITIONAL INFORMATION ****** not sure what time to put in the "wait for bridge" perhaps there is a better method ?? | ||
Comments: | By: Gregory Hinton Nietsky (irroot) 2011-02-18 04:18:01.000-0600 Hi there here is a patch against trunk to help get it movin. By: Gregory Hinton Nietsky (irroot) 2011-02-18 09:05:36.000-0600 https://reviewboard.asterisk.org/r/1118/ |