Hi Guys

 

I am trying to write a macro for a call return so for example

Anyone in the company transfers a call to another extension and it is not
answered etc it must return to the person who did the transfer

I have got it working but if the call originates externally for example
someone calls in to the switchboard and they transfer it then it tries to
return to the outside caller.

 

As doing a return to ${EXTEN}) wont work as that is the external party.

How do I declare a variable from the extension dialed?

So for example when 200 dials 201 I can capture the calling party(in this
case 200) and declare it as a variable?

 

 

 

 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to