Hi Daniel,
your approach sounds good. I would continue with adding some debug statements to your cfg
and also to the seas module code (especially for the as_relay_t(..)). It could be that it
just returned the wrong value, as you already guessed. Just update this thread with more
information that you found out, it can be then also fixed of course in the repository.
Cheers,
Henning
--
Henning Westerholt -
https://skalatan.de/blog/
Kamailio services -
https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Daniel Paape
Sent: Tuesday, October 5, 2021 10:05 PM
To: sr-users(a)lists.kamailio.org
Subject: Re: [SR-Users] seas module
Henning, I suspected as much, however I think that this has less to do with the seas
module and more to do with just an external module returning. My guess is that somehow
execution is returning (0) to whatever is executing the route block and then the config
script exits. I've been adding debug to the source for the last two days and I just
don't see where it's terminating.
The receive_msg function (core receive.c) returns 0 after processing the sip request. The
udp_rcv_loop (core udp_server.c) then looks like it should drop through to the error label
and return -1. I don't see where it goes from here and suspect that it was a spawned
thread of execution.
From: Henning Westerholt <hw@skalatan.de<mailto:hw@skalatan.de>>
Sent: Tuesday, October 5, 2021 2:46 PM
To: Kamailio (SER) - Users Mailing List
<sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Cc: Daniel Paape <dpaape@amtelco.com<mailto:dpaape@amtelco.com>>
Subject: RE: seas module
Hello Daniel,
the seas module is unfortunately not much used nowadays, at least according to the (lack
of) discussions on this list. You probably need to dig into the code and investigate by
yourself to some extent. Maybe your requirements can be fulfilled by another, more
commonly used module?
Cheers,
Henning
--
Henning Westerholt -
https://skalatan.de/blog/
Kamailio services -
https://gilawa.com<https://gilawa.com/>
From: sr-users
<sr-users-bounces@lists.kamailio.org<mailto:sr-users-bounces@lists.kamailio.org>>
On Behalf Of Daniel Paape
Sent: Tuesday, October 5, 2021 9:40 PM
To: sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Subject: [SR-Users] seas module
I am having some difficulties with the seas module under Kam 5.5.2. If my application
server is not connected then the config file script below never returns
if (!as_relay_t ("myserver")) {
Xlog ("LM_NOTICE", "myserver not connected\n");
}
A diagnostic in the "seas.c" file does report that the app server is not
connected, but the one above is never printed. Any help here would be appreciated.
This email is intended only for the use of the party to which it is addressed and may
contain information that is privileged, confidential, or protected by law. If you are not
the intended recipient you are hereby notified that any dissemination, copying or
distribution of this email or its contents is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the message and
deleting it from your computer.
This email is intended only for the use of the party to which it is addressed and may
contain information that is privileged, confidential, or protected by law. If you are not
the intended recipient you are hereby notified that any dissemination, copying or
distribution of this email or its contents is strictly prohibited. If you have received
this message in error, please notify us immediately by replying to the message and
deleting it from your computer.