[Freeswitch-users] Source device doesn't hangup videocall when the target device hangs

Jose David Jurado Alonso josedavid at zennio.com
Tue Dec 4 08:29:14 UTC 2018


Hi!

I call from a intercom (video door) to a mobile but when the mobile hangup
the call, the intercom continues with the open call (it does not hang) and
you have to press the button to hangup.

That is, the video door phone does not hang when the call is hung from the
mobile.

I am using the external profile, intercom and mobile devices are in the
same network but the server is in the cloud.

The dialplan extension:
----------------------------------------------------------------------
   <extension name="Local_Extension">
      <condition field="destination_number" expression="^(.*)$">
        <action application="export" data="dialed_extension=$1"/>

        <action application="set" data="hangup_after_bridge=true"/>
        <action application="set" data="continue_on_fail=true"/>
        <action application="set" data="ignore_early_media=true"/>
        <action application="set" data="execute_on_answer=sched_hangup
+120" />

        <action application="bridge" data="user/${dialed_extension}@
${domain_name}"/>
      </condition>
    </extension>
----------------------------------------------------------------------

Thanks!

Regards,

José David Jurado Alonso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20181204/d9d057de/attachment-0001.html>


More information about the FreeSWITCH-users mailing list