Re: [SR-Users] Kamailio 5.0.X RPM packages/repo broken

2018-07-09 Thread Patrick Wakano
Thank you Sergey!!
Installation was successful now!!

Cheers!
Patrick Wakano

On 10 July 2018 at 14:24, Sergey Safarov  wrote:

> I was trigered rpm rebuild.
> Please check after 40 min.
>
> вт, 10 июля 2018 г., 6:57 Patrick Wakano :
>
>> Hello list,
>> Hope you all doing fine!
>>
>> I've been trying to install Kamailio packages from the opensuse repo (as
>> per https://www.kamailio.org/wiki/packages/rpms) but the installation is
>> failing with this message:
>> Downloading packages:
>> Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
>> kamailio-ims-5.0.7-1.el7.cento FAILED
>>
>> http://download.opensuse.org/repositories/home%3A/kamailio%
>> 3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-ims-5.0.7-1.el7.centos.x86_64.rpm:
>> [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable  --:--:-- ETA
>> Trying other mirror.
>> kamailio-5.0.7-1.el7.centos.x8 FAILED
>> 77% [-
>> ] 1.0 MB/s | 4.9 MB  00:00:01 ETA
>> http://download.opensuse.org/repositories/home%3A/kamailio%
>> 3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-5.0.7-1.el7.centos.x86_64.rpm:
>> [Errno -1] Package does not match intended download. Suggestion: run yum
>> --enablerepo=home_kamailio_v5.0.x-rpms clean metadata
>> Trying other mirror.
>>
>> I've successfully installed the 5.0.7 version on Friday (06/07) but I've
>> noticed the packages have changed last Saturday (07/07/2018) Given this
>> error message looks like the repository is broken somehow
>> Is anyone aware of such issue? I haven't tried the 5.1.X repo because my
>> script was not migrated to 5.1.X yet
>>
>> Thanks,
>> Kind regards,
>> Patrick Wakano
>> ___
>> 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.0.X RPM packages/repo broken

2018-07-09 Thread Sergey Safarov
I was trigered rpm rebuild.
Please check after 40 min.

вт, 10 июля 2018 г., 6:57 Patrick Wakano :

> Hello list,
> Hope you all doing fine!
>
> I've been trying to install Kamailio packages from the opensuse repo (as
> per https://www.kamailio.org/wiki/packages/rpms) but the installation is
> failing with this message:
> Downloading packages:
> Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
> kamailio-ims-5.0.7-1.el7.cento
> FAILED
>
> http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-ims-5.0.7-1.el7.centos.x86_64.rpm:
> [Errno 14] HTTP Error 416 - Requested Range Not Satisfiable  --:--:-- ETA
> Trying other mirror.
> kamailio-5.0.7-1.el7.centos.x8
> FAILED 77%
> [-
> ] 1.0 MB/s | 4.9 MB  00:00:01 ETA
>
> http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-5.0.7-1.el7.centos.x86_64.rpm:
> [Errno -1] Package does not match intended download. Suggestion: run yum
> --enablerepo=home_kamailio_v5.0.x-rpms clean metadata
> Trying other mirror.
>
> I've successfully installed the 5.0.7 version on Friday (06/07) but I've
> noticed the packages have changed last Saturday (07/07/2018) Given this
> error message looks like the repository is broken somehow
> Is anyone aware of such issue? I haven't tried the 5.1.X repo because my
> script was not migrated to 5.1.X yet
>
> Thanks,
> Kind regards,
> Patrick Wakano
> ___
> 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.0.X RPM packages/repo broken

2018-07-09 Thread Patrick Wakano
Hello list,
Hope you all doing fine!

I've been trying to install Kamailio packages from the opensuse repo (as
per https://www.kamailio.org/wiki/packages/rpms) but the installation is
failing with this message:
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
kamailio-ims-5.0.7-1.el7.cento
FAILED
http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-ims-5.0.7-1.el7.centos.x86_64.rpm:
[Errno 14] HTTP Error 416 - Requested Range Not Satisfiable  --:--:-- ETA
Trying other mirror.
kamailio-5.0.7-1.el7.centos.x8
FAILED 77%
[-
] 1.0 MB/s | 4.9 MB  00:00:01 ETA
http://download.opensuse.org/repositories/home%3A/kamailio%3A/v5.0.x-rpms/CentOS_7/x86_64/kamailio-5.0.7-1.el7.centos.x86_64.rpm:
[Errno -1] Package does not match intended download. Suggestion: run yum
--enablerepo=home_kamailio_v5.0.x-rpms clean metadata
Trying other mirror.

I've successfully installed the 5.0.7 version on Friday (06/07) but I've
noticed the packages have changed last Saturday (07/07/2018) Given this
error message looks like the repository is broken somehow
Is anyone aware of such issue? I haven't tried the 5.1.X repo because my
script was not migrated to 5.1.X yet

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


Re: [SR-Users] CPS

2018-07-09 Thread Sergiu Pojoga
Figured it out eventually, thanks for the tip Alex.

Cheers
--Sergiu

On Mon, Jul 9, 2018 at 4:14 PM Sergiu Pojoga  wrote:

> I have not until now that you recommended it, looks much simpler indeed,
> thanks.
>
> Although, so far I can't seem to hit a pipe limit. If I watch pl.stats, no
> matter what *timer_interval* I set, the counter increases to 1 upon a
> call then back to 0 the next second.
>
> root@proxy:/# watch -n 1 -d kamcmd pl.stats
> PIPE: id=65.39.XX.XX load=0 counter=0
>
> Say I wanted 1 call per minute pipe, what would be the 'timer_interval'
> and pl_check limit?
>
> On Mon, Jul 9, 2018 at 2:47 PM Alex Balashov 
> wrote:
>
>> Have you considered using pipelimit for this? It's as simple as:
>>
>>if(!pl_check("$avp(customer_id)", "TAILDROP", "$avp(cps_limit)")) {
>>pl_drop();
>>exit;
>>}
>>
>> There was a time when that wasn't possible because pipes couldn't easily
>> be created dynamically for a given customer ID or whatever, and htable
>> was the preferred vehicle for that. That has changed, and nowadays it's
>> a lot simpler. :-)
>>
>> -- Alex
>>
>> On Mon, Jul 09, 2018 at 02:41:44PM -0400, Sergiu Pojoga wrote:
>>
>> > Hi folks,
>> >
>> > Trying to implement CPS throttling based on this
>> > <
>> https://lists.kamailio.org/pipermail/sr-users/2013-September/079713.html
>> >article,
>> > having some trouble.
>> >
>> > modparam("htable", "htable", "rhs=>size=32;initval=0;autoexpire=300;"
>> > modparam("htable", "htable", "rhm=>size=32;initval=0;autoexpire=1800;")
>> >
>> > route[CPS] {
>> > $var(rateHashSec) = $si+":sec:"+$timef(%Y/%m/%d_%H_%M_%S);
>> > $var(rateHashMin) = $si+":min:"+$timef(%Y/%m/%d_%H_%M_00);
>> > xlog("L_INFO", "var(rateHashSec)=$var(rateHashSec);
>> > var(rateHashMin)=$var(rateHashMin)\n");
>> > $var(ratePerSec) = $shtinc(rhs=>$var(rateHashSec));
>> > $var(ratePerMin) = $shtinc(rhm=>$var(rateHashMin));
>> > xlog("L_INFO", "var(ratePerSec)=$var(ratePerSec);
>> > var(ratePerMin)=$var(ratePerMin)\n");
>> > $var(limitPerSec) = 1;
>> > $var(limitPerMin) = 1;
>> >
>> > if ($var(ratePerSec) > $var(limitPerSec) || $var(ratePerMin) >
>> > $var(limitPerMin)) {
>> > xlog("L_INFO", "CPS Limit on IP $si\n");
>> > send_reply("503", "CPS Limit on IP $si");
>> > exit;
>> > }
>> >
>> > }
>> >
>> > Logs show hashes are created but *$var(ratePerSec/Min)* won't increment
>> no
>> > matter how many calls I place per second or minute:
>> >
>> > Jul  9 14:35:52 proxy /usr/local/sbin/kamailio[1484]: INFO: 

Re: [SR-Users] CPS

2018-07-09 Thread Sergiu Pojoga
I have not until now that you recommended it, looks much simpler indeed,
thanks.

Although, so far I can't seem to hit a pipe limit. If I watch pl.stats, no
matter what *timer_interval* I set, the counter increases to 1 upon a call
then back to 0 the next second.

root@proxy:/# watch -n 1 -d kamcmd pl.stats
PIPE: id=65.39.XX.XX load=0 counter=0

Say I wanted 1 call per minute pipe, what would be the 'timer_interval' and
pl_check limit?

On Mon, Jul 9, 2018 at 2:47 PM Alex Balashov 
wrote:

> Have you considered using pipelimit for this? It's as simple as:
>
>if(!pl_check("$avp(customer_id)", "TAILDROP", "$avp(cps_limit)")) {
>pl_drop();
>exit;
>}
>
> There was a time when that wasn't possible because pipes couldn't easily
> be created dynamically for a given customer ID or whatever, and htable
> was the preferred vehicle for that. That has changed, and nowadays it's
> a lot simpler. :-)
>
> -- Alex
>
> On Mon, Jul 09, 2018 at 02:41:44PM -0400, Sergiu Pojoga wrote:
>
> > Hi folks,
> >
> > Trying to implement CPS throttling based on this
> > <
> https://lists.kamailio.org/pipermail/sr-users/2013-September/079713.html
> >article,
> > having some trouble.
> >
> > modparam("htable", "htable", "rhs=>size=32;initval=0;autoexpire=300;"
> > modparam("htable", "htable", "rhm=>size=32;initval=0;autoexpire=1800;")
> >
> > route[CPS] {
> > $var(rateHashSec) = $si+":sec:"+$timef(%Y/%m/%d_%H_%M_%S);
> > $var(rateHashMin) = $si+":min:"+$timef(%Y/%m/%d_%H_%M_00);
> > xlog("L_INFO", "var(rateHashSec)=$var(rateHashSec);
> > var(rateHashMin)=$var(rateHashMin)\n");
> > $var(ratePerSec) = $shtinc(rhs=>$var(rateHashSec));
> > $var(ratePerMin) = $shtinc(rhm=>$var(rateHashMin));
> > xlog("L_INFO", "var(ratePerSec)=$var(ratePerSec);
> > var(ratePerMin)=$var(ratePerMin)\n");
> > $var(limitPerSec) = 1;
> > $var(limitPerMin) = 1;
> >
> > if ($var(ratePerSec) > $var(limitPerSec) || $var(ratePerMin) >
> > $var(limitPerMin)) {
> > xlog("L_INFO", "CPS Limit on IP $si\n");
> > send_reply("503", "CPS Limit on IP $si");
> > exit;
> > }
> >
> > }
> >
> > Logs show hashes are created but *$var(ratePerSec/Min)* won't increment
> no
> > matter how many calls I place per second or minute:
> >
> > Jul  9 14:35:52 proxy /usr/local/sbin/kamailio[1484]: INFO: 

Re: [SR-Users] CPS

2018-07-09 Thread Alex Balashov
Have you considered using pipelimit for this? It's as simple as:

   if(!pl_check("$avp(customer_id)", "TAILDROP", "$avp(cps_limit)")) {
   pl_drop();
   exit;
   }

There was a time when that wasn't possible because pipes couldn't easily
be created dynamically for a given customer ID or whatever, and htable
was the preferred vehicle for that. That has changed, and nowadays it's
a lot simpler. :-)

-- Alex

On Mon, Jul 09, 2018 at 02:41:44PM -0400, Sergiu Pojoga wrote:

> Hi folks,
> 
> Trying to implement CPS throttling based on this
> article,
> having some trouble.
> 
> modparam("htable", "htable", "rhs=>size=32;initval=0;autoexpire=300;"
> modparam("htable", "htable", "rhm=>size=32;initval=0;autoexpire=1800;")
> 
> route[CPS] {
> $var(rateHashSec) = $si+":sec:"+$timef(%Y/%m/%d_%H_%M_%S);
> $var(rateHashMin) = $si+":min:"+$timef(%Y/%m/%d_%H_%M_00);
> xlog("L_INFO", "var(rateHashSec)=$var(rateHashSec);
> var(rateHashMin)=$var(rateHashMin)\n");
> $var(ratePerSec) = $shtinc(rhs=>$var(rateHashSec));
> $var(ratePerMin) = $shtinc(rhm=>$var(rateHashMin));
> xlog("L_INFO", "var(ratePerSec)=$var(ratePerSec);
> var(ratePerMin)=$var(ratePerMin)\n");
> $var(limitPerSec) = 1;
> $var(limitPerMin) = 1;
> 
> if ($var(ratePerSec) > $var(limitPerSec) || $var(ratePerMin) >
> $var(limitPerMin)) {
> xlog("L_INFO", "CPS Limit on IP $si\n");
> send_reply("503", "CPS Limit on IP $si");
> exit;
> }
> 
> }
> 
> Logs show hashes are created but *$var(ratePerSec/Min)* won't increment no
> matter how many calls I place per second or minute:
> 
> Jul  9 14:35:52 proxy /usr/local/sbin/kamailio[1484]: INFO: 

[SR-Users] CPS

2018-07-09 Thread Sergiu Pojoga
Hi folks,

Trying to implement CPS throttling based on this
article,
having some trouble.

modparam("htable", "htable", "rhs=>size=32;initval=0;autoexpire=300;"
modparam("htable", "htable", "rhm=>size=32;initval=0;autoexpire=1800;")

route[CPS] {
$var(rateHashSec) = $si+":sec:"+$timef(%Y/%m/%d_%H_%M_%S);
$var(rateHashMin) = $si+":min:"+$timef(%Y/%m/%d_%H_%M_00);
xlog("L_INFO", "var(rateHashSec)=$var(rateHashSec);
var(rateHashMin)=$var(rateHashMin)\n");
$var(ratePerSec) = $shtinc(rhs=>$var(rateHashSec));
$var(ratePerMin) = $shtinc(rhm=>$var(rateHashMin));
xlog("L_INFO", "var(ratePerSec)=$var(ratePerSec);
var(ratePerMin)=$var(ratePerMin)\n");
$var(limitPerSec) = 1;
$var(limitPerMin) = 1;

if ($var(ratePerSec) > $var(limitPerSec) || $var(ratePerMin) >
$var(limitPerMin)) {
xlog("L_INFO", "CPS Limit on IP $si\n");
send_reply("503", "CPS Limit on IP $si");
exit;
}

}

Logs show hashes are created but *$var(ratePerSec/Min)* won't increment no
matter how many calls I place per second or minute:

Jul  9 14:35:52 proxy /usr/local/sbin/kamailio[1484]: INFO: 

[SR-Users] Communication between Kamailio Proxy and Registrar Server

2018-07-09 Thread amit Kumar
Hi All,

As per our requirement, we want to configure one Kamailio as a " Kamailio
PROXY" and 2nd Kamailio  as a  " Kamailio  REGISTRAR". Whenever any INVITE
request come at " Kamailio PROXY"  we want to get the UA information from "
Kamailio  REGISTRAR " and send INVITE to particular UA. Could you please
let us know how achieve this.

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


Re: [SR-Users] Delay in 100 Trying response for INVITE when the load is 70 INVITE's per sec

2018-07-09 Thread Daniel-Constantin Mierla
Hello,

just as hint to troubleshoot which actions take too long to execute, see
benchmark module as well as *latency* related core parameters.

Cheers,
Daniel

On 09.07.18 14:03, Federico Cabiddu wrote:
> Hi,
> Kamailio doesn't delay sending of 100 trying after calling t_relay(). 
> You probably have something blocking in your script: a SQL operation,
> a Http query or some long operation. Check your routing script for the
> presence of such operations.
>
> Regards, 
>
> Federico 
>
> On Mon, 9 Jul 2018, 13:51 vi...@advaitamtech.com
> ,  > wrote:
>
>  
>
> Hi All,
>
>  
>
>  
>
>  
>
> When we are using the kamailio to handle around 70 INVITE's per
> second, kamailio is sending 100 Trying with the delay of around
> 3-4sec for few INVITE's.
>
>  
>
>  
>
>  
>
> How can I reduce the delay in 100 Trying?
>
>  
>
>  
>
>  
>
> Also, I tried increasing the number of threads for SIP routing
> processes. This doesnt seem to help.
>
>  
>
>  
>
>  
>
> Also tried "modparam("tm", "auto_inv_100", 0)" . This is not working.
>
>  
>
>  
>
>  
>
> Please help.
>
>  
>
>  
>
>  
>
> Thank you,
>
>  
>
> Vivek.
>
>  
>
> ___
> 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

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com

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


Re: [SR-Users] Delay in 100 Trying response for INVITE when the load is 70 INVITE's per sec

2018-07-09 Thread Federico Cabiddu
Hi,
Kamailio doesn't delay sending of 100 trying after calling t_relay().
You probably have something blocking in your script: a SQL operation, a
Http query or some long operation. Check your routing script for the
presence of such operations.

Regards,

Federico

On Mon, 9 Jul 2018, 13:51 vi...@advaitamtech.com, 
wrote:

>
>
> Hi All,
>
>
>
>
>
>
>
> When we are using the kamailio to handle around 70 INVITE's per second,
> kamailio is sending 100 Trying with the delay of around 3-4sec for few
> INVITE's.
>
>
>
>
>
>
>
> How can I reduce the delay in 100 Trying?
>
>
>
>
>
>
>
> Also, I tried increasing the number of threads for SIP routing processes.
> This doesnt seem to help.
>
>
>
>
>
>
>
> Also tried "modparam("tm", "auto_inv_100", 0)" . This is not working.
>
>
>
>
>
>
>
> Please help.
>
>
>
>
>
>
>
> Thank you,
>
>
>
> Vivek.
>
>
> ___
> 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] Delay in 100 Trying response for INVITE when the load is 70 INVITE's per sec

2018-07-09 Thread vi...@advaitamtech.com

 
Hi All,
 
 
 
When we are using the kamailio to handle around 70 INVITE's per second, 
kamailio is sending 100 Trying with the delay of around 3-4sec for few INVITE's.
 
 
 
How can I reduce the delay in 100 Trying?
 
 
 
Also, I tried increasing the number of threads for SIP routing processes. This 
doesnt seem to help.
 
 
 
Also tried "modparam("tm", "auto_inv_100", 0)" . This is not working.
 
 
 
Please help.
 
 
 
Thank you,
 
Vivek.
 ___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RTPEngine-Recording-daemon

2018-07-09 Thread Mojtaba
I underestand your meaning.
Thank you.

On Mon, Jul 9, 2018 at 1:54 PM, Pawel Kuzak  wrote:
> Hi,
>
> You can. For every new call a new connection is established using the UNIX
> socket. So different connections means different calls.
>
> Regards,
> Paul
>
>
>
> Am 09.07.2018 um 10:43 schrieb Mojtaba:
>>
>> Hello,
>> In RTPEngine recording-daemon, I enabled "forward-to" option to
>> unix_socket. All things work right, I got metadata at first, then
>> media packets (RTP-UDP-IP).
>> The metadata for each calls is received just at first packet, but i
>> want to know, if i have more than one concurrent active call in
>> RTPEngine, How can i distinct which media packet was from which call?
>> Thanks with Regards.
>> --Mojtaba Esfandiari.S
>>
>> ___
>> 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



-- 
--Mojtaba Esfandiari.S

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


Re: [SR-Users] RTPEngine-Recording-daemon

2018-07-09 Thread Pawel Kuzak

Hi,

You can. For every new call a new connection is established using the 
UNIX socket. So different connections means different calls.


Regards,
Paul


Am 09.07.2018 um 10:43 schrieb Mojtaba:

Hello,
In RTPEngine recording-daemon, I enabled "forward-to" option to
unix_socket. All things work right, I got metadata at first, then
media packets (RTP-UDP-IP).
The metadata for each calls is received just at first packet, but i
want to know, if i have more than one concurrent active call in
RTPEngine, How can i distinct which media packet was from which call?
Thanks with Regards.
--Mojtaba Esfandiari.S

___
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] ul.add | path & socket not correctly set

2018-07-09 Thread Daniel-Constantin Mierla
Hello,

few things for your version 5.0.x:

  - rpc ul.add command doesn't have the last two parameters: received
and socket -- those were added in 5.1 -- so socket is not going to be
set no matter parameter you give

  - path parameter was expecting "0" (s:0) in order not to set it -- for
coherence I pushed a patch to skip setting it if '.'  is given

However, if you want to set one of the last two parameters, you have to
upgrade to 5.1.

Cheers,
Daniel

On 09.07.18 10:37, Daniel-Constantin Mierla wrote:
>
> Hello,
>
> I will check it -- reminders are good, somehow first message was not
> noticed...
>
> Cheers,
> Daniel
>
>
> On 08.07.18 13:15, Laurent Schweizer wrote:
>>
>> Dear all,
>>
>>  
>>
>> Any idea how to solve it ?
>>
>>  
>>
>> BR
>>
>>  
>>
>> Laurent
>>
>>  
>>
>> *De :*sr-users [mailto:sr-users-boun...@lists.kamailio.org] *De la
>> part de* Laurent Schweizer
>> *Envoyé :* lundi, 25 juin 2018 22:13
>> *À :* Kamailio (SER) - Users Mailing List 
>> *Objet :* [SR-Users] ul.add | path & socket not correctly set
>>
>>  
>>
>> Dear all,
>>
>>  
>>
>> I have kamailio 5.0.6 and I have an issue to add permanent location
>>
>>  
>>
>> When I add a location with :
>>
>> kamcmd ul.add location_ch d...@peoplefone.ch
>>  sip: demo@95.128.80.122:5060
>>  0 0.0 . 0 128 6111 .
>> udp:95.128.80.3:5060
>>
>>  
>>
>> then I get the following insertion:
>>
>> kamcmd ul.lookup location_ch demo@
>>
>> {
>>
>>     AoR: demo
>>
>>     Contacts: {
>>
>>     Contact: {
>>
>>     Address: sip:demo@95.128.80.122:5060
>> 
>>
>>     Expires: permanent
>>
>>     Q: 0.00
>>
>>     Call-ID: dfjrewr12386fd6-...@kamailio.mi
>> 
>>
>>     CSeq: 1
>>
>>     User-Agent: SIP Router MI Server
>>
>>     Received: [not set]
>>
>>     Path: .
>>
>>     State: CS_SYNC
>>
>>     Flags: 0
>>
>>     CFlags: 128
>>
>>     Socket: [not set]
>>
>>     Methods: 6111
>>
>>     Ruid: ulcx-5b243cb5-67c6-31
>>
>>     Instance: [not set]
>>
>>     Reg-Id: 0
>>
>>     Server-Id: 0
>>
>>     Tcpconn-Id: 0
>>
>>     Keepalive: 0
>>
>>     Last-Keepalive: 0
>>
>>     Last-Modified: 0
>>
>>     }
>>
>>     }
>>
>>  
>>
>>  
>>
>> As you can see the Path value is set to “.” But it must be set to
>> [not set]
>>
>> The Socket is also not set.
>>
>>  
>>
>> Any idea ?
>>
>>  
>>
>> BR
>>
>>  
>>
>> Laurent
>>
>>
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> -- 
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference -- www.kamailioworld.com

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com

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


[SR-Users] RTPEngine-Recording-daemon

2018-07-09 Thread Mojtaba
Hello,
In RTPEngine recording-daemon, I enabled "forward-to" option to
unix_socket. All things work right, I got metadata at first, then
media packets (RTP-UDP-IP).
The metadata for each calls is received just at first packet, but i
want to know, if i have more than one concurrent active call in
RTPEngine, How can i distinct which media packet was from which call?
Thanks with Regards.
--Mojtaba Esfandiari.S

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


Re: [SR-Users] ul.add | path & socket not correctly set

2018-07-09 Thread Daniel-Constantin Mierla
Hello,

I will check it -- reminders are good, somehow first message was not
noticed...

Cheers,
Daniel


On 08.07.18 13:15, Laurent Schweizer wrote:
>
> Dear all,
>
>  
>
> Any idea how to solve it ?
>
>  
>
> BR
>
>  
>
> Laurent
>
>  
>
> *De :*sr-users [mailto:sr-users-boun...@lists.kamailio.org] *De la
> part de* Laurent Schweizer
> *Envoyé :* lundi, 25 juin 2018 22:13
> *À :* Kamailio (SER) - Users Mailing List 
> *Objet :* [SR-Users] ul.add | path & socket not correctly set
>
>  
>
> Dear all,
>
>  
>
> I have kamailio 5.0.6 and I have an issue to add permanent location
>
>  
>
> When I add a location with :
>
> kamcmd ul.add location_ch d...@peoplefone.ch
>  sip: demo@95.128.80.122:5060
>  0 0.0 . 0 128 6111 . udp:95.128.80.3:5060
>
>  
>
> then I get the following insertion:
>
> kamcmd ul.lookup location_ch demo@
>
> {
>
>     AoR: demo
>
>     Contacts: {
>
>     Contact: {
>
>     Address: sip:demo@95.128.80.122:5060
> 
>
>     Expires: permanent
>
>     Q: 0.00
>
>     Call-ID: dfjrewr12386fd6-...@kamailio.mi
> 
>
>     CSeq: 1
>
>     User-Agent: SIP Router MI Server
>
>     Received: [not set]
>
>     Path: .
>
>     State: CS_SYNC
>
>     Flags: 0
>
>     CFlags: 128
>
>     Socket: [not set]
>
>     Methods: 6111
>
>     Ruid: ulcx-5b243cb5-67c6-31
>
>     Instance: [not set]
>
>     Reg-Id: 0
>
>     Server-Id: 0
>
>     Tcpconn-Id: 0
>
>     Keepalive: 0
>
>     Last-Keepalive: 0
>
>     Last-Modified: 0
>
>     }
>
>     }
>
>  
>
>  
>
> As you can see the Path value is set to “.” But it must be set to [not
> set]
>
> The Socket is also not set.
>
>  
>
> Any idea ?
>
>  
>
> BR
>
>  
>
> Laurent
>
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com

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