Pastebin the debug output so we can see what is happening.<div>-MC<br><br><div class="gmail_quote">2010/11/26 íÉÈÁÉÌ óÁÌÔÁÎÏ× <span dir="ltr">&lt;<a href="mailto:melkybes@mail.ru">melkybes@mail.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<br><br>HelloI have some problem with freeswitch call transfer by pythonš script.<br><br>-----------------------------------------------<br>import os<br>from freeswitch import *<br>import psycopg2<br>import socket<br><br>
def handler(session, args): <br>š š š print &#39;ready to transfer&#39;<br>šš šš number_to_transfer = session.getVariable(&#39;number_&#39;)<br>šš šš print number_to_transfer<br>šš šš session.setAutoHangup(&#39;false&#39;) <br>
šš šš session.execute(&#39;set&#39;, &#39;hangup_after_bridge=false&#39;)<br>šš šš session.execute(&#39;set&#39;, &#39;continue_on_fail=true&#39;)<br>šš šš session.transfer( number_to_transfer, &quot;XML&quot;, &quot;default&quot;)<br>
<br><blockquote style="border-left:1px solid rgb(8, 87, 166);margin:10px;padding:0pt 0pt 0pt 10px"><div> 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--&gt;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></div></blockquote><br>ó Õ×ÁÖÅÎÉÅÍ
<br>íÉÈÁÉÌ óÁÌÔÁÎÏ×<br><br><br></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>