[SR-Users] dispatch_rpc

2017-08-18 Thread Logeshwaran G
Hi, Is there any other module need to be added for xmlrpc for using dispatch_rpc(). Because I am getting an below error: 0(22485) ERROR: [core/cfg.y:3274]: yyparse(): cfg. parser: failed to find command dispatch_rpc (params 0) 0(22485) CRITICAL: [core/cfg.y:3414]: yyerror_at(): parse error in

[SR-Users] Acc cdr duration

2017-08-18 Thread yu
Hello. How to remove milliseconds from duration field in CDR? -- Отправлено из myMail для Android___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] On the fly Change

2017-08-18 Thread Logeshwaran G
I am using postman for http hit. I am using the below header and body: application/json {"jsonrpc": "2.0", "method": "dispatcher.reload", "id": 1} Kamailio.cfg started well, but the http hit is not invoking properly? Thanks & Kind Regards, Logeshwaran G On Thu, Aug 17, 2017 at 8:02 PM, Sebast

[SR-Users] siptrace: how to duplicate the complete dialog?

2017-08-18 Thread Daniel Tryba
I'm trying to trace a complete dialog on a loadbalancer/proxy: UAC <-> Proxy<-> backend 109.235.34.a <-> 109.235.32.b <-> 185.61.68.c Proxy runs 4.3.x (but with 4.4.x I appear to have the same results). siptrace config: = modparam("

[SR-Users] question for best way to remove sips uris - TLS and sips in $ru - get_send_socket2(): protocol/port mismatch

2017-08-18 Thread Karsten Horsmann
Hello List, of course - best way is not to use sips: uri scheme. But i have to deal with that. I try to configure an multihomed kamailio (public/private IP) in front of my SIP-Servers. One of my softphones variants used TLS for connection but the INVITES of this softphone use the "sips" URI sche

[SR-Users] syslog CDR time format

2017-08-18 Thread Yu Boot
Hello. Can't get 'date-time' format timestamps in syslog CDRs, while SQL CDRs are OK. According to acc module documentation: modparam("acc", "cdr_enable", 1) modparam("acc", "time_format", "%Y-%m-%d %H:%M:%S") modparam("acc", "time_mode", 3) modparam("acc", "cdr_facility", "LOG_DAEMON") sysl

Re: [SR-Users] siptrace: how to duplicate the complete dialog?

2017-08-18 Thread Mikko Lehto
Daniel Tryba wrote: > How (if possible) do I get all messages being send via the proxy? Hi, you are propably looking for parameter "trace_mode": http://kamailio.org/docs/modules/4.4.x/modules/siptrace.html#siptrace.p.trace_mode Seems to be introduced in 4.4.0 -- Mikko ___

[SR-Users] Converting to kemi

2017-08-18 Thread James Cloos
[I see I posted this to -dev instead of -users; fixing that -JimC] I'm working on converting some configs to kemi lua and have a couple of questions: First: Does KSR.pv.get() support multiple pseudos in a single call? The examples such as misc/examples/kemi/kamailio-basic-kemi-lua.lua make seve

[SR-Users] append_branch and tls

2017-08-18 Thread James Cloos
[I see I posted this to -dev instead of -users; fixing that -JimC] When using rewrite_ruri() and append_branch() to set a list of next hops to try, what is the proper syntax to specify that a given route should use tcp or tls/tcp? I've mostly used a single next hop via t_relay_to_tcp() or t_relay

[SR-Users] sdp extra \r\n in multipart body

2017-08-18 Thread Diego Nadares
Hi guys, I have the following multipart body Content-Type: multipart/mixed;boundary=uniqueBoundary Remote-Party-ID: Content-Length: 364 --uniqueBoundary Content-Type: application/sdp v=0 o=user1 53655765 2353687637 IN IP4 111.111.111.111 s=- c=IN IP4 111.111.111.111 t=0 0 m=audio 6000 RTP/AV

Re: [SR-Users] Converting to kemi

2017-08-18 Thread Daniel-Constantin Mierla
Hello, KSR.pv.get("$T_branch_idx]") has a typo, the ']'at the end is wrong. I think I corrected in some of the examples. The KSR.pv.get() is working with a single variable. There is a variable that evaluates a string with variables: - https://www.kamailio.org/wiki/cookbooks/5.0.x/pseudovaria

Re: [SR-Users] Documenation of functions exported for KEMI

2017-08-18 Thread Daniel-Constantin Mierla
Hello, somehow this discussion (about how to document kemi functions) was postponed, had it in mind to do it after summer holidays. Couple of options can be on the table: - plug it inside the exiting readmes, as most of them are one-to-one relation - have dedicated section either in readme o

[SR-Users] Kamailio_428 memory usage

2017-08-18 Thread Evgeniy G.
Good afternoon! Can you please tell us how the Kamailio works with shared memory. The fact is that there was an accident in which Kamailio reported an error - little common memory. This happened a day later as I added the dialplan module. After that, I began to monitor the values: used_size real_u