freeswitch transfer call problem
HelloI have some problem with freeswitch call transfer by python script. ----------------------------------------------- import os from freeswitch import * import psycopg2 import socket def handler(session, args): print 'ready to transfer' number_to_transfer = session.getVariable('number_') print number_to_transfer session.setAutoHangup('false') session.execute('set', 'hangup_after_bridge=false') session.execute('set', 'continue_on_fail=true') session.transfer( number_to_transfer, "XML", "default") Description of my problem Phone # 1 call to Phone #2 Phone #2 input some digits for transfer incoming call to phone #3 [phone #1-->phone#3] Phone #1 hangup, Phone 2 connect to phone # 3 where the my mistake? When I make transfer by xml extensions all works fine С уважением Михаил Салтанов
Pastebin the debug output so we can see what is happening. -MC 2010/11/26 Михаил Салтанов <melkybes@mail.ru>
HelloI have some problem with freeswitch call transfer by python script.
----------------------------------------------- import os from freeswitch import * import psycopg2 import socket
def handler(session, args): print 'ready to transfer' number_to_transfer = session.getVariable('number_') print number_to_transfer session.setAutoHangup('false') session.execute('set', 'hangup_after_bridge=false') session.execute('set', 'continue_on_fail=true') session.transfer( number_to_transfer, "XML", "default")
Description of my problem
Phone # 1 call to Phone #2 Phone #2 input some digits for transfer incoming call to phone #3 [phone #1-->phone#3] Phone #1 hangup, Phone 2 connect to phone # 3
where the my mistake?
When I make transfer by xml extensions all works fine
С уважением Михаил Салтанов
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Michael Collins
-
Михаил Салтанов