Re: [SR-Users] out of shm without any visible reason

2020-03-03 Thread Daniel-Constantin Mierla
On 03.03.20 21:16, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> The rpc command tm.clean is like a last resort option when dealing with >> an unexpected situation that messed up the timer process, otherwise the >> transactions should be cleaned as they are expired or terminated

Re: [SR-Users] sip domain

2020-03-03 Thread Daniel-Constantin Mierla
Hello, On 04.03.20 04:44, Joli Martinez wrote: > Hello, > > We have several SIP domains coming into our SBC.  I need to build a > Kamailio box that will 302 the call to the appropriate server based on > the domain.  If the call does not come in with a recognized domain I > would like for it to

Re: [SR-Users] I need to configure apns push notification in kamailio

2020-03-03 Thread max
I think you need to enable below module and try again loadmodule "cfgutils.so" -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] push notification via lua script on tsilo module

2020-03-03 Thread max
Hi Thank do you have any sample code such as php ,,, for push notification? -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] sip domain

2020-03-03 Thread David Villasmil
+1 On Wed, 4 Mar 2020 at 04:17, Alex Balashov wrote: > Hi, > > I think this comes part and parcel with learning how to use Kamailio in > general. > > If you are looking for someone to build it for you end-to-end or provide > one-on-one tutoring, perhaps private consulting is a better option. >

Re: [SR-Users] I need to configure apns push notification in kamailio

2020-03-03 Thread master1024
Hello Team, I need to configure apns Push Notification in kamailio kindly support in it. I read from the site https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca2f8e08d but I don't understand properly because here is missing push.php, I have another push.php and it is

Re: [SR-Users] sip domain

2020-03-03 Thread Alex Balashov
Hi, I think this comes part and parcel with learning how to use Kamailio in general. If you are looking for someone to build it for you end-to-end or provide one-on-one tutoring, perhaps private consulting is a better option. — Sent from my iPad > On Mar 3, 2020, at 10:45 PM, Joli Martinez

[SR-Users] sip domain

2020-03-03 Thread Joli Martinez
Hello, We have several SIP domains coming into our SBC. I need to build a Kamailio box that will 302 the call to the appropriate server based on the domain. If the call does not come in with a recognized domain I would like for it to 404 the call. Not sure how to do this. Can someone point me

Re: [SR-Users] kamailio 5.2.5 core WARNING

2020-03-03 Thread Andrew Chen
thank you so much. I found the missing closing endif's. On Tue, Mar 3, 2020 at 4:22 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Well, that tells you there aren’t the same amount of ifdef and endif. But > it can also mean you’ve got some other error, which SHOULD be printed

[SR-Users] kamailio 5.2.5 core WARNING

2020-03-03 Thread Andrew Chen
Hi all, Can someone help shed some light as to what this core WARNING means? root@ashmaintpsg51:/etc/kamailio # kamailio -c kamailio.cfg 0(2192) WARNING: [core/ppcfg.c:220]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 2 Thanks. -- Andy

Re: [SR-Users] kamailio 5.2.5 core WARNING

2020-03-03 Thread David Villasmil
Well, that tells you there aren’t the same amount of ifdef and endif. But it can also mean you’ve got some other error, which SHOULD be printed out. Take a good look at the log, look out for ERROR, or CRITICAL. Go all the way back. On Tue, 3 Mar 2020 at 21:18, Andrew Chen wrote: > Hi all, > >

Re: [SR-Users] (no subject)

2020-03-03 Thread ahmed moghazy
I generate those certificates and i put then in linphone source code i want to enable require_certficate=1 could you help me how and where to put the certificates and linphone peer return it ? , thank you > On Mar 3, 2020, at 10:52 AM, M S wrote: > >  > Any sip client will work with

Re: [SR-Users] out of shm without any visible reason

2020-03-03 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > The rpc command tm.clean is like a last resort option when dealing with > an unexpected situation that messed up the timer process, otherwise the > transactions should be cleaned as they are expired or terminated because > of final response sent upstream, with a

Re: [SR-Users] Unexpected behavior on tmrec with monthly recurrence

2020-03-03 Thread Daniel-Constantin Mierla
Hello, a typedef cannot be a source of problems or fix them. Thanks for checking and testing, though, I wanted to verify it is not something eventually fixed in the cplc. I will try to look at it when I get a chance, given it is something I wrote long time ago, I may need some time to get

[SR-Users] Using DNS hostname with the Dispatcher module to determine online routes

2020-03-03 Thread Thomas Cavill
Hi all, I am wondering if it is possible for the dispatcher module to monitor multiple endpoints that resolve from a single hostname using DNS. Can I configure a single DNS name in the dispatcher table which resolves to 3 IP addresses and have them monitored by OPTIONS pings, and then select

Re: [SR-Users] Unexpected behavior on tmrec with monthly recurrence

2020-03-03 Thread David Gonçalves
Hi Daniel, We compare the code from /src/lib/srutils/tmrec with the code from /src/modules/cplc. The algorithm used to calculate the time is the same. The main difference between them is that module /src/modules/cplc defines a variable *tmrec_p pointing to the same struct used by tmrec_t and,

Re: [SR-Users] Dynamically change the transport protocol from UDP to TCP to avoid fragmentation

2020-03-03 Thread supreeth herle
Hello Everyone, I solved this issue. It was totally unrelated to Kamailio. I solved the issue by having proper DRB settings in eNB. Thanks and Regards, Supreeth On Thu, 27 Feb 2020 at 14:39, supreeth herle wrote: > Hello Everyone, > > I have an IMS setup using Kamailo and is working as

Re: [SR-Users] (no subject)

2020-03-03 Thread M S
Any sip client will work with kamailio (as sip server) as long as it supports TLS and configured correctly. I mostly use Linphone, Xlite and some of my own sip clients that i have built over the years. You simply need to follow the quick howto in tls module documentation (as i mentioned earlier)

Re: [SR-Users] out of shm without any visible reason

2020-03-03 Thread Daniel-Constantin Mierla
If you can reproduce it, watch what the timer processes do during that time frame. Get the list of processes with 'kamctl ps', then when the issue is exposed, grab the backtraces of all processes with: kamctl trap A file is created with the backtraces taken with gdb. Sent it over here to

Re: [SR-Users] out of shm without any visible reason

2020-03-03 Thread Daniel-Constantin Mierla
On 03.03.20 02:24, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> The $stat(name) can be used for any internal statistic. I think it takes >> only the name of statistic, not the group, so something like >> $stat(free_size). > Thanks, free_size and the others in > > core.shmmem > { >

Re: [SR-Users] out of shm without any visible reason

2020-03-03 Thread Daniel-Constantin Mierla
Looks like something odd happened there. Is the timer process somehow stuck? Any jump of the system clock? Virtual machine frozen somehow? Or the transactions remained hooked in some callback, not releasing the reference counter. The rpc command tm.clean is like a last resort option when dealing

Re: [SR-Users] push notification via lua script on tsilo module

2020-03-03 Thread M S
You don't need to use LUA for the task, you can use any language you are comfortable with, e.g. perl, python or php. You can even use remote nodejs and call it from kamailio as http request. There are tons of example scripts, tutorials and howtos online regarding how to send push notifications