[Asterisk-Users] return of the transfer to a busy number

Eric Wieling eric at fnords.org
Thu Dec 25 13:15:28 MST 2003


Anton Yurchenko wrote:

> Hello,
> 
> Can such thing be done through dialplan , that say I transfer a call to 
> an extension but it is busy, so that this call returns back to me.

exten => 123,1,Dial(Zap/5,30) ; ring Zap/5 for 30 seconds
exten => 123,2,VoiceMailMain(u123) ; No answer voicemail
exten => 123,102,Wait(2)
exten => 123,103,Dial(Local/$(CALLERIDNUM})

You can also do FLASH, dial number, if it's busy FLASH twice, if it's 
not hang up.  This is for Zap channels.





More information about the asterisk-users mailing list