Can I get the channel name (and variables) of the call the iniated the transfer? It looks like the Transfer() application makes a new "local" channel and goes back to the context of the SIP client, and in there I need to do things differently based on who started the transfer.
The variables can be inherited prefixing the variables names with underscore(s) check: http://www.voip-info.org/wiki/index.php?page=Asterisk+variables The "Inheritance of Channel Variables" for the second issue ( get the channel name of the call that initiated the transfer ) please check this: http://bugs.digium.com/view.php?id=6752 Is a patch i have made to support that. Please report feedback to get this in asterisk trunk ASAP. Best Regards On 5/8/06, David L. West <nntp@deskoptional.com> wrote:> Can I get the channel name (and variables) of the call the iniated the > transfer? It looks like the Transfer() application makes a new "local" > channel and goes back to the context of the SIP client, and in there I need > to do things differently based on who started the transfer. > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
http://www.voip-info.org/wiki/view/BLINDTRANSFER On 5/8/06, David L. West <nntp@deskoptional.com> wrote:> Can I get the channel name (and variables) of the call the iniated the > transfer? It looks like the Transfer() application makes a new "local" > channel and goes back to the context of the SIP client, and in there I need > to do things differently based on who started the transfer. > > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
yep, that works for BLINDTRANSFER, but not for Attended transfer, may be the variable name should be homologated to a single name. On 5/8/06, C F <shmaltz@gmail.com> wrote:> http://www.voip-info.org/wiki/view/BLINDTRANSFER > > On 5/8/06, David L. West <nntp@deskoptional.com> wrote: > > Can I get the channel name (and variables) of the call the iniated the > > transfer? It looks like the Transfer() application makes a new "local" > > channel and goes back to the context of the SIP client, and in there I need > > to do things differently based on who started the transfer. > > > > > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
I believe that app_transfer will set this variable, and that is what the OP wanted. On 5/8/06, Moises Silva <moises.silva@gmail.com> wrote:> yep, that works for BLINDTRANSFER, but not for Attended transfer, may > be the variable name should be homologated to a single name. > > On 5/8/06, C F <shmaltz@gmail.com> wrote: > > http://www.voip-info.org/wiki/view/BLINDTRANSFER > > > > On 5/8/06, David L. West <nntp@deskoptional.com> wrote: > > > Can I get the channel name (and variables) of the call the iniated the > > > transfer? It looks like the Transfer() application makes a new "local" > > > channel and goes back to the context of the SIP client, and in there I need > > > to do things differently based on who started the transfer. > > > > > > > > > > > > _______________________________________________ > > > --Bandwidth and Colocation provided by Easynews.com -- > > > > > > Asterisk-Users mailing list > > > To UNSUBSCRIBE or update options visit: > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >