I'm trying to make an attended transfer through EventSocket, using sendmsg with att_xfer command, but having problems with it. ESL function: execute("att_xfer", args, b_uuid); It creates new calls as normal dialplan att_xfer, but problem occured when one of three sides hangs up. Sometimes it goes as planned, but more often all channels hangup automatically. att_xfer called from dialplan work as needed, looks like there is some problem with EventSocket call specifically . Maybe I must set some variables before to use it properly? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Attended-transfer-via-ESL-tp75... Sent from the freeswitch-users mailing list archive at Nabble.com.
Apologies for the late reply... If you didn't already fix your issue then perhaps you could use this: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast The uuid_broadcast API lets you execute an arbitrary dp app on a channel. You could execute the att_xfer app on the channel in question. It *should* work just as if it had been called from the dialplan. Let us know how it goes. -MC On Fri, Apr 27, 2012 at 8:14 AM, Limit <arkaha@hotbox.ru> wrote:
I'm trying to make an attended transfer through EventSocket, using sendmsg with att_xfer command, but having problems with it.
ESL function: execute("att_xfer", args, b_uuid);
It creates new calls as normal dialplan att_xfer, but problem occured when one of three sides hangs up. Sometimes it goes as planned, but more often all channels hangup automatically.
att_xfer called from dialplan work as needed, looks like there is some problem with EventSocket call specifically . Maybe I must set some variables before to use it properly?
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Attended-transfer-via-ESL-tp75... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Cool I tried with pa call 1000 uuid_broadcast <uuid> att_xfer:user/1001 and looks like it works well (because all my clients on the same computer so not 100% sure the sound was right) looking back to the Limit's ESL issue, it seems the sendmsg breaks some calling flow, here's a jira you may want to update http://jira.freeswitch.org/browse/FS-4018 On Saturday, May 5, 2012 at 7:01 AM, Michael Collins wrote:
Apologies for the late reply...
If you didn't already fix your issue then perhaps you could use this: http://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast
The uuid_broadcast API lets you execute an arbitrary dp app on a channel. You could execute the att_xfer app on the channel in question. It *should* work just as if it had been called from the dialplan.
Let us know how it goes.
-MC
On Fri, Apr 27, 2012 at 8:14 AM, Limit <arkaha@hotbox.ru (mailto:arkaha@hotbox.ru)> wrote:
I'm trying to make an attended transfer through EventSocket, using sendmsg with att_xfer command, but having problems with it.
ESL function: execute("att_xfer", args, b_uuid);
It creates new calls as normal dialplan att_xfer, but problem occured when one of three sides hangs up. Sometimes it goes as planned, but more often all channels hangup automatically.
att_xfer called from dialplan work as needed, looks like there is some problem with EventSocket call specifically . Maybe I must set some variables before to use it properly?
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Attended-transfer-via-ESL-tp75... Sent from the freeswitch-users mailing list archive at Nabble.com (http://Nabble.com).
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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
*mercutioviz*, thank you! Looks like it works for me! Transfer works just as called from dialplan. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Attended-transfer-via-ESL-tp75... Sent from the freeswitch-users mailing list archive at Nabble.com.
correction: uuid_broadcast <uuid> att_xfer:user/1001 was wrong, should be uuid_broadcast <uuid> att_xfer::user/1001 However my problem is different than Limit: 1) when I use att_xfer in erlang with sendmsg, it works, but no MOH on the other leg 2) when I use uuid_broadcast, everthing is ok, and DTMF works as expected, but uuid_recv_dtmf uuid *#0 doesn't work, I tried to use that to control a xfer On Friday, May 11, 2012 at 2:18 AM, Michael Collins wrote:
Cool, thanks for letting us know it worked. -MC
On Thu, May 10, 2012 at 6:52 AM, Limit <arkaha@hotbox.ru (mailto:arkaha@hotbox.ru)> wrote:
*mercutioviz*, thank you!
Looks like it works for me! Transfer works just as called from dialplan.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto:consulting@freeswitch.org) http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org (mailto: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 (3)
-
Limit
-
Michael Collins
-
Seven Du