[Freeswitch-users] Call intercept.

Brian West brian at freeswitch.org
Thu Mar 19 18:48:09 MSK 2015


Sounds like the UUID isn't there that you expected,  so it couldn't pick it
up. I'm guessing the full logs would show that.

On Thu, Mar 19, 2015 at 10:28 AM, Sean Devoy <sdevoy at bizfocused.com> wrote:

>  Anyone help with this, PLEASE?  The customer is quite upset.
>
>
>
> Thank you,
>
> Sean
>
>
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Sean Devoy
> *Sent:* Wednesday, March 18, 2015 3:46 PM
>
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Call intercept.
>
>
>
> Yes, that is what I pass to the intercept call vie the dialplan/database.
> Check the log:
>
>
>
> 62cc7ef5-f121-4fa2-97be-e45ff28d9c95 Dialplan:
> sofia/external/20 at fs_esta.bizfocused.com Action
> intercept(${db(select/esta_call_pickup_uuid/10)})
>
> . . . .
>
> 62cc7ef5-f121-4fa2-97be-e45ff28d9c95 EXECUTE
> sofia/external/20 at fs_esta.bizfocused.com
> intercept(574583db-22d2-4b7f-a9a4-3cadd419b93d)
>
>
>
>
>
> Sean
>
>
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [
> mailto:freeswitch-users-bounces at lists.freeswitch.org
> <freeswitch-users-bounces at lists.freeswitch.org>] *On Behalf Of *Brian West
> *Sent:* Wednesday, March 18, 2015 3:39 PM
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Call intercept.
>
>
>
> intercept takes a UUID, not an extension number.
>
>
>
> On Wed, Mar 18, 2015 at 2:12 PM, Sean Devoy <sdevoy at bizfocused.com> wrote:
>
>  Hi All,
>
>
>
> I have directed call intercept running via dialplan **\d\d  (two digit
> extensions).
>
>
>
> In this pastebin:  https://pastebin.freeswitch.org/24023
>
>
>
> You should see a call come from the IVR into “MAINLINE” which dials ext
> 10, then after delay adds other extensions.  In this case, the person from
> extension 10 was at extension 20 and dialed **10.  They report it did not
> work.  I must say I am not clear if it worked or not.  It appears to work,
> but ended with sofia/external/20 at fs_esta.bizfocused.com has executed the
> last dialplan instruction, hanging up.
>
>
>
> Can someone who is more log savvy than I review that log and tell me what
> happened?
>
>
>
> Perhaps my dialplan is missing something:
>
>
>
>     <extension name="directed-call-pickup">
>
>       <!-- picks up the call with db key saved like this:
> <action application="db" data="insert/ESTA_call_pickup_uuid/223/${uuid}"/>
> -->
>
>       <condition field="destination_number" expression="^\*\*(\d\d)$">
>
>         <action application="answer"/>
>
>         <action application="set" data="intercept_unanswered_only=true"/>
>
>         <action application="intercept" data="
> ${db(select/esta_call_pickup_uuid/$1)}"/>
>
>         <action application="sleep" data="2000"/>
>
>       </condition>
>
>     </extension>
>
>
>
> I see in the log the uuid for the appropriate call is in the intercept
> statement.  After intercept, I am missing something to bridge the 2 legs
> together?
>
>
>
> Thanks,
>
> Sean Devoy
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>  *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> ClueCon 2015 Call for Speakers
> <https://www.cluecon.com/call-for-speakers/> | Register
> <https://freeswitch.com/cart.php?gid=1> TODAY!
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

*Brian West*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY!

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150319/5a05d882/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list