[Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread Scott Ellis
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
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread Brian West
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
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread João Mesquita
Wouldnt that be call parking??

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_park

I have been told that would be better o use mod_fifo instead... It  
would be nice if someone would post something on mod_fifo wiki page  
about how to do fancy call parking with mod_fifo (even tho it might be  
pretty easy).

Mesquita


On Jan 15, 2009, at 11: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
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread João Mesquita
Well, sorry. That would be better, wouldnt it?

http://wiki.freeswitch.org/wiki/Mod_fifo#Park_Time_Out_Example

Mesquita

On Jan 15, 2009, at 11: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
 Freeswitch-users@lists.freeswitch.org
 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
 UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
 http://www.freeswitch.org


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread Scott Ellis




It is kind of - but slightly different, and simpler for the users.

Scott

Joo Mesquita wrote:

  Wouldnt that be call parking??

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_park

I have been told that would be better o use mod_fifo instead... It  
would be nice if someone would post something on mod_fifo wiki page  
about how to do fancy call parking with mod_fifo (even tho it might be  
pretty easy).

Mesquita


On Jan 15, 2009, at 11: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
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

  
  

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

  





___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread Scott Ellis




Thanks Brian, I had started looking at this, and I think I was heading
in the direction you describe - now I can pursue that with a bit more
confidence!

So even if we do not originate the call, the last dialled extension
would still be valid as it would be set up during the bridging process?

(I think I need another method to collect the UUID of the leg of the
bridge that initiated the call - or just the UUID that is active for
that extension)

Scott

Brian West wrote:

  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=""/


Then use it something like this:

 extension name="intercept-ext"
   condition field="destination_number" _expression_="^\*\*(\d+)$"
 action application="answer"/
 action application="intercept" data=""/
 action application="sleep" data=""/
   /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
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

  





___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread Brian West
The key is the uuid.. In FreeSWITCH the uuid is the only bit you  
really need to know to do anything with the session.

/b

On Jan 15, 2009, at 9:12 PM, Scott Ellis wrote:

 Thanks Brian, I had started looking at this, and I think I was  
 heading in the direction you describe - now I can pursue that with a  
 bit more confidence!

 So even if we do not originate the call, the last dialled extension  
 would still be valid as it would be set up during the bridging  
 process?
 (I think I need another method to collect the UUID of the leg of the  
 bridge that initiated the call - or just the UUID that is active for  
 that extension)

 Scott


___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


Re: [Freeswitch-users] Would like to pickup a call that is on hold on another extension

2009-01-15 Thread Scott Ellis




So for this scenario, I think I need to store the UUID of both sides
before every bridge that I do, that way it will always reflect the most
recently connected call to an extension - either as source or
destination.

I found the log action, so now I can spit out debug information as I
work this out!

Scott

p.s. Thanks for all your help, FreeSwitch (and the community) rock!

Brian West wrote:

  The key is the uuid.. In FreeSWITCH the uuid is the only bit you  
really need to know to do anything with the session.

/b

On Jan 15, 2009, at 9:12 PM, Scott Ellis wrote:

  
  
Thanks Brian, I had started looking at this, and I think I was  
heading in the direction you describe - now I can pursue that with a  
bit more confidence!

So even if we do not originate the call, the last dialled extension  
would still be valid as it would be set up during the bridging  
process?
(I think I need another method to collect the UUID of the leg of the  
bridge that initiated the call - or just the UUID that is active for  
that extension)

Scott

  
  

___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

  





___
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org