[Freeswitch-dev] Problems with intercept application and attended transfer

Francisco de Ezcurra francisco at deezcurra.com.ar
Fri Sep 5 11:09:36 EDT 2008


Hi

I'm trying to make an attended transfer from the A leg of a bridge that was 
created using the intercept application. This works if the transfer is made 
from the B leg. I've run the tests on a Polycom 501.

1) Dialplan extensions:  

	<extension name="bleg">
        <condition field="destination_number" expression="1005">
          <action application="set_global" data="leg_b=${uuid}" />
          <action application="set" 
data="hold_music=test/clientdata/system/audios/male/en_US/misc/HoldMusic.wav"/>          
          <action application="gentones" data="${us-ring}|-1" />
        </condition>
    </extension>

    <extension name="aleg">
        <condition field="destination_number" expression="1006">          
          <action application="set" 
data="hold_music=test/clientdata/system/audios/male/en_US/misc/HoldMusic.wav"/>
          <action application="intercept" data="${leg_b}"/>		  
        </condition>
    </extension>
	
   	<extension name="2003">
        <condition field="destination_number" expression="2003">          
          <action application="set" 
data="hold_music=test/clientdata/system/audios/male/en_US/misc/HoldMusic.wav"/>
          <action application="bridge" data="sofia/default/user3.fezcurra"/>
        </condition>
    </extension>


2) Steps in which the attended transfer DOES NOT work.

	1) With a linksys phone dial the extension 1005
	2) With the Polycom 501 dial the extension 1006 which intercept the linksys 
channel.
	3) With the Polycom 501 start an attended transfer to the extension 2003	
	4) The linksys starts playing the hold music.
	5) Answer the extension 2003
	6) Confirm the transfer and hang up the Polycom 501.
	
	Instead of completed the transfer, FS plays the ring again on the linksys and 
the extension 
	2003 stays connected without any bridge.


3) Steps in which the attended transfer works.

	1) With the Polycom 501 phone dial the extension 1005
	2) With the Linksys dial the extension 1006 which intercepts the Polycom 
channel.
	3) With the Polycom 501 start an attended transfer to the extension 2003
	4) The linksys starts playing the hold music.	
	5) Answer the extension 2003
	6) Confirm the transfer and hang up the Polycom 501.
	7) The linksys and the extension 2003 are connected properly.


Has anybody else experienced this problem ?

Thanks
Panchi



More information about the Freeswitch-dev mailing list