Thanks a lot guys. Exactly what I needed. Best regards, Örn
On Tue, Jan 26, 2010 at 8:48 PM, Olle E. Johansson <[email protected]> wrote: > > 26 jan 2010 kl. 16.48 skrev Örn Arnarson: > > > Hi guys, > > > > I am wondering (and have been unable to find out thus far) whether > Asterisk sets some special channel variables or something when a call is > transfered with the REFER method. > > Basically, I'm trying to figure out if it is possible to somehow get a > transferred call back to the transferrer (as it is done with the built-in > atxfer) after X seconds (or an unsuccessful attempt). > > > > Using a timeout in the Dial command is not suitable unless I am able to > tell somehow that the call in question is being forwarded (which is of > course not the case, as the Dial command is called befer the REFER is sent). > > > > Can anyone think of a way to get the call back to the transferrer after > this timeout? > > > THe transferred call is sent to a context set with the channel variable > TRANSFER_CONTEXT before you call DIAL(). > > In there, run DUMPCHAN to see which variables you have and then dial with a > timeout. After the timeout, dial back. > > /O > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
