You would use a combination of storing the UUID... in the internal  
db... see insert in the default dialplan... then a code to get that  
out of the db... then run intercept on it using the value returned  
from the db.  See default config's

Store it something like this:

<action application="db" data="insert/last_dial_ext/$ 
{dialed_extension}/${uuid}"/>


Then use it something like this:

     <extension name="intercept-ext">
       <condition field="destination_number" expression="^\*\*(\d+)$">
         <action application="answer"/>
         <action application="intercept" data="${db(select/ 
last_dial_ext/$1)}"/>
         <action application="sleep" data="2000"/>
       </condition>
     </extension>




/b

On Jan 15, 2009, at 7:36 PM, Scott Ellis wrote:

> I would like to be able to place a call on hold on one extension, walk
> to another phone and then dial a sequence (like the barge sequence)  
> say
> 55+extension number and have the call taken off hold and transferred  
> to
> the extension I am on.
>
> Has anyone done this? (Before I try and work it out for myself!)
>
> Scott


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to