Just because you can, doesn't mean you should, And as Colin pointed out, you're gonna have a race condition, And you'll need to get used to seeing this: 2016-12-06 09:07:56.268518 [CRIT] switch_core_session.c:2294 Duplicate UUID! 2016-12-06 09:07:56.268518 [CRIT] mod_sofia.c:4522 Error Creating Session And I can only imagine the hell this'll cause with billing. /b On Tue, Dec 6, 2016 at 9:22 AM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
Hello everyone,
i'd like to clarify one small thing:
in an originate with multiple dialstrings separated by "|" ( meaning sequential dialing ) ... if i set origination_uuid as session variable, can i have the same uuid on every session/channel.
something like that:
bgapi originate {originate_timeout=60}
[origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] sofia/gateway/gatewayA/1222333444| [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] sofia/gateway/gatewayB/1222333444| [origination_uuid=c88a737e-d713-4e47-be56-e384df470b44] sofia/gateway/gatewayC/1222333444
&application
so in other words, when executing originate command, FS, will generate a separate thread for the call and within the thread it will generate these sessions. So, is it safe to set the same uuid on all session that are being dialed sequentially?
Do sessions start and end sequentially ?
Appreciate any answer on this.
Regards, Tihomir.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com (50% Discount using code FreeSwitch50) http://www.freeswitchcookbook.com (50% Discount using code FreeSwitch50) https://www.gofundme.com/freeswitch_ubuntu Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest