Re: [SR-Users] Kazoo module json library kamailio 4.4.1

2017-07-04 Thread Grant Bagdasarian
Hi,

I've managed to get it compiled.
The server was missing pkg-config. After installing this the Makefile could 
make the correct decisions and find the json.h module.

Regards,

Grant

From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Grant 
Bagdasarian
Sent: dinsdag 4 juli 2017 16:30
To: Kamailio (SER) - Users Mailing List ; 
mico...@gmail.com
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

Hi community,

I still can't seem to build Kamailio 4.4.4 with the kazoo module.

https://github.com/json-c/json-c
I've also manually compiled this project but still no luck.
In the documentation of this project it mentions linking it to libjson-c but I 
couldn't find these script lines in the kazoo Makefile.

Has anyone every compiled Kamailio 4.4.4. with the kazoo module?

Regards,

Grant

From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Grant 
Bagdasarian
Sent: donderdag 15 juni 2017 09:24
To: Kamailio (SER) - Users Mailing List 
>; 
mico...@gmail.com
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1

Hi Daniel and Luis,

I've installed the json-c library, but it still isn't able to compile the kazoo 
module.

#locate json.h
/usr/include/json-c/json.h
/usr/local/src/kamailio-4.3/kamailio/lib/srutils/srjson.h
/usr/local/src/kamailio-4.3/kamailio/modules/kazoo/kz_json.h
/usr/local/src/kamailio-4.4/kamailio/lib/srutils/srjson.h
/usr/local/src/kamailio-4.4/kamailio/modules/cfgt/cfgt_json.h
/usr/local/src/kamailio-4.4/kamailio/modules/debugger/debugger_json.h
/usr/local/src/kamailio-4.4/kamailio/modules/kazoo/kz_json.h
/usr/local/src/kamailio-4.4.1/kamailio/lib/srutils/srjson.h
/usr/local/src/kamailio-4.4.1/kamailio/modules/cfgt/cfgt_json.h
/usr/local/src/kamailio-4.4.1/kamailio/modules/debugger/debugger_json.h
/usr/local/src/kamailio-4.4.1/kamailio/modules/kazoo/kz_json.h

Any ideas? Perhaps the wrong location?

Regards,

Grant

From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Luis 
Azedo
Sent: woensdag 14 juni 2017 11:19
To: Kamailio (SER) - Users Mailing List 
>; 
mico...@gmail.com
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1


Hi,



Daniel is correct (as usual).



Best


From: sr-users 
>
 on behalf of Daniel-Constantin Mierla 
>
Sent: Wednesday, June 14, 2017 9:49:46 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kazoo module json library kamailio 4.4.1


Hello,

from the include header file name, it seems to be json-c project. But maybe 
someone more familiar with the module can confirm better.

Cheers,
Daniel

On 13.06.17 09:57, Grant Bagdasarian wrote:
Hi,

Could someone please tell me which json library I have to install in order for 
the kazoo module to compile?
I've tried many different json library, none of them work.
It keeps complaining:

make all
CC (gcc) [M kazoo.so]   kz_trans.o
In file included from kz_trans.c:53:0:
kz_json.h:12:18: fatal error: json.h: No such file or directory
#include 
  ^
compilation terminated.
../../Makefile.rules:97: recipe for target 'kz_trans.o' failed
make[1]: *** [kz_trans.o] Error 1
Makefile:511: recipe for target 'modules' failed
make: *** [modules] Error 1

There is another thread regarding this same issue, but no solution was provided 
by the creator of the thread.
Any ideas?

Regards,

Grant


___

Kamailio (SER) - Users Mailing List

sr-users@lists.kamailio.org

https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


--

Daniel-Constantin Mierla

www.twitter.com/miconda -- 
www.linkedin.com/in/miconda

Kamailio Advanced Training - www.asipto.com

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] kamailio LTE HSS

2017-07-04 Thread Carsten Bock
Hi,

there is no such functionality in Kamailio yet (and at least from my
side currently not on the roadmap).

You can do a lot with Diameter in Kamailio today, so it is possible to
implement a full LTE HSS on top of it (see my presentation at
KamailioWorld: https://www.youtube.com/watch?v=fVxqHpKymP8).
But I'm not aware of anyone started to build one.

Thanks,
Carsten

2017-07-04 10:12 GMT+02:00 Ibrahim Almahi :
> Dear Expert Fellows,
> Good Day,
>
> I'm wonder whether kamailio developed an open source based LTE HSS handles
> both IMS and LTE procedures "LTE Attach, Location Update, Authentication,
> ".
>
> If it's not yet developed, is there any plan for it in the near future.
>
> Thanks and have a nice day.
>
> Ibrahim Almahi
> 966594996362
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>



-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Millerntorplatz 1
20359 Hamburg / Germany

http://www.ng-voice.com
mailto:cars...@ng-voice.com

Office +49 40 5247593-40
Fax +49 40 5247593-99

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/

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


Re: [SR-Users] sr-users Digest, Vol 146, Issue 2

2017-07-04 Thread Narayan P
Hi Daniel/Sebastian,


Thanks for the information.I have disabled digest mode now.

I have installed rtpengine but don't know from which part rtpengine and 
rtpproxy functions needs to be called from.


my client is getting 183 from kamailio(ipv6 address) ,inside c= line ip6 
address is there.So that client is  canceling as it is on ipv4 network and 
giving error 488.


My architecture is like this,
external ipv4 network(port 5060)--rtpproxy(ipv4)--kamailio(ipv6)(port 
5070)--client(ipv4)(port 5077)


I have also attached the wireshark capture before.

Any suggestion will be highly appreciated.


Thanks,

Narayan



From: Daniel-Constantin Mierla 
Sent: Tuesday, July 4, 2017 11:18:01 AM
To: Kamailio (SER) - Users Mailing List; Narayan P; Sebastian Damm
Subject: Re: [SR-Users] sr-users Digest, Vol 146, Issue 2


Hello,


if you want to participate on a discussion, consider to disable receiving daily 
digests, because replying to it is not keeping the relation to the original 
discussion -- it is hard to figure out to which discussion you replied, and by 
that, very likely nobody will follow up with a response.


At least, if replying to a digest summary, don't keep the entire content of the 
message, remove the irrelevant parts. This also makes the size of the email 
smaller, which is very useful when reading on mobile devices.


Cheers,
Daniel

On 03.07.17 17:49, Narayan P wrote:

Hi Sebastian,


Thanks for your reply.


Today I am trying to install rtpengine as suggested by you.Could you please 
tell me from which part of the script I need to add  rtpengine functions as my 
client is getting 183 from kamailio as of now.


My architecture is like this,

external ipv4 network(port 5060)--rtpproxy(ipv4)--kamailio(ipv6)(port 
5070)--client(ipv4)(port 5077)


Please look at the attached wireshark capture.


Highly appreciate any suggestion as always.


Thanks,

Narayan

[...]

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

miconda (@miconda) | Twitter
www.twitter.com
The latest Tweets from miconda (@miconda). Co-founder and leader of Kamailio 
SIP Server project (former OpenSER). C Dev. Open Source RTC advocate. SIP, 
VoIP, VoLTE and WebRTC consultancy at Asipto. Berlin, Germany

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


Re: [SR-Users] SUBSCRIBE not work with public ip kamailio

2017-07-04 Thread Nguyen Tran Nhan
I used pjsip in client side to send NOTIFY when user change status
(presence), another user already SUBSCRIBE to this user should receive
NOTIFY message from kamailio but it did not. I still dont understand why
comment out alias line effect to this issue. Any advise?

Thanks,
Nhan

On Tue, Jul 4, 2017 at 6:52 PM, Daniel-Constantin Mierla 
wrote:

> Which party/application sends the NOTIFY?
>
> The alias is typically the sip domain, so there should be some
> misconfiguration in another place.
>
> Daniel
>
> On 04.07.17 13:34, Nguyen Tran Nhan wrote:
>
> I figured out that when I add alias=mydomain.com than kamailio did not
> send notify when uac send public message. I comment out alias line in cfg
> file than it works.
>
> Thanks,
> Nhan
>
>
> On Tue, Jul 4, 2017 at 6:28 PM, Daniel-Constantin Mierla <
> mico...@gmail.com> wrote:
>
>> Hello,
>>
>>
>> On 16.06.17 04:35, Nguyen Tran Nhan wrote:
>> > Hello,
>> > I am using Kamailio with SEMS and rtpproxy for public ip address. I
>> > got issue that SUBSCRIBE message does not work. SUBSCRIBE works well
>> > with private ip address. Anyone face with this issue?
>> what do you mean by "SUBSCRIBE message does not work"? Is not received
>> by Kamailio? Or is not routed as expected? Try to describe in more
>> details what it happens and what you expect to happen in order to be
>> able to help.
>>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - www.asipto.com
>> Kamailio World Conference - www.kamailioworld.com
>>
>>
>
> --
> Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - www.asipto.com
> 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] SUBSCRIBE not work with public ip kamailio

2017-07-04 Thread Nguyen Tran Nhan
I figured out that when I add alias=mydomain.com than kamailio did not send
notify when uac send public message. I comment out alias line in cfg file
than it works.

Thanks,
Nhan


On Tue, Jul 4, 2017 at 6:28 PM, Daniel-Constantin Mierla 
wrote:

> Hello,
>
>
> On 16.06.17 04:35, Nguyen Tran Nhan wrote:
> > Hello,
> > I am using Kamailio with SEMS and rtpproxy for public ip address. I
> > got issue that SUBSCRIBE message does not work. SUBSCRIBE works well
> > with private ip address. Anyone face with this issue?
> what do you mean by "SUBSCRIBE message does not work"? Is not received
> by Kamailio? Or is not routed as expected? Try to describe in more
> details what it happens and what you expect to happen in order to be
> able to help.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio Advanced Training - www.asipto.com
> 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] missing request username on register

2017-07-04 Thread Daniel-Constantin Mierla
Having two Contact headers in a REGISTER request is also ok. Your issue
is not related to this, see my previous reply to your initial email.

Cheers,
Daniel


On 27.06.17 12:37, 赵国杰 wrote:
> I just found that when client register to server B, client will append
> another *Contact* header after *Authorization* header, which makes the
> REGISTER have 2 Contact headers. Not sure if it's relevant.
>
>
>
>
> --
> Guojie Zhao 
> 18664366579
>
> At 2017-06-27 18:05:40, "赵国杰"  wrote:
>
> Hello all,
>  I have two kamailio servers(A and B) with exact same config
> using the same mysql db. I can register to A but not B. Server B
> complained:
>  *ERROR: 

Re: [SR-Users] missing request username on register

2017-07-04 Thread Daniel-Constantin Mierla
Hello,

REGISTER requests are typically only with the address of the server in
request URI, no username there. So this if fine to have $rU being NULL.

No relaying means that From header and To header have URIs with domains
not belonging to local SIP server. Check alias and listen parameters.

Cheers,
Daniel

On 27.06.17 12:05, 赵国杰 wrote:
> Hello all,
>  I have two kamailio servers(A and B) with exact same config using
> the same mysql db. I can register to A but not B. Server B complained:
>  *ERROR: 

Re: [SR-Users] contact issue on kamailio with sipml/jssip over wss

2017-07-04 Thread Daniel-Constantin Mierla
Hello,

iirc, set_contact_alias() is not checking the source IP and contact address.

Cheers,
Daniel


On 29.06.17 02:24, David Villasmil wrote:
> Hello guys,
>
> Nevermind, i changed 
>
> add_contact_alias()
>
> for
>
> add_rcv_param()
>
> And kamailio seems happy now, still testing, though.
>
>
> thanks!
> ᐧ
>
> Regards,
>
> David Villasmil
> email: david.villasmil.w...@gmail.com
> 
> phone: +34669448337
>
> On Thu, Jun 29, 2017 at 2:06 AM, David Villasmil
>  > wrote:
>
> Hello guys,
>
> So i've setup kamailio 5 with wss. Registration goes ok, but when
> trying to call, SIPML as well as jsSIP send garbage as Contact
> header, something like:
>
> Contact:
> 
> ;reg-id=1;+sip.instance="";expires=600
>
> so when it passes through:
>
> if (is_method("REGISTER")) {
> fix_nated_register();
> } else {
> if (!add_contact_alias()) {
> xlog("L_ERR", "Error aliasing contact <$ct>\n");
> sl_send_reply("400", "Bad Request");
> exit;
> }
> }
>
> (taken from several examples i've found around)
>
> add_contact_alias() fails because it tries to find whether the ip
> address in the contact header is different from the received ip,
> and if not, it adds the received ip as a parameter... so the call
> doesn't work...
>
> I assume there's a way around this, can anyone help?
>
>
> 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

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
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] sr-users Digest, Vol 146, Issue 2

2017-07-04 Thread Daniel-Constantin Mierla
Hello,


if you want to participate on a discussion, consider to disable
receiving daily digests, because replying to it is not keeping the
relation to the original discussion -- it is hard to figure out to which
discussion you replied, and by that, very likely nobody will follow up
with a response.


At least, if replying to a digest summary, don't keep the entire content
of the message, remove the irrelevant parts. This also makes the size of
the email smaller, which is very useful when reading on mobile devices.


Cheers,
Daniel


On 03.07.17 17:49, Narayan P wrote:
>
> Hi Sebastian,
>
>
> Thanks for your reply.
>
>
> Today I am trying to install rtpengine as suggested by you.Could you
> please tell me from which part of the script I need to add  rtpengine
> functions as my client is getting 183 from kamailio as of now.
>
>
> My architecture is like this,
>
> external ipv4 network(port
> 5060)--rtpproxy(ipv4)--kamailio(ipv6)(port
> 5070)--client(ipv4)(port 5077)
>
>
> Please look at the attached wireshark capture.
>
>
> Highly appreciate any suggestion as always.
>
>
> Thanks,
>
> Narayan
>
[...]

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
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] [sr-dev] deb nightly-builds not being built

2017-07-04 Thread Daniel-Constantin Mierla
Thanks for the notification, if there is something we can help with,
just say it!

Cheers,
Daniel


On 03.07.17 23:53, Victor Seva wrote:
> We are having some issues with our building infrastructure so packages
> are not being built. We are working on it, please be patient.
>
> Cheers,
> Victor
>
>
>
> ___
> Kamailio (SER) - Development Mailing List
> sr-...@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
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