Re: [SR-Users] Incoming DID calls routing to subscriber

2020-10-21 Thread Jose Figueroa
Hey David, In fact I was doing it wrong, it seems I needed a validation before. But the $ru was okay. Now it works fine! Thanks! On Wed, Oct 21, 2020 at 12:42:09PM +0100, David Villasmil wrote: > https://stackoverflow.com/questions/34382070/kamailio-routing-from-did-to-user#34418343 > > > On

Re: [SR-Users] Load balance on HA scenario

2020-10-21 Thread Duarte Rocha
Hi Yufei, I've tried to do that but unfortunately i'm facing a weird issue. I have nodes on probing mode, but dispatcher only sends probing via one of the sockets and then, in some cases, wrongfully updates the status of the elements of the pair. I've even tried to manually disable one of the

Re: [SR-Users] KEMI and Native mixing

2020-10-21 Thread Henning Westerholt
Hello, other people might be able to add more, but what you can certainly can do is to have a usual kamailio.cfg and then use e.g. lua_run(..) to execute some functions defined in the loaded lua script. In my opinion you will add some more complexity if you start to mix also the routes, but it

Re: [SR-Users] kamailio RTP Engine in kubernetes pods

2020-10-21 Thread David Villasmil
I set postStart and preStop on rtpengine and on freeswitch to basically insert its ip address in the tables rtpengine and dispatcher. And on kamailio I have a timer that reloads dispatcher and rtpengine. On the pods, I set something like “HostNetwork: true” I’m not at my computer now, but I’m

[SR-Users] KEMI and Native mixing

2020-10-21 Thread Marcin Kowalczyk
Hi, Is it possible to mix both KEMI (lua) and Native configs in one kamailio instance? So some blocks are called from native script and some others from KEMI (lua)? Marcin ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Kamailio + rtpengine

2020-10-21 Thread Richard Fuchs
Can't say for sure from the log you posted, but my guess is that you're trying to play media to the B side before having received an answer from B. Enable debug logging for a better view of what's happening. Cheers On 21/10/2020 11.43, Amit Pal wrote: Hi, I have using kamailio with

Re: [SR-Users] kamailio RTP Engine in kubernetes pods

2020-10-21 Thread Pavithra Mohanraja
Hi , How you are setting network type to host for rtpengine alone. I have rtp engine inside pcscf pod . Can you please send me the configurations. Thanks, Pavithra On Wed, Oct 21, 2020, 5:11 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > You must set rtpengine’s network type to

[SR-Users] Kamailio + rtpengine

2020-10-21 Thread Amit Pal
Hi, I have using kamailio with rtpengine, I have started rtpengine session (rtpengine_offer() /rtpengine_answer() )only when call getting hold and then play media file and on un hold detach rtpengine session(rtpengine_delete()). during this activity I have received the log "No supported output

Re: [SR-Users] kamailio RTP Engine in kubernetes pods

2020-10-21 Thread Abdirahman A. Osman
Hi David, How are you registering the new Freeswitch POD when they spin up into the dispatcher.list and how do you delete it once the POD disappears? Also are you running the freeswitches as host network as well or Natted? On Tue, 20 Oct 2020 at 15:48, David Villasmil <

Re: [SR-Users] Incoming DID calls routing to subscriber

2020-10-21 Thread David Villasmil
https://stackoverflow.com/questions/34382070/kamailio-routing-from-did-to-user#34418343 On Wed, 21 Oct 2020 at 08:15, Jose N Figueroa wrote: > Hello everybody, > > I'm trying to route incoming calls to kamailio with specific subscriber > but I can't make it working. > > The complete scenario

Re: [SR-Users] kamailio RTP Engine in kubernetes pods

2020-10-21 Thread David Villasmil
You must set rtpengine’s network type to host. Not expose a single port. On Tue, 20 Oct 2020 at 21:01, Pavithra Mohanraja wrote: > Hi, > I am not using free switch.In my case, I am testing with > Ue (vm) -> ims (pods) -> ue (vm) > > Here rtp engine is running inside pcscf pod with 2223 as

Re: [SR-Users] How to read "duid" from dispatcher.list in kamamilio.cfg

2020-10-21 Thread Federico Cabiddu
Hi, actually you can access it directly from the xvap without transformations. $var(duid) = $xavp(dsdst=>dstid); ( http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.xavp_dst_mode ) Cheers, Federico On Wed, Oct 21, 2020 at 9:28 AM Federico Cabiddu wrote: > Hi, >

Re: [SR-Users] Load balance on HA scenario

2020-10-21 Thread Yufei Tao
Hi Joel, Thanks for the tip! Having the pings disabled and enable it on HA status being master sounds like a good idea :) Cheers, Yufei ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] How to read "duid" from dispatcher.list in kamamilio.cfg

2020-10-21 Thread Federico Cabiddu
Hi, you can access it through the xavp_dst ( http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.xavp_dst) using transformations. E.g. if your xavp is called "dsdst" you can do something like this: $var(duid) = $(xavp(dsdst=>attrs){param.value,duid}); Cheers,

[SR-Users] Incoming DID calls routing to subscriber

2020-10-21 Thread Jose N Figueroa
Hello everybody, I'm trying to route incoming calls to kamailio with specific subscriber but I can't make it working. The complete scenario is: SoftSwith -> kamailio 5.3 -> zoiper What i'm trying to do is to receive a call into the zoiper when I dial specific DID which is already coming

[SR-Users] How to read "duid" from dispatcher.list in kamamilio.cfg

2020-10-21 Thread Jani Biju Babjan
Hi, I have a dispatcher.list file like the following: 1 sip:127.0.0.1:5060 0 0 duid=abcd;maxload=5 1 sip:127.0.0.2:5060 0 0 duid=efgh;maxload=5 After calling the ds_select_dst("1", "4") function(ie, round-robin selection), I want to read the value of the "duid" attribute of the selected