Fw: [Asterisk-Dev] Solved: Call Pickup Question
Franco Bellagamba
fbellagamba at ssatelital.com.ar
Wed Mar 23 06:06:55 MST 2005
I have modified the app_dial application, so it can take an extra argument G(n) where n is the call group you want the outgoing leg of the call to be in (currently only one group, have to work on that).
If anyone is interested, post me and I'll send a diff.
Franco
----- Original Message -----
From: Franco Bellagamba
To: asterisk-dev at lists.digium.com
Sent: Tuesday, March 22, 2005 4:14 PM
Subject: [Asterisk-Dev] Call Pickup Question
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
--------------------------------------------------------------------------------
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20050323/878837e1/attachment.htm
More information about the asterisk-dev
mailing list