Re: [SR-Users] Source comparisons by DNS hostname

2017-10-30 Thread Alex Balashov
I think I found the answer in the ipops module. On Mon, Oct 30, 2017 at 11:32:40PM -0400, Alex Balashov wrote: > Hi, > > Is there a reasonable way, in Kamailio, to determine whether the source > of a given SIP message is equivalent to the IP address to which a given > DNS hostname resolves? > >

[SR-Users] Source comparisons by DNS hostname

2017-10-30 Thread Alex Balashov
Hi, Is there a reasonable way, in Kamailio, to determine whether the source of a given SIP message is equivalent to the IP address to which a given DNS hostname resolves? i.e. if(src_ip == 'fqdn.domain.xyz') but not src_ip, obviously. I can't find any core keywords that would seem to fit th

Re: [SR-Users] Reinvite/ACK race

2017-10-30 Thread Alex Balashov
On Mon, Oct 30, 2017 at 01:37:57PM -0400, Frank Carmickle wrote: > It’s not clear to me if the 2xx reply from B is a retransmit, and thus > the dialog isn’t actually established everywhere? As you know, the 2xx > to the reinvite should be coming from A and not B. Maybe you meant to > say A here?

Re: [SR-Users] Mutual TLS with Skype for Business 2015

2017-10-30 Thread Frank Carmickle
Francisco, Please share your s_client command and output that is connecting appropriately. --FC > On Oct 30, 2017, at 1:43 PM, Daniel-Constantin Mierla > wrote: > > Hello, > > > On 27.10.17 17:12, Francisco Valentin Vinagrero wrote: >> Hi all, >> >> I’m still stuck with this even if I bui

Re: [SR-Users] Mutual TLS with Skype for Business 2015

2017-10-30 Thread Daniel-Constantin Mierla
Hello, On 27.10.17 17:12, Francisco Valentin Vinagrero wrote: > > Hi all, > >   > > I’m still stuck with this even if I built a new VM to avoid any buggy > configuration. > >   > > Some thoughts on this: > >   > > 1.   I have tried to change verify_certificate = no on my server > section of t

Re: [SR-Users] Reinvite/ACK race

2017-10-30 Thread Frank Carmickle
Alex, > On Oct 30, 2017, at 1:20 PM, Alex Balashov wrote: > > Hi, > > I've got a scenario like so: > > UA A -> Kamailio P > UA B > > 1. UA A initiates call through Kamailio P; > > 2. Dialog is established and confirmed, with Record-Route; > > 3. UA B sends reinvite #1 through P to

[SR-Users] Reinvite/ACK race

2017-10-30 Thread Alex Balashov
Hi, I've got a scenario like so: UA A -> Kamailio P > UA B 1. UA A initiates call through Kamailio P; 2. Dialog is established and confirmed, with Record-Route; 3. UA B sends reinvite #1 through P to A; 4. UA B sends 2xx reply; 5. UA B sends end-to-end ACK for reinvite #1 and almo

Re: [SR-Users] no event received for call disconnection

2017-10-30 Thread Daniel-Constantin Mierla
Hello, On 30.10.17 17:29, Aleksandar Sosic wrote: > Hi Everyone, > > we're trying to implement cgrates in our kamailio nodes. > Everything is working fine except for the fact that kamailio is not > signaling the call end to cgrates for prepaid users... The versions, > logs and confs are: > > ```

[SR-Users] no event received for call disconnection

2017-10-30 Thread Aleksandar Sosic
Hi Everyone, we're trying to implement cgrates in our kamailio nodes. Everything is working fine except for the fact that kamailio is not signaling the call end to cgrates for prepaid users... The versions, logs and confs are: ``` # kamailio -v version: kamailio 5.0.3 (x86_64/linux) flags: STATS:

Re: [SR-Users] unexpected behavior of save from registrar module

2017-10-30 Thread Vasiliy Ganchev
@Daniel, thanks for the answer and for the change accepting! have a nice day! -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/m

Re: [SR-Users] sanity passes invalid uri

2017-10-30 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I don't remember any change recently to sanity, so probably it was > developed like this for long time. Yes, it is not a new bug. When I have extra time, I'll take a look at the code. -- Juha ___ Kamailio (SER) - Us

Re: [SR-Users] unexpected behavior of save from registrar module

2017-10-30 Thread Daniel-Constantin Mierla
Hello, On 30.10.17 09:21, Vasiliy Ganchev wrote: > Hi there again! > > @Daniel, can you comment what do you think about the topic? > I changed to return -1. Not sure what was the reason to return 0 there, but was not the expected behaviour. Patch pushed to master and 5.0 branches for now. Cheers

Re: [SR-Users] Remove all cpecial characters (\n, \t etc)from xml body

2017-10-30 Thread Yuriy Gorlichenko
Hi thx. I tried without double back slashes. Has no effect. But I already resolved it with different way Just decoded message to base64 formt and then sent to needed service where i encoded it and parsed (thx Alex Balashov for 2014 kamailio world presentantion) Was not sure about parsing string by

Re: [SR-Users] sanity passes invalid uri

2017-10-30 Thread Daniel-Constantin Mierla
Hello, On 27.10.17 16:23, Juha Heinanen wrote: > I noticed that K 5.0 sanity() test passes uri that contains ` (back quote) > character. > > Config: > > modparam("sanity", "default_checks", 1024) /* URI checks */ > modparam("sanity", "uri_checks", 3) /* RURI, From */ > > xlog("L_INFO", "Chec

Re: [SR-Users] Remove all cpecial characters (\n, \t etc)from xml body

2017-10-30 Thread Daniel-Constantin Mierla
Hello, On 28.10.17 20:28, Yuriy Gorlichenko wrote: > Hi. I building external presentity service for web based phones > > > Main trouble that i have at the xml body of PUBLISH message \n \t > characters and because of it can't set body as string to the redis > > So I trying to find a way to remove

Re: [SR-Users] unexpected behavior of save from registrar module

2017-10-30 Thread Vasiliy Ganchev
Hi there again! @Daniel, can you comment what do you think about the topic? Thanks in advance! cheers! -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://l