Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-10312

bgapi uuid_transfer using -both option is not transfering both uuid's


    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.7
    • Fix Version/s: 1.6.18, 1.8
    • Component/s: mod_event_socket
    • Labels:
    • Environment:
    • CPU Architecture:
    • Kernel:
    • Userland:
    • Distribution:
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
    • FreeSWITCH GIT Revision:
      FreeSWITCH Version 1.6.7-14-d38d065~64bit (-14-d38d065 64bit)
    • GIT Master Revision hash::


      Per request from Mike Jerris:

      bgapi uuid_transfer using -both option is not transfering both uuid's. The log says that both were transfered, however the dialing plan which both were supposed to transfer to plays the silence stream, which only occured for the uuid call, not the other ("-both") call which the uuid was bridged to.

      [1:33 PM] Mark Kerrane: We we put a call on hold, we transfer the calls to a DCPark dialplan which plays the silence stream to prevent softphones disconnecting because of lack of RTP traffic. The --both option is not working. The uuid is transfered but not the other call which the uuid is currently bridged to
      [1:34 PM] Mark Kerrane:
          File uploaded: freeswitch-gpx02.log
      [1:35 PM] Mark Kerrane: ln 520 and 522 supposedly transfers to DCPark, but 5001 is transfered but 5003 is not
      [1:35 PM] Mark Kerrane: the actual command we are sending is:
      [1:35 PM] Mark Kerrane: bgapi uuid_transfer 3ec21e76-5f4b-4ec0-87f2-28d45d389676 -both DCPark xml gpx
      [1:38 PM] Mike Jerris: why are you bgapi'ing uuid-transfer first off?
      [1:38 PM] Mike Jerris: second.. what happens to 5003?
      [1:40 PM] Mark Kerrane: Jason can explain the first question. The second, 5003 it doesnt do anything. goes silent, then in 30 seconds (because its a Linphone) it disconnects due to a no RTP timeout...
      [1:40 PM] Mark Kerrane: we transfer to a silence stream to prevent this
      [1:40 PM] Mike Jerris: if it didn't transfer, the call would be hung up...
      [1:40 PM] Mike Jerris: unless the calls are not actually bridged when you do it
      [1:41 PM] Mark Kerrane: they are actually bridged. they are taking. we put the call on hold by transferring to DCPark which plays the silence stream
      [1:42 PM] Mike Jerris: a5646bb5-eed7-4589-bef2-75a17020dfe9 2017-05-12 13:23:45.124920 [NOTICE] switch_ivr.c:2167 Transfer sofia/internal/5001 to xml[DCPark@gpx]
      3ec21e76-5f4b-4ec0-87f2-28d45d389676 2017-05-12 13:23:45.124920 [DEBUG] switch_ivr.c:2160 (sofia/internal/5003) State Change CS_EXECUTE -> CS_ROUTING
      3ec21e76-5f4b-4ec0-87f2-28d45d389676 2017-05-12 13:23:45.124920 [NOTICE] switch_ivr.c:2167 Transfer sofia/internal/5003 to xml[DCPark@gpx]
      [1:42 PM] Mike Jerris: sure looks like its transfering both to me
      [1:43 PM] Mark Kerrane: however the next lines upto 537, ONly ext 5001 gets put into the silence stream
      [1:43 PM] Mark Kerrane: 5001 does get put into the silence stream
      [1:46 PM] Mark Kerrane: and 5003 does not
      [1:47 PM] Mike Jerris: what version of fs is this?
      [1:48 PM] Mark Kerrane: FreeSWITCH Version 1.6.7-14-d38d065~64bit (-14-d38d065 64bit)
      [1:49 PM] Mark Kerrane: I havent seen anything in the release notes that would explain this, and we are upgrading to 1.6.17 after time is allocated to vet it with our apps
      [1:49 PM] Mike Jerris: did this used to work?
      [1:50 PM] Mark Kerrane: I can not recall, we havent changed the version of FS in our lab since the box was built
      [1:51 PM] Mike Jerris: is this a bypass media call?
      [1:51 PM] Mark Kerrane: I believe this was one of the reasons why we implemented the playback in the silence stream but never narrowed down all the issuse with the softphone disconnecting. This is the one case.
      [1:52 PM] Mark Kerrane: I dont know what a bypass media call is
      [1:52 PM] Mike Jerris: bypass_media=true or bypass_media_after_bridge=true
      [1:52 PM] Mike Jerris: or anything like that
      [1:53 PM] Mark Kerrane: lemme check
      [1:54 PM] Mark Kerrane: thats not in any of our dialplans
      [1:56 PM] Mike Jerris: can you show me the contents of the dial plan you are transfering to?
      [1:57 PM] Mark Kerrane:
          File uploaded: gpx.xml
      [1:58 PM] Mike Jerris: <extension name="dcpark">
            <condition field="destination_number" expression="^DCPark$" break="on-true">
              <action application="playback" data="local_stream://silence"/>
      [1:58 PM] Mike Jerris: i'm going to have to dig into this.
      [1:58 PM] Mike Jerris: please file a jira on it
      [2:01 PM] Mark Kerrane: ok




            • Assignee:
              mikej Mike Jerris
              mark.kerrane Mark Kerrane
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: