[asterisk-bugs] [JIRA] (ASTERISK-30414) attended 3 way transfer using the option atxferthreeway doesn't work properly without atxferswap

Harsh Sharma (JIRA) noreply at issues.asterisk.org
Wed Feb 1 13:14:03 CST 2023


Harsh Sharma created ASTERISK-30414:
---------------------------------------

             Summary: attended 3 way transfer using the option atxferthreeway doesn't work properly without atxferswap
                 Key: ASTERISK-30414
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30414
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Features
    Affects Versions: 16.30.0, 18.9.0
            Reporter: Harsh Sharma


Setting up a 3-Way conference successfully after initiating an attended transfer using DTMF requires both the option atxferswap to be added along with atxferthreeway under general section in features.conf file.

3 way conference works when the following configuration is added to the features.conf file.
[general]
transferdigittimeout => 3
featuredigittimeout => 2000
atxferthreeway = *4
atxferswap = *5 

[featuremap]
atxfer = *1


3 way conference  doesn't work when the following configuration is added to the features.conf file.
[general]
transferdigittimeout => 3
featuredigittimeout => 2000
atxferthreeway = *4

[featuremap]
atxfer = *1

Steps :
1. configure 3 sip peers (zoiper, zoiperPhone, blink in my case) in sip channel file sip.conf
2. Initiate a call from zoiperPhone (6001) to zoiper(6000). Pick up from zoiper. Initiate a transfer using by dialling *1 from zoiperPhone. Hear transfer tone. Dial the extension 6002 for blink. Hear music on hold on zoiper. Pick up from blink. Convert it to a 3 way conference by dialing *4. 

Expected:
Music on hold stops on zoiper
All three softphones should be connected to the same bridge
Works when atxferswap is added to features.conf

Observation:
When only atxferthreeway is present, after dialing *4, the zoiper phone keeps playing music on hold. The call doesnt cover to a 3 way conference.

CLI logs
 Using SIP RTP CoS mark 5
       > 0x7f038c03b300 -- Strict RTP learning after remote address set to: 10.0.0.91:57373
    -- Executing [6000 at from-internal:1] Dial("SIP/zoiperPhone-0000000c", "SIP/zoiper,20,tT") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/zoiper
    -- SIP/zoiper-0000000d is ringing
       > 0x7f0380009f70 -- Strict RTP learning after remote address set to: 10.0.0.24:52607
    -- SIP/zoiper-0000000d answered SIP/zoiperPhone-0000000c
    -- Channel SIP/zoiper-0000000d joined 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
    -- Channel SIP/zoiperPhone-0000000c joined 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
       > 0x7f038c03b300 -- Strict RTP switching to RTP target address 10.0.0.91:57373 as source
[Feb  1 19:07:57] NOTICE[21973]: chan_sip.c:25008 handle_response_peerpoke: Peer 'zoiperPhone' is now Reachable. (53ms / 2000ms)
       > 0x7f038c03b300 -- Strict RTP learning complete - Locking on source address 10.0.0.91:57373
       > 0x7f0380009f70 -- Strict RTP switching to RTP target address 10.0.0.24:52607 as source
    -- Channel SIP/zoiperPhone-0000000c: Started DTMF attended transfer.
    -- Started music on hold, class 'default', on channel 'SIP/zoiper-0000000d'
    -- <SIP/zoiperPhone-0000000c> Playing 'pbx-transfer.gsm' (language 'en')
       > 0x7f0380009f70 -- Strict RTP learning complete - Locking on source address 10.0.0.24:52607
    -- Channel Local/6002 at from-internal-00000002;1 joined 'simple_bridge' basic-bridge <282fc56e-16b7-4cbe-9e34-39fe8c8995ca>
    -- Executing [6002 at from-internal:1] Dial("Local/6002 at from-internal-00000002;2", "SIP/blink,20,tT") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/blink
    -- Local/6002 at from-internal-00000002;2 requested media update control 26, passing it to SIP/blink-0000000e
    -- Channel SIP/zoiperPhone-0000000c left 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
    -- Channel SIP/zoiperPhone-0000000c joined 'simple_bridge' basic-bridge <282fc56e-16b7-4cbe-9e34-39fe8c8995ca>
    -- SIP/blink-0000000e is ringing
       > 0x5622e67f9c50 -- Strict RTP learning after remote address set to: 10.0.0.24:50004
    -- SIP/blink-0000000e answered Local/6002 at from-internal-00000002;2
    -- Channel SIP/blink-0000000e joined 'simple_bridge' basic-bridge <b37fc733-8dc1-4d37-a8b0-fc0e8428eb90>
    -- Channel Local/6002 at from-internal-00000002;2 joined 'simple_bridge' basic-bridge <b37fc733-8dc1-4d37-a8b0-fc0e8428eb90>
       > 0x5622e67f9c50 -- Strict RTP switching to RTP target address 10.0.0.24:50004 as source
    -- Channel SIP/zoiperPhone-0000000c left 'simple_bridge' basic-bridge <282fc56e-16b7-4cbe-9e34-39fe8c8995ca>
    -- Channel SIP/zoiperPhone-0000000c joined 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
    -- Started music on hold, class 'default', on channel 'Local/6002 at from-internal-00000002;1'
    -- Stopped music on hold on SIP/zoiper-0000000d
       > 0x5622e67f9c50 -- Strict RTP learning complete - Locking on source address 10.0.0.24:50004
    -- Channel SIP/zoiperPhone-0000000c left 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
    -- Channel SIP/zoiperPhone-0000000c joined 'simple_bridge' basic-bridge <282fc56e-16b7-4cbe-9e34-39fe8c8995ca>
    -- Started music on hold, class 'default', on channel 'SIP/zoiper-0000000d'
    -- Stopped music on hold on Local/6002 at from-internal-00000002;1
    -- Channel SIP/zoiperPhone-0000000c left 'simple_bridge' basic-bridge <282fc56e-16b7-4cbe-9e34-39fe8c8995ca>
  == Spawn extension (from-internal, 6000, 1) exited non-zero on 'SIP/zoiperPhone-0000000c'
    -- Channel Local/6002 at from-internal-00000002;1 left 'simple_bridge' basic-bridge <282fc56e-16b7-4cbe-9e34-39fe8c8995ca>
    -- Channel Local/6002 at from-internal-00000002;1 joined 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
    -- <Local/6002 at from-internal-00000002;1> Playing 'beep.gsm' (language 'en')
    -- Stopped music on hold on SIP/zoiper-0000000d
       > Move-swap optimizing Local/6002 at from-internal-00000002;2 <-- SIP/zoiper-0000000d.
    -- Channel SIP/zoiper-0000000d left 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
    -- Channel Local/6002 at from-internal-00000002;2 left 'simple_bridge' basic-bridge <b37fc733-8dc1-4d37-a8b0-fc0e8428eb90>
    -- Channel SIP/zoiper-0000000d swapped with Local/6002 at from-internal-00000002;2 into 'simple_bridge' basic-bridge <b37fc733-8dc1-4d37-a8b0-fc0e8428eb90>
    -- Channel Local/6002 at from-internal-00000002;1 left 'simple_bridge' basic-bridge <491ed983-807b-4def-a8b6-a74eaa261b8e>
  == Spawn extension (from-internal, 6002, 1) exited non-zero on 'Local/6002 at from-internal-00000002;2'
    -- Channel SIP/blink-0000000e left 'simple_bridge' basic-bridge <b37fc733-8dc1-4d37-a8b0-fc0e8428eb90>
    -- Channel SIP/zoiper-0000000d left 'simple_bridge' basic-bridge <b37fc733-8dc1-4d37-a8b0-fc0e8428eb90>




--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list