[Asterisk-Users] Transfer a call ? Am I looking fortheflashcommand ?

Jim Van Meggelen jim at vanmeggelen.ca
Fri Feb 25 23:54:04 MST 2005


asterisk-users-bounces at lists.digium.com wrote:
> Hello Jim,
> 
> thx for the answer..
> Im happy I found someone that is using flash :)

It's not perfect, but it can be useful.

> Am I right, if I transfer a call with flash, the line will be free
> afterwards ? 

Yep
 
> Would you mind to past me how you did the flash part @the
> extention file ? Also, If I use flash, do I have to setup
> anything else or just @the extention file ?

Jere's the relevant section of my dial plan:

[macro-cell_user]
exten => s,1,Playback(transfer)
exten => s,2,Flash(zap/1)
exten => s,3,SendDTMF(${ARG1})
exten => s,4,Hangup()

Good luck!

Jim.




> 
> -----Ursprüngliche Nachricht-----
> Von: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] Im Auftrag von Jim
> Van Meggelen Gesendet: Freitag, 25. Februar 2005 05:57
> An: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Betreff: RE: [Asterisk-Users] Transfer a call ? Am I looking for
> theflashcommand ? 
> 
> asterisk-users-bounces at lists.digium.com wrote:
>> On Fri, 2005-02-25 at 00:50 +0100, Mateo Meier wrote:
>>> Hey Guys
>>> 
>>> Im trying to forward a call with asterisk to a regular phone.
>>> 
>>> Something like " I get a call on my regular phone, and he's trying
>>> to reach some buddy of mine.. then I tell him "wait a sec" and push
>>> "Flash" and get a other dialtone.. then I dial that other number
>>> then hangup the phone, so the one that called will be connected to
>>> where I dialed it to"... 
>>> 
>>> Some buddy of mine told me im looking for a function called "flash"
>>> 
>>> Only thing Im able to find is:
>>> http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20Flash
>>> 
>>> Im unsure how to use it now..
>>> 
>>> Let's say if I forward a call with asterisk as following: exten =>
>>> 2,1,Dial(capi/720****:07812345*,18)
>>> 
>>> How would I use the flash command to transfer that call above to 078
>>> 12345* ? I have no problem transferring a call, but when Im doing
>>> this with the dial command (see above).. then my line will be busy
>> 
>> 
>> Been covered before, You can't do that on an analog line. Problem
>> comes from where you are and what flash would be working on at that
>> point. If you flash asterisk and get dialtone again, you are getting
>> the dialtone
>> from asterisk. At this point the only channel being worked is the one
>> you are on and flashing it won't help.
>> 
>> What you would need to do is get the other leg of the call to make
>> the flash.
> 
> It might be really handy to be able to specify the trunk to
> flash() as an argument. I use flash in my dialplan to
> transfer incoming calls to my cell phone when I'm out and
> about - frees up the line and reduces attenuation caused by
> an analog trombone. It'd be handy to be able to use it to
> transfer terminated calls as well.
> 
>> Of course if you where on a PRI link, you could do "hairpinning",
>> "ect" or "tromboning" and get the call taken back by the PSTN and
>> transferred to the new number.
>> --
> 
> 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.4.0 - Release Date: 22/02/2005
 




More information about the asterisk-users mailing list