View previous topic :: View next topic |
Author |
Message |
scott.ellis at novatex... Guest
|
Posted: Thu Jan 15, 2009 8:41 pm Post subject: [Freeswitch-users] Would like to pickup a call that is on ho |
|
|
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Jan 15, 2009 9:09 pm Post subject: [Freeswitch-users] Would like to pickup a call that is on ho |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
jmesquita at gmail.com Guest
|
|
Back to top |
|
|
jmesquita at gmail.com Guest
|
|
Back to top |
|
|
scott.ellis at novatex... Guest
|
Posted: Thu Jan 15, 2009 10:00 pm Post subject: [Freeswitch-users] Would like to pickup a call that is on ho |
|
|
It is kind of - but slightly different, and simpler for the users.
Scott
Joćo Mesquita wrote: |
|
Back to top |
|
|
scott.ellis at novatex... Guest
|
Posted: Thu Jan 15, 2009 10:13 pm Post subject: [Freeswitch-users] Would like to pickup a call that is on ho |
|
|
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: Quote: | Quote: | 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:
Quote: | 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 (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
| |
|
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Jan 15, 2009 10:19 pm Post subject: [Freeswitch-users] Would like to pickup a call that is on ho |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
scott.ellis at novatex... Guest
|
Posted: Thu Jan 15, 2009 11:47 pm Post subject: [Freeswitch-users] Would like to pickup a call that is on ho |
|
|
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: |
|
Back to top |
|
|
|