Re: [SR-Users] How Do you Stack up Against Cisco's Call Manager

2014-04-10 Thread Marjorie Lawrence
Hi, Not sure if this is a fair question. But how do you compare your call processing engine against Cisco's Call Manager? Appreciate your time. Marjorie Lawrence Global Wireless Networks, Inc. Senior Voice Engineer/Unified Communications Email: marjo

[SR-Users] LUA - UAC package implementation

2014-04-10 Thread Daniel Ciprus
Hi, How much of UAC package is implemented in LUA embedded module ? According to wiki seems like only "sr.uac.replace_from" is implemented. My goal is to "emulate" 3rd party registration by using UAC and LUA meaning that I will have to recreate register, tweak existing attributes and send it o

[SR-Users] SDP c= IP doesn't get rewritten

2014-04-10 Thread Daniel Ciprus
All, I am facing problem with rewriting SDP part of the INVITE, in particular following is in my configuration: #!subst "/RTP_INT_ADDR/10.96.173.15/" #!subst "/RTP_EXT_ADDR/168.7.24.17/" #!subst "/BOT_RTP_ADDR/10.96.173.52/" subst_body('/RTP_INT_ADDR/RTP_EXT_ADDR/g'); subst_body('/BOT_RTP_ADDR

Re: [SR-Users] Disjoint REGISTER and INVITE username/uri sets

2014-04-10 Thread James Cloos
> "JC" == James Cloos writes: JC> What is the equivalent if I want to set the user part to the value JC> of a $var()? I thought that I killed that message before it got out. Right after sending it everything came back and I got my prototype up and running. -JimC -- James Cloos Ope

Re: [SR-Users] Kam 4.1 Crash: HELP PLZ!!!!

2014-04-10 Thread Samuel Ware
Daniel, I was unable to locate them. We made the mem_safety change and put the machine back into Production. It has been running for 5 hours without crashing. The only error that seems different than before is the following Apr 10 17:36:29 tel-vc-fs03 /usr/local/sbin/kamailio[31365]: ERROR:

Re: [SR-Users] carrierroute prefix regex?

2014-04-10 Thread Igor Potjevlesch
Hello, No one has a feedback on this kind of functionalities? Regards, Igor. De : Igor Potjevlesch [mailto:igor.potjevle...@gmail.com] Envoyé : vendredi 4 avril 2014 14:43 À : sr-users@lists.sip-router.org Objet : carrierroute prefix regex? Hello, I’m wondering if we can se

[SR-Users] about tls client certificates

2014-04-10 Thread Juha Heinanen
while doing some tls tests, i noticed that if tls.cfg has a section like this [server:default] verify_certificate = no require_certificate = no tls_method = SSLv23 private_key = /etc/sip-proxy/certs/sip-proxy/key.pem certificate = /etc/sip-proxy/certs/sip-proxy/cert.pem ca_list = /etc/ssl/certs/ca

[SR-Users] how to track down issue with shared lines

2014-04-10 Thread mark li
I have a scenario where calls that are transferred to a shared line doesn't trigger the "in use" light to show up on both phones that have the shared line.  but when i make an outgoing call, let's say, using the shared line, the "in use" light lights up on both phones that have the shared line. 

[SR-Users] Load fr_inv_timer from DB

2014-04-10 Thread Igor Potjevlesch
Hello, I try to set the "fr_inv_timer" dynamically from DB. Under 60s it works fine. But I can't set more than 60s. Here are the TM parameters: # - tm params - # auto-discard branches from previous serial forking leg modparam("tm", "failure_reply_mode", 3) # default retransmissi

Re: [SR-Users] Caller ID number being passed to Gateway

2014-04-10 Thread Joel White
Ok, so what I am trying is this I am placing the uac statement in the FreeSWITCH routing as I only care to set the Caller ID for outbound calling _ route[FSDISPATCH] { if(!is_method("INV

Re: [SR-Users] Kamailio with rtpproxy-ng and mediaproxy-ng: Error rewriting SDP

2014-04-10 Thread Richard Fuchs
On 04/10/14 09:26, Olli Heiskanen wrote: > > Hello, > > After some tests, I'm still having some strange results. > > When calling from ws client to grandstream, I get the below output to > /var/log/messages. > In a sip trace after 488 there are only INVITEs from kamailio server to > grandstream

Re: [SR-Users] Kamailio with rtpproxy-ng and mediaproxy-ng: Error rewriting SDP

2014-04-10 Thread Olli Heiskanen
Hello, After some tests, I'm still having some strange results. When calling from ws client to grandstream, I get the below output to /var/log/messages. In a sip trace after 488 there are only INVITEs from kamailio server to grandstream but no responses come back to kamailio server. I haven't ch

Re: [SR-Users] topoh and onhold reinvites

2014-04-10 Thread Daniel Tryba
On Thursday 10 April 2014 14:53:10 Daniel Tryba wrote: > Here the To is mangled and there is no Route. But is that the reason things > go wrong? If inconclusive I'll dig some further on the register server > during off peak moments. It appears I have been wasting time for everyone that is reading

Re: [SR-Users] topoh and onhold reinvites

2014-04-10 Thread Daniel Tryba
On Thursday 10 April 2014 09:43:28 Daniel-Constantin Mierla wrote: > the re-INVITE should be handled in the same way as ACK for 200ok or BYE > (i.e., request within dialog). Do you get any error message in syslog? > Can you share a ngrep trace of such situation (from initial INVITE to > the end)? y

Re: [SR-Users] ldap SSL

2014-04-10 Thread Slava Bendersky
Hello Daniel, That explains a lot. Is ldap module compatible with SSSD ? Slava. - Original Message - From: "Daniel-Constantin Mierla" To: "Kamailio (SER) - Users Mailing List" Sent: Thursday, April 10, 2014 3:11:41 AM Subject: Re: [SR-Users] ldap SSL Hello, the module in kama

Re: [SR-Users] $sel(tls.peer.subject.cn) error

2014-04-10 Thread Daniel-Constantin Mierla
The parameters for functions are resolved at fixup time, which is done after mod_init -- the config parser will see any function parameter as just string, then later will run fixup for function parameters. Probably the error message from tls_select.c:152 can be made dbg, the pv value is ok, be

Re: [SR-Users] LCR

2014-04-10 Thread Juha Heinanen
Keith writes: > I am having issues with trying to use multiple lcr_ids so I can route to > different groups. When I reload lcr it always only shows one group. I have > copied the first group exactly and just changed the number but can't work > out why it's not working. check lcr_count module para

Re: [SR-Users] LCR

2014-04-10 Thread Keith
Hi, I am having issues with trying to use multiple lcr_ids so I can route to different groups. When I reload lcr it always only shows one group. I have copied the first group exactly and just changed the number but can't work out why it's not working. Any ideas? Thanks Keith _

Re: [SR-Users] $sel(tls.peer.subject.cn) error

2014-04-10 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Note that there should be direct pv alternative, as I could see in the > module, such as $tls_peer_subject_cn -- see tls_pv structure inside > tls_select.c file of the tls module. Not sure if they were documented > somewhere. those seem to work without modify

Re: [SR-Users] $sel(tls.peer.subject.cn) error

2014-04-10 Thread Daniel-Constantin Mierla
It might be the way tls module exports the selects -- I see it does it in modinit, which is executed after the config is parsed. Can you move the line: register_select_table(tls_sel); from mod_init() to mod_register() in tls_mod.c and try again? If all works ok with your tests, then you can c

Re: [SR-Users] $sel(tls.peer.subject.cn) error

2014-04-10 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > the $sel(...) should work, I wonder if selects can add themselves > dynamically at runtime, so 'peer' is only when a tls connection is > established. Can you try with other selects pointing to own certificate, > iirc should be like: $sel(tls.my.subject.cn)? i

Re: [SR-Users] topoh and onhold reinvites

2014-04-10 Thread Daniel-Constantin Mierla
Hello, the re-INVITE should be handled in the same way as ACK for 200ok or BYE (i.e., request within dialog). Do you get any error message in syslog? Can you share a ngrep trace of such situation (from initial INVITE to the end)? you can send it to me if it has sensitive information. Cheers,

Re: [SR-Users] Kam 4.1 Crash: HELP PLZ!!!!

2014-04-10 Thread Daniel-Constantin Mierla
Hello, have you found the corefiles? The backtrace would be useful not to let the issue unresolved and be sure there are not other side effects. Another question, in the logs I see that the reason for failing to forward the branch is a very long sip message: Apr 3 13:14:05 tel-vc-fs03

Re: [SR-Users] $sel(tls.peer.subject.cn) error

2014-04-10 Thread Daniel-Constantin Mierla
Hello, the $sel(...) should work, I wonder if selects can add themselves dynamically at runtime, so 'peer' is only when a tls connection is established. Can you try with other selects pointing to own certificate, iirc should be like: $sel(tls.my.subject.cn)? Cheers, Daniel On 10/04/14 09:08

Re: [SR-Users] ldap SSL

2014-04-10 Thread Daniel-Constantin Mierla
Hello, the module in kamailio doesn't have an option for ca list. This should be a configuration option for ldap server to know which trusted CA to use. The ldap client library should have the option to set the certificate and key. Cheers, Daniel On 10/04/14 00:27, Slava Bendersky wrote: H

Re: [SR-Users] Exported params of USRLOC module

2014-04-10 Thread Daniel-Constantin Mierla
Hello, exported params are for kamailio.cfg to control the behavior of the module. There is no strict relation with siremis. If you don't set a parameter, it stays with its default value -- see the readme of the module for learning what are the default values for its parameters. Again, to

[SR-Users] $sel(tls.peer.subject.cn) error

2014-04-10 Thread Juha Heinanen
i have these two lines in config: $var(common_name) = @tls.peer.subject.cn; $var(common_name) = $sel(tls.peer.subject.cn); the latter gives error at startup: 0(24214) ERROR: [select.c:316]: resolve_select(): Unable to resolve select 'tls' at level 0 0(24214) ERROR: [select.c

Re: [SR-Users] Show Domain-Name in Siremis

2014-04-10 Thread Daniel-Constantin Mierla
On 09/04/14 09:20, aawaise wrote: Another thing I noted is that in usrloc module other parameters of Location List page like Received, CallId, CSeq, Las Modified, Flags, User Agent etc are not defined in kamailio.cfg. Yet they are showing concerned values. How are they showing values ?? Those

Re: [SR-Users] Show Domain-Name in Siremis

2014-04-10 Thread Daniel-Constantin Mierla
Hello, it should be: modparam("usrloc", "use_domain", 1) if you are using the default config, then skip the above and just do: #!define WITH_MULTIDOMAIN after the first line in kamailio.cfg -- read the comments at the top of kamailio.cfg for more details. Practically when defining WITH_MULTI