Re: [SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-11 Thread Daniel-Constantin Mierla
Hello, haven't tested nor looked at source code -- have you tried to see if it works with index (e.g, $tls_my_san_hostname[2])? Cheers, Daniel On 11/07/16 15:17, Juha Heinanen wrote: > Is there some means to get access to local and peer ssl certificate > X509v3 Subject Alternative Name value? >

[SR-Users] Kamailio Enviroment

2016-07-11 Thread Rodrigo Moreira
Hi, Right, to basic configuration of the P-I-S-CSCF services just I call the CFGS appropriate example (directory) for each entity to achieve basic funcionality. What exactly dispacher? How to config it? Regards. -- Rodrigo M. (37) 9132-4539 (34) 9889-3069 rodrigo.moreira2007

[SR-Users] access to tls X509v3 Subject Alternative Name

2016-07-11 Thread Juha Heinanen
Is there some means to get access to local and peer ssl certificate X509v3 Subject Alternative Name value? For example, if there is this in certificate: Subject: CN=foo.bar.com X509v3 Subject Alternative Name: DNS:foo.bar.com, DNS:foo.car.com, DNS:car.com $t

Re: [SR-Users] getting the local 408 response

2016-07-11 Thread Jayesh Nambiar
Hi Carsten, Thanks for responding. 1) I basically call a t_suspend for an incoming INVITE and resume it when the call is ready to be patched. 2) I set my fr_timer as 30 seconds as I do not want the caller to wait for a long time to get connected. 3) So when kamailio responds back with a 408 after 3

Re: [SR-Users] getting the local 408 response

2016-07-11 Thread Carsten Bock
Hi Jayesh, you should be able to catch this in a regular failure_route(). What do you want to achieve? Replace the response? failure_route[myfailure] { # Execute, in case we # - get a local generated "408" # - receive a 5xx or 6xx reply from the proxy. if (t_branch_timeout() || t_

[SR-Users] getting the local 408 response

2016-07-11 Thread Jayesh Nambiar
Hi, I'm looking to catch the local 408 response generated by kamailio after the fr_timer strikes in. I was assuming to get it in the sl:local-request, but I dont see it in my log messages. I can catch responses like a 200 for register or a 487 for a message who's transaction is not yet created. Any

Re: [SR-Users] destination ip address

2016-07-11 Thread Daniel-Constantin Mierla
Hello, if you want to get the ip where the message is sent, then you have to use onsend_route and inside it you have $sndto(...) class of variables, with ip, port, proto ... $Ri is the local address where the message was received. Cheers, Daniel On 11/07/16 11:05, Péter Barabás wrote: > > Hi A

Re: [SR-Users] Calculating time differences

2016-07-11 Thread Daniel-Constantin Mierla
Hello, the config doesn't support float. You can try some options: - use embedded lua (perl, python, ..., exec, sqlops) to make such operations - split each value in two integers using s.select transformation and do operations for seconds and miliseconds parts, then build again a value Cheers,

[SR-Users] destination ip address

2016-07-11 Thread Péter Barabás
Hi All, i need to store some information in routing_logic script into database with useing SQLOPS module. I made a custom table and store such data like source and destination username, domain, ip address and port. It works fine for almost every parameter except destination IP address and port.