Re: [SR-Users] DMQ module issues

2021-09-17 Thread Henning Westerholt
Hello,

I would suggest updating to a more reject version, there have been several 
fixes and extensions to DMQ especially in the 5.5.x version.

Regarding the container issue, maybe you can post more details about your steps 
in debugging it, as it seems to work locally.
Regarding trying the feature, you need to have two containers to test DMQ it in 
a meaningful way.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: Zé Santos 
Sent: Friday, September 17, 2021 10:59 AM
To: sr-users@lists.kamailio.org
Cc: Henning Westerholt 
Subject: Re: [SR-Users] DMQ module issues

Hello,

Currently I am stuck with v5.2.5, however my issue is that I can't get DMQ to 
work in an AWS container. Locally it works, I don't know if it is because of 
network connectivity or bindings.

It seems a very basic scenario to send notifications to 0.0.0.0 aka itself. And 
it works with docker in a local environment. I was just wondering if anyone had 
already experienced this issue.

Also, if I remember correctly it used to work with rocket, but currently I had 
to switch over to docker/podman (can't get neither to work).

Kind regards,
José Santos

On Fri, 17 Sept 2021 at 09:40, Henning Westerholt 
mailto:h...@skalatan.de>> wrote:
Hello,

do you still see the crash with 5.5.x, or some other issues?
If other issues, please provide the details to be able to get more feedback on 
the list.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users 
mailto:sr-users-boun...@lists.kamailio.org>>
 On Behalf Of Zé Santos
Sent: Friday, September 17, 2021 10:22 AM
To: sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] DMQ module issues

I don't think you understood.

The issue is in v5.2.5, and I tried to update kamailio but it still remains.

I honestly think this is a machine problem, since I can't even send the 
notifications to 0.0.0.0:5090<http://0.0.0.0:5090/>. It is very weird.

Best Regards,
José Santos
__
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] DMQ module issues

2021-09-17 Thread Zé Santos
Hello,

Currently I am stuck with v5.2.5, however my issue is that I can't get DMQ
to work in an AWS container. Locally it works, I don't know if it is
because of network connectivity or bindings.

It seems a very basic scenario to send notifications to 0.0.0.0 aka itself.
And it works with docker in a local environment. I was just wondering if
anyone had already experienced this issue.

Also, if I remember correctly it used to work with rocket, but currently I
had to switch over to docker/podman (can't get neither to work).

Kind regards,
José Santos


On Fri, 17 Sept 2021 at 09:40, Henning Westerholt  wrote:

> Hello,
>
>
>
> do you still see the crash with 5.5.x, or some other issues?
>
> If other issues, please provide the details to be able to get more
> feedback on the list.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Zé
> Santos
> *Sent:* Friday, September 17, 2021 10:22 AM
> *To:* sr-users@lists.kamailio.org
> *Subject:* Re: [SR-Users] DMQ module issues
>
>
>
> I don't think you understood.
>
>
>
> The issue is in v5.2.5, and I tried to update kamailio but it still
> remains.
>
>
>
> I honestly think this is a machine problem, since I can't even send the
> notifications to 0.0.0.0:5090. It is very weird.
>
>
>
> Best Regards,
>
> José Santos
>
__
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] DMQ module issues

2021-09-17 Thread Henning Westerholt
Hello,

do you still see the crash with 5.5.x, or some other issues?
If other issues, please provide the details to be able to get more feedback on 
the list.

Cheers,

Henning

--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>

From: sr-users  On Behalf Of Zé Santos
Sent: Friday, September 17, 2021 10:22 AM
To: sr-users@lists.kamailio.org
Subject: Re: [SR-Users] DMQ module issues

I don't think you understood.

The issue is in v5.2.5, and I tried to update kamailio but it still remains.

I honestly think this is a machine problem, since I can't even send the 
notifications to 0.0.0.0:5090<http://0.0.0.0:5090/>. It is very weird.

Best Regards,
José Santos
__
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] DMQ module issues

2021-09-17 Thread Zé Santos
I don't think you understood.

The issue is in v5.2.5, and I tried to update kamailio but it still remains.

I honestly think this is a machine problem, since I can't even send the
notifications to 0.0.0.0:5090. It is very weird.

Best Regards,
José Santos
__
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] DMQ module issues

2021-09-16 Thread Sergey Safarov
As I understand, the 5.2.5 version is stable.
Issue happens during Kamailio upgrade current latest stable release.

On Thu, Sep 16, 2021 at 10:22 AM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> the commit you references has nothing to do with version 5.2.5 -- it was a
> revert of commits done during 5.5.x development.
>
> So the issue should be somewhere else, unless it was a mistake in typing
> the version and instead of 5.2.5 was supposed to be 5.5.2.
>
> Cheers,
> Daniel
> On 16.09.21 09:13, Sergey Safarov wrote:
>
> you need to make sure you used the latest commits in branch 5.5 or used
> master.
> https://github.com/kamailio/kamailio/issues/2843
>
> On Thu, Sep 16, 2021 at 9:22 AM Zé Santos 
> wrote:
>
>> Hi guys, I am currently using kamailio v5.2.5 and running it inside a
>> container. I already attempted to upgrade the kamailio to the latest
>> version however the problem persists.
>>
>> This is the core dump that I got from using gdb:
>>
>> Core was generated by `/usr/sbin/kamailio -f
>>> /etc/kazoo/kamailio/kamailio.cfg -m 512 -M 64 -x tlsf -w'.
>>> Program terminated with signal 11, Segmentation fault.
>>> #0  0x0071c63c in select_cfg_var (res=0x7ffd57d49b10,
>>> s=0x7f2649395040, msg=0x7ffd57d4c340) at core/cfg/cfg_select.c:211
>>> 211 i = *(int *)p;
>>
>>
>> It seems that the problem is with this line:
>>
>> modparam("dmq", "notification_address", "sip:DMQ_NOTIFY_ADDRESS")
>>>
>>
>> Also, I only have this issue while running on an AWS instance, I have the
>> same setup on my local computer, however kamailio is able to start
>> correctly.
>>
>> While kamailio is starting, I have this line
>>
>> #!substdef "!DMQ_NOTIFY_ADDRESS!10.10.10.10:5090!g"
>>
>> It seems that after DMQ is able to obtain the IP address, when it comes
>> to actually sending the message, it is interpreting the ip address of the
>> DMQ_NOTIFY_ADDRESS as an integer and then it gives out a segmentation fault
>> and the module stops.
>>
>> Another interesting thing is that if the DMQ_NOTIFY_ADDRESS is the
>> MY_IP_ADDRESS variable instead of the 10.10.10.10, it seems to work
>> properly.
>>
>> #!substdef "!DMQ_NOTIFY_ADDRESS!MY_IP_ADDRESS:5090!g"
>>
>> It also doesn't seem related to the ip being in a variable, since I
>> already tried using a DNS record, and once again, it is able to obtain the
>> IPs from the DNS record, and the same issue applies.
>>
>> Has anyone ever seen anything like this? I can't find any evidence of
>> this actually happening.
>>
>> Thank you kindly for your time.
>>
>> Best Regards,
>> José Santos
>>
>>
>>
>>
>>
>> __
>> 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 - 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] DMQ module issues

2021-09-16 Thread Daniel-Constantin Mierla
Hello,

the commit you references has nothing to do with version 5.2.5 -- it was
a revert of commits done during 5.5.x development.

So the issue should be somewhere else, unless it was a mistake in typing
the version and instead of 5.2.5 was supposed to be 5.5.2.

Cheers,
Daniel

On 16.09.21 09:13, Sergey Safarov wrote:
> you need to make sure you used the latest commits in branch 5.5 or
> used master.
> https://github.com/kamailio/kamailio/issues/2843
> 
>
> On Thu, Sep 16, 2021 at 9:22 AM Zé Santos  > wrote:
>
> Hi guys, I am currently using kamailio v5.2.5 and running it
> inside a container. I already attempted to upgrade the kamailio to
> the latest version however the problem persists.
>
> This is the core dump that I got from using gdb:
>
> Core was generated by `/usr/sbin/kamailio -f
> /etc/kazoo/kamailio/kamailio.cfg -m 512 -M 64 -x tlsf -w'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x0071c63c in select_cfg_var (res=0x7ffd57d49b10,
> s=0x7f2649395040, msg=0x7ffd57d4c340) at core/cfg/cfg_select.c:211
> 211 i = *(int *)p;
>
>
> It seems that the problem is with this line:
>
> modparam("dmq", "notification_address", "sip:DMQ_NOTIFY_ADDRESS")
>
>
> Also, I only have this issue while running on an AWS instance, I
> have the same setup on my local computer, however kamailio is able
> to start correctly.
>
> While kamailio is starting, I have this line
>
> #!substdef "!DMQ_NOTIFY_ADDRESS!10.10.10.10:5090!g" 
>
> It seems that after DMQ is able to obtain the IP address, when it
> comes to actually sending the message, it is interpreting the ip
> address of the DMQ_NOTIFY_ADDRESS as an integer and then it gives
> out a segmentation fault and the module stops.
>
> Another interesting thing is that if the DMQ_NOTIFY_ADDRESS is the
> MY_IP_ADDRESS variable instead of the 10.10.10.10, it seems to
> work properly.
>
> #!substdef "!DMQ_NOTIFY_ADDRESS!MY_IP_ADDRESS:5090!g" 
>
> It also doesn't seem related to the ip being in a variable, since
> I already tried using a DNS record, and once again, it is able to
> obtain the IPs from the DNS record, and the same issue applies.
>
> Has anyone ever seen anything like this? I can't find any evidence
> of this actually happening.
>
> Thank you kindly for your time.
>
> Best Regards,
> José Santos
>
>
>
>
>
> __
> 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 - 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] DMQ module issues

2021-09-16 Thread Sergey Safarov
you need to make sure you used the latest commits in branch 5.5 or used
master.
https://github.com/kamailio/kamailio/issues/2843

On Thu, Sep 16, 2021 at 9:22 AM Zé Santos  wrote:

> Hi guys, I am currently using kamailio v5.2.5 and running it inside a
> container. I already attempted to upgrade the kamailio to the latest
> version however the problem persists.
>
> This is the core dump that I got from using gdb:
>
> Core was generated by `/usr/sbin/kamailio -f
>> /etc/kazoo/kamailio/kamailio.cfg -m 512 -M 64 -x tlsf -w'.
>> Program terminated with signal 11, Segmentation fault.
>> #0  0x0071c63c in select_cfg_var (res=0x7ffd57d49b10,
>> s=0x7f2649395040, msg=0x7ffd57d4c340) at core/cfg/cfg_select.c:211
>> 211 i = *(int *)p;
>
>
> It seems that the problem is with this line:
>
> modparam("dmq", "notification_address", "sip:DMQ_NOTIFY_ADDRESS")
>>
>
> Also, I only have this issue while running on an AWS instance, I have the
> same setup on my local computer, however kamailio is able to start
> correctly.
>
> While kamailio is starting, I have this line
>
> #!substdef "!DMQ_NOTIFY_ADDRESS!10.10.10.10:5090!g"
>
> It seems that after DMQ is able to obtain the IP address, when it comes to
> actually sending the message, it is interpreting the ip address of the
> DMQ_NOTIFY_ADDRESS as an integer and then it gives out a segmentation fault
> and the module stops.
>
> Another interesting thing is that if the DMQ_NOTIFY_ADDRESS is the
> MY_IP_ADDRESS variable instead of the 10.10.10.10, it seems to work
> properly.
>
> #!substdef "!DMQ_NOTIFY_ADDRESS!MY_IP_ADDRESS:5090!g"
>
> It also doesn't seem related to the ip being in a variable, since I
> already tried using a DNS record, and once again, it is able to obtain the
> IPs from the DNS record, and the same issue applies.
>
> Has anyone ever seen anything like this? I can't find any evidence of this
> actually happening.
>
> Thank you kindly for your time.
>
> Best Regards,
> José Santos
>
>
>
>
>
> __
> 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