Yes, they'll all fail if the first one fails rapidly. I tested it with invalid urls and the second two in your example fail with duplicate uuid, which is where I copied and pasted the exact two lines from my logs when I tested what you were trying to do. /b On Tue, Dec 6, 2016 at 2:43 PM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
:=)
well, running the originate from console works fine, but u never know whats gonna happen when you have some real load on the servers :=)
since it was working fine from console, was just wondering whether this is an issue in real life traffic... and yes, i do agree its more a headache than a benefit.
fill fallback to generating unique uuids for all sessions.
Thanks, Tihomir.
On 6 December 2016 at 16:09, Brian West <brian@freeswitch.org> wrote:
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 <+1%20918-420-9001> | *F:*+19184209002 <+1%20918-420-9002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ 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
_________________________________________________________________________ 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