[Freeswitch-users] Call intercept.

Sean Devoy sdevoy at bizfocused.com
Wed Mar 18 22:12:42 MSK 2015


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.<mailto:sofia/external/20 at fs_esta.bizfocused.com%20has%20executed%20the%20last%20dialplan%20instruction,%20hanging%20up.>

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150318/d4a92006/attachment.html 


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