<HTML><BODY>
Hello<br><br>I have some problem with freeswitch call transfer by python script.<br>-----------------------------------------------<br>import os<br>from freeswitch import *<br>import psycopg2<br>import socket<br><br><br>def handler(session, args):<br> print 'ready to transfer'<br> number_to_transfer = session.getVariable('number_')<br> print number_to_transfer<br> session.setAutoHangup('false')<br> session.execute('set', 'hangup_after_bridge=false')<br> session.execute('set', 'continue_on_fail=true')<br> session.transfer( number_to_transfer, "XML", "default")<br><br>Description of my problem<br><br>Phone # 1 call to Phone #2<br>Phone #2 input some digits for transfer incoming call to phone #3 [phone #1-->phone#3]<br>Phone #1 hangup, Phone 2 connect to phone # 3<br><br>where the my mistake?<br><br>When I make transfer by xml extensions all works fine<br><br><br><br><br>σ ΥΧΑΦΕΞΙΕΝ
<br>νΙΘΑΙΜ σΑΜΤΑΞΟΧ
<br>
<br><br></BODY></HTML>