[Asterisk-Users] How to get call back when transfer fails

Steven Critchfield critch at basesys.com
Thu Apr 22 10:39:11 MST 2004


On Thu, 2004-04-22 at 09:58, Andrew Kohlsmith wrote:
> I searched the 22490 messages I have in my own personal asterisk-users archive 
> and have not found the answer, and it also does not appear on the wiki.
> 
> I have a SIP phone and a regular phone on a TDM400P FXS interface.  Extensions 
> are 100 and 101, respectively.
> 
> On the SIP phone I can hit #, get the "Transfer" prompt and enter an extension 
> I want to transfer to.  No problem.  I can do the same thing on the FXS port.
> 
> My question is does anyone have a dialplan that will bring the call I 
> transfered back to me if the transfer fails (i.e. busy extension or an 
> extesion that does not answer)?  I see many examples of going to voicemail 
> but I have no idea how to get the call back to me.
> 
> The general idea: 
> - I call someone or I receive a call.  
> - I want to transfer said call, so I hit # and enter the extension
> - if the extension answers, it's all good.
> - if the extension is busy or does not answer, give me the call again.  

Well you could do a supervised transfer, or 3 way call. Basically, you
place the one leg of the call on hold, dial the extension you are to
transfer to, then if you successfully connect, bring the call to three
way, and then excuse yourself.

Or you could create a kind of Macro for transfers where it stores the
originating part of the transfer, and upon failed connect, does a return
dial. This would bypass normal call routing where a direct call would go
to voicemail if it misses a person at the end. 
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list