Re: [SR-Users] Kamailio ims stable version

2020-11-08 Thread Pavithra Mohanraja
Hi,
I am not seeing git tags for specific version like 5.3.6 in kamailio GitHub
link.

How should I git clone the version.

Thanks,
Pavithra

On Sun, Nov 8, 2020, 5:04 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> we use git tags for this, e.g. compare to this docs:
> https://devconnected.com/how-to-checkout-git-tags/
>
>
>
> The tags are named like the version, you can see with “git log”.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Pavithra
> Mohanraja
> *Sent:* Saturday, November 7, 2020 8:35 PM
> *To:* Kamailio (SER) - Users Mailing List 
> *Subject:* [SR-Users] Kamailio ims stable version
>
>
>
> Hi,
>
> How to do git clone of kamailio source code with minor version.
>
>
>
> I could only do git checkout of 5.3 version and it is automatically taking
> latest stable version. I don't need in this way. I need to do git clone of
> exact version of kamailio source code .
>
>
>
> Example - if I need 5.3.6 version.. exact version source code has to be
> git checked out from kamailio website.
>
>
>
> How to do that .. kindly let me know..
>
>
>
> Thanks,
>
> Pavithra
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio ims stable version

2020-11-07 Thread Pavithra Mohanraja
Hi,
How to do git clone of kamailio source code with minor version.

I could only do git checkout of 5.3 version and it is automatically taking
latest stable version. I don't need in this way. I need to do git clone of
exact version of kamailio source code .

Example - if I need 5.3.6 version.. exact version source code has to be git
checked out from kamailio website.

How to do that .. kindly let me know..

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


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 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 exposed UDP port
>>
>> When I make a call from ue , rtp packets flow from ue to pcscf pod ip .
>>
>> Rtp engine is listening to pod ip inside pcscf pod.
>>
>> How can I resolve this?
>>
>> Thanks,
>> Pavithra
>>
>> On Wed, Oct 21, 2020, 1:19 AM David Villasmil <
>> david.villasmil.w...@gmail.com> wrote:
>>
>>> I have it running perfectly in network host mode. Public to private and
>>> private to public. My freeswitches are in the private and
>>> kamailio+rtpengine do the translation from public to private (and
>>> viceversa). All in k8s pods.
>>>
>>> When fs or rtpengine a come up in the pods, they register themselves in
>>> kamailio’s db tables rtpengine and dispatcher with their private IPs.
>>>
>>>
>>> On Tue, 20 Oct 2020 at 15:43, Sergey Safarov 
>>> wrote:
>>>
>>>> UDP in k8s not stable.
>>>> So looks as need use host network.
>>>>
>>>> Second options troubleshoot nat in k8s.
>>>>
>>>> Thirt options, add RTP engine control over TCP in Kamailio.
>>>>
>>>> On Tue, Oct 20, 2020, 5:22 PM Pavithra Mohanraja <
>>>> pavimohan3...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>> I have installed rtp engine inside pcscf pod and tried to make a call.
>>>>> caller was unable to reach the pod environment with 2223 port exposed for
>>>>> rtp. Kindly anyone help, if you have already done with pod based 
>>>>> deployment
>>>>> of ims.
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Pavithra
>>>>>
>>>> ___
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users@lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> --
>>> Regards,
>>>
>>> David Villasmil
>>> email: david.villasmil.w...@gmail.com
>>> phone: +34669448337
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


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

2020-10-20 Thread Pavithra Mohanraja
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 exposed UDP port

When I make a call from ue , rtp packets flow from ue to pcscf pod ip .

Rtp engine is listening to pod ip inside pcscf pod.

How can I resolve this?

Thanks,
Pavithra

On Wed, Oct 21, 2020, 1:19 AM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> I have it running perfectly in network host mode. Public to private and
> private to public. My freeswitches are in the private and
> kamailio+rtpengine do the translation from public to private (and
> viceversa). All in k8s pods.
>
> When fs or rtpengine a come up in the pods, they register themselves in
> kamailio’s db tables rtpengine and dispatcher with their private IPs.
>
>
> On Tue, 20 Oct 2020 at 15:43, Sergey Safarov  wrote:
>
>> UDP in k8s not stable.
>> So looks as need use host network.
>>
>> Second options troubleshoot nat in k8s.
>>
>> Thirt options, add RTP engine control over TCP in Kamailio.
>>
>> On Tue, Oct 20, 2020, 5:22 PM Pavithra Mohanraja 
>> wrote:
>>
>>> Hi,
>>> I have installed rtp engine inside pcscf pod and tried to make a call.
>>> caller was unable to reach the pod environment with 2223 port exposed for
>>> rtp. Kindly anyone help, if you have already done with pod based deployment
>>> of ims.
>>>
>>>
>>> Thanks,
>>> Pavithra
>>>
>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] kamailio RTP Engine in kubernetes pods

2020-10-20 Thread Pavithra Mohanraja
Hi,
I have installed rtp engine inside pcscf pod and tried to make a call.
caller was unable to reach the pod environment with 2223 port exposed for
rtp. Kindly anyone help, if you have already done with pod based deployment
of ims.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Fwd: Kamailio IMS RTP Engine

2020-10-19 Thread Pavithra Mohanraja
-- Forwarded message -
From: Pavithra Mohanraja 
Date: Mon, Oct 19, 2020, 3:31 PM
Subject: Kamailio IMS RTP Engine
To: supreeth herle , Kamailio (SER) - Users
Mailing List , Abdirahman A. Osman <
abdirahman@gmail.com>, David Villasmil 


Hi,
I have followed below link to setup rtp engine.
https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/

RTP engine is started without any errors and it is enabled in pcscf also. I
am using the config files of pcscf as per the above link .. still rtp
packets are not reaching pcscf from UE . What could be the problem?

The only difference is that i have deployed ims in kubernetes environment
as pods.
Kindly help.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio IMS RTP Engine

2020-10-19 Thread Pavithra Mohanraja
Hi,
I have followed below link to setup rtp engine.
https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/

RTP engine is started without any errors and it is enabled in pcscf also. I
am using the config files of pcscf as per the above link .. still rtp
packets are not reaching pcscf from UE . What could be the problem?

The only difference is that i have deployed ims in kubernetes environment
as pods.
Kindly help.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Error in RTP engine setup

2020-10-15 Thread Pavithra Mohanraja
Hi David,

Thanks for the response, the problem is i'm running pcscf within a pod and
reboot will not help in my case. But the issue is resolved when i
reinstalled linux-headers. Now it starts without any errors. I got the
following logs while starting pcscf.
*1(5087) INFO: rtpengine [rtpengine.c:2750]: rtpp_test(): rtpengine
instance  found, support for it enabled*
But when i made sip call, packet capture shows rtp flow between two sip
client address. It means the packets are not flowing through proxy
right?(If not please suggest me how to verify it) Does this log guarantees
that proxy is setup or anything else to be done.

Kindly help me with this issue.

Regards,
Pavithra

On Wed, Oct 14, 2020 at 9:54 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> I believe you need to add the table yourself like:
>
> https://github.com/sipwise/rtpengine
>
>
> # this only needs to be one once after system (re-) boot
> modprobe xt_RTPENGINE
> iptables -I INPUT -p udp -j RTPENGINE --id 0
> ip6tables -I INPUT -p udp -j RTPENGINE --id 0
>
> # ensure that the table we want to use doesn't exist - usually needed after a 
> daemon
> # restart, otherwise will error
> echo 'del 0' > /proc/rtpengine/control
>
> # start daemon
> /usr/sbin/rtpengine --table=0 --interface=10.64.73.31 
> --interface=2001:db8::4f3:3d \
> --listen-ng=127.0.0.1:2223 --tos=184 --pidfile=/run/rtpengine.pid 
> --no-fallback
>
>
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
>
>
> On Wed, Oct 14, 2020 at 5:06 PM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
>> Hi,
>> I tried to setup rtpengine to make my sip clients communicate through
>> proxy following https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
>>
>> I started sip communication since the service was running and saw that
>> the RTP packets go to exposed rtp interface instead of other sip client.
>> But i don't receive packets from the other end.
>>
>> When analyzed I noticed the rtp-engine daemon gives a few errors.
>> *modprobe: FATAL: Module xt_RTPENGINE not found in directory
>> /lib/modules/4.15.0-118-generic*
>>
>>
>> *iptables: No chain/target/match by that name.ip6tables: No
>> chain/target/match by that name. * Starting RTP/media proxy
>> ngcp-rtpengine-daemon
>> [1602690253.130392] ERR: FAILED TO CREATE KERNEL TABLE 0 (No such
>> file or directory), KERNEL FORWARDING DISABLED*
>> *(Note: *uname -r gives 4.15.0-118-generic and  /lib/modules/ has only
>> 4.15.0-115-generic*)*
>>
>> Please help me with this issue. Thanks in Advance.
>>
>> Regards,
>> Pavithra
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Error in RTP engine setup

2020-10-14 Thread Pavithra Mohanraja
Hi,
I tried to setup rtpengine to make my sip clients communicate through proxy
following https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/

I started sip communication since the service was running and saw that the
RTP packets go to exposed rtp interface instead of other sip client. But i
don't receive packets from the other end.

When analyzed I noticed the rtp-engine daemon gives a few errors.
*modprobe: FATAL: Module xt_RTPENGINE not found in directory
/lib/modules/4.15.0-118-generic*


*iptables: No chain/target/match by that name.ip6tables: No
chain/target/match by that name. * Starting RTP/media proxy
ngcp-rtpengine-daemon
[1602690253.130392] ERR: FAILED TO CREATE KERNEL TABLE 0 (No such
file or directory), KERNEL FORWARDING DISABLED*
*(Note: *uname -r gives 4.15.0-118-generic and  /lib/modules/ has only
4.15.0-115-generic*)*

Please help me with this issue. Thanks in Advance.

Regards,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] SIP client - Linphone

2020-10-05 Thread Pavithra Mohanraja
Hi Aymeric,
Thanks for your reply. Yes, as you said I get the below warning when I
start Linphone. But the port is actually not used by any other application.
And one more thing is,  I see this error only in case of enabling TCP
transport and not in UDP. So does that mean, linphone works only with UDP
transport?
*Warning: Could not start tcp transport on port 4060, maybe this port is
already used.*

On Mon, Oct 5, 2020 at 8:08 PM Aymeric Moizard  wrote:

> Hi,
>
> I'm answering as the author of libosip & libeXosip ;)
>
> Linphone, in your case is based on eXosip.
> Linphone removed eXosip2 years ago and thus, you use
> a very old linphone and very old eXosip2 version..
>
>
> Anyway, whatever versions of eXosip2, it needs to be used that way:
>
> ctx = eXosip_malloc
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#ga8ebd76492c77690fee6f3781abcfd692>
> ();
> if (ctx==NULL)
> return -1;
> i=eXosip_init
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#gaf0d9eb7def600c00166c06185b7f6fb3>
> (ctx);
> if (i!=0)
> return -1;
>
> i = eXosip_listen_addr
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#ga07d7c2b336f7145fe55a8d481fccc44a>
> (ctx, IPPROTO_UDP, NULL, port, AF_INET, 0);
> if (i!=0)
> {
> eXosip_quit
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#gacfd12dbf24afb5182dd9b7269ea41cb0>
> (ctx);
> fprintf (stderr, "could not initialize transport layer\n");
> return -1;
> }
>
> If eXosip_listen_addr
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#ga07d7c2b336f7145fe55a8d481fccc44a>
>  is
> failing nothing can be done with eXosip2, and " create transport layer
> first" logs
> will happen for some API which can't be used in that state.
>
> http://www.antisip.com/doc/exosip2/group__howto__initialize.html
>
> If the socket can't be created, the above API will fail. So a usual
> scenario is to have the port already used.
>
> A simple way is to choose another port when this is happening and I guess
> this old version of linphone wasn't
> doing that:
>
> i = eXosip_listen_addr
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#ga07d7c2b336f7145fe55a8d481fccc44a>
> (ctx, IPPROTO_UDP, NULL, port, AF_INET, 0);
> if (i!=0)
> i = eXosip_listen_addr
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#ga07d7c2b336f7145fe55a8d481fccc44a>
> (ctx, IPPROTO_UDP, NULL, 0, AF_INET, 0);
> if (i!=0)
> {
> eXosip_quit
> <http://www.antisip.com/doc/exosip2/group__eXosip2__conf.html#gacfd12dbf24afb5182dd9b7269ea41cb0>
> (ctx);
> fprintf (stderr, "could not initialize transport layer\n");
> return -1;
> }
>
> Regards
> Aymeric
>
>
> Le lun. 5 oct. 2020 à 12:28, David Villasmil <
> david.villasmil.w...@gmail.com> a écrit :
>
>> Not an expert here. But many moons ago, I was playing with pjsip and got
>> the same. You must create the socket first, make sure the ip assigned is
>> correct.
>>
>> On Mon, 5 Oct 2020 at 06:47, Pavithra Mohanraja 
>> wrote:
>>
>>> Hi Jan,
>>> Sorry for the delayed response. I guess the issue is because of UDP
>>> transport, which my kamailio is not accepting. Because  the same scenario
>>> is reproduced when I change my pjsip configurations to udp instead of tcp.
>>> But linphone gives me the following error if I tried to connect using tcp.
>>>
>>>
>>> *ortp-error-wrong state: create transport layer firstortp-error-wrong
>>> state: create transport layer firstortp-error-eXosip: missing via header*
>>> Am I missing something really important? Please let me know. Thanks in
>>> advance.
>>>
>>> On Wed, Sep 30, 2020 at 5:33 PM Jan Rozhon  wrote:
>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hmm, nothing obviously wrong. Is there anything in Kamailio's
>>>>
>>>> logs? Are you sure REGISTER reaches kamailio? Can you run tcpdump
>>>>
>>>> or even better sngrep on kamailio server?
>>>>
>>>>
>>>> Regards, Jan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On 30. 09. 20 13:28, Pavithra Mohanraja
>>>>
>>>> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Hi Jan,
>>>&

Re: [SR-Users] SIP client - Linphone

2020-10-04 Thread Pavithra Mohanraja
Hi Jan,
Sorry for the delayed response. I guess the issue is because of UDP
transport, which my kamailio is not accepting. Because  the same scenario
is reproduced when I change my pjsip configurations to udp instead of tcp.
But linphone gives me the following error if I tried to connect using tcp.


*ortp-error-wrong state: create transport layer firstortp-error-wrong
state: create transport layer firstortp-error-eXosip: missing via header*
Am I missing something really important? Please let me know. Thanks in
advance.

On Wed, Sep 30, 2020 at 5:33 PM Jan Rozhon  wrote:

> Hmm, nothing obviously wrong. Is there anything in Kamailio's logs? Are
> you sure REGISTER reaches kamailio? Can you run tcpdump or even better
> sngrep on kamailio server?
>
> Regards, Jan
>
>
> On 30. 09. 20 13:28, Pavithra Mohanraja wrote:
>
> Hi Jan,
> I have also tried as u suggested with reg_proxy only with sip server name,
> could not obtain any positive changes. I have also attached the debug logs,
> please have a look and suggest for any changes. Thanks in advance.
>
> On Wed, Sep 30, 2020 at 4:42 PM Jan Rozhon  wrote:
>
>> Sorry, I am not that good in linphone configuration file so I may be
>> wrong, but it seems to me that reg_proxy should only contain uri of the
>> server, not the user part. Moreover, I have definitely more options there
>> but not using it as an IMS.
>>
>> Mine is a bit more wordy:
>>
>> [proxy_3]
>> reg_proxy=
>> reg_identity=sip:420123456...@sip.server.here
>> realm=sip.linphone.org
>> contact_parameters=message-expires=604800
>> quality_reporting_collector=
>> sip:voip-metr...@sip.linphone.org;transport=tls
>> quality_reporting_enabled=1
>> quality_reporting_interval=180
>> reg_expires=600
>> reg_sendregister=1
>> publish=1
>> avpf=-1
>> avpf_rr_interval=1
>> dial_escape_plus=0
>> privacy=32768
>> push_notification_allowed=0
>> idkey=proxy_config_voVF8eoXq46cJLs
>> publish_expires=600
>> nat_policy_ref=bUwFfNPHt40-miQ
>>
>> Could you send the REGISTER message not being accepted?
>>
>> Regards, Jan
>> On 30. 09. 20 12:54, Pavithra Mohanraja wrote:
>>
>> Hi Jan,
>> I'm trying to connect linphone to my kamailio ims. Only register request
>> is sent from Linphone and no acknowledgement  is received. I'm attaching
>> you my linphonerc file. Please advise if any correction is required in the
>> configuration.
>>
>> On Wed, Sep 30, 2020 at 3:50 PM Jan Rozhon  wrote:
>>
>>> Hey, I have no problems with linphone (desktop and mobile).
>>>
>>> Could you be more specific on what you set up and/or what the
>>> communication looks like when using linphone?
>>>
>>> Regards, Jan
>>> Dne 30.09.2020 v 11:55 Pavithra Mohanraja napsal(a):
>>>
>>> Hi,
>>> I am a newbie to sipclient Linphone. I know this issue is not related
>>> with kamailio.Yet If anybody have tried it before , kindly provide me with
>>> some links or procedures to be followed for call registration and
>>> connectivity with kamailio since in my case, request is going but response
>>> is not coming back resulting in timeout issue.
>>>
>>> This happens only in linphone.If i do the samething in PJSIP/zoiper,
>>> call registration and call establishment happens perfectly fine.
>>>
>>> Kindly help.
>>>
>>> Thanks,
>>> Pavithra
>>>
>>> ___
>>> Kamailio (SER) - Users Mailing 
>>> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>> ___
>> Kamailio (SER) - Users Mailing 
>> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] SIP client - Linphone

2020-09-30 Thread Pavithra Mohanraja
Hi Jan,
I have also tried as u suggested with reg_proxy only with sip server name,
could not obtain any positive changes. I have also attached the debug logs,
please have a look and suggest for any changes. Thanks in advance.

On Wed, Sep 30, 2020 at 4:42 PM Jan Rozhon  wrote:

> Sorry, I am not that good in linphone configuration file so I may be
> wrong, but it seems to me that reg_proxy should only contain uri of the
> server, not the user part. Moreover, I have definitely more options there
> but not using it as an IMS.
>
> Mine is a bit more wordy:
>
> [proxy_3]
> reg_proxy=
> reg_identity=sip:420123456...@sip.server.here
> realm=sip.linphone.org
> contact_parameters=message-expires=604800
> quality_reporting_collector=
> sip:voip-metr...@sip.linphone.org;transport=tls
> quality_reporting_enabled=1
> quality_reporting_interval=180
> reg_expires=600
> reg_sendregister=1
> publish=1
> avpf=-1
> avpf_rr_interval=1
> dial_escape_plus=0
> privacy=32768
> push_notification_allowed=0
> idkey=proxy_config_voVF8eoXq46cJLs
> publish_expires=600
> nat_policy_ref=bUwFfNPHt40-miQ
>
> Could you send the REGISTER message not being accepted?
>
> Regards, Jan
> On 30. 09. 20 12:54, Pavithra Mohanraja wrote:
>
> Hi Jan,
> I'm trying to connect linphone to my kamailio ims. Only register request
> is sent from Linphone and no acknowledgement  is received. I'm attaching
> you my linphonerc file. Please advise if any correction is required in the
> configuration.
>
> On Wed, Sep 30, 2020 at 3:50 PM Jan Rozhon  wrote:
>
>> Hey, I have no problems with linphone (desktop and mobile).
>>
>> Could you be more specific on what you set up and/or what the
>> communication looks like when using linphone?
>>
>> Regards, Jan
>> Dne 30.09.2020 v 11:55 Pavithra Mohanraja napsal(a):
>>
>> Hi,
>> I am a newbie to sipclient Linphone. I know this issue is not related
>> with kamailio.Yet If anybody have tried it before , kindly provide me with
>> some links or procedures to be followed for call registration and
>> connectivity with kamailio since in my case, request is going but response
>> is not coming back resulting in timeout issue.
>>
>> This happens only in linphone.If i do the samething in PJSIP/zoiper, call
>> registration and call establishment happens perfectly fine.
>>
>> Kindly help.
>>
>> Thanks,
>> Pavithra
>>
>> ___
>> Kamailio (SER) - Users Mailing 
>> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
message: Using (r/w) config information from .linphonerc
message: Initializing LinphoneCore 3.6.1
message: oRTP-0.22.0 initialized.
message: assigning PCMU/8000 payload type number 0
message: assigning GSM/8000 payload type number 3
message: assigning PCMA/8000 payload type number 8
message: assigning speex/8000 payload type number 110
message: assigning speex/16000 payload type number 111
message: assigning speex/32000 payload type number 112
message: assigning telephone-event/8000 payload type number 101
message: assigning G722/8000 payload type number 9
message: assigning H263/9 payload type number 34
message: assigning theora/9 payload type number 97
message: assigning H263-1998/9 payload type number 98
message: assigning MP4V-ES/9 payload type number 99
message: assigning H264/9 payload type number 102
message: assigning VP8/9 payload type number 103
message: assigning x-snow/9 payload type number 96
message: assigning iLBC/8000 payload type number 100
message: assigning AMR/8000 payload type number 104
message: assigning AMR-WB/16000 payload type number 105
message: assigning 1015/8000 payload type number 106
message: assigning G726-16/8000 payload type number 107
message: assigning G726-24/8000 payload type number 108
message: assigning G726-32/8000 payload type number 109
message: assigning G726-40/8000 payload type number 113
message: assigning AAL2-G726-16/8000 payload type number 114
message: assigning AAL2-G726-24/8000 payload type number 115
message: assigning AAL2-G726-32/8000 payload type number 116
message: assign

Re: [SR-Users] SIP client - Linphone

2020-09-30 Thread Pavithra Mohanraja
Hi Jan,
I'm trying to connect linphone to my kamailio ims. Only register request is
sent from Linphone and no acknowledgement  is received. I'm attaching you
my linphonerc file. Please advise if any correction is required in the
configuration.

On Wed, Sep 30, 2020 at 3:50 PM Jan Rozhon  wrote:

> Hey, I have no problems with linphone (desktop and mobile).
>
> Could you be more specific on what you set up and/or what the
> communication looks like when using linphone?
>
> Regards, Jan
> Dne 30.09.2020 v 11:55 Pavithra Mohanraja napsal(a):
>
> Hi,
> I am a newbie to sipclient Linphone. I know this issue is not related with
> kamailio.Yet If anybody have tried it before , kindly provide me with some
> links or procedures to be followed for call registration and connectivity
> with kamailio since in my case, request is going but response is not coming
> back resulting in timeout issue.
>
> This happens only in linphone.If i do the samething in PJSIP/zoiper, call
> registration and call establishment happens perfectly fine.
>
> Kindly help.
>
> Thanks,
> Pavithra
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
[rtp]
download_ptime=0
audio_rtp_port=7078
video_rtp_port=9078
audio_jitt_comp=60
video_jitt_comp=60
nortp_timeout=30
audio_adaptive_jitt_comp_enabled=1
video_adaptive_jitt_comp_enabled=1

[sip]
media_encryption=none
default_proxy=0
sip_port=4060
sip_tcp_port=0
sip_tls_port=0
guess_hostname=1
contact=
inc_timeout=30
in_call_timeout=0
delayed_timeout=4
use_ipv6=0
register_only_when_network_is_up=1
register_only_when_upnp_is_ok=1
use_info=0

[video]
display=1
capture=1
automatically_initiate=0
automatically_accept=0
show_local=0
self_view=0
size=cif

[sound]
playback_dev_id=ALSA: default device
ringer_dev_id=ALSA: default device
capture_dev_id=ALSA: default device
echocancellation=1
remote_ring=/usr/share/sounds/linphone/ringback.wav
playback_gain_db=0.00
mic_gain_db=0.00

[auth_info_0]
username=bob
userid=bob
passwd=bob
realm="sip.example.com"

[proxy_0]
reg_proxy=
reg_identity=sip:b...@sip.example.com:4060
reg_expires=30
reg_sendregister=0
publish=0
dial_escape_plus=0___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] SIP client - Linphone

2020-09-30 Thread Pavithra Mohanraja
Hi,
I am a newbie to sipclient Linphone. I know this issue is not related with
kamailio.Yet If anybody have tried it before , kindly provide me with some
links or procedures to be followed for call registration and connectivity
with kamailio since in my case, request is going but response is not coming
back resulting in timeout issue.

This happens only in linphone.If i do the samething in PJSIP/zoiper, call
registration and call establishment happens perfectly fine.

Kindly help.

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] P2P Video call over Public IP

2020-09-30 Thread Pavithra Mohanraja
Hi,
I have also started using Linphone now. I am a newbie. I have seen you can
able to connect a call without audio/video. Can you please provide me any
links or procedures you have followed for connectivity because I am not
getting any links to follow for linphone.


Thanks,
Pavithra

On Wed, Sep 30, 2020 at 12:22 PM  wrote:

> Dear Team,
>
>
>
> I was trying P2P video calling over Public IP with Kamailio. I have used
> Linphone as client. But my call is connected but no video and audio was
> there. For reference I am attaching Client and Kamailio logs.
>
> Any help will be appreciated.
>
>
>
>
>
> *Thanks & Regards,*
>
> *Amit Sharma*
>
> *(Sr. Team Leader)*
>
>
>
>  [image: Copy of 34643416.jpg]
>
>
> *(An ISO 9001:2008 company)*
>
>
>
> *Mobile: tel:9891612004 <9891612004>*
>
> *PH:  +91 120 2595870*
>
> *Ext.: tel:870 <870>*
>
> *Email : amitsha...@coraltele.com *
>
> Web : *www.coraltele.com*
>
>
>
> [image:
> https://docs.google.com/uc?export=download=0BwYYBqN87-tfM2JiYmhMSFdSZkk=0BwYYBqN87-tfZW5iNExpazJqc01WUDZpOWFXd09SakhuUWJRPQ]
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] IMS diameter server module

2020-09-28 Thread Pavithra Mohanraja
Hi,
could anyone please give me some inputs on ims diameter server.. How it can
be used ?
I tried to use ims diameter server to send http request from pcscf to pcf.
But before sending http request, it is sending diameter request to pcf and
it is getting failed. I need to have only http request such that my http
api should be sent to pcf from pcscf.So I need some input on how it can be
used. I have referred the link
https://kamailio.org/docs/modules/5.4.x/modules/ims_diameter_server.html
but couldnt able to get much details .. If anybody have worked on this, It
would be helpful if you give some more details

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kambdctl create command

2020-09-22 Thread Pavithra Mohanraja
Hi,
I need to use kambdctl create command but that has to create database in
another vm where mysql is alone installed. How to do that?

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio uses Python

2020-09-21 Thread Pavithra Mohanraja
Hi,
Thanks for your reply. Now is there any way to rule out this package as i
already specified python is making my image size bigger.

Thanks,
Pavithra

On Mon, Sep 21, 2020 at 2:22 PM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> kamailio itself does not depend on python, only if you use app_python or
> app_python3 modules, then it requires python to be installed.
>
> However, the deb/rpm may have this dependency because of the tool used for
> db_text files management, which is written in python. Probably this tool is
> included in kamailio main package, creating this dependency. The tool is
> anyhow not really maintained (see
> https://github.com/kamailio/kamailio/issues/2469), maybe in the future it
> should be removed or packaged separately.
>
> Cheers,
> Daniel
> On 21.09.20 10:35, Pavithra Mohanraja wrote:
>
> Hi,
> I am building kamailio as an docker image by installing kamailio using
> "apt-get install kamailio" in ubuntu 18.04, which installs python by
> default which makes my image size bigger. Does kamailio uses Python?. else
> what could be the alternative?
>
> Does anybody came across this situation. Kindly advise.
>
> Thanks,
> Pavithra
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
> www.linkedin.com/in/miconda
> Funding: https://www.paypal.me/dcmierla
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio uses Python

2020-09-21 Thread Pavithra Mohanraja
Hi,
I am building kamailio as an docker image by installing kamailio using
"apt-get install kamailio" in ubuntu 18.04, which installs python by
default which makes my image size bigger. Does kamailio uses Python?. else
what could be the alternative?

Does anybody came across this situation. Kindly advise.

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio support for 5g

2020-09-18 Thread Pavithra Mohanraja
Hi,
When i try with Rx interface from PCSCF, In Initial connection with PCF
itself it is failing with error "Application id not found".
So i thought of using ims_diameter_server module, so that it will send my
request as json. But before that error comes in establishing
initial connection.

Thanks,
Pavithra

On Fri, Sep 18, 2020 at 6:04 PM YASIN CANER  wrote:

> Hello ,
> İt is a deployment option. Pcf can provide N interface and/or rx
> interface!
>
> Best regards
>
> iPhone’umdan gönderildi
>
> Pavithra Mohanraja  şunları yazdı (18 Eyl 2020
> 14:33):
>
> 
> Hi,
> I am using kamailio IMS server 5.3.6  where i am trying to integrate PCSCF
> and PCF (5g) over Rx Interface where PCF is accepting only the http
> messages. But from pcscf, I am unable to send the http messages thats where
> i am facing the problem. Can you give me some guidelines.
>
> Thanks,
> Pavithra
>
> On Fri, Sep 18, 2020 at 4:59 PM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>> Hello,
>>
>> Kamailio is a SIP server and its role in 5G is to connect the devices for
>> voice (maybe video) calls and eventually SMS. I haven't heard of using
>> other protocol than SIP for these purposes.
>>
>> In other words, it is not a full 5G platform nor offers network access
>> management system, some of these are handled at a lower level (e.g., EPC).
>>
>> Cheers,
>> Daniel
>> On 18.09.20 13:20, Pavithra Mohanraja wrote:
>>
>> Hi,
>>
>> Does kamailio IMS support for 5g Network functions since in 5g everything
>> is handled via http requests.
>>
>> Could anyone please respond
>>
>> Thanks,
>> Pavithra
>>
>> ___
>> Kamailio (SER) - Users Mailing 
>> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
>> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
>> www.linkedin.com/in/miconda
>> Funding: https://www.paypal.me/dcmierla
>>
>> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] IMS Diameter server module

2020-09-18 Thread Pavithra Mohanraja
Hi,

Can anybody reply what is the exact use of diameter server module. I am
unable to understand from the kamailio doc provided. It is mentioned that
it converts diameter messages to json messages. But without diameter.xml
file, it is not working.

Whats the exact use of it. Can i not be able to send the http request alone
via Rx interface instead of using diameter.xml file.

Kindly reply as i am blocked in this for few days.

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio support for 5g

2020-09-18 Thread Pavithra Mohanraja
Hi,
I am using kamailio IMS server 5.3.6  where i am trying to integrate PCSCF
and PCF (5g) over Rx Interface where PCF is accepting only the http
messages. But from pcscf, I am unable to send the http messages thats where
i am facing the problem. Can you give me some guidelines.

Thanks,
Pavithra

On Fri, Sep 18, 2020 at 4:59 PM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> Kamailio is a SIP server and its role in 5G is to connect the devices for
> voice (maybe video) calls and eventually SMS. I haven't heard of using
> other protocol than SIP for these purposes.
>
> In other words, it is not a full 5G platform nor offers network access
> management system, some of these are handled at a lower level (e.g., EPC).
>
> Cheers,
> Daniel
> On 18.09.20 13:20, Pavithra Mohanraja wrote:
>
> Hi,
>
> Does kamailio IMS support for 5g Network functions since in 5g everything
> is handled via http requests.
>
> Could anyone please respond
>
> Thanks,
> Pavithra
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
> www.linkedin.com/in/miconda
> Funding: https://www.paypal.me/dcmierla
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio support for 5g

2020-09-18 Thread Pavithra Mohanraja
Hi,

Does kamailio IMS support for 5g Network functions since in 5g everything
is handled via http requests.

Could anyone please respond

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio IMS Diameter Messages

2020-09-18 Thread Pavithra Mohanraja
Hi,
I am using kamailio version 5.3.6

I have been repeating , I am integrating PCSCF with PCF (in 5g network) .
In 5g Network, PCF supports http messages.
So when i initiate the connection from pcscf, Diameter
capabilities-exchange is going but from the PCF , It is throwing me http
error 400 bad request. So the connection is getting disconnected.

Thats why i am asking, Does PCSCF supports http messages or
anyother alternatives available?

Does Kamailio IMS support for 5g is available?

Kindly help.


Thanks,
Pavithra

On Fri, Sep 18, 2020 at 1:44 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> are you already using kamailio 5.4.0 or 5.41? I did some fixes not long
> ago in the cdp modules.
>
>
>
> About the error:
>
>
>
> *94(8085) ERROR: cdp [receiver.c:553]: do_receive(): do_receive():
> [pcf.sip.example.com <http://pcf.sip.example.com>**] Received Unknown
> version [72]*
>
>
>
> This looks like one that should be more investigated. Have you looked into
> the Diameter network trace, to see if your server is answering correctly?
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* Pavithra Mohanraja 
> *Sent:* Thursday, September 17, 2020 12:50 PM
> *To:* Henning Westerholt 
> *Cc:* Kamailio (SER) - Users Mailing List ;
> supreeth herle ; Abdirahman A. Osman <
> abdirahman@gmail.com>
> *Subject:* Re: [SR-Users] Kamailio IMS Diameter Messages
>
>
>
> Hi,
>
>
>
> It is getting connected first and dropping then. thats y i am not sure why
> it is happening
>
>
>
> 96(8089) INFO: cdp [peerstatemachine.c:524]: I_Snd_Conn_Req():
> I_Snd_Conn_Req(): Peer pcf.sip.example.com
> 96(8089) INFO: cdp [receiver.c:874]: peer_connect(): peer_connect():
> Trying to connect to 10.45.7.47 port 29507
> 95(8086) INFO: cdp [acceptor.c:81]: acceptor_process(): Acceptor process
> starting up...
>
>
>
>
>
>
> *95(8086) WARNING: cdp [tcp_accept.c:120]: create_socket():
> create_socket(): Trying to open/bind/listen on 10.1.68.36 port 3871
> 95(8086) WARNING: cdp [tcp_accept.c:145]: create_socket(): create_socket():
> Successful socket open/bind/listen on 10.1.68.36 port 3871 95(8086) INFO:
> cdp [acceptor.c:95]: acceptor_process(): Acceptor opened sockets. Entering
> accept loop ... 96(8089) INFO: cdp [receiver.c:954]: peer_connect():
> peer_connect(): Peer pcf.sip.example.com:29507
> <http://pcf.sip.example.com:29507> connected 94(8085) ERROR: cdp
> [receiver.c:553]: do_receive(): do_receive(): [pcf.sip.example.com
> <http://pcf.sip.example.com>] Received Unknown version [72] 94(8085) INFO:
> cdp [receiver.c:807]: receive_loop(): select_recv(): [pcf.sip.example.com
> <http://pcf.sip.example.com>] read on socket [35] returned 0 > ... dropping
> 94(8085) INFO: cdp [receiver.c:222]: disconnect_serviced_peer():
> drop_serviced_peer(): [pcf.sip.example.com <http://pcf.sip.example.com>]
> Disconnecting from peer*
>
>
>
>
>
> 101(8098) DEBUG: ims_qos [ims_qos_mod.c:1336]: w_rx_aar_register():
> Creating new Rx session for contact <
> sip:alice@10.45.4.131:55419;transport=TCP;ob>
> 101(8098) DEBUG: ims_qos [ims_qos_mod.c:379]: callback_for_cdp_session():
> Ignoring event [23] from CDP session
> 101(8098) DEBUG: ims_qos [ims_qos_mod.c:1412]: w_rx_aar_register():
> Calling send aar register101(8098) DEBUG: ims_qos [rx_aar.c:966]:
> rx_send_aar_register(): Send AAR register
> 101(8098) DEBUG: ims_qos [rx_avp.c:778]:
> rx_create_media_subcomponent_avp(): Need to add RTCP FD description - RTCP
> ports are by default next odd port number up from RTP ports
> 101(8098) DEBUG: ims_qos [rx_avp.c:793]:
> rx_create_media_subcomponent_avp(): RTCP A Port [55421] RCTP B Port [55421]
> 101(8098) DEBUG: ims_qos [rx_avp.c:1174]: rx_create_codec_data_avp():
> data.len is calculated 16, sdp-stream has a len of 0
> 101(8098) DEBUG: ims_qos [rx_avp.c:1197]: rx_create_codec_data_avp():
> data.s = "downlink
> offer
> "
> 101(8098) DEBUG: ims_qos [rx_avp.c:1174]: rx_create_codec_data_avp():
> data.len is calculated 15, sdp-stream has a len of 0
> 101(8098) DEBUG: ims_qos [rx_avp.c:1197]: rx_create_codec_data_avp():
> data.s = "uplink
> answer
> "
> 101(8098) DEBUG: ims_qos [rx_aar.c:1044]: rx_send_aar_register():
> auth_lifetime 7200
> 101(8098) DEBUG: ims_qos [rx_aar.c:1055]: rx_send_aar_register(): sending
> AAR to PCRF
>
> *101(8098) ERROR: cdp [routing.c:274]: get_routing_peer():
> get_routing_peer(): No connected DefaultRoute peer found for app_id
> 16777236 and vendor id 10415. 101(8098) ERROR: cdp [diameter_comm.c:142

Re: [SR-Users] Kamailio IMS Diameter Messages

2020-09-17 Thread Pavithra Mohanraja
Hi,

It is getting connected first and dropping then. thats y i am not sure why
it is happening

96(8089) INFO: cdp [peerstatemachine.c:524]: I_Snd_Conn_Req():
I_Snd_Conn_Req(): Peer pcf.sip.example.com
96(8089) INFO: cdp [receiver.c:874]: peer_connect(): peer_connect(): Trying
to connect to 10.45.7.47 port 29507
95(8086) INFO: cdp [acceptor.c:81]: acceptor_process(): Acceptor process
starting up...







*95(8086) WARNING: cdp [tcp_accept.c:120]: create_socket():
create_socket(): Trying to open/bind/listen on 10.1.68.36 port 387195(8086)
WARNING: cdp [tcp_accept.c:145]: create_socket(): create_socket():
Successful socket open/bind/listen on 10.1.68.36 port 387195(8086) INFO:
cdp [acceptor.c:95]: acceptor_process(): Acceptor opened sockets. Entering
accept loop ...96(8089) INFO: cdp [receiver.c:954]: peer_connect():
peer_connect(): Peer pcf.sip.example.com:29507
<http://pcf.sip.example.com:29507> connected94(8085) ERROR: cdp
[receiver.c:553]: do_receive(): do_receive(): [pcf.sip.example.com
<http://pcf.sip.example.com>] Received Unknown version [72]94(8085) INFO:
cdp [receiver.c:807]: receive_loop(): select_recv(): [pcf.sip.example.com
<http://pcf.sip.example.com>] read on socket [35] returned 0 > ...
dropping94(8085) INFO: cdp [receiver.c:222]: disconnect_serviced_peer():
drop_serviced_peer(): [pcf.sip.example.com <http://pcf.sip.example.com>]
Disconnecting from peer*


101(8098) DEBUG: ims_qos [ims_qos_mod.c:1336]: w_rx_aar_register():
Creating new Rx session for contact 
101(8098) DEBUG: ims_qos [ims_qos_mod.c:379]: callback_for_cdp_session():
Ignoring event [23] from CDP session
101(8098) DEBUG: ims_qos [ims_qos_mod.c:1412]: w_rx_aar_register(): Calling
send aar register101(8098) DEBUG: ims_qos [rx_aar.c:966]:
rx_send_aar_register(): Send AAR register
101(8098) DEBUG: ims_qos [rx_avp.c:778]:
rx_create_media_subcomponent_avp(): Need to add RTCP FD description - RTCP
ports are by default next odd port number up from RTP ports
101(8098) DEBUG: ims_qos [rx_avp.c:793]:
rx_create_media_subcomponent_avp(): RTCP A Port [55421] RCTP B Port [55421]
101(8098) DEBUG: ims_qos [rx_avp.c:1174]: rx_create_codec_data_avp():
data.len is calculated 16, sdp-stream has a len of 0
101(8098) DEBUG: ims_qos [rx_avp.c:1197]: rx_create_codec_data_avp():
data.s = "downlink
offer
"
101(8098) DEBUG: ims_qos [rx_avp.c:1174]: rx_create_codec_data_avp():
data.len is calculated 15, sdp-stream has a len of 0
101(8098) DEBUG: ims_qos [rx_avp.c:1197]: rx_create_codec_data_avp():
data.s = "uplink
answer
"
101(8098) DEBUG: ims_qos [rx_aar.c:1044]: rx_send_aar_register():
auth_lifetime 7200
101(8098) DEBUG: ims_qos [rx_aar.c:1055]: rx_send_aar_register(): sending
AAR to PCRF

*101(8098) ERROR: cdp [routing.c:274]: get_routing_peer():
get_routing_peer(): No connected DefaultRoute peer found for app_id
16777236 and vendor id 10415.101(8098) ERROR: cdp [diameter_comm.c:142]:
AAASendMessage(): AAASendMessage(): Can't find a suitable connected peer in
the routing table.*
101(8098) DEBUG: ims_usrloc_pcscf [usrloc.c:149]: get_aor_hash(): Returning
hash: [1793713848]
101(8098) DEBUG: ims_usrloc_pcscf [usrloc.c:140]: get_hash_slot():
Returning hash slot: [184]
101(8098) ERROR: ims_qos [ims_qos_mod.c:1421]: w_rx_aar_register(): Failed
to send AAR
101(8098) ERROR: ims_qos [ims_qos_mod.c:1465]: w_rx_aar_register(): Error
trying to send AAR


I am unable to get whats happening. Thats why i thought of asking how to
use the diameter server module.


Thanks,
Pavithra

On Thu, Sep 17, 2020 at 2:25 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> I am afraid that you need to dig into the log messages and try find out
> why its produced. Enable debugging to get more information, look to
> diameter network traces to see if the diameter kamailio module connects to
> the diameter server etc..
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* Pavithra Mohanraja 
> *Sent:* Thursday, September 17, 2020 8:55 AM
> *To:* Henning Westerholt 
> *Cc:* Kamailio (SER) - Users Mailing List ;
> supreeth herle ; Abdirahman A. Osman <
> abdirahman@gmail.com>
> *Subject:* Re: [SR-Users] Kamailio IMS Diameter Messages
>
>
>
> Hi Henning,
>
> ya sure ..Thanks for the reply .. PCF in 5G doesnot have Application ID.
> It only supports HTTP rest apis.
>
>
>
> This is my diameterPeer.xml file
>
>
>
> 
>  FQDN="pcscf.sip.example.com"
> Realm="sip.example.com"
> Vendor_Id="10415"
> Product_Name="CDiameterPeer"
> AcceptUnknownPeers="1"
> DropUnknownOnDisconnect="0"
> Tc="30"
> Workers="4"
> QueueLength=&qu

[SR-Users] Diameter Messages for Rx

2020-09-17 Thread Pavithra Mohanraja
Hi,
Kindly give me some guidelines on how to convert diameter messages to http
messages when establishing connection between PCSCF and PCF

Kindly help

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio IMS Diameter Messages

2020-09-17 Thread Pavithra Mohanraja
Hi Henning,
ya sure ..Thanks for the reply .. PCF in 5G doesnot have Application ID. It
only supports HTTP rest apis.

This is my diameterPeer.xml file







 
 








On Thu, Sep 17, 2020 at 12:22 PM Henning Westerholt  wrote:

> Hello Pavithra,
>
>
>
> please only use the list address for new questions. 
>
>
>
> The error looks like that the diameter peer xml cfg is not correct.  There
> are some examples in the kamailio cfg example directory, I think.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Pavithra
> Mohanraja
> *Sent:* Thursday, September 17, 2020 6:27 AM
> *To:* Kamailio (SER) - Users Mailing List ;
> mico...@gmail.com; David Villasmil ;
> supreeth herle ; Abdirahman A. Osman <
> abdirahman@gmail.com>
> *Subject:* [SR-Users] Kamailio IMS Diameter Messages
>
>
>
> Hi,
>
> Is there any possibility of converting diameter messages to http requests
> in IMS. Since I am working in 5g based network, In order to connect pcscf
> to pcf, Rx interface has to be established. But PCF is not accepting
> diameter messages. It is failing with error "No connected DefaultRoute
> peer found for app_id 16777236 and vendor id 10415"
>
>
>
> I used IMS Diameter server since it is mentioned as converting diameter
> messages to http json messages. But even before calling that diameter
> server, It is failing with App_id issue. How it works?
>
>
>
> Need to understand, how the diameter messages are working since in 5g ,
> everything is based on http rest apis. Is there any possibility of
> connecting to it or there is no support in kamailio IMS for 5g. If you have
> any idea, please let me know. It will be very useful for me.
>
>
>
> Thanks,
>
> Pavithra
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio IMS Diameter Messages

2020-09-16 Thread Pavithra Mohanraja
Hi,
Is there any possibility of converting diameter messages to http requests
in IMS. Since I am working in 5g based network, In order to connect pcscf
to pcf, Rx interface has to be established. But PCF is not accepting
diameter messages. It is failing with error "No connected DefaultRoute peer
found for app_id 16777236 and vendor id 10415"

I used IMS Diameter server since it is mentioned as converting diameter
messages to http json messages. But even before calling that diameter
server, It is failing with App_id issue. How it works?

Need to understand, how the diameter messages are working since in 5g ,
everything is based on http rest apis. Is there any possibility of
connecting to it or there is no support in kamailio IMS for 5g. If you have
any idea, please let me know. It will be very useful for me.

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Installing Diameter server module (IMS_DIAMETER_SERVER)

2020-09-15 Thread Pavithra Mohanraja
Hi,
Thanks, I have already went through the links. I am not aware how to
install http_client using apt-get in kamilio

Thanks,
Pavithra

On Tue, Sep 15, 2020 at 12:12 PM Henning Westerholt  wrote:

> And here is also a index for all functions, the wiki has other indexes
>
>
>
> https://www.kamailio.org/wiki/alphaindexes/5.4.x/modfunctions
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* Henning Westerholt
> *Sent:* Tuesday, September 15, 2020 8:41 AM
> *To:* Pavithra Mohanraja 
> *Cc:* Kamailio (SER) - Users Mailing List ;
> supreeth herle 
> *Subject:* RE: [SR-Users] Installing Diameter server module
> (IMS_DIAMETER_SERVER)
>
>
>
> Hello,
>
>
>
> you find a list to search here: https://kamailio.org/docs/modules/stable/
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* Pavithra Mohanraja 
> *Sent:* Tuesday, September 15, 2020 8:38 AM
> *To:* Henning Westerholt 
> *Cc:* Kamailio (SER) - Users Mailing List ;
> supreeth herle 
> *Subject:* Re: [SR-Users] Installing Diameter server module
> (IMS_DIAMETER_SERVER)
>
>
>
> Hi ,
>
>  Which module holds http_connect in kamailio server?
>
>
>
> Thanks,
>
> Pavithra
>
>
>
> On Tue, Sep 15, 2020 at 11:50 AM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
> Hi Henning,
>
> Thanks for the info.. Can you please provide some more information on how
> it can be used since i need to connect pcscf to pcf of 5g which is exposing
> http interface instead of Diameter.
>
>
>
> Kindly help.
>
>
>
> Thanks,
>
> Pavithra
>
>
>
> On Tue, Sep 15, 2020 at 11:45 AM Henning Westerholt 
> wrote:
>
> Hello,
>
>
>
> the package is called “kamailio-ims-modules” - IMS module for the Kamailio
> SIP server.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Pavithra
> Mohanraja
> *Sent:* Tuesday, September 15, 2020 7:50 AM
> *To:* Kamailio (SER) - Users Mailing List ;
> David Villasmil ; supreeth herle <
> herlesupre...@gmail.com>; mico...@gmail.com
> *Subject:* [SR-Users] Installing Diameter server module
> (IMS_DIAMETER_SERVER)
>
>
>
> Hi,
>
>  How to install Diameter server module (IMS_DIAMETER_SERVER) using apt-get
> package. I need to  have DRA in my application. Can anybody please help on
> this on how to install and how to use it.
>
>
>
>
>
> Kindly help.
>
>
>
>
>
> Thanks,
>
> Pavithra
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Installing Diameter server module (IMS_DIAMETER_SERVER)

2020-09-15 Thread Pavithra Mohanraja
Hi ,
 Which module holds http_connect in kamailio server?

Thanks,
Pavithra

On Tue, Sep 15, 2020 at 11:50 AM Pavithra Mohanraja 
wrote:

> Hi Henning,
> Thanks for the info.. Can you please provide some more information on how
> it can be used since i need to connect pcscf to pcf of 5g which is exposing
> http interface instead of Diameter.
>
> Kindly help.
>
> Thanks,
> Pavithra
>
> On Tue, Sep 15, 2020 at 11:45 AM Henning Westerholt 
> wrote:
>
>> Hello,
>>
>>
>>
>> the package is called “kamailio-ims-modules” - IMS module for the
>> Kamailio SIP server.
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Henning
>>
>>
>>
>> --
>>
>> Henning Westerholt – https://skalatan.de/blog/
>>
>> Kamailio services – https://gilawa.com
>>
>>
>>
>> *From:* sr-users  *On Behalf Of 
>> *Pavithra
>> Mohanraja
>> *Sent:* Tuesday, September 15, 2020 7:50 AM
>> *To:* Kamailio (SER) - Users Mailing List ;
>> David Villasmil ; supreeth herle <
>> herlesupre...@gmail.com>; mico...@gmail.com
>> *Subject:* [SR-Users] Installing Diameter server module
>> (IMS_DIAMETER_SERVER)
>>
>>
>>
>> Hi,
>>
>>  How to install Diameter server module (IMS_DIAMETER_SERVER) using
>> apt-get package. I need to  have DRA in my application. Can anybody please
>> help on this on how to install and how to use it.
>>
>>
>>
>>
>>
>> Kindly help.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Pavithra
>>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Installing Diameter server module (IMS_DIAMETER_SERVER)

2020-09-15 Thread Pavithra Mohanraja
Hi Henning,
Thanks for the info.. Can you please provide some more information on how
it can be used since i need to connect pcscf to pcf of 5g which is exposing
http interface instead of Diameter.

Kindly help.

Thanks,
Pavithra

On Tue, Sep 15, 2020 at 11:45 AM Henning Westerholt  wrote:

> Hello,
>
>
>
> the package is called “kamailio-ims-modules” - IMS module for the Kamailio
> SIP server.
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Pavithra
> Mohanraja
> *Sent:* Tuesday, September 15, 2020 7:50 AM
> *To:* Kamailio (SER) - Users Mailing List ;
> David Villasmil ; supreeth herle <
> herlesupre...@gmail.com>; mico...@gmail.com
> *Subject:* [SR-Users] Installing Diameter server module
> (IMS_DIAMETER_SERVER)
>
>
>
> Hi,
>
>  How to install Diameter server module (IMS_DIAMETER_SERVER) using apt-get
> package. I need to  have DRA in my application. Can anybody please help on
> this on how to install and how to use it.
>
>
>
>
>
> Kindly help.
>
>
>
>
>
> Thanks,
>
> Pavithra
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Installing Diameter server module (IMS_DIAMETER_SERVER)

2020-09-14 Thread Pavithra Mohanraja
Hi,
 How to install Diameter server module (IMS_DIAMETER_SERVER) using apt-get
package. I need to  have DRA in my application. Can anybody please help on
this on how to install and how to use it.


Kindly help.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio IMS - 5.3.5 with 5g core

2020-09-14 Thread Pavithra Mohanraja
Hi,
I am working with kamailio IMS 5.3.5. I am trying to connect kamailio IMS
with 5g core. Did anybody come across this scenario. If so, Please help me
how Rx interface works with 5g and how UDM and HSS can be an converged
application incase of 5g.

Kindly help as it is an urgent requirement.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio IMS as kubernetes pods

2020-09-02 Thread Pavithra Mohanraja
Hi,
Thanks @Abdirahman A. Osman 

I have tried having custom dns server by changing the core-dns config file.

sip.example.com:53 {
errors
cache 30
forward . 10.152.183.91
}

I could able to resolve the domain names properly. But now the issue is
communication between icscf and hss is getting blocked if i use the service
IP for communication and i am receiving 504 server timeout error from icscf
when it uses the service IP.

Could anyone help me on this suggesting how the service IP can be used for
communicating between pcscf, icscf, scscf and hss pods so that call
establishment must be successful.

Thanks,
Pavithra

On Sat, Aug 29, 2020 at 8:33 AM Abdirahman A. Osman <
abdirahman@gmail.com> wrote:

> Thanks David, glad it worked.
>
> @ Pavithra,
>
> I am not familiar how the bind9, DNS, and SRV records works with Kamailio.
>
> May be you can set the Kubernetes cluster domain to sip.example.com and
> then for the Pcscf pod the DNS record will be 
> *pcscf-0.pcscf-service.namespace.sip.example.com
> <http://pcscf-0.pcscf-service.namespace.sip.example.com>*
>
> You configure the local domain in the kubelet with the flag
> --cluster-domain=.
>
>
> Abdirahman A. Osman
>
>
>
> On Fri, 28 Aug 2020 at 15:03, David Villasmil <
> david.villasmil.w...@gmail.com> wrote:
>
>> Abdirahman,
>>
>> Thanks for the pointer, that worked like a charm!
>>
>> David
>>
>> On Thu, 27 Aug 2020 at 20:11, Pavithra Mohanraja 
>> wrote:
>>
>>> Hi Abdirahman,
>>>
>>> One small doubt . In kamailio IMS server, we have dns configurations
>>> using bind9 with SRV records pointing a port for every ip address .
>>>
>>> My domain name is sip.example.com
>>>
>>> Pcscf.sip.example.com:4060
>>> Icscf.sip.example.com:4070
>>> scscf.sip.example.com:4080
>>> hss.sip.example.com
>>>
>>>
>>> So this is how the dns server will be in my case.
>>>
>>> The same domain names are configured as alias in my respective  cscf
>>> config files.
>>>
>>> When you talk about nameserver . How this has to be configured using
>>> coredns/kubedns setting clusterIP : None
>>>
>>> How this can be done from your point of view using coredns.
>>>
>>> Kindly help me with this
>>>
>>> Thanks,
>>> Pavithra
>>>
>>> On Thu, Aug 27, 2020, 11:55 PM David Villasmil <
>>> david.villasmil.w...@gmail.com> wrote:
>>>
>>>> Interesting! I’ll be testing that very soon! Many thanks!!
>>>>
>>>> On Thu, 27 Aug 2020 at 14:53, Abdirahman A. Osman <
>>>> abdirahman@gmail.com> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> Yes that is right, so when you set to ClusterIP:none, it turns the
>>>>> services into a headless services. and the DNS will resolve to a single
>>>>> POD, instead of a group of PODs, and you can reach every POD through the
>>>>> DNS. IPs may change but the DNS will stay fixed when you use Statefullset,
>>>>> as you need a fixed DNS name for the pod. If you  use Deployment you get a
>>>>> randomly generated name, which is not what you want.
>>>>>
>>>>>
>>>>> Abdirahman
>>>>>
>>>>>
>>>>>
>>>>> On Thu, 27 Aug 2020 at 08:06, David Villasmil <
>>>>> david.villasmil.w...@gmail.com> wrote:
>>>>>
>>>>>> Hello Abdirahman,
>>>>>>
>>>>>> Thanks for replying.
>>>>>>
>>>>>> Do you mean if I create a service for the label selector of what’s
>>>>>> running in the pod, but ser ClusterIP: None, when another pod tries to
>>>>>> resolve that service, it will get the actual IP of the running POD?
>>>>>>
>>>>>>
>>>>>> On Wed, 26 Aug 2020 at 18:02, Abdirahman A. Osman <
>>>>>> abdirahman@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Pavithra,
>>>>>>>
>>>>>>> Since POD IPs change, you have to rely on DNS records. To have a
>>>>>>> fixed DNS name like
>>>>>>>
>>>>>>> kamailio.kamalio-service.namespace.svc.cluster.local
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> for a pod you will have to use StatefullSet, so t

Re: [SR-Users] Kamailio IMS as kubernetes pods

2020-08-27 Thread Pavithra Mohanraja
Hi Abdirahman,

One small doubt . In kamailio IMS server, we have dns configurations using
bind9 with SRV records pointing a port for every ip address .

My domain name is sip.example.com

Pcscf.sip.example.com:4060
Icscf.sip.example.com:4070
scscf.sip.example.com:4080
hss.sip.example.com


So this is how the dns server will be in my case.

The same domain names are configured as alias in my respective  cscf config
files.

When you talk about nameserver . How this has to be configured using
coredns/kubedns setting clusterIP : None

How this can be done from your point of view using coredns.

Kindly help me with this

Thanks,
Pavithra

On Thu, Aug 27, 2020, 11:55 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Interesting! I’ll be testing that very soon! Many thanks!!
>
> On Thu, 27 Aug 2020 at 14:53, Abdirahman A. Osman <
> abdirahman@gmail.com> wrote:
>
>> Hi David,
>>
>> Yes that is right, so when you set to ClusterIP:none, it turns the
>> services into a headless services. and the DNS will resolve to a single
>> POD, instead of a group of PODs, and you can reach every POD through the
>> DNS. IPs may change but the DNS will stay fixed when you use Statefullset,
>> as you need a fixed DNS name for the pod. If you  use Deployment you get a
>> randomly generated name, which is not what you want.
>>
>>
>> Abdirahman
>>
>>
>>
>> On Thu, 27 Aug 2020 at 08:06, David Villasmil <
>> david.villasmil.w...@gmail.com> wrote:
>>
>>> Hello Abdirahman,
>>>
>>> Thanks for replying.
>>>
>>> Do you mean if I create a service for the label selector of what’s
>>> running in the pod, but ser ClusterIP: None, when another pod tries to
>>> resolve that service, it will get the actual IP of the running POD?
>>>
>>>
>>> On Wed, 26 Aug 2020 at 18:02, Abdirahman A. Osman <
>>> abdirahman@gmail.com> wrote:
>>>
>>>> Hi Pavithra,
>>>>
>>>> Since POD IPs change, you have to rely on DNS records. To have a fixed
>>>> DNS name like
>>>>
>>>> kamailio.kamalio-service.namespace.svc.cluster.local
>>>>
>>>>
>>>>
>>>> for a pod you will have to use StatefullSet, so the pod DNS name
>>>> doesn't change. Also you have to use Services and set it to ClusterIP:
>>>> none, it will turn your pods to headless services and no load balancing is
>>>> involved. and from my understanding you will be able to reach each POD
>>>> directly through the DNS name.
>>>> https://kubernetes.io/docs/concepts/services-networking/service/
>>>>
>>>> and don't forget to set  your /etc/resolv.conf with the kubedns IP
>>>> address.
>>>>
>>>> Abdirahman
>>>>
>>>>
>>>>
>>>> On Wed, 26 Aug 2020 at 12:45, Pavithra Mohanraja <
>>>> pavimohan3...@gmail.com> wrote:
>>>>
>>>>> Hi Abdirahman,
>>>>>
>>>>> Do you mean , if I set clusterIP as None, then kubedns server will be
>>>>> pointing to pod ip so that kubedns/coredns will use pod ip for pod
>>>>> communication instead of service IP.
>>>>>
>>>>>
>>>>> Is my understanding correct? From your explanation.
>>>>>
>>>>> If this is the case, pod ip will be changing whenever I launch the
>>>>> pods . How that can be resolved.
>>>>>
>>>>> Could you kindly helo me with this?
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Pavithra
>>>>>
>>>>> On Wed, Aug 26, 2020, 9:26 PM Abdirahman A. Osman <
>>>>> abdirahman@gmail.com> wrote:
>>>>>
>>>>>> David,
>>>>>>
>>>>>>
>>>>>>
>>>>>> Assuming those are pod ips. Using services doesn’t work
>>>>>>>
>>>>>>> since the dns name will resolve to a k8s service ip and no the
>>>>>>> actual
>>>>>>>
>>>>>>> pod running the service.
>>>>>>>
>>>>>>
>>>>>> If you set   *clusterIP: None* in the services, you will get POD IP.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Abdirahman
>>>>>>
>>>>>>
>>>>>>
>>>>>> 

Re: [SR-Users] Kamailio IMS as kubernetes pods

2020-08-26 Thread Pavithra Mohanraja
Hi Abdirahman,

Do you mean , if I set clusterIP as None, then kubedns server will be
pointing to pod ip so that kubedns/coredns will use pod ip for pod
communication instead of service IP.


Is my understanding correct? From your explanation.

If this is the case, pod ip will be changing whenever I launch the pods .
How that can be resolved.

Could you kindly helo me with this?


Thanks,
Pavithra

On Wed, Aug 26, 2020, 9:26 PM Abdirahman A. Osman 
wrote:

> David,
>
> Assuming those are pod ips. Using services doesn’t work since the dns name
>> will resolve to a k8s service ip and no the actual pod running the service.
>>
>
> If you set   *clusterIP: None* in the services, you will get POD IP.
>
> Abdirahman
>
>
>
> On Wed, 26 Aug 2020 at 10:48, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>> Thanks for the answers.
>> @David has got my question.
>>
>> I have a seperate dns server running in my pcscf pod . So in my
>> /etc/resolv.conf file , I would be configuring
>> nameserver 
>> in all other cscf pods as well for communication.
>>
>>
>>
>> My question here is how to change the dns server pointing to cluster ip
>> so that my domain name for IMS will be pointing to coredns itself. It will
>> restrict me from using pod IP since it changes everytime.
>>
>>
>> @David, can you please tell me the last two lines briefly. I did not get
>> it.how you configured . You mean to say still you are using pod Ip.
>>
>>
>> On Wed, Aug 26, 2020, 8:02 PM David Villasmil <
>> david.villasmil.w...@gmail.com> wrote:
>>
>>> I’ve been trying to figure this out as well.
>>> I haven’t yet found a way of publishing to kube-dns the pod IP of the
>>> running service.
>>>
>>> I.e.:
>>> kamailio.whatever.local on ip 10.0.0.1
>>> Rtpengine.whatever.local on ip 10.0.0.2
>>> Appserver.whatever.local on 10.0.0.3
>>>
>>> Assuming those are pod ips. Using services doesn’t work since the dns
>>> name will resolve to a k8s service ip and no the actual pod running the
>>> service.
>>>
>>> Assigning IPs hardcoded doesn’t work either since it might change if the
>>> docker changes pod. I can have multiple modes on which a service can run,
>>> but only one service (kamailio, rtpengine, appserver, etc) will run on a
>>> given pod.
>>>
>>> On Wed, 26 Aug 2020 at 15:18, Abdirahman A. Osman <
>>> abdirahman@gmail.com> wrote:
>>>
>>>> Hi
>>>>
>>>> Pavithra
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> You can use the kubedns/CoreDNS of the kubernetes cluster to resolve
>>>> Internal DNS records of the pods.To assign DNS records for each POD you
>>>> have to deploy a service and set the ClusterIP: none. and the dns record
>>>> will be something like kamailio.kamalio-service.platform.svc.cluster.local
>>>> which is the podname.servicename.namespace.svc.cluster.local
>>>>
>>>> In the resolve.conf you will put the kubeDNS/CoreDNS IP as the
>>>> nameserver.  You can set this in the kubernetes manifest file
>>>>
>>>>   dnsPolicy: "None"
>>>>   dnsConfig:
>>>> nameservers:
>>>>   - 10.34.0.1 (
>>>>
>>>> kubeDNS/CoreDNS )
>>>>
>>>>
>>>>
>>>>
>>>> Abdirahman
>>>>
>>>>
>>>>
>>>> On Tue, 25 Aug 2020 at 15:34, Sergey Safarov 
>>>> wrote:
>>>>
>>>>> I am not k8s developer.
>>>>> So cannot provide detailed instructions. Just my point of view.
>>>>>
>>>>> You can look
>>>>> https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
>>>>> https://www.magalix.com/blog/creating-custom-kubernetes-operators
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Aug 25, 2020 at 7:41 PM Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> It would be helpful if you could elaborate what has to be done for
>>>>>> kubernetes pods when you mention sip ingress
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>>
>>>>>>
>>>>>> Pavithra
>

Re: [SR-Users] Kamailio IMS as kubernetes pods

2020-08-26 Thread Pavithra Mohanraja
Hi,
Thanks for the answers.
@David has got my question.

I have a seperate dns server running in my pcscf pod . So in my
/etc/resolv.conf file , I would be configuring
nameserver 
in all other cscf pods as well for communication.



My question here is how to change the dns server pointing to cluster ip so
that my domain name for IMS will be pointing to coredns itself. It will
restrict me from using pod IP since it changes everytime.


@David, can you please tell me the last two lines briefly. I did not get
it.how you configured . You mean to say still you are using pod Ip.


On Wed, Aug 26, 2020, 8:02 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> I’ve been trying to figure this out as well.
> I haven’t yet found a way of publishing to kube-dns the pod IP of the
> running service.
>
> I.e.:
> kamailio.whatever.local on ip 10.0.0.1
> Rtpengine.whatever.local on ip 10.0.0.2
> Appserver.whatever.local on 10.0.0.3
>
> Assuming those are pod ips. Using services doesn’t work since the dns name
> will resolve to a k8s service ip and no the actual pod running the service.
>
> Assigning IPs hardcoded doesn’t work either since it might change if the
> docker changes pod. I can have multiple modes on which a service can run,
> but only one service (kamailio, rtpengine, appserver, etc) will run on a
> given pod.
>
> On Wed, 26 Aug 2020 at 15:18, Abdirahman A. Osman <
> abdirahman@gmail.com> wrote:
>
>> Hi
>>
>> Pavithra
>>
>>
>>
>>
>>
>>
>>
>>
>> You can use the kubedns/CoreDNS of the kubernetes cluster to resolve
>> Internal DNS records of the pods.To assign DNS records for each POD you
>> have to deploy a service and set the ClusterIP: none. and the dns record
>> will be something like kamailio.kamalio-service.platform.svc.cluster.local
>> which is the podname.servicename.namespace.svc.cluster.local
>>
>> In the resolve.conf you will put the kubeDNS/CoreDNS IP as the
>> nameserver.  You can set this in the kubernetes manifest file
>>
>>   dnsPolicy: "None"
>>   dnsConfig:
>> nameservers:
>>   - 10.34.0.1 (
>>
>> kubeDNS/CoreDNS )
>>
>>
>>
>>
>> Abdirahman
>>
>>
>>
>> On Tue, 25 Aug 2020 at 15:34, Sergey Safarov  wrote:
>>
>>> I am not k8s developer.
>>> So cannot provide detailed instructions. Just my point of view.
>>>
>>> You can look
>>> https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
>>> https://www.magalix.com/blog/creating-custom-kubernetes-operators
>>>
>>>
>>>
>>> On Tue, Aug 25, 2020 at 7:41 PM Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> It would be helpful if you could elaborate what has to be done for
>>>> kubernetes pods when you mention sip ingress
>>>>
>>>>
>>>> Thanks,
>>>>
>>>>
>>>> Pavithra
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Aug 25, 2020, 9:32 PM Sergey Safarov 
>>>> wrote:
>>>>
>>>>> Lot of issues with static IP in Kubernetes.
>>>>>
>>>>> Looks as need deploy "sip ingress" like "HTTP/HTTPS ingress" and then
>>>>> route calls to pods.
>>>>>
>>>>>
>>>>> On Tue, Aug 25, 2020 at 4:40 PM Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I am configuring kamailio IMS as kubernetes pods .
>>>>>> so each component will be configured as separate pod .
>>>>>> In order to establish a connection between pods , I am configuring
>>>>>> bind9 dns server in pcscf pod itself. Communication is happening via Pod 
>>>>>> IP
>>>>>> address.
>>>>>>
>>>>>> Is there any possibility to have the communication using cluster IP .
>>>>>> If anybody is aware of kubernetes, Please help me in this regard.
>>>>>>
>>>>>> I have my /etc/resolv.conf file in pods with
>>>>>> nameserver 
>>>>>> search 
>>>>>>
>>>>>> Please help.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Pavithra
>>>>>>
>>>>>>
>>>>>> _

Re: [SR-Users] Kamailio IMS as kubernetes pods

2020-08-25 Thread Pavithra Mohanraja
Hi,

It would be helpful if you could elaborate what has to be done for
kubernetes pods when you mention sip ingress


Thanks,
Pavithra

On Tue, Aug 25, 2020, 9:32 PM Sergey Safarov  wrote:

> Lot of issues with static IP in Kubernetes.
>
> Looks as need deploy "sip ingress" like "HTTP/HTTPS ingress" and then
> route calls to pods.
>
>
> On Tue, Aug 25, 2020 at 4:40 PM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
>> Hi,
>>
>> I am configuring kamailio IMS as kubernetes pods .
>> so each component will be configured as separate pod .
>> In order to establish a connection between pods , I am configuring bind9
>> dns server in pcscf pod itself. Communication is happening via Pod IP
>> address.
>>
>> Is there any possibility to have the communication using cluster IP . If
>> anybody is aware of kubernetes, Please help me in this regard.
>>
>> I have my /etc/resolv.conf file in pods with
>> nameserver 
>> search 
>>
>> Please help.
>>
>>
>> Thanks,
>> Pavithra
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio IMS as kubernetes pods

2020-08-25 Thread Pavithra Mohanraja
Hi,

I am configuring kamailio IMS as kubernetes pods .
so each component will be configured as separate pod .
In order to establish a connection between pods , I am configuring bind9
dns server in pcscf pod itself. Communication is happening via Pod IP
address.

Is there any possibility to have the communication using cluster IP . If
anybody is aware of kubernetes, Please help me in this regard.

I have my /etc/resolv.conf file in pods with
nameserver 
search 

Please help.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Domain Name changes

2020-08-19 Thread Pavithra Mohanraja
Hi,
I am new to kamailio IMS..It would be helpful if you please elaborate what
has to be done to have domain module..or any links for reference will be
indeed helpful for me to continue with it


Thanks,
Pavithra



On Wed, Aug 19, 2020, 7:52 PM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> instead of using alias global parameters to specify local domains for
> Kamailio, you can use domain module and store the list of domains in
> database table. Then you can change the values in the database and trigger
> a rpc reload domain command. Likely you have to also set modparam
> register_myself to 1 for domain module.
>
> Cheers,
> Daniel
> On 19.08.20 16:13, Pavithra Mohanraja wrote:
>
> Hi,
>
> In all cscf.cfg file , I am giving alias name . with the same alias, I am
> storing the caller and callee details in hss db and then I am making a call.
> So if i want to change the alias name during runtime , Is there any way to
> change it.
>
>
> Thanks,
> Pavithra
>
> On Wed, Aug 19, 2020 at 7:21 PM Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>> Hello,
>>
>> what do you mean by domain name?
>>
>> Cheers,
>> Daniel
>> On 19.08.20 15:41, Pavithra Mohanraja wrote:
>>
>> Hi,
>> Is there any way to change the domain name at run-time
>>
>> Kindly help.
>>
>>
>>
>> Thanks,
>> Pavithra
>>
>> ___
>> Kamailio (SER) - Users Mailing 
>> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>> --
>> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
>> www.linkedin.com/in/miconda
>> Funding: https://www.paypal.me/dcmierla
>>
>> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
> www.linkedin.com/in/miconda
> Funding: https://www.paypal.me/dcmierla
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Domain Name changes

2020-08-19 Thread Pavithra Mohanraja
Hi,

In all cscf.cfg file , I am giving alias name . with the same alias, I am
storing the caller and callee details in hss db and then I am making a call.
So if i want to change the alias name during runtime , Is there any way to
change it.


Thanks,
Pavithra

On Wed, Aug 19, 2020 at 7:21 PM Daniel-Constantin Mierla 
wrote:

> Hello,
>
> what do you mean by domain name?
>
> Cheers,
> Daniel
> On 19.08.20 15:41, Pavithra Mohanraja wrote:
>
> Hi,
> Is there any way to change the domain name at run-time
>
> Kindly help.
>
>
>
> Thanks,
> Pavithra
>
> ___
> Kamailio (SER) - Users Mailing 
> Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- 
> www.linkedin.com/in/miconda
> Funding: https://www.paypal.me/dcmierla
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Domain Name changes

2020-08-19 Thread Pavithra Mohanraja
Hi,
Is there any way to change the domain name at run-time

Kindly help.



Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi,
Is there any way to change the domain name at run time in config files of
kamailio IMS (pcscf, scscf, icscf).
Kindly help

Thanks,
Pavithra

On Thu, Aug 13, 2020 at 2:46 AM Henning Westerholt  wrote:

> Hello,
>
>
>
> no, this is not correct:
> https://www.kamailio.org/wiki/cookbooks/devel/core#debug
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users  *On Behalf Of *Ilie
> Soltanici
> *Sent:* Wednesday, August 12, 2020 4:03 PM
> *To:* Kamailio (SER) - Users Mailing List 
> *Subject:* Re: [SR-Users] Log-level Kamailio IMS
>
>
>
> Hello,
>
>
>
> Yes, that is correct.
>
>
>
> On Wed, 12 Aug 2020 at 14:55, Pavithra Mohanraja 
> wrote:
>
> Hi,
>
> Thanks.. It is working fine . debug level can be changed from 2 to 6 . Is
> it right ?
>
>
>
>
>
> Thanks,
>
> Pavithra
>
>
>
> On Wed, Aug 12, 2020 at 7:15 PM Ilie Soltanici 
> wrote:
>
> Hello,
>
>
>
> Yes, you can use: kamcmd cfg.set_now_int core debug 1
>
>
>
> On Wed, 12 Aug 2020 at 14:41, Pavithra Mohanraja 
> wrote:
>
> Hi,
>
> Is there any way to have global log level changes without restart of
> kamailio.
>
> If there kindly let me know.
>
>
>
>
>
>
>
> Thanks,
>
> Pavithra
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi,

Is it possible to make it work without giving listen IP in pcscf.cfg,
icscf.cfg, scscf.cfg files since i am configuring it as kubernetes pods and
automating all configurations.

Due to this, I am unable to start the kamailio service without giving the
proper listen IP.

Is there any alternative way. Kindly Help


Thanks,
Pavithra

On Wed, Aug 12, 2020 at 7:34 PM Ilie Soltanici  wrote:

> Hello,
>
> Yes, that is correct.
>
> On Wed, 12 Aug 2020 at 14:55, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>> Thanks.. It is working fine . debug level can be changed from 2 to 6 . Is
>> it right ?
>>
>>
>> Thanks,
>> Pavithra
>>
>> On Wed, Aug 12, 2020 at 7:15 PM Ilie Soltanici 
>> wrote:
>>
>>> Hello,
>>>
>>> Yes, you can use: kamcmd cfg.set_now_int core debug 1
>>>
>>> On Wed, 12 Aug 2020 at 14:41, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi,
>>>> Is there any way to have global log level changes without restart of
>>>> kamailio.
>>>> If there kindly let me know.
>>>>
>>>>
>>>>
>>>> Thanks,
>>>> Pavithra
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Listen IP changes in IMS kamailio

2020-08-12 Thread Pavithra Mohanraja
Hi,

Is it possible to make it work without giving listen IP in pcscf.cfg,
icscf.cfg, scscf.cfg files since i am configuring it as kubernetes pods and
automating all configurations.

Due to this, I am unable to start the kamailio service without giving the
proper listen IP.

Is there any alternative way. Kindly Help


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi,
Thanks.. It is working fine . debug level can be changed from 2 to 6 . Is
it right ?


Thanks,
Pavithra

On Wed, Aug 12, 2020 at 7:15 PM Ilie Soltanici  wrote:

> Hello,
>
> Yes, you can use: kamcmd cfg.set_now_int core debug 1
>
> On Wed, 12 Aug 2020 at 14:41, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>> Is there any way to have global log level changes without restart of
>> kamailio.
>> If there kindly let me know.
>>
>>
>>
>> Thanks,
>> Pavithra
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Log-level Kamailio IMS

2020-08-12 Thread Pavithra Mohanraja
Hi,
Is there any way to have global log level changes without restart of
kamailio.
If there kindly let me know.



Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio-IMS - Public Network Issue

2020-08-02 Thread Pavithra Mohanraja
Hi,
I have deployed kamailio-ims-5.3.5 as docker containers. I had private IP
for containers.

So when i try to establish a call from the public network , The via header
is taken as container Private IP even if i use advertise address as public
IP.

So ACK is not reaching the pcscf from ue. Any idea can be provided for this
issue.
Kindly help.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] No of registartions

2020-07-13 Thread Pavithra Mohanraja
Hi,

Is there any way to query number of registrations happened in kamailio IMS.

Kindly reply .

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] 403 Forbidden error You must register first with a S-CSCF

2020-07-03 Thread Pavithra Mohanraja
Hi,

I am facing below error when i try to make a call using pjsip ..
Registration is successful.

I am following the open 5gs VolTE setup. I have not changed any
configurations in any of the config files. But I am facing below issue ..
Can you please help me what could be the reason.
*reason=403 (Forbidden - You must register first with a S-CSCF)*

Could anyone please help me .. I am ready to provide anyother info if
required .


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Error in SCSCF

2020-07-02 Thread Pavithra Mohanraja
Hi,

I have verified with kamcmd commands .

kamcmd> ul.dump
{
Domains: {
}
}
kamcmd>


None of the domains are listed in scscf or pcscf .. In db also , there is
no record .. How to store the values in db or memory ..

Kindly help ..

On Thu, Jul 2, 2020 at 4:00 PM Henning Westerholt  wrote:

> Hello,
>
>
>
> about the two errors:
>
>
>
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: ims_registrar_scscf
> [lookup.c:123]: lookup(): Looking for 
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: ims_registrar_scscf
> [lookup.c:130]: * lookup(): '**sip:bob@10.244.0.57
> **' Not found in usrloc*
>
>
>
> This is generated because Kamailio user location module can not find the
> bob@... User in its DB/memory. Check if the user is registered at all,
> e.g. by looking into DB or dumping usrloc memory e.g. with kamcmd usrloc
> RPC commands.
>
>
>
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/forward.c:423]:
> check_self(): *host (0:**10.244.0.57:5060 **) !=
> me*
> Jun 30 08:40:22 scscf kamailio[557]: ERROR: 

Re: [SR-Users] Error in SCSCF

2020-07-02 Thread Pavithra Mohanraja
Hi,

Any help on this please ...


Thanks,
Pavithra

On Tue, Jun 30, 2020 at 3:08 PM Pavithra Mohanraja 
wrote:

> Hi,
>
> How could i store the contacts in usrloc ..I can also see something like
> this in my scscf logs .. Kindly anyone help me pls..
>
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
> [core/mem/q_malloc.c:374]: qm_malloc(): qm_malloc(0x7f8f6868e010, 27)
> called from ims_registrar_scscf: lookup.c: lookup(104)
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
> [core/mem/q_malloc.c:419]: qm_malloc(): qm_malloc(0x7f8f6868e010, 32)
> returns address 0x7f8f6883e488 frag. 0x7f8f6883e450 (size=32) on 1 -th hit
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: ims_registrar_scscf
> [lookup.c:123]: lookup(): Looking for 
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: ims_registrar_scscf
> [lookup.c:130]: *lookup(): 'sip:bob@10.244.0.57 '
> Not found in usrloc*
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
> [core/mem/q_malloc.c:482]: qm_free(): qm_free(0x7f8f6868e010,
> 0x7f8f6883e488), called from ims_registrar_scscf: lookup.c: lookup(131)
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
> [core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7f8f6883e450 alloc'ed
> from ims_registrar_scscf: lookup.c: lookup(104)
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:1328]:
> t_newtran(): msg (0x7f8f6882e5b8) id=3/752 global id=3/752 T start=(nil)
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:497]:
> t_lookup_request(): start searching: hash=33435, isACK=0
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:455]:
> matching_3261(): RFC3261 transaction matching failed - via branch
> [z9hG4bKb928.d99e50532d1a08862dce461bcaa784d4.0]
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:675]:
> t_lookup_request(): no transaction found
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
> [core/mem/q_malloc.c:374]: qm_malloc(): qm_malloc(0x7f8f61a26000, 8320)
> called from tm: h_table.c: build_cell(330)
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
> [core/mem/q_malloc.c:419]: qm_malloc(): qm_malloc(0x7f8f61a26000, 8320)
> returns address 0x7f8f61d81588 frag. 0x7f8f61d81550 (size=11696) on 1 -th
> hit
> Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_hooks.c:336]:
> run_reqin_callbacks_internal(): trans=0x7f8f61d81588, callback type 1, id 0
> entered
>
>
> Thanks,
> Pavithra
>
> On Tue, Jun 30, 2020 at 2:38 PM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
>> Hi ,
>>
>> I am facing below error in s-cscf when i send a BYE from alice to bob in
>> kamailio IMS. The problem is in only call termination .Kindly help .
>>
>> Error log in scscf :
>>
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
>> [core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7f4746f89148 alloc'ed
>> from core: core/rvalue.c: rval_new_empty(224)
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
>> [core/socket_info.c:630]: grep_sock_info(): checking if host==us: 11==11 &&
>> [10.244.0.57] == [10.244.0.54]
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
>> [core/socket_info.c:637]: grep_sock_info(): checking if port 4080
>> (advertise 0) matches port 5060
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
>> [core/name_alias.h:62]: grep_aliases(): matching (0:10.244.0.57:5060)
>> vs. (0:sip.example.com:0)
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
>> [core/name_alias.h:62]: grep_aliases(): matching (0:10.244.0.57:5060)
>> vs. (0:sip.example.com:5060)
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
>> [core/name_alias.h:62]: grep_aliases(): matching (0:10.244.0.57:5060)
>> vs. (0:scscf.sip.example.com:4080)
>> Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/forward.c:423]:
>> check_self(): *host (0:10.244.0.57:5060 <http://10.244.0.57:5060>) != me*
>> Jun 30 08:40:22 scscf kamailio[557]: ERROR: 

Re: [SR-Users] Error in SCSCF

2020-06-30 Thread Pavithra Mohanraja
Hi,

How could i store the contacts in usrloc ..I can also see something like
this in my scscf logs .. Kindly anyone help me pls..

Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
[core/mem/q_malloc.c:374]: qm_malloc(): qm_malloc(0x7f8f6868e010, 27)
called from ims_registrar_scscf: lookup.c: lookup(104)
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
[core/mem/q_malloc.c:419]: qm_malloc(): qm_malloc(0x7f8f6868e010, 32)
returns address 0x7f8f6883e488 frag. 0x7f8f6883e450 (size=32) on 1 -th hit
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: ims_registrar_scscf
[lookup.c:123]: lookup(): Looking for 
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: ims_registrar_scscf
[lookup.c:130]: *lookup(): 'sip:bob@10.244.0.57 '
Not found in usrloc*
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
[core/mem/q_malloc.c:482]: qm_free(): qm_free(0x7f8f6868e010,
0x7f8f6883e488), called from ims_registrar_scscf: lookup.c: lookup(131)
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
[core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7f8f6883e450 alloc'ed
from ims_registrar_scscf: lookup.c: lookup(104)
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:1328]:
t_newtran(): msg (0x7f8f6882e5b8) id=3/752 global id=3/752 T start=(nil)
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:497]:
t_lookup_request(): start searching: hash=33435, isACK=0
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:455]:
matching_3261(): RFC3261 transaction matching failed - via branch
[z9hG4bKb928.d99e50532d1a08862dce461bcaa784d4.0]
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_lookup.c:675]:
t_lookup_request(): no transaction found
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
[core/mem/q_malloc.c:374]: qm_malloc(): qm_malloc(0x7f8f61a26000, 8320)
called from tm: h_table.c: build_cell(330)
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: 
[core/mem/q_malloc.c:419]: qm_malloc(): qm_malloc(0x7f8f61a26000, 8320)
returns address 0x7f8f61d81588 frag. 0x7f8f61d81550 (size=11696) on 1 -th
hit
Jun 30 09:29:32 scscf kamailio[752]: DEBUG: tm [t_hooks.c:336]:
run_reqin_callbacks_internal(): trans=0x7f8f61d81588, callback type 1, id 0
entered


Thanks,
Pavithra

On Tue, Jun 30, 2020 at 2:38 PM Pavithra Mohanraja 
wrote:

> Hi ,
>
> I am facing below error in s-cscf when i send a BYE from alice to bob in
> kamailio IMS. The problem is in only call termination .Kindly help .
>
> Error log in scscf :
>
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
> [core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7f4746f89148 alloc'ed
> from core: core/rvalue.c: rval_new_empty(224)
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
> [core/socket_info.c:630]: grep_sock_info(): checking if host==us: 11==11 &&
> [10.244.0.57] == [10.244.0.54]
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
> [core/socket_info.c:637]: grep_sock_info(): checking if port 4080
> (advertise 0) matches port 5060
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/name_alias.h:62]:
> grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:sip.example.com:0)
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/name_alias.h:62]:
> grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:sip.example.com:5060)
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/name_alias.h:62]:
> grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:
> scscf.sip.example.com:4080)
> Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/forward.c:423]:
> check_self(): *host (0:10.244.0.57:5060 <http://10.244.0.57:5060>) != me*
> Jun 30 08:40:22 scscf kamailio[557]: ERROR: 

[SR-Users] Error in SCSCF

2020-06-30 Thread Pavithra Mohanraja
Hi ,

I am facing below error in s-cscf when i send a BYE from alice to bob in
kamailio IMS. The problem is in only call termination .Kindly help .

Error log in scscf :

Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
[core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7f4746f89148 alloc'ed
from core: core/rvalue.c: rval_new_empty(224)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
[core/socket_info.c:630]: grep_sock_info(): checking if host==us: 11==11 &&
[10.244.0.57] == [10.244.0.54]
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: 
[core/socket_info.c:637]: grep_sock_info(): checking if port 4080
(advertise 0) matches port 5060
Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/name_alias.h:62]:
grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:sip.example.com:0)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/name_alias.h:62]:
grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:sip.example.com:5060)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/name_alias.h:62]:
grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:
scscf.sip.example.com:4080)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG:  [core/forward.c:423]:
check_self(): *host (0:10.244.0.57:5060 ) != me*
Jun 30 08:40:22 scscf kamailio[557]: ERROR: 

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-25 Thread Pavithra Mohanraja
Hi,

Now i am trying with kamailio-5.3.4 version as a docker containers. There I
am not using ipsec, pcrf related configurations .
There registration and call establishment is happening. but during hangup ,
BYE packet is sent from alice to bob.
and scscf returns *403* *Domain not served (destination not found error) . *

The same way happens from bob to alice also . couldnt able to find the root
cause of the issue .

Thats why i thought of deploying the ims which you have written with VolTE
setup. there i face different kind of issue.

Kindly help me in the first case . If you need any clarifications on
this please let me know. I can give since i am completely blocked with this.


Thanks,
Pavithra

On Thu, Jun 25, 2020 at 12:29 PM supreeth herle 
wrote:

> can you please paste here your DNS zone file and pcscf configuration
> files? It looks like DNS is not setup properly as sip:example.com is not
> being resolved to point to ICSCF.
>
> Best Regards,
> Supreeth
>
> On Thu, 25 Jun 2020 at 07:20, Pavithra Mohanraja 
> wrote:
>
>> Hi Supreeth,
>>
>> I have followed your guide to build kamailio IMS
>>
>> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
>>
>> services are running fine .
>> when i try to make a call . registration fails with 478 unresolvable
>> destination
>>
>> 93(25632) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header
>> present.
>> 93(25632) NOTICE: 

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-25 Thread Pavithra Mohanraja
Hi Supreeth,

This is my DNS file

$ORIGIN sip.example.com.
$TTL 1W
@   1D IN SOA   localhost. root.localhost. (
1   ; serial
3H  ; refresh
15M ; retry
1W  ; expiry
1D ); minimum

1D IN NSns
ns  1D IN A 10.45.5.95

pcscf   1D IN A 10.45.5.95
_sip._udp.pcscf 1D SRV 0 0 5070 pcscf
_sip._tcp.pcscf 1D SRV 0 0 5070 pcscf

icscf   1D IN A 10.45.5.95
_sip._udp   1D SRV 0 0 4060 icscf
_sip._tcp   1D SRV 0 0 4060 icscf

scscf   1D IN A 10.45.5.95
_sip._udp.scscf 1D SRV 0 0 6060 scscf
_sip._tcp.scscf 1D SRV 0 0 6060 scscf

hss 1D IN A 10.45.5.95



And pcscf config file is taken from ur git source

https://github.com/herlesupreeth/Kamailio_IMS_Config
changed only IP and domain name

# IP-Adress for incoming SIP-Traffic, in the following format:

# SIP / UDP
listen=udp:10.45.5.95:5070
# Uncomment the below line only when UE is behind double NAT (e.g. VoIP
calling over WiFi/ CN behind a NAT)
#listen=udp:10.4.128.21:5060 advertise 172.24.15.30:5060
# SIP / TCP
listen=tcp:10.45.5.95:5070
# Uncomment the below line only when UE is behind double NAT (e.g. VoIP
calling over WiFi/ CN behind a NAT)
#listen=tcp:10.4.128.21:5060 advertise 172.24.15.30:5060
# SIP / TCP/TLS
#listen=tls:11.22.33.44:5061

# IPSEC / UDP
#!define IPSEC_LISTEN_ADDR "10.45.5.95"
#!define IPSEC_CLIENT_PORT 5100
#!define IPSEC_SERVER_PORT 6100

# IP used in Rx_AAR_Register - IP of this P-CSCF, to be used in the flow
for the AF-signaling
#!define RX_AF_SIGNALING_IP "10.4.128.21"
# Uncomment the below line only when UE is behind double NAT (e.g. VoIP
calling over WiFi/ CN behind a NAT)
##!define RX_AF_SIGNALING_IP "172.24.15.30"

alias=pcscf.sip.example.com

#!define MY_WS_PORT 80
#!define MY_WSS_PORT 443

#!define PCSCF_URL "sip:pcscf.sip.example.com:5070"

#!define TCP_PROCESSES 8



I am not using pcrf .. rest of the things are same.
OPTIONS request are looping and sometimes registration is getting stopped
with 504 server timeout ..
Unable to find the root-cause.

Kindly do the needful.



On Thu, Jun 25, 2020 at 12:29 PM supreeth herle 
wrote:

> can you please paste here your DNS zone file and pcscf configuration
> files? It looks like DNS is not setup properly as sip:example.com is not
> being resolved to point to ICSCF.
>
> Best Regards,
> Supreeth
>
> On Thu, 25 Jun 2020 at 07:20, Pavithra Mohanraja 
> wrote:
>
>> Hi Supreeth,
>>
>> I have followed your guide to build kamailio IMS
>>
>> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/
>>
>> services are running fine .
>> when i try to make a call . registration fails with 478 unresolvable
>> destination
>>
>> 93(25632) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header
>> present.
>> 93(25632) NOTICE: 

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-24 Thread Pavithra Mohanraja
Hi Supreeth,

I have followed your guide to build kamailio IMS

https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/

services are running fine .
when i try to make a call . registration fails with 478 unresolvable
destination

93(25632) INFO: rr [rr_mod.c:515]: pv_get_route_uri_f(): No route header
present.
93(25632) NOTICE: 

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-24 Thread Pavithra Mohanraja
Hi,

I am not sure if this issue comes in 5.3.4 version .

The below error i am facing in pcscf .
0(4152) ERROR: 

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-24 Thread Pavithra Mohanraja
Hi ,

Could you please tell how to configure ipsec (general configuration not
related to kamailio).

Thanks,
Pavithra

On Wed, Jun 24, 2020 at 2:12 PM supreeth herle 
wrote:

> reason=404 (Not Found - destination user not found on this S-CSCF)]
>>
>
> Please check your IMPU for the IMS user in the IMS HSS (e.g. FHoSS or any
> other HSS you are using to enter IMS user details). SCSCF is not able to
> find a registered user with that IMPU (i am assuming that you are getting
> this response while calling)
>
> Increase the debug level on S-CSCF and check out which IMPU is being
> referred by SCSCF
>
> Best Regards,
> Supreeth
>
> On Wed, 24 Jun 2020 at 10:26, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>>
>> I am facing below error in kamailio-ims 5.3.4 version.
>>
>> reason=404 (Not Found - destination user not found on this S-CSCF)]
>>
>> could you please help me how should i proceed with and where the
>> registration details will be stored in kamailio ims.
>>
>> It fails at this line in kamailio.cfg file in scscf .
>>
>> route[FINAL_TERM] {
>> if (lookup("location")) {
>> if (uri==myself) {
>> if (!t_newtran()) {
>> sl_reply_error();
>> exit;
>> }
>>  xlog("Destination Not Found \n");
>> t_reply("404","Not Found - destination user not
>> found on this S-CSCF");
>> exit;
>> }
>>
>> here lookup(location) means what it means. Could you please help me
>>
>>
>>
>> Thanks,
>> Pavithra
>>
>> On Thu, May 14, 2020 at 9:59 PM supreeth herle 
>> wrote:
>>
>>> Hello Pavithra,
>>>
>>> I have written a guide for how to integrate an IMS using Kamailio with
>>> open5gs EPC, here is the link
>>> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. You can find
>>> steps to setup rtpengine in that guide.
>>>
>>> Regarding requirement of rtpengine, its mandatory if you want to use the
>>> scripts in that example folder without modification. Also, read the READE
>>> of sipwise/rtpengine github repo, its very informative (in a gist rtpengine
>>> offer much more feature than rtpproxy)
>>>
>>> why can't we have sip client to sip client rtps flowing like how it is
>>>> happening without NAT.
>>>>
>>>
>>> For this, i would definitely suggest to read about SIP working. This is
>>> a perfect link https://github.com/onmyway133/blog/issues/284 which
>>> offers extensive material (short and very interesting to read with
>>> examples) related to SIP.
>>>
>>> Best Regards,
>>> Supreeth
>>>
>>>
>>> On Thu, 14 May 2020 at 17:51, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> I didn't configure rtpengine ..instead of that only I used
>>>> rrpproxy..will it not work?
>>>>
>>>> If not please tell me how to configure rtpengine and also tell me if it
>>>> is really madatory .. why can't we have sip client to sip client rtps
>>>> flowing like how it is happening without NAT.
>>>>
>>>> That's my doubt ..please clarify ..
>>>>
>>>> Thanks.
>>>>
>>>> On Thu, May 14, 2020, 8:57 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> HI,
>>>>>
>>>>> Hold on a moment,
>>>>>
>>>>>
>>>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>>>> 10.40.10.12 - icscf in port 4070
>>>>>> 10.40.10.5 - scscf in port 4080
>>>>>> 10.40.10.30 - hss
>>>>>>
>>>>>
>>>>> So i assume you are using the examples provided in the ims folder of
>>>>> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have 
>>>>> you
>>>>> modified the P-CSCF configuration to work with RTPProxy?
>>>>>
>>>>> Best regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 16:39, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-24 Thread Pavithra Mohanraja
Hi Supreeth,

I have registered the user bob .. and it is already stored in hss database
also . Registration is successful with that user .

When i make a call from alice to bob .. in call establishment , it is
throwing this error.

In scscf logs , I am able to see registered user not found. But in hss , it
is there .

In kamailio.cfg file in scscf, as i already mentioned, it is checking for
the condition ,

if(lookup(location))

I am not sure what it tries to do..

Kindly help .


Thanks,
Pavithra

On Wed, Jun 24, 2020 at 2:12 PM supreeth herle 
wrote:

> reason=404 (Not Found - destination user not found on this S-CSCF)]
>>
>
> Please check your IMPU for the IMS user in the IMS HSS (e.g. FHoSS or any
> other HSS you are using to enter IMS user details). SCSCF is not able to
> find a registered user with that IMPU (i am assuming that you are getting
> this response while calling)
>
> Increase the debug level on S-CSCF and check out which IMPU is being
> referred by SCSCF
>
> Best Regards,
> Supreeth
>
> On Wed, 24 Jun 2020 at 10:26, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>>
>> I am facing below error in kamailio-ims 5.3.4 version.
>>
>> reason=404 (Not Found - destination user not found on this S-CSCF)]
>>
>> could you please help me how should i proceed with and where the
>> registration details will be stored in kamailio ims.
>>
>> It fails at this line in kamailio.cfg file in scscf .
>>
>> route[FINAL_TERM] {
>> if (lookup("location")) {
>> if (uri==myself) {
>> if (!t_newtran()) {
>> sl_reply_error();
>> exit;
>> }
>>  xlog("Destination Not Found \n");
>> t_reply("404","Not Found - destination user not
>> found on this S-CSCF");
>> exit;
>> }
>>
>> here lookup(location) means what it means. Could you please help me
>>
>>
>>
>> Thanks,
>> Pavithra
>>
>> On Thu, May 14, 2020 at 9:59 PM supreeth herle 
>> wrote:
>>
>>> Hello Pavithra,
>>>
>>> I have written a guide for how to integrate an IMS using Kamailio with
>>> open5gs EPC, here is the link
>>> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. You can find
>>> steps to setup rtpengine in that guide.
>>>
>>> Regarding requirement of rtpengine, its mandatory if you want to use the
>>> scripts in that example folder without modification. Also, read the READE
>>> of sipwise/rtpengine github repo, its very informative (in a gist rtpengine
>>> offer much more feature than rtpproxy)
>>>
>>> why can't we have sip client to sip client rtps flowing like how it is
>>>> happening without NAT.
>>>>
>>>
>>> For this, i would definitely suggest to read about SIP working. This is
>>> a perfect link https://github.com/onmyway133/blog/issues/284 which
>>> offers extensive material (short and very interesting to read with
>>> examples) related to SIP.
>>>
>>> Best Regards,
>>> Supreeth
>>>
>>>
>>> On Thu, 14 May 2020 at 17:51, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> I didn't configure rtpengine ..instead of that only I used
>>>> rrpproxy..will it not work?
>>>>
>>>> If not please tell me how to configure rtpengine and also tell me if it
>>>> is really madatory .. why can't we have sip client to sip client rtps
>>>> flowing like how it is happening without NAT.
>>>>
>>>> That's my doubt ..please clarify ..
>>>>
>>>> Thanks.
>>>>
>>>> On Thu, May 14, 2020, 8:57 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> HI,
>>>>>
>>>>> Hold on a moment,
>>>>>
>>>>>
>>>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>>>> 10.40.10.12 - icscf in port 4070
>>>>>> 10.40.10.5 - scscf in port 4080
>>>>>> 10.40.10.30 - hss
>>>>>>
>>>>>
>>>>> So i assume you are using the examples provided in the ims folder of
>>>>> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? O

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-24 Thread Pavithra Mohanraja
Hi,

I am facing below error in kamailio-ims 5.3.4 version.

reason=404 (Not Found - destination user not found on this S-CSCF)]

could you please help me how should i proceed with and where the
registration details will be stored in kamailio ims.

It fails at this line in kamailio.cfg file in scscf .

route[FINAL_TERM] {
if (lookup("location")) {
if (uri==myself) {
if (!t_newtran()) {
sl_reply_error();
exit;
}
 xlog("Destination Not Found \n");
t_reply("404","Not Found - destination user not
found on this S-CSCF");
exit;
}

here lookup(location) means what it means. Could you please help me



Thanks,
Pavithra

On Thu, May 14, 2020 at 9:59 PM supreeth herle 
wrote:

> Hello Pavithra,
>
> I have written a guide for how to integrate an IMS using Kamailio with
> open5gs EPC, here is the link
> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. You can find
> steps to setup rtpengine in that guide.
>
> Regarding requirement of rtpengine, its mandatory if you want to use the
> scripts in that example folder without modification. Also, read the READE
> of sipwise/rtpengine github repo, its very informative (in a gist rtpengine
> offer much more feature than rtpproxy)
>
> why can't we have sip client to sip client rtps flowing like how it is
>> happening without NAT.
>>
>
> For this, i would definitely suggest to read about SIP working. This is a
> perfect link https://github.com/onmyway133/blog/issues/284 which offers
> extensive material (short and very interesting to read with examples)
> related to SIP.
>
> Best Regards,
> Supreeth
>
>
> On Thu, 14 May 2020 at 17:51, Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>>
>> I didn't configure rtpengine ..instead of that only I used rrpproxy..will
>> it not work?
>>
>> If not please tell me how to configure rtpengine and also tell me if it
>> is really madatory .. why can't we have sip client to sip client rtps
>> flowing like how it is happening without NAT.
>>
>> That's my doubt ..please clarify ..
>>
>> Thanks.
>>
>> On Thu, May 14, 2020, 8:57 PM supreeth herle 
>> wrote:
>>
>>> HI,
>>>
>>> Hold on a moment,
>>>
>>>
>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>> 10.40.10.12 - icscf in port 4070
>>>> 10.40.10.5 - scscf in port 4080
>>>> 10.40.10.30 - hss
>>>>
>>>
>>> So i assume you are using the examples provided in the ims folder of
>>> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have you
>>> modified the P-CSCF configuration to work with RTPProxy?
>>>
>>> Best regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 16:39, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>> I have attached working rtp pcap file. But it is getting reverted back
>>>> to me .
>>>>
>>>> As you said , i have tried restarting rtpproxy several times. but it
>>>> didnt work .
>>>>
>>>>
>>>>
>>>> On Thu, May 14, 2020 at 7:11 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> Thanks for the pcap. Sorry, to ask this but can you also send pcap of
>>>>> scenario where you see RTP packets?
>>>>>
>>>>> Also, did you restart the rtpproxy after altering the
>>>>> /etc/default/rtpproxy ?
>>>>>
>>>>> i.e.
>>>>>
>>>>> $ systemctl restart rtpproxy
>>>>>
>>>>> Best Regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 14:51, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi Supreeth,
>>>>>> I have attached pcap files . kindly check and let me know.
>>>>>> filter of rtp packets and check.
>>>>>>
>>>>>> *filter : sip || rtp*
>>>>>>
>>>>>>
>>>>>> On Thu, May 14, 2020 at 5:15 PM supreeth herle <
>>>>>> herlesupre...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Pavithra,
>>>>>>>
>>>>&g

Re: [SR-Users] icscf start error

2020-06-22 Thread Pavithra Mohanraja
Hi,
yes I have loaded .

In kamailio 5.3.4 , in icscf.cfg file , there was a change in db_url which
by default add conn1->mysql.
This i changed as mysql .. After that it got worked.

Now I am facing issue with databases of kamailio .. where location db is
not updated with registration details .

Could you please help me in this regard?

In scscf, in route(terminating) ... it has a lookup(location) which is
failing and gives me destination user not found error.

Kindly help me with this. please.



Thanks,
Pavithra

On Mon, Jun 22, 2020 at 8:15 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Like it says on the log:
>
> Did you load mysql’s module?
>
> On Mon, 22 Jun 2020 at 15:27, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>> I have installed kamailio - 5.3.4 version where i am facing below issues
>> in icscf while starting kamailio. db_mysql is loaded but ..
>>
>> what could be the issue?
>>
>> icscf :
>> Aliases:
>>  *: ims.sip.example.com:*
>>
>>  0(789) INFO:  [core/tcp_main.c:5042]: init_tcp(): using epoll_lt
>> as the io watch method (auto detected)
>>  0(791) INFO: pike [pike.c:97]: pike_init(): PIKE - initializing
>>  0(791) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size
>>
>>
>>
>> *0(791) ERROR:  [db.c:204]: db_bind_mod(): Module db_con1=>mysql
>> not found. Missing loadmodule? 0(791) ERROR: ims_icscf [db.c:83]:
>> ims_icscf_db_bind(): ims_icscf_db_bind: cannot bind to database module! Did
>> you forget to load a database module ? 0(791) ERROR: ims_icscf
>> [ims_icscf_mod.c:270]: mod_init(): Failed to initialise ims_icscf
>> module 0(791) ERROR:  [core/sr_module.c:849]: init_mod(): Error while
>> initializing module ims_icscf
>> (/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_icscf.so)*
>> ERROR: error while initializing modules
>>  0(791) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child
>> stopping ...
>>  0(791) INFO: cdp [diameter_peer.c:367]: diameter_peer_destroy():
>> destroy_diameter_peer(): Terminating all children...
>>  0(791) INFO: cdp [diameter_peer.c:386]: diameter_peer_destroy():
>> destroy_diameter_peer(): All processes terminated. Cleaning up.
>>  0(791) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers
>> waiting on empty queue...
>>  0(791) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers
>> waiting on full queue...
>>  0(791) CRITICAL: cdp [diameter_peer.c:426]: diameter_peer_destroy():
>> destroy_diameter_peer(): Bye Bye from C Diameter Peer test
>>  0(791) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child
>> stopped
>>  0(791) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API
>> not initialized
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] reason=404 (Not Found - destination user not found on this S-CSCF)

2020-06-22 Thread Pavithra Mohanraja
Hi,

Its giving destination not found with destination uri as null value. From
where will it fetch the destination URI in scscf. Kindly help me please.


Thanks,
Pavithra

On Mon, Jun 22, 2020 at 3:34 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> We would need to see the logs
>
> On Mon, 22 Jun 2020 at 06:21, Pavithra Mohanraja 
> wrote:
>
>> Hi,
>>
>> I am using kamailio ims-5.3.4 where i am facing this kind of problem
>> during route(term).
>>
>> call registration is happening successfully.
>> In call Establishment , during route(term) , I am facing destination user
>> not found . what could be the problem?.
>>
>> can anyone please help me.
>>
>> Thanks,
>> Pavithra
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] icscf start error

2020-06-22 Thread Pavithra Mohanraja
Hi,
I have installed kamailio - 5.3.4 version where i am facing below issues in
icscf while starting kamailio. db_mysql is loaded but ..

what could be the issue?

icscf :
Aliases:
 *: ims.sip.example.com:*

 0(789) INFO:  [core/tcp_main.c:5042]: init_tcp(): using epoll_lt as
the io watch method (auto detected)
 0(791) INFO: pike [pike.c:97]: pike_init(): PIKE - initializing
 0(791) INFO: pike [ip_tree.c:81]: init_lock_set(): probing 256 set size



*0(791) ERROR:  [db.c:204]: db_bind_mod(): Module db_con1=>mysql not
found. Missing loadmodule? 0(791) ERROR: ims_icscf [db.c:83]:
ims_icscf_db_bind(): ims_icscf_db_bind: cannot bind to database module! Did
you forget to load a database module ? 0(791) ERROR: ims_icscf
[ims_icscf_mod.c:270]: mod_init(): Failed to initialise ims_icscf
module 0(791) ERROR:  [core/sr_module.c:849]: init_mod(): Error while
initializing module ims_icscf
(/usr/lib/x86_64-linux-gnu/kamailio/modules/ims_icscf.so)*
ERROR: error while initializing modules
 0(791) INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping
...
 0(791) INFO: cdp [diameter_peer.c:367]: diameter_peer_destroy():
destroy_diameter_peer(): Terminating all children...
 0(791) INFO: cdp [diameter_peer.c:386]: diameter_peer_destroy():
destroy_diameter_peer(): All processes terminated. Cleaning up.
 0(791) INFO: cdp [worker.c:139]: worker_destroy(): Unlocking workers
waiting on empty queue...
 0(791) INFO: cdp [worker.c:142]: worker_destroy(): Unlocking workers
waiting on full queue...
 0(791) CRITICAL: cdp [diameter_peer.c:426]: diameter_peer_destroy():
destroy_diameter_peer(): Bye Bye from C Diameter Peer test
 0(791) INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child
stopped
 0(791) INFO:  [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API
not initialized
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] reason=404 (Not Found - destination user not found on this S-CSCF)

2020-06-21 Thread Pavithra Mohanraja
Hi,

I am using kamailio ims-5.3.4 where i am facing this kind of problem
during route(term).

call registration is happening successfully.
In call Establishment , during route(term) , I am facing destination user
not found . what could be the problem?.

can anyone please help me.

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] 403 domain not served error in scscf

2020-06-20 Thread Pavithra Mohanraja
Hi,
 Sorry for that .. The IP will be my UE IP address..How can I add as alias
in scscf .


Thanks ,
Pavithra

On Sun, Jun 21, 2020, 1:46 AM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> you shouldn't write to me directly. You can write to the list and address
> me.
>
> Anyway, kamailio thinks the message received is NOT directed to it.
> You should add an "alias" with the IP you're sending to (or the FQDN)
>
>
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
>
>
> On Sat, Jun 20, 2020 at 9:01 PM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
>> Hi David,
>> Could you please help me in this issue
>>
>> -- Forwarded message -
>> From: Pavithra Mohanraja 
>> Date: Fri, Jun 19, 2020, 1:36 PM
>> Subject: 403 domain not served error in scscf
>> To: Kamailio (SER) - Users Mailing List 
>>
>>
>> Hi,
>> I am using kamailio IMS - 5.3.4
>> when I am making a call between two clients using zoiper , Call
>> establishment is done successfully .
>>
>> But during BYE packet sent from caller to callee , it is reaching till
>> S-CSCF and giving 403 Domain not served .. Kindly help me in this regard.
>>
>>
>> I have sent lot of mails regarding this error and no replies .. Kindly
>> help ..
>>
>> Error in scscf :
>> Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
>> [core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7fa1e6945ca8 alloc'ed
>> from core: core/rvalue.c: rval_new_empty(224)
>> Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
>> [core/socket_info.c:628]: grep_sock_info(): checking if host==us: 10==11 &&
>> [*10.45.5.22] == [10.45.4.181]*
>> Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
>> [core/socket_info.c:635]: grep_sock_info(): *checking if port 4080
>> (advertise 0) matches port 40629*
>> Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
>> [core/forward.c:412]: *check_self(): host != me*
>> Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: ERROR: 

Re: [SR-Users] Server error on LIR select next S-CSCF

2020-06-19 Thread Pavithra Mohanraja
Hi,

Have you given your scscf domain in icscf db table ?
Also check ur scscf is running properly
Thanks,
Pavithra

On Fri, Jun 19, 2020 at 1:22 PM BALL SUN  wrote:

> Hi
>
> I have a setup using Kamailio IMS, and when trying to make a SIP call
> between clients, S-CSCF returns " SIP/2.0 500 Server error on LIR
> select next S-CSCF", do you have any idea on how to fix?
>
> - RBK
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] 403 domain not served error in scscf

2020-06-19 Thread Pavithra Mohanraja
Hi,
I am using kamailio IMS - 5.3.4
when I am making a call between two clients using zoiper , Call
establishment is done successfully .

But during BYE packet sent from caller to callee , it is reaching till
S-CSCF and giving 403 Domain not served .. Kindly help me in this regard.


I have sent lot of mails regarding this error and no replies .. Kindly help
..

Error in scscf :
Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
[core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7fa1e6945ca8 alloc'ed
from core: core/rvalue.c: rval_new_empty(224)
Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
[core/socket_info.c:628]: grep_sock_info(): checking if host==us: 10==11 &&
[*10.45.5.22] == [10.45.4.181]*
Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
[core/socket_info.c:635]: grep_sock_info(): *checking if port 4080
(advertise 0) matches port 40629*
Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: DEBUG: 
[core/forward.c:412]: *check_self(): host != me*
Jun 19 13:29:17 ubuntu-VirtualBox kamailio[21891]: ERROR: 

[SR-Users] 403 domain not served error in IMS kamailio

2020-06-18 Thread Pavithra Mohanraja
Hi,
Could any one please help me in this issue ASAP. This is logs from SCSCF.

Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: DEBUG: 
[core/socket_info.c:630]: grep_sock_info(): checking if host==us: 10==10 &&
[172.17.0.8] == [172.17.0.5]
Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: DEBUG: 
[core/socket_info.c:637]: grep_sock_info(): checking if port 4080
(advertise 0) matches port 5060
Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: DEBUG: 
[core/name_alias.h:62]: grep_aliases(): matching (0:172.17.0.8:5060) vs. (0:
sip.example.com:0)
Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: DEBUG: 
[core/name_alias.h:62]: grep_aliases(): matching (0:172.17.0.8:5060) vs. (0:
sip.example.com:5060)
Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: DEBUG: 
[core/name_alias.h:62]: grep_aliases(): matching (0:172.17.0.8:5060) vs. (0:
scscf.sip.example.com:4080)
Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: DEBUG: 
[*core/forward.c:423]:
check_self(): host (0:172.17.0.8:5060 ) != me*
Jun 18 06:28:02 396779d9d4e7 kamailio[1796]: ERROR: 

Re: [SR-Users] docker images for kamailio IMS

2020-06-18 Thread Pavithra Mohanraja
Hi,

In kamailio IMS docker images, I can able to establish call between two
users (alice & bob).
When I make a call from alice to bob using pjsip,
Till ACK everything is fine.
When it comes to BYE Packet, It reaches only till PCSCF . Its not going to
the other user.

What will be the issue ?. Could anyone please help me.
I am giving outbound proxy as pcscf.


172.17.0.3 - pcscf
172.17.0.6 - alice
172.17.0.8 - bob

BYE -> 172.17.0.6 -> 172.17.0.3





On Thu, Jun 18, 2020 at 10:44 AM Pavithra Mohanraja 
wrote:

> Hi,
>
> In kamailio IMS docker images, I can able to establish call between two
> users (alice & bob).
> When I make a call from alice to bob using pjsip,
> Till ACK everything is fine.
> When it comes to BYE Packet, It reaches only till PCSCF . Its not going to
> the other user.
>
> What will be the issue ?. Could anyone please help me.
> I am giving outbound proxy as pcscf.
>
> I have attached pcap files taken at alice and bob containers.
>
> 172.17.0.3 - pcscf
> 172.17.0.6 - alice
> 172.17.0.8 - bob
>
>
>
> On Wed, Jun 10, 2020 at 12:54 PM Sergey Safarov 
> wrote:
>
>> you use apt-get because kamailio-ci image base not on Debian dist
>>
>> kamailio-ci image based on Alpine
>>
>> docker run --entrypoint cat kamailio/kamailio-ci:5.3-alpine
>> /etc/os-release
>> NAME="Alpine Linux"
>> ID=alpine
>> VERSION_ID=3.11.6
>> PRETTY_NAME="Alpine Linux v3.11"
>> HOME_URL="https://alpinelinux.org/;
>> BUG_REPORT_URL="https://bugs.alpinelinux.org/;
>>
>> here need use apk, like
>> apk add mc
>>
>>
>>
>> On Wed, Jun 10, 2020 at 7:18 AM Pavithra Mohanraja <
>> pavimohan3...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Using the kamailio-ci images , I am unable to install any packages using
>>> "apt-get install" inside the container .
>>>
>>> Is there any way to do it .. please suggest me.
>>>
>>>
>>> Thanks,
>>> Pavithra
>>>
>>> On Tue, Jun 9, 2020 at 4:16 PM Sergey Safarov 
>>> wrote:
>>>
>>>> kamailio-ci docker image contains only /etc/kamailio/kamailio.cfg
>>>> config file
>>>> if you want use own config this may be done via folder mount
>>>>
>>>>  docker run --net=host --name kamailio \
>>>>-v /etc/kamailio:/etc/kamailio \
>>>>kamailio/kamailio-ci
>>>>
>>>>
>>>> On Tue, Jun 9, 2020 at 10:49 AM Pavithra Mohanraja <
>>>> pavimohan3...@gmail.com> wrote:
>>>>
>>>>> Hi ,
>>>>>
>>>>> How can i get all configuration files in my docker image for kamailio
>>>>> IMS.
>>>>>
>>>>> If i run the container , I am getting only kamailio.cfg file
>>>>> Kindly help.
>>>>>
>>>>>
>>>>> Thanks,
>>>>> Pavithra
>>>>>
>>>>> On Mon, Jun 8, 2020 at 7:12 PM Sergey Safarov 
>>>>> wrote:
>>>>>
>>>>>> you can check current modules for kamailio/kamailio-ci image
>>>>>>
>>>>>> docker run --rm=true --entrypoint ls kamailio/kamailio-ci:master -1
>>>>>> /usr/lib/kamailio/modules/
>>>>>>
>>>>>> If some modules is missing, you can open ticket to add required
>>>>>> modules
>>>>>> https://github.com/kamailio/kamailio-ci/issues
>>>>>>
>>>>>> On Mon, Jun 8, 2020 at 3:23 PM Pavithra Mohanraja <
>>>>>> pavimohan3...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi ,
>>>>>>> Could anyone kindly tell me if there is docker images for kamailio
>>>>>>> IMS.
>>>>>>>
>>>>>>> I can able to see docker images for only Kamailio as a SIP server.
>>>>>>>
>>>>>>> Please help.
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Pavithra
>>>>>>> ___
>>>>>>> Kamailio (SER) - Users Mailing List
>>>>>>> sr-users@lists.kamailio.org
>>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>>
>>>>>> ___
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users@lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>> ___
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users@lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] docker images for kamailio IMS

2020-06-18 Thread Pavithra Mohanraja
Hi,

In kamailio IMS docker images, I can able to establish call between two
users (alice & bob).
When I make a call from alice to bob using pjsip,
Till ACK everything is fine.
When it comes to BYE Packet, It reaches only till PCSCF . Its not going to
the other user.

What will be the issue ?. Could anyone please help me.
I am giving outbound proxy as pcscf.

I have attached pcap files taken at alice and bob containers.

172.17.0.3 - pcscf
172.17.0.6 - alice
172.17.0.8 - bob



On Wed, Jun 10, 2020 at 12:54 PM Sergey Safarov  wrote:

> you use apt-get because kamailio-ci image base not on Debian dist
>
> kamailio-ci image based on Alpine
>
> docker run --entrypoint cat kamailio/kamailio-ci:5.3-alpine /etc/os-release
> NAME="Alpine Linux"
> ID=alpine
> VERSION_ID=3.11.6
> PRETTY_NAME="Alpine Linux v3.11"
> HOME_URL="https://alpinelinux.org/;
> BUG_REPORT_URL="https://bugs.alpinelinux.org/;
>
> here need use apk, like
> apk add mc
>
>
>
> On Wed, Jun 10, 2020 at 7:18 AM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
>> Hi,
>>
>> Using the kamailio-ci images , I am unable to install any packages using
>> "apt-get install" inside the container .
>>
>> Is there any way to do it .. please suggest me.
>>
>>
>> Thanks,
>> Pavithra
>>
>> On Tue, Jun 9, 2020 at 4:16 PM Sergey Safarov 
>> wrote:
>>
>>> kamailio-ci docker image contains only /etc/kamailio/kamailio.cfg config
>>> file
>>> if you want use own config this may be done via folder mount
>>>
>>>  docker run --net=host --name kamailio \
>>>-v /etc/kamailio:/etc/kamailio \
>>>kamailio/kamailio-ci
>>>
>>>
>>> On Tue, Jun 9, 2020 at 10:49 AM Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> How can i get all configuration files in my docker image for kamailio
>>>> IMS.
>>>>
>>>> If i run the container , I am getting only kamailio.cfg file
>>>> Kindly help.
>>>>
>>>>
>>>> Thanks,
>>>> Pavithra
>>>>
>>>> On Mon, Jun 8, 2020 at 7:12 PM Sergey Safarov 
>>>> wrote:
>>>>
>>>>> you can check current modules for kamailio/kamailio-ci image
>>>>>
>>>>> docker run --rm=true --entrypoint ls kamailio/kamailio-ci:master -1
>>>>> /usr/lib/kamailio/modules/
>>>>>
>>>>> If some modules is missing, you can open ticket to add required modules
>>>>> https://github.com/kamailio/kamailio-ci/issues
>>>>>
>>>>> On Mon, Jun 8, 2020 at 3:23 PM Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi ,
>>>>>> Could anyone kindly tell me if there is docker images for kamailio
>>>>>> IMS.
>>>>>>
>>>>>> I can able to see docker images for only Kamailio as a SIP server.
>>>>>>
>>>>>> Please help.
>>>>>>
>>>>>>
>>>>>> Thanks,
>>>>>> Pavithra
>>>>>> ___
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users@lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>> ___
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users@lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


zoiper_alice.pcap
Description: Binary data


zoiper_bob.pcap
Description: Binary data
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio ims video calls

2020-06-14 Thread Pavithra Mohanraja
Hi,
Could anyone please give me some idea on how video call works in IMS.
Does it need rtp proxy to work?
Or is it the same way how voice call works  ?
It would be good , if anybody share some links on video calls as well voice
conferencing.

Thanks,
pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio IMS support

2020-06-11 Thread Pavithra Mohanraja
Hi,

I am trying to connect EPC with IMS.

EPC is separate installation of comac-in-a-box . IMS is kamailio based. Do
i have SGi interface configurations in kamailio so that i can establish
communication between EPC and IMS.

One more clarification. I have seen PCRF communication can be done using
CDP .Is there any way to build PCRF as part of kamailio.

Kindly help ..

Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] docker images for kamailio IMS

2020-06-09 Thread Pavithra Mohanraja
Hi,
I tried to do "apt-get update" inside the container, so it was showing "apt
is not found".

I need to understand , Is that the way the container works or Is there
anyother way to use the "apt" package.

One more clarification required on base image of kamailio.
In kamailio/kamailio:ci , It is defined as alpine based images, but when i
see in "uname -r" inside the container, it shows "ubuntu-16.04".
So what is the base image used and need some explanation on the alpine
distribution.


Thanks,
Pavithra

On Wed, Jun 10, 2020 at 10:00 AM Alex Balashov 
wrote:

> On 6/10/20 12:17 AM, Pavithra Mohanraja wrote:
>
> > Using the kamailio-ci images , I am unable to install any packages using
> > "apt-get install" inside the container .
>
> Can you clarify the meaning of "unable"? Nobody can help you if you just
> say "it doesn't work" without elaboration. You need to tell people what
> isn't working, exactly, and what the symptoms are.
>
> Second, are you sure that installing packages inside the container is a
> good idea? While in some cases it is perhaps necessary, in general it
> goes against the philosophy of containers as a packaging and
> distribution mechanism. Containers are not the same as servers, VMs or
> VPSs.
>
> -- Alex
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] docker images for kamailio IMS

2020-06-09 Thread Pavithra Mohanraja
Hi,

Using the kamailio-ci images , I am unable to install any packages using
"apt-get install" inside the container .

Is there any way to do it .. please suggest me.


Thanks,
Pavithra

On Tue, Jun 9, 2020 at 4:16 PM Sergey Safarov  wrote:

> kamailio-ci docker image contains only /etc/kamailio/kamailio.cfg config
> file
> if you want use own config this may be done via folder mount
>
>  docker run --net=host --name kamailio \
>-v /etc/kamailio:/etc/kamailio \
>kamailio/kamailio-ci
>
>
> On Tue, Jun 9, 2020 at 10:49 AM Pavithra Mohanraja <
> pavimohan3...@gmail.com> wrote:
>
>> Hi ,
>>
>> How can i get all configuration files in my docker image for kamailio IMS.
>>
>> If i run the container , I am getting only kamailio.cfg file
>> Kindly help.
>>
>>
>> Thanks,
>> Pavithra
>>
>> On Mon, Jun 8, 2020 at 7:12 PM Sergey Safarov 
>> wrote:
>>
>>> you can check current modules for kamailio/kamailio-ci image
>>>
>>> docker run --rm=true --entrypoint ls kamailio/kamailio-ci:master -1
>>> /usr/lib/kamailio/modules/
>>>
>>> If some modules is missing, you can open ticket to add required modules
>>> https://github.com/kamailio/kamailio-ci/issues
>>>
>>> On Mon, Jun 8, 2020 at 3:23 PM Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>> Could anyone kindly tell me if there is docker images for kamailio IMS.
>>>>
>>>> I can able to see docker images for only Kamailio as a SIP server.
>>>>
>>>> Please help.
>>>>
>>>>
>>>> Thanks,
>>>> Pavithra
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] docker images for kamailio IMS

2020-06-09 Thread Pavithra Mohanraja
Hi ,

How can i get all configuration files in my docker image for kamailio IMS.

If i run the container , I am getting only kamailio.cfg file
Kindly help.


Thanks,
Pavithra

On Mon, Jun 8, 2020 at 7:12 PM Sergey Safarov  wrote:

> you can check current modules for kamailio/kamailio-ci image
>
> docker run --rm=true --entrypoint ls kamailio/kamailio-ci:master -1
> /usr/lib/kamailio/modules/
>
> If some modules is missing, you can open ticket to add required modules
> https://github.com/kamailio/kamailio-ci/issues
>
> On Mon, Jun 8, 2020 at 3:23 PM Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>> Could anyone kindly tell me if there is docker images for kamailio IMS.
>>
>> I can able to see docker images for only Kamailio as a SIP server.
>>
>> Please help.
>>
>>
>> Thanks,
>> Pavithra
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-06-08 Thread Pavithra Mohanraja
Hi ,

Could anyone kindly tell me if there is any docker image available for
kamailio IMS.

I can able to see only kamailio docker images configured as SIP server.

On Fri, May 15, 2020 at 1:27 AM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> You could simply compile rtpproxy
>
> What I mean about the SDP is the connection parameter, something along the
> lines of:
>
> c=IN IP4 X.X.X.X
>
> Where X.X.X.X is the up where the receiver must send its rtp. It must be
> reachable from the receiver.
>
>
> On Thu, 14 May 2020 at 19:10, Pavithra Mohanraja 
> wrote:
>
>> Hi supreeth,
>>
>> You have mentioned about rtpengine aswellas rrpproxy in open5g
>> documentation .
>>
>> The same procedure only I have followed for rtpproxy. And one more thing
>> , I have tried installing rtpengine but libraries are based on Ubuntu
>> bionic . But I am using ubuntu xenial. So libraries are not getting
>> installed properly .
>>
>> Did everything worked fine for you when you tried with rtpproxy for this
>> version (5.3.3)?
>>
>>
>>
>>
>>
>>
>> On Thu, May 14, 2020, 9:59 PM supreeth herle 
>> wrote:
>>
>>> Hello Pavithra,
>>>
>>> I have written a guide for how to integrate an IMS using Kamailio with
>>> open5gs EPC, here is the link
>>> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. You can find
>>> steps to setup rtpengine in that guide.
>>>
>>> Regarding requirement of rtpengine, its mandatory if you want to use the
>>> scripts in that example folder without modification. Also, read the READE
>>> of sipwise/rtpengine github repo, its very informative (in a gist rtpengine
>>> offer much more feature than rtpproxy)
>>>
>>> why can't we have sip client to sip client rtps flowing like how it is
>>>> happening without NAT.
>>>>
>>>
>>> For this, i would definitely suggest to read about SIP working. This is
>>> a perfect link https://github.com/onmyway133/blog/issues/284 which
>>> offers extensive material (short and very interesting to read with
>>> examples) related to SIP.
>>>
>>> Best Regards,
>>> Supreeth
>>>
>>>
>>> On Thu, 14 May 2020 at 17:51, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> I didn't configure rtpengine ..instead of that only I used
>>>> rrpproxy..will it not work?
>>>>
>>>> If not please tell me how to configure rtpengine and also tell me if it
>>>> is really madatory .. why can't we have sip client to sip client rtps
>>>> flowing like how it is happening without NAT.
>>>>
>>>> That's my doubt ..please clarify ..
>>>>
>>>> Thanks.
>>>>
>>>> On Thu, May 14, 2020, 8:57 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> HI,
>>>>>
>>>>> Hold on a moment,
>>>>>
>>>>>
>>>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>>>> 10.40.10.12 - icscf in port 4070
>>>>>> 10.40.10.5 - scscf in port 4080
>>>>>> 10.40.10.30 - hss
>>>>>>
>>>>>
>>>>> So i assume you are using the examples provided in the ims folder of
>>>>> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have 
>>>>> you
>>>>> modified the P-CSCF configuration to work with RTPProxy?
>>>>>
>>>>> Best regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 16:39, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi ,
>>>>>> I have attached working rtp pcap file. But it is getting reverted
>>>>>> back to me .
>>>>>>
>>>>>> As you said , i have tried restarting rtpproxy several times. but it
>>>>>> didnt work .
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, May 14, 2020 at 7:11 PM supreeth herle <
>>>>>> herlesupre...@gmail.com> wrote:
>>>>>>
>>>>>>> Thanks for the pcap. Sorry, to ask this but can you also send pcap
>>>>>>> of scenario where you see RTP packets?
>&

[SR-Users] docker images for kamailio IMS

2020-06-08 Thread Pavithra Mohanraja
Hi ,
Could anyone kindly tell me if there is docker images for kamailio IMS.

I can able to see docker images for only Kamailio as a SIP server.

Please help.


Thanks,
Pavithra
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi supreeth,

You have mentioned about rtpengine aswellas rrpproxy in open5g
documentation .

The same procedure only I have followed for rtpproxy. And one more thing ,
I have tried installing rtpengine but libraries are based on Ubuntu bionic
. But I am using ubuntu xenial. So libraries are not getting installed
properly .

Did everything worked fine for you when you tried with rtpproxy for this
version (5.3.3)?






On Thu, May 14, 2020, 9:59 PM supreeth herle 
wrote:

> Hello Pavithra,
>
> I have written a guide for how to integrate an IMS using Kamailio with
> open5gs EPC, here is the link
> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. You can find
> steps to setup rtpengine in that guide.
>
> Regarding requirement of rtpengine, its mandatory if you want to use the
> scripts in that example folder without modification. Also, read the READE
> of sipwise/rtpengine github repo, its very informative (in a gist rtpengine
> offer much more feature than rtpproxy)
>
> why can't we have sip client to sip client rtps flowing like how it is
>> happening without NAT.
>>
>
> For this, i would definitely suggest to read about SIP working. This is a
> perfect link https://github.com/onmyway133/blog/issues/284 which offers
> extensive material (short and very interesting to read with examples)
> related to SIP.
>
> Best Regards,
> Supreeth
>
>
> On Thu, 14 May 2020 at 17:51, Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>>
>> I didn't configure rtpengine ..instead of that only I used rrpproxy..will
>> it not work?
>>
>> If not please tell me how to configure rtpengine and also tell me if it
>> is really madatory .. why can't we have sip client to sip client rtps
>> flowing like how it is happening without NAT.
>>
>> That's my doubt ..please clarify ..
>>
>> Thanks.
>>
>> On Thu, May 14, 2020, 8:57 PM supreeth herle 
>> wrote:
>>
>>> HI,
>>>
>>> Hold on a moment,
>>>
>>>
>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>> 10.40.10.12 - icscf in port 4070
>>>> 10.40.10.5 - scscf in port 4080
>>>> 10.40.10.30 - hss
>>>>
>>>
>>> So i assume you are using the examples provided in the ims folder of
>>> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have you
>>> modified the P-CSCF configuration to work with RTPProxy?
>>>
>>> Best regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 16:39, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>> I have attached working rtp pcap file. But it is getting reverted back
>>>> to me .
>>>>
>>>> As you said , i have tried restarting rtpproxy several times. but it
>>>> didnt work .
>>>>
>>>>
>>>>
>>>> On Thu, May 14, 2020 at 7:11 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> Thanks for the pcap. Sorry, to ask this but can you also send pcap of
>>>>> scenario where you see RTP packets?
>>>>>
>>>>> Also, did you restart the rtpproxy after altering the
>>>>> /etc/default/rtpproxy ?
>>>>>
>>>>> i.e.
>>>>>
>>>>> $ systemctl restart rtpproxy
>>>>>
>>>>> Best Regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 14:51, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi Supreeth,
>>>>>> I have attached pcap files . kindly check and let me know.
>>>>>> filter of rtp packets and check.
>>>>>>
>>>>>> *filter : sip || rtp*
>>>>>>
>>>>>>
>>>>>> On Thu, May 14, 2020 at 5:15 PM supreeth herle <
>>>>>> herlesupre...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Pavithra,
>>>>>>>
>>>>>>> Thanks for the clarification. Can you please attach a pcap of the
>>>>>>> call where you are not seeing the RTP packets? And, btw is the call 
>>>>>>> getting
>>>>>>> dropped or something in that scenario?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Supreeth
>>>>>>>
>>>>>>>
>>>>>>

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi supreeth,

Thank u so much for the guidance ..I will go through it and try for
rtpengine and get back to you if there is any further issues regarding the
same.


Thanks

On Thu, May 14, 2020, 9:59 PM supreeth herle 
wrote:

> Hello Pavithra,
>
> I have written a guide for how to integrate an IMS using Kamailio with
> open5gs EPC, here is the link
> https://open5gs.org/open5gs/docs/tutorial/02-VoLTE-setup/. You can find
> steps to setup rtpengine in that guide.
>
> Regarding requirement of rtpengine, its mandatory if you want to use the
> scripts in that example folder without modification. Also, read the READE
> of sipwise/rtpengine github repo, its very informative (in a gist rtpengine
> offer much more feature than rtpproxy)
>
> why can't we have sip client to sip client rtps flowing like how it is
>> happening without NAT.
>>
>
> For this, i would definitely suggest to read about SIP working. This is a
> perfect link https://github.com/onmyway133/blog/issues/284 which offers
> extensive material (short and very interesting to read with examples)
> related to SIP.
>
> Best Regards,
> Supreeth
>
>
> On Thu, 14 May 2020 at 17:51, Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>>
>> I didn't configure rtpengine ..instead of that only I used rrpproxy..will
>> it not work?
>>
>> If not please tell me how to configure rtpengine and also tell me if it
>> is really madatory .. why can't we have sip client to sip client rtps
>> flowing like how it is happening without NAT.
>>
>> That's my doubt ..please clarify ..
>>
>> Thanks.
>>
>> On Thu, May 14, 2020, 8:57 PM supreeth herle 
>> wrote:
>>
>>> HI,
>>>
>>> Hold on a moment,
>>>
>>>
>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>> 10.40.10.12 - icscf in port 4070
>>>> 10.40.10.5 - scscf in port 4080
>>>> 10.40.10.30 - hss
>>>>
>>>
>>> So i assume you are using the examples provided in the ims folder of
>>> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have you
>>> modified the P-CSCF configuration to work with RTPProxy?
>>>
>>> Best regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 16:39, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>> I have attached working rtp pcap file. But it is getting reverted back
>>>> to me .
>>>>
>>>> As you said , i have tried restarting rtpproxy several times. but it
>>>> didnt work .
>>>>
>>>>
>>>>
>>>> On Thu, May 14, 2020 at 7:11 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> Thanks for the pcap. Sorry, to ask this but can you also send pcap of
>>>>> scenario where you see RTP packets?
>>>>>
>>>>> Also, did you restart the rtpproxy after altering the
>>>>> /etc/default/rtpproxy ?
>>>>>
>>>>> i.e.
>>>>>
>>>>> $ systemctl restart rtpproxy
>>>>>
>>>>> Best Regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 14:51, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi Supreeth,
>>>>>> I have attached pcap files . kindly check and let me know.
>>>>>> filter of rtp packets and check.
>>>>>>
>>>>>> *filter : sip || rtp*
>>>>>>
>>>>>>
>>>>>> On Thu, May 14, 2020 at 5:15 PM supreeth herle <
>>>>>> herlesupre...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Pavithra,
>>>>>>>
>>>>>>> Thanks for the clarification. Can you please attach a pcap of the
>>>>>>> call where you are not seeing the RTP packets? And, btw is the call 
>>>>>>> getting
>>>>>>> dropped or something in that scenario?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Supreeth
>>>>>>>
>>>>>>>
>>>>>>> On Thu, 14 May 2020 at 13:34, Pavithra Mohanraja <
>>>>>>> pavimohan3...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi Supreeth,
>>>>>>>>
>>>&

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi ,

I also have a doubt like whether rtpproxy is mandate for NAT traversal.
Without that RTP between two sip clients.. Is it not possible here ?
Kindly clarify.. since i am new to this kamailio ims.

Thanks

On Thu, May 14, 2020 at 5:03 PM Pavithra Mohanraja 
wrote:

> Hi David,
>
> In SDP , what need to be checked . I am not much clear in your reply .
> Kindly elaborate.
>
> Thanks
>
> On Thu, May 14, 2020 at 4:55 PM David Villasmil <
> david.villasmil.w...@gmail.com> wrote:
>
>> Also check the SDPs and make sure you get the internal up of rtpproxy on
>> the internal side, and the external on the external side.
>>
>> On Thu, 14 May 2020 at 12:18, supreeth herle 
>> wrote:
>>
>>> Can you explain some more when you mean by "RTP alone is not coming."?
>>> And, how are you checking/verifying that?
>>>
>>> Regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> Yes I have configured as you mentioned only . In my pcscf only i have
>>>> rtpproxy also configured.
>>>> Floating IP i have given in listen address also as
>>>> listen = 10.40.10.3:4060 advertise 10.45.4.22:4060
>>>>
>>>> 10.40.10.3 - private ip
>>>> 10.45.4.22 - floating ip
>>>> Still RTP alone is not coming.
>>>>
>>>> Is it the only way of configuring NAT ?
>>>>
>>>> Thanks.
>>>>
>>>> On Thu, May 14, 2020 at 4:37 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> Hello Pavithra,
>>>>>
>>>>> Have you tried advertising the floating IP of the VM running RTPProxy
>>>>> as follows?
>>>>>
>>>>> Edit /etc/default/rtpproxy file as follows:
>>>>>
>>>>> # Additional options that are passed to the daemon.
>>>>> EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"
>>>>>
>>>>> here, "-l "
>>>>>
>>>>> Hope it helps.
>>>>>
>>>>> Regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi ,
>>>>>>
>>>>>> Could anybody please give me the approach how to configure NAT in
>>>>>> kamailio IMS.
>>>>>>
>>>>>> I have installed kamailio IMS in openstack environment which has
>>>>>> private ips for all four vms (each component in one vm). pcscf has one
>>>>>> floating IP attached. I have enabled "WITH_NAT" and configured rtpproxy .
>>>>>>
>>>>>> when i make a call from outside of openstack using 2 zoiper clients
>>>>>> with outbound proxy keeping floating ip of pcscf, I am getting 200 ok 
>>>>>> with
>>>>>> all SIP packets correctly flowing but there is no RTP Packet.
>>>>>>
>>>>>> When i try the same within openstack environment without using public
>>>>>> ip, I am getting RTP Packets.
>>>>>>
>>>>>> Kindly tell me the procedure of NAT Enablement or do i need to do
>>>>>> anything other than this.
>>>>>>
>>>>>> Kindly help because i am stuck with this for long time.
>>>>>>
>>>>>>
>>>>>> Thanks.
>>>>>> ___
>>>>>> Kamailio (SER) - Users Mailing List
>>>>>> sr-users@lists.kamailio.org
>>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>
>>>>> ___
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users@lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> --
>> Regards,
>>
>> David Villasmil
>> email: david.villasmil.w...@gmail.com
>> phone: +34669448337
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi David,

In SDP , what need to be checked . I am not much clear in your reply .
Kindly elaborate.

Thanks

On Thu, May 14, 2020 at 4:55 PM David Villasmil <
david.villasmil.w...@gmail.com> wrote:

> Also check the SDPs and make sure you get the internal up of rtpproxy on
> the internal side, and the external on the external side.
>
> On Thu, 14 May 2020 at 12:18, supreeth herle 
> wrote:
>
>> Can you explain some more when you mean by "RTP alone is not coming."?
>> And, how are you checking/verifying that?
>>
>> Regards,
>> Supreeth
>>
>> On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja 
>> wrote:
>>
>>> Hi ,
>>>
>>> Yes I have configured as you mentioned only . In my pcscf only i have
>>> rtpproxy also configured.
>>> Floating IP i have given in listen address also as
>>> listen = 10.40.10.3:4060 advertise 10.45.4.22:4060
>>>
>>> 10.40.10.3 - private ip
>>> 10.45.4.22 - floating ip
>>> Still RTP alone is not coming.
>>>
>>> Is it the only way of configuring NAT ?
>>>
>>> Thanks.
>>>
>>> On Thu, May 14, 2020 at 4:37 PM supreeth herle 
>>> wrote:
>>>
>>>> Hello Pavithra,
>>>>
>>>> Have you tried advertising the floating IP of the VM running RTPProxy
>>>> as follows?
>>>>
>>>> Edit /etc/default/rtpproxy file as follows:
>>>>
>>>> # Additional options that are passed to the daemon.
>>>> EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"
>>>>
>>>> here, "-l "
>>>>
>>>> Hope it helps.
>>>>
>>>> Regards,
>>>> Supreeth
>>>>
>>>> On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja <
>>>> pavimohan3...@gmail.com> wrote:
>>>>
>>>>> Hi ,
>>>>>
>>>>> Could anybody please give me the approach how to configure NAT in
>>>>> kamailio IMS.
>>>>>
>>>>> I have installed kamailio IMS in openstack environment which has
>>>>> private ips for all four vms (each component in one vm). pcscf has one
>>>>> floating IP attached. I have enabled "WITH_NAT" and configured rtpproxy .
>>>>>
>>>>> when i make a call from outside of openstack using 2 zoiper clients
>>>>> with outbound proxy keeping floating ip of pcscf, I am getting 200 ok with
>>>>> all SIP packets correctly flowing but there is no RTP Packet.
>>>>>
>>>>> When i try the same within openstack environment without using public
>>>>> ip, I am getting RTP Packets.
>>>>>
>>>>> Kindly tell me the procedure of NAT Enablement or do i need to do
>>>>> anything other than this.
>>>>>
>>>>> Kindly help because i am stuck with this for long time.
>>>>>
>>>>>
>>>>> Thanks.
>>>>> ___
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users@lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> phone: +34669448337
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi ,

I didn't configure rtpengine ..instead of that only I used rrpproxy..will
it not work?

If not please tell me how to configure rtpengine and also tell me if it is
really madatory .. why can't we have sip client to sip client rtps flowing
like how it is happening without NAT.

That's my doubt ..please clarify ..

Thanks.

On Thu, May 14, 2020, 8:57 PM supreeth herle 
wrote:

> HI,
>
> Hold on a moment,
>
>
>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>> (!#define WITH_NAT) and configured rtpproxy)
>> 10.40.10.12 - icscf in port 4070
>> 10.40.10.5 - scscf in port 4080
>> 10.40.10.30 - hss
>>
>
> So i assume you are using the examples provided in the ims folder of
> kamailio repo right? Isn't it using RTPEngine and not RTPProxy? Or have you
> modified the P-CSCF configuration to work with RTPProxy?
>
> Best regards,
> Supreeth
>
> On Thu, 14 May 2020 at 16:39, Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>> I have attached working rtp pcap file. But it is getting reverted back to
>> me .
>>
>> As you said , i have tried restarting rtpproxy several times. but it
>> didnt work .
>>
>>
>>
>> On Thu, May 14, 2020 at 7:11 PM supreeth herle 
>> wrote:
>>
>>> Thanks for the pcap. Sorry, to ask this but can you also send pcap of
>>> scenario where you see RTP packets?
>>>
>>> Also, did you restart the rtpproxy after altering the
>>> /etc/default/rtpproxy ?
>>>
>>> i.e.
>>>
>>> $ systemctl restart rtpproxy
>>>
>>> Best Regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 14:51, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi Supreeth,
>>>> I have attached pcap files . kindly check and let me know.
>>>> filter of rtp packets and check.
>>>>
>>>> *filter : sip || rtp*
>>>>
>>>>
>>>> On Thu, May 14, 2020 at 5:15 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> Hi Pavithra,
>>>>>
>>>>> Thanks for the clarification. Can you please attach a pcap of the call
>>>>> where you are not seeing the RTP packets? And, btw is the call getting
>>>>> dropped or something in that scenario?
>>>>>
>>>>> Regards,
>>>>> Supreeth
>>>>>
>>>>>
>>>>> On Thu, 14 May 2020 at 13:34, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi Supreeth,
>>>>>>
>>>>>> I have kamailio ims installed in 4 vms inside openstack.
>>>>>>
>>>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>>>> 10.40.10.12 - icscf in port 4070
>>>>>> 10.40.10.5 - scscf in port 4080
>>>>>> 10.40.10.30 - hss
>>>>>>
>>>>>> so all these vms are running in same subnet.
>>>>>> I have a floating ip associated to pcscf.
>>>>>> Now I have two zoiper clients outside openstack
>>>>>> zoiper1 - 10.0.2.15 (NAT Enabled Network adaptor)
>>>>>> zoiper2 - 10.0.2.15
>>>>>>
>>>>>> when i am making a call from zoiper1 to zoiper2, call is going
>>>>>> properly . SIP messages are coming properly in wireshark packets.
>>>>>> when i filter for RTP packets in wireshark,  it is not coming.
>>>>>>
>>>>>>
>>>>>> when i have the zoiper clients inside openstack itself ,i can able to
>>>>>> see RTP Packets in wireshark between two sip clients without any NAT
>>>>>> related configurations done.
>>>>>>
>>>>>> Kindly help me.
>>>>>> Thanks.
>>>>>>
>>>>>> On Thu, May 14, 2020 at 4:49 PM supreeth herle <
>>>>>> herlesupre...@gmail.com> wrote:
>>>>>>
>>>>>>> Can you explain some more when you mean by "RTP alone is not
>>>>>>> coming."? And, how are you checking/verifying that?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Supreeth
>>>>>>>
>>>>>>> On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja <
>>>>>>> pavimohan3...@gmail.com>

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi ,
I have attached working rtp pcap file. But it is getting reverted back to
me .

As you said , i have tried restarting rtpproxy several times. but it didnt
work .



On Thu, May 14, 2020 at 7:11 PM supreeth herle 
wrote:

> Thanks for the pcap. Sorry, to ask this but can you also send pcap of
> scenario where you see RTP packets?
>
> Also, did you restart the rtpproxy after altering the
> /etc/default/rtpproxy ?
>
> i.e.
>
> $ systemctl restart rtpproxy
>
> Best Regards,
> Supreeth
>
> On Thu, 14 May 2020 at 14:51, Pavithra Mohanraja 
> wrote:
>
>> Hi Supreeth,
>> I have attached pcap files . kindly check and let me know.
>> filter of rtp packets and check.
>>
>> *filter : sip || rtp*
>>
>>
>> On Thu, May 14, 2020 at 5:15 PM supreeth herle 
>> wrote:
>>
>>> Hi Pavithra,
>>>
>>> Thanks for the clarification. Can you please attach a pcap of the call
>>> where you are not seeing the RTP packets? And, btw is the call getting
>>> dropped or something in that scenario?
>>>
>>> Regards,
>>> Supreeth
>>>
>>>
>>> On Thu, 14 May 2020 at 13:34, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi Supreeth,
>>>>
>>>> I have kamailio ims installed in 4 vms inside openstack.
>>>>
>>>> 10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
>>>> (!#define WITH_NAT) and configured rtpproxy)
>>>> 10.40.10.12 - icscf in port 4070
>>>> 10.40.10.5 - scscf in port 4080
>>>> 10.40.10.30 - hss
>>>>
>>>> so all these vms are running in same subnet.
>>>> I have a floating ip associated to pcscf.
>>>> Now I have two zoiper clients outside openstack
>>>> zoiper1 - 10.0.2.15 (NAT Enabled Network adaptor)
>>>> zoiper2 - 10.0.2.15
>>>>
>>>> when i am making a call from zoiper1 to zoiper2, call is going properly
>>>> . SIP messages are coming properly in wireshark packets.
>>>> when i filter for RTP packets in wireshark,  it is not coming.
>>>>
>>>>
>>>> when i have the zoiper clients inside openstack itself ,i can able to
>>>> see RTP Packets in wireshark between two sip clients without any NAT
>>>> related configurations done.
>>>>
>>>> Kindly help me.
>>>> Thanks.
>>>>
>>>> On Thu, May 14, 2020 at 4:49 PM supreeth herle 
>>>> wrote:
>>>>
>>>>> Can you explain some more when you mean by "RTP alone is not coming."?
>>>>> And, how are you checking/verifying that?
>>>>>
>>>>> Regards,
>>>>> Supreeth
>>>>>
>>>>> On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja <
>>>>> pavimohan3...@gmail.com> wrote:
>>>>>
>>>>>> Hi ,
>>>>>>
>>>>>> Yes I have configured as you mentioned only . In my pcscf only i have
>>>>>> rtpproxy also configured.
>>>>>> Floating IP i have given in listen address also as
>>>>>> listen = 10.40.10.3:4060 advertise 10.45.4.22:4060
>>>>>>
>>>>>> 10.40.10.3 - private ip
>>>>>> 10.45.4.22 - floating ip
>>>>>> Still RTP alone is not coming.
>>>>>>
>>>>>> Is it the only way of configuring NAT ?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Thu, May 14, 2020 at 4:37 PM supreeth herle <
>>>>>> herlesupre...@gmail.com> wrote:
>>>>>>
>>>>>>> Hello Pavithra,
>>>>>>>
>>>>>>> Have you tried advertising the floating IP of the VM running
>>>>>>> RTPProxy as follows?
>>>>>>>
>>>>>>> Edit /etc/default/rtpproxy file as follows:
>>>>>>>
>>>>>>> # Additional options that are passed to the daemon.
>>>>>>> EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"
>>>>>>>
>>>>>>> here, "-l "
>>>>>>>
>>>>>>> Hope it helps.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Supreeth
>>>>>>>
>>>>>>> On Thu, 14 May 2020 at

Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi Supreeth,

I have kamailio ims installed in 4 vms inside openstack.

10.40.10.3 - pcscf in port 4060 (pcscf with NAT enabled in pcscf.cfg
(!#define WITH_NAT) and configured rtpproxy)
10.40.10.12 - icscf in port 4070
10.40.10.5 - scscf in port 4080
10.40.10.30 - hss

so all these vms are running in same subnet.
I have a floating ip associated to pcscf.
Now I have two zoiper clients outside openstack
zoiper1 - 10.0.2.15 (NAT Enabled Network adaptor)
zoiper2 - 10.0.2.15

when i am making a call from zoiper1 to zoiper2, call is going properly .
SIP messages are coming properly in wireshark packets.
when i filter for RTP packets in wireshark,  it is not coming.


when i have the zoiper clients inside openstack itself ,i can able to see
RTP Packets in wireshark between two sip clients without any NAT related
configurations done.

Kindly help me.
Thanks.

On Thu, May 14, 2020 at 4:49 PM supreeth herle 
wrote:

> Can you explain some more when you mean by "RTP alone is not coming."?
> And, how are you checking/verifying that?
>
> Regards,
> Supreeth
>
> On Thu, 14 May 2020 at 13:12, Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>>
>> Yes I have configured as you mentioned only . In my pcscf only i have
>> rtpproxy also configured.
>> Floating IP i have given in listen address also as
>> listen = 10.40.10.3:4060 advertise 10.45.4.22:4060
>>
>> 10.40.10.3 - private ip
>> 10.45.4.22 - floating ip
>> Still RTP alone is not coming.
>>
>> Is it the only way of configuring NAT ?
>>
>> Thanks.
>>
>> On Thu, May 14, 2020 at 4:37 PM supreeth herle 
>> wrote:
>>
>>> Hello Pavithra,
>>>
>>> Have you tried advertising the floating IP of the VM running RTPProxy as
>>> follows?
>>>
>>> Edit /etc/default/rtpproxy file as follows:
>>>
>>> # Additional options that are passed to the daemon.
>>> EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"
>>>
>>> here, "-l "
>>>
>>> Hope it helps.
>>>
>>> Regards,
>>> Supreeth
>>>
>>> On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja <
>>> pavimohan3...@gmail.com> wrote:
>>>
>>>> Hi ,
>>>>
>>>> Could anybody please give me the approach how to configure NAT in
>>>> kamailio IMS.
>>>>
>>>> I have installed kamailio IMS in openstack environment which has
>>>> private ips for all four vms (each component in one vm). pcscf has one
>>>> floating IP attached. I have enabled "WITH_NAT" and configured rtpproxy .
>>>>
>>>> when i make a call from outside of openstack using 2 zoiper clients
>>>> with outbound proxy keeping floating ip of pcscf, I am getting 200 ok with
>>>> all SIP packets correctly flowing but there is no RTP Packet.
>>>>
>>>> When i try the same within openstack environment without using public
>>>> ip, I am getting RTP Packets.
>>>>
>>>> Kindly tell me the procedure of NAT Enablement or do i need to do
>>>> anything other than this.
>>>>
>>>> Kindly help because i am stuck with this for long time.
>>>>
>>>>
>>>> Thanks.
>>>> ___
>>>> Kamailio (SER) - Users Mailing List
>>>> sr-users@lists.kamailio.org
>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi ,

Yes I have configured as you mentioned only . In my pcscf only i have
rtpproxy also configured.
Floating IP i have given in listen address also as
listen = 10.40.10.3:4060 advertise 10.45.4.22:4060

10.40.10.3 - private ip
10.45.4.22 - floating ip
Still RTP alone is not coming.

Is it the only way of configuring NAT ?

Thanks.

On Thu, May 14, 2020 at 4:37 PM supreeth herle 
wrote:

> Hello Pavithra,
>
> Have you tried advertising the floating IP of the VM running RTPProxy as
> follows?
>
> Edit /etc/default/rtpproxy file as follows:
>
> # Additional options that are passed to the daemon.
> EXTRA_OPTS="-l 172.24.15.30 -d DBUG:LOG_LOCAL0"
>
> here, "-l "
>
> Hope it helps.
>
> Regards,
> Supreeth
>
> On Thu, 14 May 2020 at 13:01, Pavithra Mohanraja 
> wrote:
>
>> Hi ,
>>
>> Could anybody please give me the approach how to configure NAT in
>> kamailio IMS.
>>
>> I have installed kamailio IMS in openstack environment which has private
>> ips for all four vms (each component in one vm). pcscf has one floating IP
>> attached. I have enabled "WITH_NAT" and configured rtpproxy .
>>
>> when i make a call from outside of openstack using 2 zoiper clients with
>> outbound proxy keeping floating ip of pcscf, I am getting 200 ok with all
>> SIP packets correctly flowing but there is no RTP Packet.
>>
>> When i try the same within openstack environment without using public ip,
>> I am getting RTP Packets.
>>
>> Kindly tell me the procedure of NAT Enablement or do i need to do
>> anything other than this.
>>
>> Kindly help because i am stuck with this for long time.
>>
>>
>> Thanks.
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio-5.3.3. NAT and RTP not working

2020-05-14 Thread Pavithra Mohanraja
Hi ,

Could anybody please give me the approach how to configure NAT in kamailio
IMS.

I have installed kamailio IMS in openstack environment which has private
ips for all four vms (each component in one vm). pcscf has one floating IP
attached. I have enabled "WITH_NAT" and configured rtpproxy .

when i make a call from outside of openstack using 2 zoiper clients with
outbound proxy keeping floating ip of pcscf, I am getting 200 ok with all
SIP packets correctly flowing but there is no RTP Packet.

When i try the same within openstack environment without using public ip, I
am getting RTP Packets.

Kindly tell me the procedure of NAT Enablement or do i need to do anything
other than this.

Kindly help because i am stuck with this for long time.


Thanks.
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users