From alberto.rinaudo at gmail.com Fri Jan 3 15:14:16 2025 From: alberto.rinaudo at gmail.com (Alberto) Date: Fri, 3 Jan 2025 15:14:16 +0000 Subject: [OpenSIPS-Users] Teams multitenant Message-ID: Hi, I'm trying to get opensips to work for a multitenant setup, I followed https://blog.opensips.org/2019/09/16/opensips-as-ms-teams-sbc/ and https://kb.smartvox.co.uk/opensips/opensips-as-ms-teams-sbc/ I also followed https://learn.microsoft.com/en-us/microsoftteams/direct-routing-sbc-multiple-tenants for the teams part, but I must be missing something. The carrier trunk is up and sends and receives OPTIONS and is able to make and receive calls, that's all tested. The derived trunk on the client MS account was verified with the TXT record, but the TLS status is inactive and I don't know how to make it change. Do I have to send OPTIONS packets to the derived trunk? Looking at the documentation seems like it should get the same status as the carrier trunk without OPTIONS. Where it says "The options are sent only to the carrier trunk FQDN. The health status of the carrier trunk is applied to all derived trunks and is used for routing decisions." Any advice to add a tenant trunk after the carrier trunk and make it inherit the health status? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.rinaudo at gmail.com Wed Jan 8 11:14:42 2025 From: alberto.rinaudo at gmail.com (Alberto) Date: Wed, 8 Jan 2025 11:14:42 +0000 Subject: [OpenSIPS-Users] 2025 summit Message-ID: Hi, Not a support request, but I saw the date and location of the 2025 summit are up. Do we already know what the focus will be this year? Like last year there were several IMS and AI talks, what can we expect this time? Thanks A -------------- next part -------------- An HTML attachment was scrubbed... URL: From bullehs at gmail.com Wed Jan 8 16:07:29 2025 From: bullehs at gmail.com (HS) Date: Wed, 8 Jan 2025 21:07:29 +0500 Subject: [OpenSIPS-Users] Opensips-AI Voice Connector - on existing server Message-ID: Hi. Realtime docs suggest using the following two models - unsure it makes sense to change in the code or via the config file. gpt-4o-realtime-preview-2024-12-17 gpt-4o-mini-realtime-preview-2024-12-17 I have an Opensips 3.0 installation with RTPEngine on an EC2 instance, that redirects calls to a Freeswitch server in case of no answer etc. I just installed the AI voice connector and can't get the calls to work. So far I have added an "openai" user in the user table and dbaliases also. Just want to clarify: 1. Is it possible to make the connector work in parallel with the original Opensips install? 2. Do I need to modify the .cfg file in the original Opensips install? 3. Is it possible to have multiple configurations? For eg. have a different voice for ext 5555 and another for ext 5556? 4. Any watchouts when working with AWS (internal/external IPs)? (The IP is present on the host). 5. Instead of sending to Freeswitch (in case of no answer), I changed the cfg to keep the call local. Getting the following error: ERROR:b2b_entities:b2b_ua_server_init: failed to create new b2b server instance -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Wed Jan 8 16:49:39 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 8 Jan 2025 18:49:39 +0200 Subject: [OpenSIPS-Users] dlg_val before create_dialog In-Reply-To: References: <5947a179-48d7-4629-bfa6-0346efde6710@opensips.org> Message-ID: <737aa356-bc17-4eef-910a-7005b79cd848@opensips.org> Hi, Thanks for the info, Razvan identified the issue - indeed, the rtpproxy_offer() forces the dialog creation, without actually of any need of it. He will push a fix on this within the next days. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 17.12.2024 19:27, M S wrote: > So I did that, and it is very strange: > >     if (is_method("INVITE") && !has_totag()) xlog("L_WARN", > "$ci|route|$Ts:$Tsm|DLG_status3 $DLG_status"); >             if(!rtpproxy_offer("froc")) xlog("L_WARN", > "$ci|route|$Ts:$Tsm|rtpproxy_offer failed for: $mb\n"); >     if (is_method("INVITE") && !has_totag()) xlog("L_WARN", > "$ci|route|$Ts:$Tsm|DLG_status4 $DLG_status"); > > 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route|1734456172:140520|DLG_status3 > > 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route|1734456172:140879|DLG_status4 > 1 > > But what does rtpproxy_offer has to do with dialog? > > On Tue, Dec 17, 2024 at 5:06 PM Bogdan-Andrei Iancu > wrote: > > That means some other script function created the dialog in > advance. you can find which one by adding something like this on > top of your request route: >     script_trace( 1, "$rm from $si, dlg is $DLG_status", "dbg"); > > And see where the print changes from NULL to 1 ;) > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 17.12.2024 17:58, M S wrote: >> Thank you for your answer. I tried that and it shows DLG_status >> 1, which means the dialog is created but I definitely didn't >> create a dialog before that line. Also, the dialog is created >> further down with create_dialog("pPB") command because I see >> OPTIONS being sent to both caller and callee (pP working). >> Why would DLG_status print 1? I will try to print it at different >> lines of script to see where it changes... I have a t_newtran and >> some $acc_extra lines befores (other than some standard processing) >> >> On Tue, Dec 17, 2024 at 4:39 PM Bogdan-Andrei Iancu >> wrote: >> >> Hi, >> >> Yes, the dlg_val assignment fails if there is no current >> dialog. Maybe >> the dialog is created (internally) by some other script >> function you are >> using. Try prinitng the $DLG_status before the assignment, >> just to see >> if there is a dialog or not >> >> Regards, >> >> Bogdan-Andrei Iancu >> >> OpenSIPS Founder and Developer >> https://www.opensips-solutions.com >> https://www.siphub.com >> >> On 17.12.2024 14:08, M S wrote: >> > Hi list, >> > I have a script like this: >> > >> > ..... some processing >> > if (is_method("INVITE") && !has_totag()) { >> >   $dlg_val(x)="y"; >> > } >> > .... some processing >> > if (is_method("INVITE") && !has_totag()) { >> >     create_dialog("pPB") >> > } >> > >> > My first question is, why does this work?! documents say >> $dlg_val >> > cannot be used before dialog is created, and create_dialog >> is called >> > after dlg_val here. >> > I have verified that indeed dialog is created using >> create_dialog, and >> > indeed $dlg_val(x) stores the value (it is available later >> in the dialog). >> > >> > Second question, once or two times a day (after thousands >> of calls) I >> > see a do_assign setting PV failed error message on the >> $dlg_val(x)="y" >> > line. Since this shouldn't have worked to begin with, I >> don't know how >> > to debug this. Any suggestions? >> > >> > Thank you! >> > >> > _______________________________________________ >> > Users mailing list >> > Users at lists.opensips.org >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Wed Jan 8 16:53:31 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 8 Jan 2025 18:53:31 +0200 Subject: [OpenSIPS-Users] 2025 summit In-Reply-To: References: Message-ID: Hi Alberto, There is no golden rule, but usually the Summit focuses on the topic of the OpenSIPS release from the same year. And in 2025, the OpenSIPS 3.6 focuses on "operational improvements", see https://www.opensips.org/Development/Opensips-3-6-Planning But again, this is not a golden rule. The presentations from the OpenSIPS core team may focus on the current release, but the other speakers may come up with other interesting topics - like the AI stuff last year. Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 08.01.2025 13:14, Alberto wrote: > Hi, > > Not a support request, but I saw the date and location of the 2025 > summit are up. > Do we already know what the focus will be this year? > Like last year there were several IMS and AI talks, what can we expect > this time? > > Thanks > A > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users From razvan at opensips.org Wed Jan 8 16:57:56 2025 From: razvan at opensips.org (=?UTF-8?Q?R=C4=83zvan_Crainea?=) Date: Wed, 8 Jan 2025 18:57:56 +0200 Subject: [OpenSIPS-Users] dlg_val before create_dialog In-Reply-To: <737aa356-bc17-4eef-910a-7005b79cd848@opensips.org> References: <5947a179-48d7-4629-bfa6-0346efde6710@opensips.org> <737aa356-bc17-4eef-910a-7005b79cd848@opensips.org> Message-ID: I've just pushed a fix, thanks for helping us identify this issue. Best regards, Răzvan Crainea OpenSIPS Core Developer / SIPhub CTO http://www.opensips-solutions.com / https://www.siphub.com On 1/8/25 6:49 PM, Bogdan-Andrei Iancu wrote: > Hi, > > Thanks for the info, Razvan identified the issue - indeed, the > rtpproxy_offer() forces the dialog creation, without actually of any > need of it. He will push a fix on this within the next days. > > Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer >   https://www.opensips-solutions.com >   https://www.siphub.com > > On 17.12.2024 19:27, M S wrote: >> So I did that, and it is very strange: >> >>     if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| >> route|$Ts:$Tsm|DLG_status3 $DLG_status"); >>             if(!rtpproxy_offer("froc")) xlog("L_WARN", "$ci|route|$Ts: >> $Tsm|rtpproxy_offer failed for: $mb\n"); >>     if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| >> route|$Ts:$Tsm|DLG_status4 $DLG_status"); >> >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| >> 1734456172:140520|DLG_status3 >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| >> 1734456172:140879|DLG_status4 1 >> >> But what does rtpproxy_offer has to do with dialog? >> >> On Tue, Dec 17, 2024 at 5:06 PM Bogdan-Andrei Iancu >> wrote: >> >>     That means some other script function created the dialog in >>     advance. you can find which one by adding something like this on >>     top of your request route: >>         script_trace( 1, "$rm from $si, dlg is $DLG_status", "dbg"); >> >>     And see where the print changes from NULL to 1 ;) >> >>     Regards, >> >>     Bogdan-Andrei Iancu >> >>     OpenSIPS Founder and Developer >>        https://www.opensips-solutions.com >>        https://www.siphub.com >> >>     On 17.12.2024 17:58, M S wrote: >>>     Thank you for your answer. I tried that and it shows DLG_status >>>     1, which means the dialog is created but I definitely didn't >>>     create a dialog before that line. Also, the dialog is created >>>     further down with create_dialog("pPB") command because I see >>>     OPTIONS being sent to both caller and callee (pP working). >>>     Why would DLG_status print 1? I will try to print it at different >>>     lines of script to see where it changes... I have a t_newtran and >>>     some $acc_extra lines befores (other than some standard processing) >>> >>>     On Tue, Dec 17, 2024 at 4:39 PM Bogdan-Andrei Iancu >>>     wrote: >>> >>>         Hi, >>> >>>         Yes, the dlg_val assignment fails if there is no current >>>         dialog. Maybe >>>         the dialog is created (internally) by some other script >>>         function you are >>>         using. Try prinitng the $DLG_status before the assignment, >>>         just to see >>>         if there is a dialog or not >>> >>>         Regards, >>> >>>         Bogdan-Andrei Iancu >>> >>>         OpenSIPS Founder and Developer >>>         https://www.opensips-solutions.com >>>         https://www.siphub.com >>> >>>         On 17.12.2024 14:08, M S wrote: >>>         > Hi list, >>>         > I have a script like this: >>>         > >>>         > ..... some processing >>>         > if (is_method("INVITE") && !has_totag()) { >>>         >   $dlg_val(x)="y"; >>>         > } >>>         > .... some processing >>>         > if (is_method("INVITE") && !has_totag()) { >>>         >     create_dialog("pPB") >>>         > } >>>         > >>>         > My first question is, why does this work?! documents say >>>         $dlg_val >>>         > cannot be used before dialog is created, and create_dialog >>>         is called >>>         > after dlg_val here. >>>         > I have verified that indeed dialog is created using >>>         create_dialog, and >>>         > indeed $dlg_val(x) stores the value (it is available later >>>         in the dialog). >>>         > >>>         > Second question, once or two times a day (after thousands >>>         of calls) I >>>         > see a do_assign setting PV failed error message on the >>>         $dlg_val(x)="y" >>>         > line. Since this shouldn't have worked to begin with, I >>>         don't know how >>>         > to debug this. Any suggestions? >>>         > >>>         > Thank you! >>>         > >>>         > _______________________________________________ >>>         > Users mailing list >>>         > Users at lists.opensips.org >>>         > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> > > Hi, > > Thanks for the info, Razvan identified the issue - indeed, the > rtpproxy_offer() forces the dialog creation, without actually of any > need of it. He will push a fix on this within the next days. > > Best regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 17.12.2024 19:27, M S wrote: >> So I did that, and it is very strange: >> >>     if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| >> route|$Ts:$Tsm|DLG_status3 $DLG_status"); >>             if(!rtpproxy_offer("froc")) xlog("L_WARN", "$ci|route|$Ts: >> $Tsm|rtpproxy_offer failed for: $mb\n"); >>     if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| >> route|$Ts:$Tsm|DLG_status4 $DLG_status"); >> >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| >> 1734456172:140520|DLG_status3 >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| >> 1734456172:140879|DLG_status4 1 >> >> But what does rtpproxy_offer has to do with dialog? >> >> On Tue, Dec 17, 2024 at 5:06 PM Bogdan-Andrei Iancu >> wrote: >> >> That means some other script function created the dialog in >> advance. you can find which one by adding something like this on >> top of your request route: >>     script_trace( 1, "$rm from $si, dlg is $DLG_status", "dbg"); >> >> And see where the print changes from NULL to 1 ;) >> >> Regards, >> >> Bogdan-Andrei Iancu >> >> OpenSIPS Founder and Developer >> https://www.opensips-solutions.com >> https://www.siphub.com >> >> On 17.12.2024 17:58, M S wrote: >>> Thank you for your answer. I tried that and it shows DLG_status >>> 1, which means the dialog is created but I definitely didn't >>> create a dialog before that line. Also, the dialog is created >>> further down with create_dialog("pPB") command because I see >>> OPTIONS being sent to both caller and callee (pP working). >>> Why would DLG_status print 1? I will try to print it at different >>> lines of script to see where it changes... I have a t_newtran and >>> some $acc_extra lines befores (other than some standard processing) >>> >>> On Tue, Dec 17, 2024 at 4:39 PM Bogdan-Andrei Iancu >>> wrote: >>> >>> Hi, >>> >>> Yes, the dlg_val assignment fails if there is no current >>> dialog. Maybe >>> the dialog is created (internally) by some other script >>> function you are >>> using. Try prinitng the $DLG_status before the assignment, >>> just to see >>> if there is a dialog or not >>> >>> Regards, >>> >>> Bogdan-Andrei Iancu >>> >>> OpenSIPS Founder and Developer >>> https://www.opensips-solutions.com >>> https://www.siphub.com >>> >>> On 17.12.2024 14:08, M S wrote: >>> > Hi list, >>> > I have a script like this: >>> > >>> > ..... some processing >>> > if (is_method("INVITE") && !has_totag()) { >>> >   $dlg_val(x)="y"; >>> > } >>> > .... some processing >>> > if (is_method("INVITE") && !has_totag()) { >>> >     create_dialog("pPB") >>> > } >>> > >>> > My first question is, why does this work?! documents say >>> $dlg_val >>> > cannot be used before dialog is created, and create_dialog >>> is called >>> > after dlg_val here. >>> > I have verified that indeed dialog is created using >>> create_dialog, and >>> > indeed $dlg_val(x) stores the value (it is available later >>> in the dialog). >>> > >>> > Second question, once or two times a day (after thousands >>> of calls) I >>> > see a do_assign setting PV failed error message on the >>> $dlg_val(x)="y" >>> > line. Since this shouldn't have worked to begin with, I >>> don't know how >>> > to debug this. Any suggestions? >>> > >>> > Thank you! >>> > >>> > _______________________________________________ >>> > Users mailing list >>> > Users at lists.opensips.org >>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >> > From medeanwz at gmail.com Wed Jan 8 17:16:32 2025 From: medeanwz at gmail.com (M S) Date: Wed, 8 Jan 2025 18:16:32 +0100 Subject: [OpenSIPS-Users] dlg_val before create_dialog In-Reply-To: References: <5947a179-48d7-4629-bfa6-0346efde6710@opensips.org> <737aa356-bc17-4eef-910a-7005b79cd848@opensips.org> Message-ID: Thank you - which versions the fix is pushed to? This change may break some configurations (anybody like me using dlg_val before dialog creation) so it might be worth mentioning something about this in release notes... On Wed, Jan 8, 2025 at 5:58 PM Răzvan Crainea wrote: > I've just pushed a fix, thanks for helping us identify this issue. > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer / SIPhub CTO > http://www.opensips-solutions.com / https://www.siphub.com > > On 1/8/25 6:49 PM, Bogdan-Andrei Iancu wrote: > > Hi, > > > > Thanks for the info, Razvan identified the issue - indeed, the > > rtpproxy_offer() forces the dialog creation, without actually of any > > need of it. He will push a fix on this within the next days. > > > > Best regards, > > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > https://www.siphub.com > > > > On 17.12.2024 19:27, M S wrote: > >> So I did that, and it is very strange: > >> > >> if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| > >> route|$Ts:$Tsm|DLG_status3 $DLG_status"); > >> if(!rtpproxy_offer("froc")) xlog("L_WARN", "$ci|route|$Ts: > >> $Tsm|rtpproxy_offer failed for: $mb\n"); > >> if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| > >> route|$Ts:$Tsm|DLG_status4 $DLG_status"); > >> > >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| > >> 1734456172:140520|DLG_status3 > >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| > >> 1734456172:140879|DLG_status4 1 > >> > >> But what does rtpproxy_offer has to do with dialog? > >> > >> On Tue, Dec 17, 2024 at 5:06 PM Bogdan-Andrei Iancu > >> wrote: > >> > >> That means some other script function created the dialog in > >> advance. you can find which one by adding something like this on > >> top of your request route: > >> script_trace( 1, "$rm from $si, dlg is $DLG_status", "dbg"); > >> > >> And see where the print changes from NULL to 1 ;) > >> > >> Regards, > >> > >> Bogdan-Andrei Iancu > >> > >> OpenSIPS Founder and Developer > >> https://www.opensips-solutions.com > >> https://www.siphub.com > >> > >> On 17.12.2024 17:58, M S wrote: > >>> Thank you for your answer. I tried that and it shows DLG_status > >>> 1, which means the dialog is created but I definitely didn't > >>> create a dialog before that line. Also, the dialog is created > >>> further down with create_dialog("pPB") command because I see > >>> OPTIONS being sent to both caller and callee (pP working). > >>> Why would DLG_status print 1? I will try to print it at different > >>> lines of script to see where it changes... I have a t_newtran and > >>> some $acc_extra lines befores (other than some standard processing) > >>> > >>> On Tue, Dec 17, 2024 at 4:39 PM Bogdan-Andrei Iancu > >>> wrote: > >>> > >>> Hi, > >>> > >>> Yes, the dlg_val assignment fails if there is no current > >>> dialog. Maybe > >>> the dialog is created (internally) by some other script > >>> function you are > >>> using. Try prinitng the $DLG_status before the assignment, > >>> just to see > >>> if there is a dialog or not > >>> > >>> Regards, > >>> > >>> Bogdan-Andrei Iancu > >>> > >>> OpenSIPS Founder and Developer > >>> https://www.opensips-solutions.com > >>> https://www.siphub.com > >>> > >>> On 17.12.2024 14:08, M S wrote: > >>> > Hi list, > >>> > I have a script like this: > >>> > > >>> > ..... some processing > >>> > if (is_method("INVITE") && !has_totag()) { > >>> > $dlg_val(x)="y"; > >>> > } > >>> > .... some processing > >>> > if (is_method("INVITE") && !has_totag()) { > >>> > create_dialog("pPB") > >>> > } > >>> > > >>> > My first question is, why does this work?! documents say > >>> $dlg_val > >>> > cannot be used before dialog is created, and create_dialog > >>> is called > >>> > after dlg_val here. > >>> > I have verified that indeed dialog is created using > >>> create_dialog, and > >>> > indeed $dlg_val(x) stores the value (it is available later > >>> in the dialog). > >>> > > >>> > Second question, once or two times a day (after thousands > >>> of calls) I > >>> > see a do_assign setting PV failed error message on the > >>> $dlg_val(x)="y" > >>> > line. Since this shouldn't have worked to begin with, I > >>> don't know how > >>> > to debug this. Any suggestions? > >>> > > >>> > Thank you! > >>> > > >>> > _______________________________________________ > >>> > Users mailing list > >>> > Users at lists.opensips.org > >>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >>> > >> > > > > Hi, > > > > Thanks for the info, Razvan identified the issue - indeed, the > > rtpproxy_offer() forces the dialog creation, without actually of any > > need of it. He will push a fix on this within the next days. > > > > Best regards, > > > > Bogdan-Andrei Iancu > > > > OpenSIPS Founder and Developer > > https://www.opensips-solutions.com > > https://www.siphub.com > > > > On 17.12.2024 19:27, M S wrote: > >> So I did that, and it is very strange: > >> > >> if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| > >> route|$Ts:$Tsm|DLG_status3 $DLG_status"); > >> if(!rtpproxy_offer("froc")) xlog("L_WARN", "$ci|route|$Ts: > >> $Tsm|rtpproxy_offer failed for: $mb\n"); > >> if (is_method("INVITE") && !has_totag()) xlog("L_WARN", "$ci| > >> route|$Ts:$Tsm|DLG_status4 $DLG_status"); > >> > >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| > >> 1734456172:140520|DLG_status3 > >> 32ac0d41383090087a573dd766679bcc at 10.201.54.109:5060|route| > >> 1734456172:140879|DLG_status4 1 > >> > >> But what does rtpproxy_offer has to do with dialog? > >> > >> On Tue, Dec 17, 2024 at 5:06 PM Bogdan-Andrei Iancu > >> wrote: > >> > >> That means some other script function created the dialog in > >> advance. you can find which one by adding something like this on > >> top of your request route: > >> script_trace( 1, "$rm from $si, dlg is $DLG_status", "dbg"); > >> > >> And see where the print changes from NULL to 1 ;) > >> > >> Regards, > >> > >> Bogdan-Andrei Iancu > >> > >> OpenSIPS Founder and Developer > >> https://www.opensips-solutions.com > >> https://www.siphub.com > >> > >> On 17.12.2024 17:58, M S wrote: > >>> Thank you for your answer. I tried that and it shows DLG_status > >>> 1, which means the dialog is created but I definitely didn't > >>> create a dialog before that line. Also, the dialog is created > >>> further down with create_dialog("pPB") command because I see > >>> OPTIONS being sent to both caller and callee (pP working). > >>> Why would DLG_status print 1? I will try to print it at different > >>> lines of script to see where it changes... I have a t_newtran and > >>> some $acc_extra lines befores (other than some standard processing) > >>> > >>> On Tue, Dec 17, 2024 at 4:39 PM Bogdan-Andrei Iancu > >>> wrote: > >>> > >>> Hi, > >>> > >>> Yes, the dlg_val assignment fails if there is no current > >>> dialog. Maybe > >>> the dialog is created (internally) by some other script > >>> function you are > >>> using. Try prinitng the $DLG_status before the assignment, > >>> just to see > >>> if there is a dialog or not > >>> > >>> Regards, > >>> > >>> Bogdan-Andrei Iancu > >>> > >>> OpenSIPS Founder and Developer > >>> https://www.opensips-solutions.com > >>> https://www.siphub.com > >>> > >>> On 17.12.2024 14:08, M S wrote: > >>> > Hi list, > >>> > I have a script like this: > >>> > > >>> > ..... some processing > >>> > if (is_method("INVITE") && !has_totag()) { > >>> > $dlg_val(x)="y"; > >>> > } > >>> > .... some processing > >>> > if (is_method("INVITE") && !has_totag()) { > >>> > create_dialog("pPB") > >>> > } > >>> > > >>> > My first question is, why does this work?! documents say > >>> $dlg_val > >>> > cannot be used before dialog is created, and create_dialog > >>> is called > >>> > after dlg_val here. > >>> > I have verified that indeed dialog is created using > >>> create_dialog, and > >>> > indeed $dlg_val(x) stores the value (it is available later > >>> in the dialog). > >>> > > >>> > Second question, once or two times a day (after thousands > >>> of calls) I > >>> > see a do_assign setting PV failed error message on the > >>> $dlg_val(x)="y" > >>> > line. Since this shouldn't have worked to begin with, I > >>> don't know how > >>> > to debug this. Any suggestions? > >>> > > >>> > Thank you! > >>> > > >>> > _______________________________________________ > >>> > Users mailing list > >>> > Users at lists.opensips.org > >>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >>> > >> > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From razvan at opensips.org Thu Jan 9 07:57:51 2025 From: razvan at opensips.org (=?UTF-8?Q?R=C4=83zvan_Crainea?=) Date: Thu, 9 Jan 2025 09:57:51 +0200 Subject: [OpenSIPS-Users] Opensips-AI Voice Connector - on existing server In-Reply-To: References: Message-ID: <31907292-4e33-4579-82f9-4f9e0bd4a313@opensips.org> Hello! Check my answers below: 1. Sure - all you have to do is to dispatch the calls you want to get to an AI to the CE instance 2. Depends on your setup - if you have trunks that you can dispatch to, all you need to do is to setup the CE as a trunk and use it. 3. Yes - you can pass a JSON to configure the AI through the extra_params, or use an external web server to query during handling (see [1]) 4. If you have the SIP IP on the server, I don't see any issues 5. Is that the only error you're getting? can you run in debug mode and post a few more logs? A PCAP might also be helpful. [1] https://github.com/OpenSIPS/opensips-ai-voice-connector-ce/pull/8 Best regards, Răzvan Crainea OpenSIPS Core Developer / SIPhub CTO http://www.opensips-solutions.com / https://www.siphub.com On 1/8/25 6:07 PM, HS wrote: > Hi. > > Realtime docs suggest using the following two models - unsure it makes > sense to change in the code or via the config file. > > gpt-4o-realtime-preview-2024-12-17 > gpt-4o-mini-realtime-preview-2024-12-17 > > I have an Opensips 3.0 installation with RTPEngine on an EC2 instance, that > redirects calls to a Freeswitch server in case of no answer etc. I just > installed the AI voice connector and can't get the calls to work. So far I > have added an "openai" user in the user table and dbaliases also. Just want > to clarify: > > 1. Is it possible to make the connector work in parallel with the > original Opensips install? > 2. Do I need to modify the .cfg file in the original Opensips install? > 3. Is it possible to have multiple configurations? For eg. have a > different voice for ext 5555 and another for ext 5556? > 4. Any watchouts when working with AWS (internal/external IPs)? (The IP > is present on the host). > 5. Instead of sending to Freeswitch (in case of no answer), I changed > the cfg to keep the call local. Getting the following error: > ERROR:b2b_entities:b2b_ua_server_init: failed to create new b2b server > instance > > > Hi. > > Realtime docs suggest using the following two models - unsure it makes > sense to change in the code or via the config file. > > gpt-4o-realtime-preview-2024-12-17 > gpt-4o-mini-realtime-preview-2024-12-17 > > I have an Opensips 3.0 installation with RTPEngine on an EC2 instance, > that redirects calls to a Freeswitch server in case of no answer etc. I > just installed the AI voice connector and can't get the calls to work. > So far I have added an "openai" user in the user table and dbaliases > also. Just want to clarify: > > 1. Is it possible to make the connector work in parallel with the > original Opensips install? > 2. Do I need to modify the .cfg file in the original Opensips install? > 3. Is it possible to have multiple configurations? For eg. have a > different voice for ext 5555 and another for ext 5556? > 4. Any watchouts when working with AWS (internal/external IPs)? (The IP > is present on the host). > 5. Instead of sending to Freeswitch (in case of no answer), I changed > the cfg to keep the call local. Getting the following error: > |ERROR:b2b_entities:b2b_ua_server_init: failed to create new b2b > server instance | > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users From razvan at opensips.org Thu Jan 9 08:46:10 2025 From: razvan at opensips.org (=?UTF-8?Q?R=C4=83zvan_Crainea?=) Date: Thu, 9 Jan 2025 10:46:10 +0200 Subject: [OpenSIPS-Users] FOSDEM'25: OpenSIPS and the VoIP Dinner! Message-ID: <8cad5f63-ea2c-43a8-a0c3-8e4f19366060@opensips.org> Hello, Everyone! We are thrilled to announce that we will once again be participating in the FOSDEM'25 Conference! This year, we’ll showcase our OpenSIPS Community Editions projects[2] on Saturday, 15:00, in the RTC Devroom[3]. But that’s not all—our tradition continues! The amazing Torrey Searle has organized the customary VoIP Dinner on Saturday at 19:00, hosted at our favorite spot, Le Pickwick[4]. This year, OpenSIPS is proudly sponsoring the dinner, while Voicenter is sponsoring the drinks, making it an event you won’t want to miss! To help the restaurant plan accordingly, please ensure you pre-register for the dinner[5] as soon as possible. Looking forward to seeing you at FOSDEM'25 for engaging discussions, great food, and even better community! [1] https://fosdem.org/2025/ [2] https://ce.opensips.org/ [3] https://fosdem.org/2025/schedule/event/fosdem-2025-5063-engaging-the-open-source-community-exploring-the-opensips-community-edition-projects/ [4] https://maps.app.goo.gl/Lv2xrfEwu4EZNFR67 [5] https://form.jotform.com/250012543310033 See you all at FOSDEM'25! -- Răzvan Crainea OpenSIPS Core Developer / SIPhub CTO http://www.opensips-solutions.com / https://www.siphub.com From alain.bieuzent at free.fr Thu Jan 9 11:12:58 2025 From: alain.bieuzent at free.fr (Alain Bieuzent) Date: Thu, 09 Jan 2025 12:12:58 +0100 Subject: [OpenSIPS-Users] Extract "numeric part" of RURI Message-ID: <9C6BE33C-5737-4B3D-8D71-536C638CB613@free.fr> Good Morning, What is the best way to extract the "numeric part" of a RURI, for example on an INVITE with tgrp parameter and I want to extract only the “123456789” part INVITE sip:123456789;tgrp=99999 at X.X.X.X:5060 Thanks in advance, Alain -------------- next part -------------- An HTML attachment was scrubbed... URL: From alidogan at plan.com Thu Jan 9 11:28:05 2025 From: alidogan at plan.com (Ali Dogan) Date: Thu, 9 Jan 2025 11:28:05 +0000 Subject: [OpenSIPS-Users] Extract "numeric part" of RURI In-Reply-To: <9C6BE33C-5737-4B3D-8D71-536C638CB613@free.fr> References: <9C6BE33C-5737-4B3D-8D71-536C638CB613@free.fr> Message-ID: Hello Alain, 3.77 Username in SIP Request's URI - $rU 🔗 $rU - reference to username in request's URI It is R/W variable (you can assign values to it routing script) This should give you what you need. Best Regards, Ali Dogan +44(0)3300 88 18 18 alidogan at plan.com plan.com is the trading name of Plan Communications Limited, registered in the Isle of Man with company number 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Plan. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. ________________________________ From: Users on behalf of Alain Bieuzent Sent: Thursday, January 9, 2025 14:12 To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] Extract "numeric part" of RURI This message was sent from outside plan.com. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe. Good Morning, What is the best way to extract the "numeric part" of a RURI, for example on an INVITE with tgrp parameter and I want to extract only the “123456789” part INVITE sip:123456789;tgrp=99999 at X.X.X.X:5060 Thanks in advance, Alain -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.bieuzent at free.fr Thu Jan 9 12:56:08 2025 From: alain.bieuzent at free.fr (Alain Bieuzent) Date: Thu, 09 Jan 2025 13:56:08 +0100 Subject: [OpenSIPS-Users] Extract "numeric part" of RURI Message-ID: <6FB8743A-2ECF-4077-9A3B-AC7E3AEEE08C@free.fr> unfortunately no, $rU in my example returns the entire string between sip: and before the @ => 123456789;tgrp=99999 I know how read the value of parameters (ex : $(rU{param.value, tgrp}) ), but I don’t know how to read the value without parameters Thanks De : Users au nom de Ali Dogan Répondre à : OpenSIPS users mailling list Date : jeudi 9 janvier 2025 à 12:31 À : OpenSIPS users mailling list Objet : Re: [OpenSIPS-Users] Extract "numeric part" of RURI Hello Alain, 3.77 Username in SIP Request's URI - $rU 🔗 $rU - reference to username in request's URI It is R/W variable (you can assign values to it routing script) This should give you what you need. Best Regards, Ali Dogan​​​​ +44(0)3300 88 18 18 alidogan at plan.com plan.com is the trading name of Plan Communications Limited, registered in the Isle of Man with company number 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Plan. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. From: Users on behalf of Alain Bieuzent Sent: Thursday, January 9, 2025 14:12 To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] Extract "numeric part" of RURI This message was sent from outside plan.com. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe. Good Morning, What is the best way to extract the "numeric part" of a RURI, for example on an INVITE with tgrp parameter and I want to extract only the “123456789” part INVITE sip:123456789;tgrp=99999 at X.X.X.X:5060 Thanks in advance, Alain _______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Thu Jan 9 13:15:20 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 9 Jan 2025 15:15:20 +0200 Subject: [OpenSIPS-Users] Extract "numeric part" of RURI In-Reply-To: <6FB8743A-2ECF-4077-9A3B-AC7E3AEEE08C@free.fr> References: <6FB8743A-2ECF-4077-9A3B-AC7E3AEEE08C@free.fr> Message-ID: <59a7d1ae-5f6e-47be-ad6b-dad841d17688@opensips.org> Hi Alain, There is no direct way. You need to use a transformation (on top of $rU) in order to get that param value : $(rU{s.select,0,,}) , see https://www.opensips.org/Documentation/Script-Tran-3-4#s.select Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 09.01.2025 14:56, Alain Bieuzent wrote: > > unfortunatelyno, > > $rU in my example returns the entire string between sip: and before > the @ => 123456789;tgrp=99999 > > I know how read the value of parameters (ex : $(rU{param.value, tgrp}) > ), but I don’t know how to read the value without parameters > > Thanks > > *De : *Users au nom de Ali Dogan > > *Répondre à : *OpenSIPS users mailling list > *Date : *jeudi 9 janvier 2025 à 12:31 > *À : *OpenSIPS users mailling list > *Objet : *Re: [OpenSIPS-Users] Extract "numeric part" of RURI > > Hello Alain, > > 3.77  Username in SIP Request's URI - $rU 🔗 > > $rU - reference to username in request's URI > > It is R/W variable (you can assign values to it routing script) > > > This should give you what you need. > > Best Regards, > > *Ali Dogan**​**​**​**​*** > > *plan.com * > > > > +44(0)3300 88 18 18 > > *alidogan at plan.com * > > Facebook > > > > Instagram > > > > LinkedIn > > > > > > plan.com is the trading name of Plan > Communications Limited, registered in the Isle of Man with company > number 010273V and Registered Office at No.5 Victoria Street, Douglas, > Isle of Man, IM1 2LR. This email and any attachments to it may be > confidential and are intended solely for the use of the individual to > whom it is addressed. Any views or opinions expressed are solely those > of the author and do not necessarily represent those of Plan. If you > are not the intended recipient of this email, you must neither take > any action based upon its contents, nor copy or show it to anyone. > Please contact the sender if you believe you have received this email > in error. > > ------------------------------------------------------------------------ > > *From:* Users on behalf of Alain > Bieuzent > *Sent:* Thursday, January 9, 2025 14:12 > *To:* OpenSIPS users mailling list > *Subject:* [OpenSIPS-Users] Extract "numeric part" of RURI > > > > > This message was sent from outside plan.com. Please do not click links > or open attachments unless you recognise the source of this email and > know the content is safe. > > Good Morning, > > What is the best way to extract the "numeric part" of a RURI, for > example on an INVITE with tgrp parameter and I want to extract only > the “123456789” part > > INVITE _sip:123456789;tgrp=99999 at X.X.X.X:5060 > _ > > Thanks in advance, > > Alain > > _______________________________________________ Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From solarmon at one-n.co.uk Thu Jan 9 13:16:34 2025 From: solarmon at one-n.co.uk (solarmon) Date: Thu, 9 Jan 2025 13:16:34 +0000 Subject: [OpenSIPS-Users] Extract "numeric part" of RURI In-Reply-To: <6FB8743A-2ECF-4077-9A3B-AC7E3AEEE08C@free.fr> References: <6FB8743A-2ECF-4077-9A3B-AC7E3AEEE08C@free.fr> Message-ID: You could then use the 'select' string transformation to select the first item in a ';' separated list: https://www.opensips.org/Documentation/Script-Tran-3-4#s.select For example: {s.select,0,;} On Thu, 9 Jan 2025 at 12:58, Alain Bieuzent wrote: > unfortunately no, > > > > $rU in my example returns the entire string between sip: and before the > @ => 123456789;tgrp=99999 > > I know how read the value of parameters (ex : $(rU{param.value, tgrp}) ), > but I don’t know how to read the value without parameters > > > > Thanks > > > > *De : *Users au nom de Ali Dogan < > alidogan at plan.com> > *Répondre à : *OpenSIPS users mailling list > *Date : *jeudi 9 janvier 2025 à 12:31 > *À : *OpenSIPS users mailling list > *Objet : *Re: [OpenSIPS-Users] Extract "numeric part" of RURI > > > > Hello Alain, > > 3.77 Username in SIP Request's URI - $rU 🔗 > > $rU - reference to username in request's URI > > > > It is R/W variable (you can assign values to it routing script) > > > This should give you what you need. > > Best Regards, > > *Ali Dogan* > > *[image: plan.com] * > > +44(0)3300 88 18 18 <+44(0)3300%2088%2018%2018> > > *alidogan at plan.com * > > [image: Facebook] > > [image: Instagram] > > [image: LinkedIn] > > > > plan.com is the trading name of Plan > Communications Limited, registered in the Isle of Man with company number > 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of > Man, IM1 2LR. This email and any attachments to it may be confidential and > are intended solely for the use of the individual to whom it is addressed. > Any views or opinions expressed are solely those of the author and do not > necessarily represent those of Plan. If you are not the intended recipient > of this email, you must neither take any action based upon its contents, > nor copy or show it to anyone. Please contact the sender if you believe you > have received this email in error. > ------------------------------ > > *From:* Users on behalf of Alain > Bieuzent > *Sent:* Thursday, January 9, 2025 14:12 > *To:* OpenSIPS users mailling list > *Subject:* [OpenSIPS-Users] Extract "numeric part" of RURI > > > > This message was sent from outside plan.com. Please do not click links or > open attachments unless you recognise the source of this email and know the > content is safe. > > > > Good Morning, > > > > What is the best way to extract the "numeric part" of a RURI, for example > on an INVITE with tgrp parameter and I want to extract only the “123456789” > part > > > > INVITE *sip:123456789;tgrp=99999 at X.X.X.X:5060* > > > > Thanks in advance, > > > > Alain > > _______________________________________________ Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.bieuzent at free.fr Thu Jan 9 15:08:24 2025 From: alain.bieuzent at free.fr (Alain Bieuzent) Date: Thu, 09 Jan 2025 16:08:24 +0100 Subject: [OpenSIPS-Users] Extract "numeric part" of RURI In-Reply-To: References: <6FB8743A-2ECF-4077-9A3B-AC7E3AEEE08C@free.fr> Message-ID: MAny thanks De : Users au nom de solarmon Répondre à : OpenSIPS users mailling list Date : jeudi 9 janvier 2025 à 14:19 À : OpenSIPS users mailling list Objet : Re: [OpenSIPS-Users] Extract "numeric part" of RURI You could then use the 'select' string transformation to select the first item in a ';' separated list: https://www.opensips.org/Documentation/Script-Tran-3-4#s.select For example: {s.select,0,;} On Thu, 9 Jan 2025 at 12:58, Alain Bieuzent wrote: unfortunately no, $rU in my example returns the entire string between sip: and before the @ => 123456789;tgrp=99999 I know how read the value of parameters (ex : $(rU{param.value, tgrp}) ), but I don’t know how to read the value without parameters Thanks De : Users au nom de Ali Dogan Répondre à : OpenSIPS users mailling list Date : jeudi 9 janvier 2025 à 12:31 À : OpenSIPS users mailling list Objet : Re: [OpenSIPS-Users] Extract "numeric part" of RURI Hello Alain, 3.77 Username in SIP Request's URI - $rU 🔗 $rU - reference to username in request's URI It is R/W variable (you can assign values to it routing script) This should give you what you need. Best Regards, Ali Dogan +44(0)3300 88 18 18 alidogan at plan.com plan.com is the trading name of Plan Communications Limited, registered in the Isle of Man with company number 010273V and Registered Office at No.5 Victoria Street, Douglas, Isle of Man, IM1 2LR. This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Plan. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. From: Users on behalf of Alain Bieuzent Sent: Thursday, January 9, 2025 14:12 To: OpenSIPS users mailling list Subject: [OpenSIPS-Users] Extract "numeric part" of RURI This message was sent from outside plan.com. Please do not click links or open attachments unless you recognise the source of this email and know the content is safe. Good Morning, What is the best way to extract the "numeric part" of a RURI, for example on an INVITE with tgrp parameter and I want to extract only the “123456789” part INVITE sip:123456789;tgrp=99999 at X.X.X.X:5060 Thanks in advance, Alain _______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list Users at lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From ag at ag-projects.com Thu Jan 9 16:47:06 2025 From: ag at ag-projects.com (Adrian Georgescu) Date: Thu, 9 Jan 2025 13:47:06 -0300 Subject: [OpenSIPS-Users] OpenXCAP next generation Message-ID: Hello, As the current OpenXCAP server written in Python2 reached end-of life, we are making a new server from scratch. For those using Blink, XCAP is the glue between Blink contacts list and OpenSIP Presence agent. Others may have used it for other purposes. As XCAP as a protocol was not widely adopted in SIP clients, we will also build a more generic restful API for managing contacts list, while preserving compatibility with XCAP protocol and OpenSIPS storage. This will allow 3rd party apps to have an easy way to interact with the presence agent capabilities of OpenSIPS or just store contacts and groups in general for realtime applications. If you have ideas for other features, you may bring them forward now. Kind regards, Adrian From bogdan at opensips.org Fri Jan 10 13:07:16 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 10 Jan 2025 15:07:16 +0200 Subject: [OpenSIPS-Users] OpenSIPS 3.6 Features Survey - last days Message-ID: <49f9b221-e4b4-4f1b-8233-0fe6f08fa65f@opensips.org> Hi all, I hope you all enjoyed the New Year holidays :). Maybe some of you/us are still in the holiday mode :), so the new deadline for Feature Survey the OpenSIPS 3.6 Dev Plan is *_14th of Jan_*. Your feedback matters! Best regards, -- Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From goup2010 at gmail.com Sun Jan 12 16:02:55 2025 From: goup2010 at gmail.com (Dragomir Haralambiev) Date: Sun, 12 Jan 2025 18:02:55 +0200 Subject: [OpenSIPS-Users] OpenSIPS SoftSwitch Error! Message-ID: Hello, I try to test OpenSIPS SoftSwitch When change MYSQL_PASSWORD=opensipsNew Make docker compose up All containers is UP. When try to login in http://localhostIP/cp I receive follow error in browser Error!: SQLSTATE[HY000] [1045] Access denied for user 'opensips'@'172.72.0.4' (using password: YES) Best Regards, Dragomir Haralambiev -------------- next part -------------- An HTML attachment was scrubbed... URL: From nzdealshelp at gmail.com Mon Jan 13 03:01:18 2025 From: nzdealshelp at gmail.com (nz deals) Date: Mon, 13 Jan 2025 16:01:18 +1300 Subject: [OpenSIPS-Users] avpops in opensips-3.5 Message-ID: Hi all, I previously used avpops.so in OpenSIPS 3.4, but after upgrading to OpenSIPS 3.5.3, I am encountering errors stating that avpops is not available. My configuration includes the use of several AVPs and avp_db_query. Is there any way to resolve this issue without modifying the configuration? Thank you Regards, Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From osas at voipembedded.com Mon Jan 13 03:17:13 2025 From: osas at voipembedded.com (Ovidiu Sas) Date: Sun, 12 Jan 2025 22:17:13 -0500 Subject: [OpenSIPS-Users] avpops in opensips-3.5 In-Reply-To: References: Message-ID: Everything is documented here: https://www.opensips.org/Documentation/Migration-3-4-0-to-3-5-0 -ovidiu On Sun, Jan 12, 2025 at 10:02 PM nz deals wrote: > > Hi all, > > I previously used avpops.so in OpenSIPS 3.4, but after upgrading to OpenSIPS 3.5.3, I am encountering errors stating that avpops is not available. My configuration includes the use of several AVPs and avp_db_query. Is there any way to resolve this issue without modifying the configuration? > > Thank you > > Regards, > Jason > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users From vineeth.chigullapally at sixd.co Mon Jan 13 03:29:25 2025 From: vineeth.chigullapally at sixd.co (Vineeth Chigullapally) Date: Mon, 13 Jan 2025 08:59:25 +0530 Subject: [OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment Message-ID: Hi I hope this email finds you well. I am currently working on configuring load balancing for one of my OpenSIPS instances, which is deployed as a Docker container. The objective is to route traffic evenly between two target servers, proc1 and proc2. However, I am encountering an issue during the load-balancing process. Below are the log messages that I am observing: opensips_lb | Jan 9 12:40:08 [13] DBG:load_balancer:lb_route: initial call of LB - found requested 1/1 resource [sip] opensips_lb | Jan 9 12:40:08 [13] ERROR:load_balancer:lb_route: initial call of LB - failed to create dialog opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran: transaction on entrance=0xffffffffffffffff I have followed https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 for configuration but cannot identify the root cause of the issue. It seems that the load balancer is unable to create a dialog, which might be preventing the traffic from being routed correctly. Could you please provide your insights, suggestions, or possible solutions to resolve this issue? If any additional details, such as configuration files or environment specifics, are needed, I will be happy to share them. Thank you for your time and assistance. Looking forward to your suggestions. Best regards C Vineeth -------------- next part -------------- An HTML attachment was scrubbed... URL: From nzdealshelp at gmail.com Mon Jan 13 04:09:07 2025 From: nzdealshelp at gmail.com (nz deals) Date: Mon, 13 Jan 2025 17:09:07 +1300 Subject: [OpenSIPS-Users] avpops in opensips-3.5 In-Reply-To: References: Message-ID: Thanks ovidiu, I have gone through the link but it looks like I have to replace a few functions in the config. I am avoiding doing that at this point. Regards, Jason On Mon, 13 Jan 2025 at 16:21, Ovidiu Sas wrote: > Everything is documented here: > https://www.opensips.org/Documentation/Migration-3-4-0-to-3-5-0 > > -ovidiu > > On Sun, Jan 12, 2025 at 10:02 PM nz deals wrote: > > > > Hi all, > > > > I previously used avpops.so in OpenSIPS 3.4, but after upgrading to > OpenSIPS 3.5.3, I am encountering errors stating that avpops is not > available. My configuration includes the use of several AVPs and > avp_db_query. Is there any way to resolve this issue without modifying the > configuration? > > > > Thank you > > > > Regards, > > Jason > > _______________________________________________ > > Users mailing list > > Users at lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From osas at voipembedded.com Mon Jan 13 04:39:47 2025 From: osas at voipembedded.com (Ovidiu Sas) Date: Sun, 12 Jan 2025 23:39:47 -0500 Subject: [OpenSIPS-Users] avpops in opensips-3.5 In-Reply-To: References: Message-ID: Replacing them is pretty straight forward. I performed a few upgrades recently and all went smoothly. -ovidiu On Sun, Jan 12, 2025 at 23:11 nz deals wrote: > Thanks ovidiu, > > I have gone through the link but it looks like I have to replace a few > functions in the config. I am avoiding doing that at this point. > > Regards, > Jason > > On Mon, 13 Jan 2025 at 16:21, Ovidiu Sas wrote: > >> Everything is documented here: >> https://www.opensips.org/Documentation/Migration-3-4-0-to-3-5-0 >> >> -ovidiu >> >> On Sun, Jan 12, 2025 at 10:02 PM nz deals wrote: >> > >> > Hi all, >> > >> > I previously used avpops.so in OpenSIPS 3.4, but after upgrading to >> OpenSIPS 3.5.3, I am encountering errors stating that avpops is not >> available. My configuration includes the use of several AVPs and >> avp_db_query. Is there any way to resolve this issue without modifying the >> configuration? >> > >> > Thank you >> > >> > Regards, >> > Jason >> > _______________________________________________ >> > Users mailing list >> > Users at lists.opensips.org >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> _______________________________________________ >> Users mailing list >> Users at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From razvan at opensips.org Mon Jan 13 08:49:34 2025 From: razvan at opensips.org (=?UTF-8?Q?R=C4=83zvan_Crainea?=) Date: Mon, 13 Jan 2025 10:49:34 +0200 Subject: [OpenSIPS-Users] OpenSIPS SoftSwitch Error! In-Reply-To: References: Message-ID: Hi, Dragomir! Is this a fresh setup? Because if the mysql container had been previously created with a diffierent password, than the password is not updated. You should make sure that everything is down (i.e. `docker-compose down`). Best regards, Răzvan Crainea OpenSIPS Core Developer / SIPhub CTO http://www.opensips-solutions.com / https://www.siphub.com On 1/12/25 6:02 PM, Dragomir Haralambiev wrote: > Hello, > > I try to test OpenSIPS SoftSwitch > > When change MYSQL_PASSWORD=opensipsNew > Make docker compose up > > All containers is UP. > > When try to login in http://localhostIP/cp > > I receive follow error in browser > Error!: SQLSTATE[HY000] [1045] Access denied for user 'opensips'@'172.72.0.4' > (using password: YES) > > Best Regards, > Dragomir Haralambiev > > > Hello, > > I try to test OpenSIPS SoftSwitch > > When change MYSQL_PASSWORD=opensipsNew > Make docker compose up > > All containers is UP. > > When try to login in http://localhostIP/cp > > I receive follow error in browser > Error!: SQLSTATE[HY000] [1045] Access denied for user > 'opensips'@'172.72.0.4' (using password: YES) > > Best Regards, > Dragomir Haralambiev > > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users From razvan at opensips.org Mon Jan 13 16:01:02 2025 From: razvan at opensips.org (=?UTF-8?Q?R=C4=83zvan_Crainea?=) Date: Mon, 13 Jan 2025 18:01:02 +0200 Subject: [OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment In-Reply-To: References: Message-ID: <78ec1615-3ab7-4bdf-a96b-6cc401e591f9@opensips.org> Hi, Vineeth! The dialog structure cannot be created - I suspect you are not calling the lb_start method for other methods than INVITE? Can you upload somewhere the full debugging logs? Also, have you tried creating the dialog from the script, before calling lb_start? Best regards, Răzvan Crainea OpenSIPS Core Developer / SIPhub CTO http://www.opensips-solutions.com / https://www.siphub.com On 1/13/25 5:29 AM, Vineeth Chigullapally wrote: > Hi > > I hope this email finds you well. I am currently working on configuring > load balancing for one of my OpenSIPS instances, which is deployed as a > Docker container. The objective is to route traffic evenly between two > target servers, proc1 and proc2. However, I am encountering an issue during > the load-balancing process. > > Below are the log messages that I am observing: > > opensips_lb | Jan 9 12:40:08 [13] DBG:load_balancer:lb_route: initial > call of LB - found requested 1/1 resource [sip] > opensips_lb | Jan 9 12:40:08 [13] ERROR:load_balancer:lb_route: > initial call of LB - failed to create dialog > opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran: transaction on > entrance=0xffffffffffffffff > > I have followed > https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 for > configuration but cannot identify the root cause of the issue. It seems > that the load balancer is unable to create a dialog, which might be > preventing the traffic from being routed correctly. > > Could you please provide your insights, suggestions, or possible solutions > to resolve this issue? If any additional details, such as configuration > files or environment specifics, are needed, I will be happy to share them. > > Thank you for your time and assistance. Looking forward to your suggestions. > > Best regards > > C Vineeth > > > Hi > > I hope this email finds you well. I am currently working on configuring > load balancing for one of my OpenSIPS instances, which is deployed as a > Docker container. The objective is to route traffic evenly between two > target servers, |proc1| and |proc2|. However, I am encountering an issue > during the load-balancing process. > > Below are the log messages that I am observing: > > opensips_lb     | Jan  9 12:40:08 [13] DBG:load_balancer:lb_route: > initial call of LB - found requested 1/1 resource [sip] > opensips_lb     | Jan  9 12:40:08 [13] ERROR:load_balancer:lb_route: > initial call of LB - failed to create dialog > opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: transaction on > entrance=0xffffffffffffffff > > I have followed https://opensips.org/Documentation/Tutorials- > LoadBalancing-1-9 LoadBalancing-1-9> for configuration but cannot identify the root cause > of the issue. It seems that the load balancer is unable to create a > dialog, which might be preventing the traffic from being routed correctly. > > Could you please provide your insights, suggestions, or possible > solutions to resolve this issue? If any additional details, such as > configuration files or environment specifics, are needed, I will be > happy to share them. > > Thank you for your time and assistance. Looking forward to your suggestions. > > Best regards > > C Vineeth > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users From goup2010 at gmail.com Tue Jan 14 08:46:23 2025 From: goup2010 at gmail.com (Dragomir Haralambiev) Date: Tue, 14 Jan 2025 10:46:23 +0200 Subject: [OpenSIPS-Users] OpenSIPS SoftSwitch Error! In-Reply-To: References: Message-ID: Hi, Remove all Containers. Delete volume opensips-softswitch-ce_db Edit file .env. Change MYSQL_PASSWORD. Run docker compose up All containers is UP. When try to login in http://localhostIP/cp I receive follow error in browser Error!: SQLSTATE[HY000] [1045] Access denied for user 'opensips'@'172.72.0.4' (using password: YES) На пн, 13.01.2025 г. в 10:54 Răzvan Crainea написа: > Hi, Dragomir! > > Is this a fresh setup? Because if the mysql container had been > previously created with a diffierent password, than the password is not > updated. You should make sure that everything is down (i.e. > `docker-compose down`). > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer / SIPhub CTO > http://www.opensips-solutions.com / https://www.siphub.com > > On 1/12/25 6:02 PM, Dragomir Haralambiev wrote: > > Hello, > > > > I try to test OpenSIPS SoftSwitch > > > > When change MYSQL_PASSWORD=opensipsNew > > Make docker compose up > > > > All containers is UP. > > > > When try to login in http://localhostIP/cp > > > > I receive follow error in browser > > Error!: SQLSTATE[HY000] [1045] Access denied for user 'opensips'@ > '172.72.0.4' > > (using password: YES) > > > > Best Regards, > > Dragomir Haralambiev > > > > > > Hello, > > > > I try to test OpenSIPS SoftSwitch > > > > When change MYSQL_PASSWORD=opensipsNew > > Make docker compose up > > > > All containers is UP. > > > > When try to login in http://localhostIP/cp > > > > I receive follow error in browser > > Error!: SQLSTATE[HY000] [1045] Access denied for user > > 'opensips'@'172.72.0.4' (using password: YES) > > > > Best Regards, > > Dragomir Haralambiev > > > > > > > > _______________________________________________ > > Users mailing list > > Users at lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From darius.stefan at opensips.org Tue Jan 14 11:43:34 2025 From: darius.stefan at opensips.org (Darius Stefan) Date: Tue, 14 Jan 2025 13:43:34 +0200 Subject: [OpenSIPS-Users] OpenSIPS SoftSwitch Error! In-Reply-To: References: Message-ID: <167c66df-9338-465a-924f-e03614360cfb@opensips.org> Hi, Dragomir! I think you should delete the volume that keeps MySQL's persistance. You should run 'docker volume rm opensips-softswitch-ce_db', then start the containers again. Best regards, Darius On 1/14/25 10:46, Dragomir Haralambiev wrote: > Hi, > > Remove all Containers. > Delete volume opensips-softswitch-ce_db > > Edit file .env. Change MYSQL_PASSWORD. > > Run docker compose up > > All containers is UP. > > When try to login in http://localhostIP/cp > > > I receive follow error in browser > Error!: SQLSTATE[HY000] [1045] Access denied for user > 'opensips'@'172.72.0.4' (using password: YES) > > > > На пн, 13.01.2025 г. в 10:54 Răzvan Crainea написа: > > Hi, Dragomir! > > Is this a fresh setup? Because if the mysql container had been > previously created with a diffierent password, than the password > is not > updated. You should make sure that everything is down (i.e. > `docker-compose down`). > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer / SIPhub CTO > http://www.opensips-solutions.com / https://www.siphub.com > > On 1/12/25 6:02 PM, Dragomir Haralambiev wrote: > > Hello, > > > > I try to test OpenSIPS SoftSwitch > > > > When change MYSQL_PASSWORD=opensipsNew > > Make docker compose up > > > > All containers is UP. > > > > When try to login in http://localhostIP/cp > > > > > I receive follow error in browser > > Error!: SQLSTATE[HY000] [1045] Access denied for user > 'opensips'@'172.72.0.4' > > (using password: YES) > > > > Best Regards, > > Dragomir Haralambiev > > > > > > Hello, > > > > I try to test OpenSIPS SoftSwitch > > > > When change MYSQL_PASSWORD=opensipsNew > > Make docker compose up > > > > All containers is UP. > > > > When try to login in http://localhostIP/cp > > > > > I receive follow error in browser > > Error!: SQLSTATE[HY000] [1045] Access denied for user > > 'opensips'@'172.72.0.4' (using password: YES) > > > > Best Regards, > > Dragomir Haralambiev > > > > > > > > _______________________________________________ > > Users mailing list > > Users at lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From bullehs at gmail.com Wed Jan 15 10:08:05 2025 From: bullehs at gmail.com (HS) Date: Wed, 15 Jan 2025 15:08:05 +0500 Subject: [OpenSIPS-Users] Opensips-AI Voice Connector - on existing server Message-ID: Thanks Răzvan, Here's the debug logs. Just wanted to point out that module uac_auth is available in the modules folder. Let me know if this isn't ok and I can attach pcap also. https://pastebin.com/HDUddENF Best wishes. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vineeth.chigullapally at sixd.co Wed Jan 15 13:30:52 2025 From: vineeth.chigullapally at sixd.co (Vineeth Chigullapally) Date: Wed, 15 Jan 2025 19:00:52 +0530 Subject: [OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment In-Reply-To: <78ec1615-3ab7-4bdf-a96b-6cc401e591f9@opensips.org> References: <78ec1615-3ab7-4bdf-a96b-6cc401e591f9@opensips.org> Message-ID: Hi Razvan, Please check the below link to view the logs and lb configuration. https://drive.google.com/drive/folders/1GNRAfjGjfM0VRRIodpIVYp79wj53By0n?usp=drive_link regards Vineeth On Mon, 13 Jan 2025 at 21:34, Răzvan Crainea wrote: > Hi, Vineeth! > > The dialog structure cannot be created - I suspect you are not calling > the lb_start method for other methods than INVITE? Can you upload > somewhere the full debugging logs? > Also, have you tried creating the dialog from the script, before calling > lb_start? > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer / SIPhub CTO > http://www.opensips-solutions.com / https://www.siphub.com > > On 1/13/25 5:29 AM, Vineeth Chigullapally wrote: > > Hi > > > > I hope this email finds you well. I am currently working on configuring > > load balancing for one of my OpenSIPS instances, which is deployed as a > > Docker container. The objective is to route traffic evenly between two > > target servers, proc1 and proc2. However, I am encountering an issue > during > > the load-balancing process. > > > > Below are the log messages that I am observing: > > > > opensips_lb | Jan 9 12:40:08 [13] DBG:load_balancer:lb_route: > initial > > call of LB - found requested 1/1 resource [sip] > > opensips_lb | Jan 9 12:40:08 [13] ERROR:load_balancer:lb_route: > > initial call of LB - failed to create dialog > > opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran: transaction on > > entrance=0xffffffffffffffff > > > > I have followed > > https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 for > > configuration but cannot identify the root cause of the issue. It seems > > that the load balancer is unable to create a dialog, which might be > > preventing the traffic from being routed correctly. > > > > Could you please provide your insights, suggestions, or possible > solutions > > to resolve this issue? If any additional details, such as configuration > > files or environment specifics, are needed, I will be happy to share > them. > > > > Thank you for your time and assistance. Looking forward to your > suggestions. > > > > Best regards > > > > C Vineeth > > > > > > Hi > > > > I hope this email finds you well. I am currently working on configuring > > load balancing for one of my OpenSIPS instances, which is deployed as a > > Docker container. The objective is to route traffic evenly between two > > target servers, |proc1| and |proc2|. However, I am encountering an issue > > during the load-balancing process. > > > > Below are the log messages that I am observing: > > > > opensips_lb | Jan 9 12:40:08 [13] DBG:load_balancer:lb_route: > > initial call of LB - found requested 1/1 resource [sip] > > opensips_lb | Jan 9 12:40:08 [13] ERROR:load_balancer:lb_route: > > initial call of LB - failed to create dialog > > opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran: transaction on > > entrance=0xffffffffffffffff > > > > I have followed https://opensips.org/Documentation/Tutorials- > > LoadBalancing-1-9 > LoadBalancing-1-9> for configuration but cannot identify the root cause > > of the issue. It seems that the load balancer is unable to create a > > dialog, which might be preventing the traffic from being routed > correctly. > > > > Could you please provide your insights, suggestions, or possible > > solutions to resolve this issue? If any additional details, such as > > configuration files or environment specifics, are needed, I will be > > happy to share them. > > > > Thank you for your time and assistance. Looking forward to your > suggestions. > > > > Best regards > > > > C Vineeth > > > > > > _______________________________________________ > > Users mailing list > > Users at lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Wed Jan 15 15:55:41 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 15 Jan 2025 17:55:41 +0200 Subject: [OpenSIPS-Users] OpenSIPS 3.6 Features Survey - last days In-Reply-To: <49f9b221-e4b4-4f1b-8233-0fe6f08fa65f@opensips.org> References: <49f9b221-e4b4-4f1b-8233-0fe6f08fa65f@opensips.org> Message-ID: <31320bc7-0b0e-4aea-abb5-7377657245da@opensips.org> Check out the results of the 3.6 Feature Survey: https://www.opensips.org/Development/Opensips-3-6-Planning#poll-results Now let's get to work 👷🔨 and make it happen! Many thanks to all who took the time to provide input here 🙂 Best regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 10.01.2025 15:07, Bogdan-Andrei Iancu wrote: > Hi all, > > I hope you all enjoyed the New Year holidays :). Maybe some of you/us > are still in the holiday mode :), so the new deadline for Feature > Survey the OpenSIPS 3.6 Dev > Plan is *_14th of Jan_*. > > Your feedback matters! > > Best regards, > -- > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Wed Jan 15 16:58:27 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Wed, 15 Jan 2025 18:58:27 +0200 Subject: [OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment In-Reply-To: References: <78ec1615-3ab7-4bdf-a96b-6cc401e591f9@opensips.org> Message-ID: <93e7f6b8-a017-49a6-ad30-c578028f354b@opensips.org> Hi, Something tells me you are calling the balancer for a re-INVITE (in-dialog INVITE, having a "tag" param in TO hdr). Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 15.01.2025 15:30, Vineeth Chigullapally wrote: > Hi Razvan, Please check the below link to view the logs and lb > configuration. > > https://drive.google.com/drive/folders/1GNRAfjGjfM0VRRIodpIVYp79wj53By0n?usp=drive_link > > > regards > Vineeth > > On Mon, 13 Jan 2025 at 21:34, Răzvan Crainea wrote: > > Hi, Vineeth! > > The dialog structure cannot be created - I suspect you are not > calling > the lb_start method for other methods than INVITE? Can you upload > somewhere the full debugging logs? > Also, have you tried creating the dialog from the script, before > calling > lb_start? > > Best regards, > > Răzvan Crainea > OpenSIPS Core Developer / SIPhub CTO > http://www.opensips-solutions.com / https://www.siphub.com > > On 1/13/25 5:29 AM, Vineeth Chigullapally wrote: > > Hi > > > > I hope this email finds you well. I am currently working on > configuring > > load balancing for one of my OpenSIPS instances, which is > deployed as a > > Docker container. The objective is to route traffic evenly > between two > > target servers, proc1 and proc2. However, I am encountering an > issue during > > the load-balancing process. > > > > Below are the log messages that I am observing: > > > > opensips_lb     | Jan  9 12:40:08 [13] > DBG:load_balancer:lb_route: initial > > call of LB - found requested 1/1 resource [sip] > > opensips_lb     | Jan  9 12:40:08 [13] ERROR:load_balancer:lb_route: > > initial call of LB - failed to create dialog > > opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: > transaction on > > entrance=0xffffffffffffffff > > > > I have followed > > https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 for > > configuration but cannot identify the root cause of the issue. > It seems > > that the load balancer is unable to create a dialog, which might be > > preventing the traffic from being routed correctly. > > > > Could you please provide your insights, suggestions, or possible > solutions > > to resolve this issue? If any additional details, such as > configuration > > files or environment specifics, are needed, I will be happy to > share them. > > > > Thank you for your time and assistance. Looking forward to your > suggestions. > > > > Best regards > > > > C Vineeth > > > > > > Hi > > > > I hope this email finds you well. I am currently working on > configuring > > load balancing for one of my OpenSIPS instances, which is > deployed as a > > Docker container. The objective is to route traffic evenly > between two > > target servers, |proc1| and |proc2|. However, I am encountering > an issue > > during the load-balancing process. > > > > Below are the log messages that I am observing: > > > > opensips_lb     | Jan  9 12:40:08 [13] DBG:load_balancer:lb_route: > > initial call of LB - found requested 1/1 resource [sip] > > opensips_lb     | Jan  9 12:40:08 [13] > ERROR:load_balancer:lb_route: > > initial call of LB - failed to create dialog > > opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: > transaction on > > entrance=0xffffffffffffffff > > > > I have followed https://opensips.org/Documentation/Tutorials- > > LoadBalancing-1-9 > LoadBalancing-1-9> for configuration but cannot identify the > root cause > > of the issue. It seems that the load balancer is unable to create a > > dialog, which might be preventing the traffic from being routed > correctly. > > > > Could you please provide your insights, suggestions, or possible > > solutions to resolve this issue? If any additional details, such as > > configuration files or environment specifics, are needed, I will be > > happy to share them. > > > > Thank you for your time and assistance. Looking forward to your > suggestions. > > > > Best regards > > > > C Vineeth > > > > > > _______________________________________________ > > Users mailing list > > Users at lists.opensips.org > > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > _______________________________________________ > Users mailing list > Users at lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From vineeth.chigullapally at sixd.co Thu Jan 16 04:32:06 2025 From: vineeth.chigullapally at sixd.co (Vineeth Chigullapally) Date: Thu, 16 Jan 2025 10:02:06 +0530 Subject: [OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment In-Reply-To: <93e7f6b8-a017-49a6-ad30-c578028f354b@opensips.org> References: <78ec1615-3ab7-4bdf-a96b-6cc401e591f9@opensips.org> <93e7f6b8-a017-49a6-ad30-c578028f354b@opensips.org> Message-ID: Hi Bogdan-Andrei, Thank you for your response, Can you please explain what is wrong in the config which is causing the load balancer to fail? Can you please let us know what needs to be corrected in our configuration. we have followed this reference https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9, please let us know or provide any configuration which helps us to resolve this issue. regards Vineeth On Wed, 15 Jan 2025 at 22:28, Bogdan-Andrei Iancu wrote: > Hi, > > Something tells me you are calling the balancer for a re-INVITE (in-dialog > INVITE, having a "tag" param in TO hdr). > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 15.01.2025 15:30, Vineeth Chigullapally wrote: > > Hi Razvan, Please check the below link to view the logs and lb > configuration. > > > https://drive.google.com/drive/folders/1GNRAfjGjfM0VRRIodpIVYp79wj53By0n?usp=drive_link > > > regards > Vineeth > > On Mon, 13 Jan 2025 at 21:34, Răzvan Crainea wrote: > >> Hi, Vineeth! >> >> The dialog structure cannot be created - I suspect you are not calling >> the lb_start method for other methods than INVITE? Can you upload >> somewhere the full debugging logs? >> Also, have you tried creating the dialog from the script, before calling >> lb_start? >> >> Best regards, >> >> Răzvan Crainea >> OpenSIPS Core Developer / SIPhub CTO >> http://www.opensips-solutions.com / https://www.siphub.com >> >> On 1/13/25 5:29 AM, Vineeth Chigullapally wrote: >> > Hi >> > >> > I hope this email finds you well. I am currently working on configuring >> > load balancing for one of my OpenSIPS instances, which is deployed as a >> > Docker container. The objective is to route traffic evenly between two >> > target servers, proc1 and proc2. However, I am encountering an issue >> during >> > the load-balancing process. >> > >> > Below are the log messages that I am observing: >> > >> > opensips_lb | Jan 9 12:40:08 [13] DBG:load_balancer:lb_route: >> initial >> > call of LB - found requested 1/1 resource [sip] >> > opensips_lb | Jan 9 12:40:08 [13] ERROR:load_balancer:lb_route: >> > initial call of LB - failed to create dialog >> > opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran: transaction on >> > entrance=0xffffffffffffffff >> > >> > I have followed >> > https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 for >> > configuration but cannot identify the root cause of the issue. It seems >> > that the load balancer is unable to create a dialog, which might be >> > preventing the traffic from being routed correctly. >> > >> > Could you please provide your insights, suggestions, or possible >> solutions >> > to resolve this issue? If any additional details, such as configuration >> > files or environment specifics, are needed, I will be happy to share >> them. >> > >> > Thank you for your time and assistance. Looking forward to your >> suggestions. >> > >> > Best regards >> > >> > C Vineeth >> > >> > >> > Hi >> > >> > I hope this email finds you well. I am currently working on configuring >> > load balancing for one of my OpenSIPS instances, which is deployed as a >> > Docker container. The objective is to route traffic evenly between two >> > target servers, |proc1| and |proc2|. However, I am encountering an >> issue >> > during the load-balancing process. >> > >> > Below are the log messages that I am observing: >> > >> > opensips_lb | Jan 9 12:40:08 [13] DBG:load_balancer:lb_route: >> > initial call of LB - found requested 1/1 resource [sip] >> > opensips_lb | Jan 9 12:40:08 [13] ERROR:load_balancer:lb_route: >> > initial call of LB - failed to create dialog >> > opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran: transaction on >> > entrance=0xffffffffffffffff >> > >> > I have followed https://opensips.org/Documentation/Tutorials- >> > LoadBalancing-1-9 > > LoadBalancing-1-9> for configuration but cannot identify the root cause >> > of the issue. It seems that the load balancer is unable to create a >> > dialog, which might be preventing the traffic from being routed >> correctly. >> > >> > Could you please provide your insights, suggestions, or possible >> > solutions to resolve this issue? If any additional details, such as >> > configuration files or environment specifics, are needed, I will be >> > happy to share them. >> > >> > Thank you for your time and assistance. Looking forward to your >> suggestions. >> > >> > Best regards >> > >> > C Vineeth >> > >> > >> > _______________________________________________ >> > Users mailing list >> > Users at lists.opensips.org >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > _______________________________________________ > Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bogdan at opensips.org Thu Jan 16 08:19:37 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Thu, 16 Jan 2025 10:19:37 +0200 Subject: [OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment In-Reply-To: References: <78ec1615-3ab7-4bdf-a96b-6cc401e591f9@opensips.org> <93e7f6b8-a017-49a6-ad30-c578028f354b@opensips.org> Message-ID: <12652b83-aa55-4223-9b18-249674497e38@opensips.org> Hi, Just follow the execution logic in your script and be sure no sequential INVITE reaches the lb_start() function. Functions like xlog() or script_trace() may help with the troubleshooting. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 16.01.2025 06:32, Vineeth Chigullapally wrote: > Hi Bogdan-Andrei, > > Thank you for your response, Can you please explain what is wrong in > the config which is causing the load balancer to fail? Can you please > let us know what needs to be corrected in our configuration. > we have followed this reference > https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9, please > let us know or provide any configuration which helps us to resolve > this issue. > > regards > Vineeth > > On Wed, 15 Jan 2025 at 22:28, Bogdan-Andrei Iancu > wrote: > > Hi, > > Something tells me you are calling the balancer for a re-INVITE > (in-dialog INVITE, having a "tag" param in TO hdr). > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 15.01.2025 15:30, Vineeth Chigullapally wrote: >> Hi Razvan, Please check the below link to view the logs and lb >> configuration. >> >> https://drive.google.com/drive/folders/1GNRAfjGjfM0VRRIodpIVYp79wj53By0n?usp=drive_link >> >> >> regards >> Vineeth >> >> On Mon, 13 Jan 2025 at 21:34, Răzvan Crainea >> wrote: >> >> Hi, Vineeth! >> >> The dialog structure cannot be created - I suspect you are >> not calling >> the lb_start method for other methods than INVITE? Can you >> upload >> somewhere the full debugging logs? >> Also, have you tried creating the dialog from the script, >> before calling >> lb_start? >> >> Best regards, >> >> Răzvan Crainea >> OpenSIPS Core Developer / SIPhub CTO >> http://www.opensips-solutions.com / https://www.siphub.com >> >> On 1/13/25 5:29 AM, Vineeth Chigullapally wrote: >> > Hi >> > >> > I hope this email finds you well. I am currently working on >> configuring >> > load balancing for one of my OpenSIPS instances, which is >> deployed as a >> > Docker container. The objective is to route traffic evenly >> between two >> > target servers, proc1 and proc2. However, I am encountering >> an issue during >> > the load-balancing process. >> > >> > Below are the log messages that I am observing: >> > >> > opensips_lb     | Jan  9 12:40:08 [13] >> DBG:load_balancer:lb_route: initial >> > call of LB - found requested 1/1 resource [sip] >> > opensips_lb     | Jan  9 12:40:08 [13] >> ERROR:load_balancer:lb_route: >> > initial call of LB - failed to create dialog >> > opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: >> transaction on >> > entrance=0xffffffffffffffff >> > >> > I have followed >> > >> https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 >> for >> > configuration but cannot identify the root cause of the >> issue. It seems >> > that the load balancer is unable to create a dialog, which >> might be >> > preventing the traffic from being routed correctly. >> > >> > Could you please provide your insights, suggestions, or >> possible solutions >> > to resolve this issue? If any additional details, such as >> configuration >> > files or environment specifics, are needed, I will be happy >> to share them. >> > >> > Thank you for your time and assistance. Looking forward to >> your suggestions. >> > >> > Best regards >> > >> > C Vineeth >> > >> > >> > Hi >> > >> > I hope this email finds you well. I am currently working on >> configuring >> > load balancing for one of my OpenSIPS instances, which is >> deployed as a >> > Docker container. The objective is to route traffic evenly >> between two >> > target servers, |proc1| and |proc2|. However, I am >> encountering an issue >> > during the load-balancing process. >> > >> > Below are the log messages that I am observing: >> > >> > opensips_lb     | Jan  9 12:40:08 [13] >> DBG:load_balancer:lb_route: >> > initial call of LB - found requested 1/1 resource [sip] >> > opensips_lb     | Jan  9 12:40:08 [13] >> ERROR:load_balancer:lb_route: >> > initial call of LB - failed to create dialog >> > opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: >> transaction on >> > entrance=0xffffffffffffffff >> > >> > I have followed https://opensips.org/Documentation/Tutorials- >> > LoadBalancing-1-9 >> > > LoadBalancing-1-9> for configuration but cannot identify >> the root cause >> > of the issue. It seems that the load balancer is unable to >> create a >> > dialog, which might be preventing the traffic from being >> routed correctly. >> > >> > Could you please provide your insights, suggestions, or >> possible >> > solutions to resolve this issue? If any additional details, >> such as >> > configuration files or environment specifics, are needed, I >> will be >> > happy to share them. >> > >> > Thank you for your time and assistance. Looking forward to >> your suggestions. >> > >> > Best regards >> > >> > C Vineeth >> > >> > >> > _______________________________________________ >> > Users mailing list >> > Users at lists.opensips.org >> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> >> _______________________________________________ >> Users mailing list >> Users at lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From slackway2me at gmail.com Fri Jan 17 09:01:45 2025 From: slackway2me at gmail.com (Alexey) Date: Fri, 17 Jan 2025 14:01:45 +0500 Subject: [OpenSIPS-Users] dp_translate ERROR Message-ID: Hi list, trying to understand the nature of the error in logs. Script: ... 275: dp_translate(10223, $tU, $rU); # subst 'To' header username into RURI header username 276: dp_translate(10224, $di, $rU); # subst 'Diversion' header value into RURI header username ... Logs: ... ERROR:core:get_cmd_fixups: Variable in param [2] is not a string ERROR:core:do_action: Failed to get fixups for command in /etc/opensips/opensips.cfg.m4, line 276 OpenSIPS v.3.4.9. dp_translate manual: https://opensips.org/docs/modules/3.4.x/dialplan.html#func_dp_translate -- best regards, Alexey https://alexeyka.zantsev.com/ From bogdan at opensips.org Fri Jan 17 11:50:25 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 17 Jan 2025 13:50:25 +0200 Subject: [OpenSIPS-Users] dp_translate ERROR In-Reply-To: References: Message-ID: <9eac86df-c5d5-4474-b482-7459ce5ad40f@opensips.org> Hi, Actually the dialplan module complains that the second parameter, after evaluation, did not provide a string value...maybe an integer or NULL ? maybe the $di is NULL ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 17.01.2025 11:01, Alexey wrote: > Hi list, > trying to understand the nature of the error in logs. > > > Script: > ... > 275: dp_translate(10223, $tU, $rU); # subst 'To' header username > into RURI header username > 276: dp_translate(10224, $di, $rU); # subst 'Diversion' header > value into RURI header username > ... > > > Logs: > ... > ERROR:core:get_cmd_fixups: Variable in param [2] is not a string > ERROR:core:do_action: Failed to get fixups for command > in /etc/opensips/opensips.cfg.m4, line 276 > > > OpenSIPS v.3.4.9. > dp_translate manual: > https://opensips.org/docs/modules/3.4.x/dialplan.html#func_dp_translate > From slackway2me at gmail.com Fri Jan 17 12:41:56 2025 From: slackway2me at gmail.com (Alexey) Date: Fri, 17 Jan 2025 17:41:56 +0500 Subject: [OpenSIPS-Users] dp_translate ERROR In-Reply-To: <9eac86df-c5d5-4474-b482-7459ce5ad40f@opensips.org> References: <9eac86df-c5d5-4474-b482-7459ce5ad40f@opensips.org> Message-ID: Hi Bogdan, yes, the solution was in one more condition/check, because the Diversion header is not present in each incoming INVITE: if (is_present_hf("Diversion")) { dp_translate(10224, $di, $rU); } -- best regards, Alexey https://alexeyka.zantsev.com/ From bogdan at opensips.org Fri Jan 17 13:24:11 2025 From: bogdan at opensips.org (Bogdan-Andrei Iancu) Date: Fri, 17 Jan 2025 15:24:11 +0200 Subject: [OpenSIPS-Users] dp_translate ERROR In-Reply-To: References: <9eac86df-c5d5-4474-b482-7459ce5ad40f@opensips.org> Message-ID: <1465ba70-20be-4b22-b8a0-55d2f3fd9e7f@opensips.org> That's the right approach ! Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com https://www.siphub.com On 17.01.2025 14:40, Alexey wrote: > Hi Bogdan, > > yes, the solution was in one more condition/check, > because the Diversion header is not present in each > incoming INVITE: > > if (is_present_hf("Diversion")) { > dp_translate(10224, $di, $rU); > } > > From alberto.rinaudo at gmail.com Mon Jan 20 23:47:37 2025 From: alberto.rinaudo at gmail.com (Alberto) Date: Mon, 20 Jan 2025 23:47:37 +0000 Subject: [OpenSIPS-Users] rtpengine_block_dtmf Message-ID: Hi, In short, I was using opensips 3.4.8 and rtpengine 11.5 until a few days ago, and rtpengine_block_dtmf was able to block DTMF in a single direction. Recently I updated rtpengine to 12.5 and that stopped working, now DTMF are always blocked in both directions. Can someone please take a look at https://groups.google.com/g/rtpengine/c/4dFexHvFmeo/m/YxTxXylXDAAJ ? Is this something that needs to be implemented in opensips? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: