[Asterisk-Dev] Call Pickup Question

Franco Bellagamba fbellagamba at ssatelital.com.ar
Tue Mar 22 12:14:35 MST 2005


I've posted this to the ast-users list: http://lists.digium.com/pipermail/asterisk-users/2005-March/096435.html

I have managed to get it working by doing some nasty things:
1. Applied the app_pickup patch from bristuff.
2. Created a new app that modifies the callgroup field of the current channel. (called app_addcallgroup)
3. Modified app_dial, added a new option "a" that inherits the call group from the original channel to the new one:
                /* Franco */
                if (inherit_callgroup) {
                    tmp->chan->callgroup=chan->callgroup;
                }
                /* /Franco */

The question is: is there an easier way to do it?

Tks


Franco Bellagamba
www.ssatelital.com.ar
 
Tel: 5411 6334 1000 | Fax: 5411 6334 1010    
Tte. Gral. J. D. Perón 949, 5º Piso, C1038AAS,
Buenos Aires, Argentina
 
fbellagamba at ssatelital.com.ar


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050322/d3e5d402/attachment.htm


More information about the asterisk-dev mailing list