[Freeswitch-users] freeswitch transfer call problem
Michael Collins
msc at freeswitch.org
Wed Dec 1 22:33:14 MSK 2010
Pastebin the debug output so we can see what is happening.
-MC
2010/11/26 Михаил Салтанов <melkybes at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101201/64ef2270/attachment.html
More information about the FreeSWITCH-users
mailing list