[asterisk-users] Call forwrading but call transfer back

Danny Nicholas danny at debsinc.com
Tue Jan 4 13:21:07 CST 2011


  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of satish patel
Sent: Tuesday, January 04, 2011 9:36 AM
To: asterisk-users
Subject: [asterisk-users] Call forwrading but call transfer back

 

Hi All,

I have weird requirement for call forwarding. I have forward all call from
A to B extension because A is very busy and sometime not available so B is
taking care of all forwarding call from A. but in some case B need to
transfer call to A and in this case call coming back to B again because of
forwarding enabled.  How to get rid on this condition ? How could B can
transfer call to A ?

Thanks,
Satish 

 

This is a job for ex-girlfriend logic.  Set up your dialplan like this
(A=1001, B=1002)

 

Exten => 1001,verbose(extension A-1001 handling)

Exten => 1001,n,dial(SIP/1002)

Exten  => 1001/1002,n,dial(SIP/1001)

 

If you dial 1001 from anywhere except 1002, you get sent to 1002.  If you
dial 1001 from 1002, you get sent to 1001.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110104/b6167478/attachment.htm>


More information about the asterisk-users mailing list