Re: [OpenSIPS-Users] use of scenario_id in b2b_init_request

2021-04-09 Thread xaled
Hi Vlad, thank you, I missed the $b2b_logic.scenario variable that can be used to differentiate logic within route[b2b_logic_request]. Now it is clear to me. It would be good to include it as an example in the B2B tutorial or B2B module documentation. Greetings, Xaled -Original

Re: [OpenSIPS-Users] use of scenario_id in b2b_init_request

2021-04-09 Thread Vlad Patrascu
Hi Xaled, The scenario ID is just a transparent identifier for the current B2B session. You may use it to identify which session belongs to which of your B2B scenarios. You can see this value in the output of b2b_list MI function and also you can retrieve it in the script with

Re: [OpenSIPS-Users] Matching dialog IDs

2021-04-09 Thread Kingsley Tart
Here you go: https://github.com/OpenSIPS/opensips/issues/2463 Cheers, Kingsley. On Fri, 2021-04-09 at 14:01 +0300, Răzvan Crainea wrote: > Hi, Kingsley! > > Just open an issue on OpenSIPS github page[1], it would be easier for us > to keep track of them. You will find the procedure there. > I

Re: [OpenSIPS-Users] OpenSIPS 3.1 DB logging INVITEs but not BYEs

2021-04-09 Thread Kingsley Tart
Hi, I found that changing this: modparam("acc", "early_media", 1) to this: modparam("acc", "early_media", 0) Has stopped the multiple records. With early_media on, a 180 or 183 created a new record. I already have that info in custom fields anyway by having this (just testing, so

Re: [OpenSIPS-Users] OpenSIPS 3.1 DB logging INVITEs but not BYEs

2021-04-09 Thread Kingsley Tart
Hi, I don't know whether you know but MariaDB v10 (that's the version I happen to be using; I don't know about other versions or specifically MySQL) has a general log that can be enabled and if on, logs all queries, thus avoiding the need to use ngrep; eg: MariaDB [opensips]> SHOW VARIABLES LIKE

Re: [OpenSIPS-Users] regex value too long OR how to properly quote/escape Redis raw query

2021-04-09 Thread Răzvan Crainea
Hi, Calvin! The "regex value too long" error should have already been fixed[1], but I somehow forgot to inform you :(. Can you please run another test now and let us know if there are other issues? [1] https://github.com/OpenSIPS/opensips/commit/a8f8aabc245ca86bd40a9eddf9befcd74a087be1

Re: [OpenSIPS-Users] OpenSIPS 3.1 DB logging INVITEs but not BYEs

2021-04-09 Thread Răzvan Crainea
Hi, Marcin, Kingsley! Indeed, if you'll be running only do_accounting("db", "cdr"), you will only get one record, at the end of the call, containing the `INVITE` method. That's more or less hardcoded there, and can't be changed. Giving a second thought about it, I somehow agree that's not

Re: [OpenSIPS-Users] Matching dialog IDs

2021-04-09 Thread Răzvan Crainea
Hi, Kingsley! Just open an issue on OpenSIPS github page[1], it would be easier for us to keep track of them. You will find the procedure there. I think the feature is to also provide the dialog id in the event. [1] https://github.com/OpenSIPS/opensips/issues Thanks, Răzvan Crainea OpenSIPS

Re: [OpenSIPS-Users] Matching dialog IDs

2021-04-09 Thread Kingsley Tart
What would you like me to specifically request, and how do I submit a feature request for OpenSIPS? Cheers, Kingsley. On Fri, 2021-04-09 at 11:01 +0300, Răzvan Crainea wrote: > Hi, Kingsley! > > I am afraid your approach is the correct one, and currently there's no > other workaround, rather

[OpenSIPS-Users] Opensips 3.0 + iOS Push Notifications

2021-04-09 Thread HS
Hello all. We are using Opensips 3.0 (with rtpproxy) and been looking to implement Push Notifications for iOS devices. Did come across quite a few resources, but they seem either too old ~2013 time or about V3.1. Has anyone implemented something to make calls to devices with the UAC in background

Re: [OpenSIPS-Users] Matching dialog IDs

2021-04-09 Thread Răzvan Crainea
Hi, Kingsley! I am afraid your approach is the correct one, and currently there's no other workaround, rather than the one you already did :(. Last year I've reworked the did and dlg_id in a few places to have a more consistent value, but somehow I missed the event's one. Ideally, we should