Re: [SR-Users] Custom info in Contact header
Right... as always, the devil's in the details. Contact: On Sun, Nov 21, 2021 at 3:14 PM Daniel-Constantin Mierla wrote: > Hello, > > you are confusing what are Contact header parameters and Contact URI > parameters. > > If you want to be preserved in location and used later in R-URI, you have > to give it as Contact URI parameter (like transport), but some_id is given > as Contact header parameter. > > Cheers, > Daniel > On 21.11.21 20:30, Sergiu Pojoga wrote: > > I don't think the specifics matter that much, but the general idea of > preserving the Contact URI parameter for subsequent messages is reasonable > and I've seen it work like that with other non-Kamailio registrars. > > I wonder if this also happens without fix_nated_register before save(). > > On Sun., Nov. 21, 2021, 1:49 p.m. David Villasmil, < > david.villasmil.w...@gmail.com> wrote: > >> Any specific reason to insert that parameter in the contact as opposed to >> just adding a custom header? >> >> On Sun, 21 Nov 2021 at 17:53, Igor Olhovskiy >> wrote: >> >>> Hello! >>> >>> On REGISTER I have a Contact header like >>> Contact: >>> ;some_id=90002-21080 >>> But on calling fix_nated_register() -> save(), param some_id is lost >>> from info, so, on INVITE to this account, some_id not appears in RURI. >>> Is this a bug or a feature and I do need to find some workaround? >>> >>> >>> -- >>> Best regards, >>> Igor >>> __ >>> Kamailio - Users Mailing List - Non Commercial Discussions >>> * sr-users@lists.kamailio.org >>> Important: keep the mailing list in the recipients, do not reply only to >>> the sender! >>> Edit mailing list options or unsubscribe: >>> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>> >> -- >> Regards, >> >> David Villasmil >> email: david.villasmil.w...@gmail.com >> phone: +34669448337 >> __ >> Kamailio - Users Mailing List - Non Commercial Discussions >> * sr-users@lists.kamailio.org >> Important: keep the mailing list in the recipients, do not reply only to >> the sender! >> Edit mailing list options or unsubscribe: >> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- > www.linkedin.com/in/miconda > Kamailio Advanced Training - Online > Feb 21-24, 2022 (America Timezone) > * https://www.asipto.com/sw/kamailio-advanced-training-online/ > > __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Custom info in Contact header
Hello, you are confusing what are Contact header parameters and Contact URI parameters. If you want to be preserved in location and used later in R-URI, you have to give it as Contact URI parameter (like transport), but some_id is given as Contact header parameter. Cheers, Daniel On 21.11.21 20:30, Sergiu Pojoga wrote: > I don't think the specifics matter that much, but the general idea of > preserving the Contact URI parameter for subsequent messages is > reasonable and I've seen it work like that with other non-Kamailio > registrars. > > I wonder if this also happens without fix_nated_register before save(). > > On Sun., Nov. 21, 2021, 1:49 p.m. David Villasmil, > wrote: > > Any specific reason to insert that parameter in the contact as > opposed to just adding a custom header? > > On Sun, 21 Nov 2021 at 17:53, Igor Olhovskiy > wrote: > > Hello! > > On REGISTER I have a Contact header like > Contact: > ;some_id=90002-21080 > But on callingfix_nated_register() ->save(), param some_id is > lost from info, so, on INVITE to this account, some_id not > appears in RURI. > Is this a bug or a feature and I do need to find some workaround? > > > -- > Best regards, > Igor > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not > reply only to the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > Regards, > > David Villasmil > email: david.villasmil.w...@gmail.com > phone: +34669448337 > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply > only to the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to the > sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - Online Feb 21-24, 2022 (America Timezone) * https://www.asipto.com/sw/kamailio-advanced-training-online/ __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Custom info in Contact header
I don't think the specifics matter that much, but the general idea of preserving the Contact URI parameter for subsequent messages is reasonable and I've seen it work like that with other non-Kamailio registrars. I wonder if this also happens without fix_nated_register before save(). On Sun., Nov. 21, 2021, 1:49 p.m. David Villasmil, < david.villasmil.w...@gmail.com> wrote: > Any specific reason to insert that parameter in the contact as opposed to > just adding a custom header? > > On Sun, 21 Nov 2021 at 17:53, Igor Olhovskiy > wrote: > >> Hello! >> >> On REGISTER I have a Contact header like >> Contact: > ;transport=TLS>;some_id=90002-21080 >> But on calling fix_nated_register() -> save(), param some_id is lost >> from info, so, on INVITE to this account, some_id not appears in RURI. >> Is this a bug or a feature and I do need to find some workaround? >> >> >> -- >> Best regards, >> Igor >> __ >> Kamailio - Users Mailing List - Non Commercial Discussions >> * sr-users@lists.kamailio.org >> Important: keep the mailing list in the recipients, do not reply only to >> the sender! >> Edit mailing list options or unsubscribe: >> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > -- > Regards, > > David Villasmil > email: david.villasmil.w...@gmail.com > phone: +34669448337 > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] Custom info in Contact header
Any specific reason to insert that parameter in the contact as opposed to just adding a custom header? On Sun, 21 Nov 2021 at 17:53, Igor Olhovskiy wrote: > Hello! > > On REGISTER I have a Contact header like > Contact: ;some_id=90002-21080 > But on calling fix_nated_register() -> save(), param some_id is lost from > info, so, on INVITE to this account, some_id not appears in RURI. > Is this a bug or a feature and I do need to find some workaround? > > > -- > Best regards, > Igor > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] Custom info in Contact header
Hello! On REGISTER I have a Contact header like Contact: ;some_id=90002-21080 But on calling fix_nated_register() -> save(), param some_id is lost from info, so, on INVITE to this account, some_id not appears in RURI. Is this a bug or a feature and I do need to find some workaround? -- Best regards, Igor __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] LCR Module not loading all rules from DB
Did you also check the kamailio logs (not the console)? Regards, Ovidiu Sas On Sun, Nov 21, 2021 at 03:36 M Arqum CH wrote: > No didn't get any error message in console. > > > On Fri, Nov 19, 2021, 10:39 PM Juha Heinanen wrote: > >> Do you get any error messages when you start kamailio or give >> lcr.dump_rules command? If not, then most likely all the rules are >> loaded. >> >> If you have 73K rules, then >> >> modparam("lcr", "lcr_rule_hash_size", 1024) >> >> is way too small value if you want efficient hash table lookup, but it >> does not affect the number of rules. >> >> lcr.dump_rules only printing 4096 rules may be rpc limitation. >> >> -- Juha >> >> __ >> Kamailio - Users Mailing List - Non Commercial Discussions >> * sr-users@lists.kamailio.org >> Important: keep the mailing list in the recipients, do not reply only to >> the sender! >> Edit mailing list options or unsubscribe: >> * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- VoIP Embedded, Inc. http://www.voipembedded.com __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] LCR Module not loading all rules from DB
No didn't get any error message in console. On Fri, Nov 19, 2021, 10:39 PM Juha Heinanen wrote: > Do you get any error messages when you start kamailio or give > lcr.dump_rules command? If not, then most likely all the rules are > loaded. > > If you have 73K rules, then > > modparam("lcr", "lcr_rule_hash_size", 1024) > > is way too small value if you want efficient hash table lookup, but it > does not affect the number of rules. > > lcr.dump_rules only printing 4096 rules may be rpc limitation. > > -- Juha > > __ > Kamailio - Users Mailing List - Non Commercial Discussions > * sr-users@lists.kamailio.org > Important: keep the mailing list in the recipients, do not reply only to > the sender! > Edit mailing list options or unsubscribe: > * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > __ Kamailio - Users Mailing List - Non Commercial Discussions * sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users