Re: [SR-Users] usage of the select function

2015-01-26 Thread Pavel Eremin
Hi, man! Why you don't want to parsing Header "Authorization" with texops module? 2015-01-26 22:16 GMT+05:00 Олег Першин : > Hi! > Please help me to figure out how to use "@select" or "$sel" in routes. > > For example: there is a sip message at the entrance of kamailo. This > message contains a

[SR-Users] tcp_max_connection to 4096

2015-01-26 Thread Varghese Paul
Hi Team, We are seeing some errors in our kamilio for TCP max conn (ERROR) : 2048 (the default). We are thinking to double the TCP connection for our kamailio registrar server. tcp_max_connections=4096 Is there any performance issue if we double the tcp_max_connections ?. Currently we are set

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread rahul.ultimate
Kamailio is just acting as a proxy and protocol modifier so to say. It is workin with rtpengine from sipwise to handle media as evident from he logs. This architectue uses a TURN server  and the browser  is chrome with latest updates. The only thing whih I haven't done is enable TLS in kamailio

Re: [SR-Users] When does transaction logging trigger

2015-01-26 Thread Alex Balashov
Ah, I see. Well, in that case your use of ACC makes more sense, though I still think depending on its innards incurs more work than just rolling one's own logging for such cases. That may be a controversial viewpo

Re: [SR-Users] When does transaction logging trigger

2015-01-26 Thread Ryan Brindley
Well, to my credit, i'm not just trying to log anything. I'm actually trying to log billing-related material -- every leg of a call, success or failure. I just want to log it to a file and i assumed the transaction module had logging and then that acc's transaction logging would be the best/proper

Re: [SR-Users] When does transaction logging trigger

2015-01-26 Thread Alex Balashov
Easy to use, obvious? :-) Ahahaha! This is Kamailio, come on. But seriously, xlog() is the logging feature, and it is easy to use: route { xlog("L_INFO", "$ci: Message $rm $ru received from $si:$sp\n"); } onreply_route { xlog("L_INFO", "Reply '$rs $rr' ($rm) from $si:$sp se

Re: [SR-Users] When does transaction logging trigger

2015-01-26 Thread Ryan Brindley
but seriously Alex, thank you for the recommendation. It is greatly appreciated :) Ryan Brindley Software Development Officer Stratics Networks, Inc. 1.866.635.6918 x108 On Mon, Jan 26, 2015 at 6:31 PM, Ryan Brindley wrote: > Because that solution, which now sounds easy and great, was not openl

[SR-Users] lookup_branches and rtpengine_manage

2015-01-26 Thread Yuriy Gorlichenko
Hello. I need parallel forking calls with the same username. (Call to all contacts with name for example User123), my endpoints may be WebSocket based and standart UDP endpoints. And I use rtpengine_manage for nmanaging calls wor webphones and standart softh/hard phones. I get all contacts manua

Re: [SR-Users] When does transaction logging trigger

2015-01-26 Thread Ryan Brindley
Because that solution, which now sounds easy and great, was not openly obvious to me when searching through the docs and trying to determine the best way to log all transactions. I naturally assume that the logging features in a product are relatively easy to use and configure. xlog it is. ty. R

Re: [SR-Users] When does transaction logging trigger

2015-01-26 Thread Alex Balashov
Ryan, Why are you working so hard? Why don't you just use xlog() or sqlops[1] to log whatever SIP messages you want to log, whenever you want to log them, wherever you want to log them, into a schema of your choosing, on your terms, and without any regard for the innards of the ACC module or

[SR-Users] When does transaction logging trigger

2015-01-26 Thread Ryan Brindley
Hey gents, In relation to my attempts to get transaction logging successful, I'm curious to know when transaction logging triggers. My current theory is that something I'm doing in my SIPp uac test messages (what's being sent to Kamailio) is preventing the transaction from fully completing and th

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Gonzalo Gasca Meza
Are you terminating media in Kamailio or just handling WS communication? If yes which version of Kamailio and rtp-proxy ? Have you tried passing media directly between Browser and Kamailio with any TURN server? Are you using latest Chrome version or FF ? A working sample config using the followin

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
Any help on trying to figure out what's wrong here would be greatly appreciated. Ryan Brindley Software Development Officer Stratics Networks, Inc. 1.866.635.6918 x108 On Mon, Jan 26, 2015 at 1:40 PM, Ryan Brindley wrote: > acc_db_request did log to the log file, but it didn't provide the resp

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Rahul MathuR
Hi Richard, Thanks for spending some cycles on it. It is OpenSSL 1.0.1e-fips 11 Feb 2013 On Tue, Jan 27, 2015 at 2:04 AM, Richard Fuchs wrote: > On 26/01/15 02:21 PM, Rahul MathuR wrote: > >> Hello, >> >> I am totally struck at a point while implementing Kamailio as proxy for >> WebRTC enabled

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Richard Fuchs
On 26/01/15 02:21 PM, Rahul MathuR wrote: Hello, I am totally struck at a point while implementing Kamailio as proxy for WebRTC enabled UAC (Jssip). I am using Google's TURN server (rfc5766-turn-server for ICE/STUN). I am able to get to the point where the SIP server sends 183 session in progres

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Rahul MathuR
Hi Tristan, Thanks for looking into it. I toggled advertised_address to static one, but no luck :( On Tue, Jan 27, 2015 at 1:13 AM, Tristan Mahé wrote: > Hi Rahul, > > Check your record-route, it should not be static. ( maybe use > advertised_address and allow double record-route for rr mod

Re: [SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Tristan Mahé
Hi Rahul, Check your record-route, it should not be static. ( maybe use advertised_address and allow double record-route for rr module ). My 2 cents. Le 26/01/2015 11:21, Rahul MathuR a écrit : > Hello, > > I am totally struck at a point while implementing Kamailio as proxy > for WebRTC enabled

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
acc_db_request did log to the log file, but it didn't provide the resp code and message (first line is a properly working log, 2nd line is the result of acc_db_request): INVITE|16||16-15065@173.192.77.66|420|Request Failure|1422031914| INVITE|2||2-9800@173.192.77.66||Some comme

[SR-Users] Need help on WebRTC with Kamailio as proxy

2015-01-26 Thread Rahul MathuR
Hello, I am totally struck at a point while implementing Kamailio as proxy for WebRTC enabled UAC (Jssip). I am using Google's TURN server (rfc5766-turn-server for ICE/STUN). I am able to get to the point where the SIP server sends 183 session in progress to kamailio but after that I can only see

[SR-Users] usage of the select function

2015-01-26 Thread Олег Першин
Hi! Please help me to figure out how to use "@select" or "$sel" in routes. For example: there is a sip message at the entrance of kamailo. This message contains an authorization header. Authorization: Digest username="oleg.pershin", realm="178.62.221.112", nonce="VMT1cVTE9EVT/6/MLuDZR8dA4g1Mfir4"

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
Yea, confirmed that added t_newtran(); above my setflag(FLT_ACC); line (and t_release() after the send_reply() line) did not produce a log entry. Ryan Brindley Software Development Officer Stratics Networks, Inc. 1.866.635.6918 x108 On Mon, Jan 26, 2015 at 11:33 AM, Ryan Brindley wrote: > Thank

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
Thanks Daniel. Ive tried with t_newtran (just before the setflag calls) and i don't remember it working. I will try again as well as explicitly calling the requests. Is there any (major) performance hit by calling the requests explicitly? On Jan 26, 2015 11:25 AM, "Daniel-Constantin Mierla" wro

Re: [SR-Users] Logging All Transactions

2015-01-26 Thread Daniel-Constantin Mierla
The accounting with flags is relying on transaction states, so you have to create it. Either use acc_db_request() and acc_log_request() in the config (they work without creating the transaction in your example) or t_newtran() before send_reply(). Cheers, Daniel On 26/01/15 18:08, Ryan Brindley

[SR-Users] Logging All Transactions

2015-01-26 Thread Ryan Brindley
I've been working to try to get kamailio (4.1) to log every transaction to file, but can't seem to do it -- or even get it to reliably log. What the heck am i missing? It seems Kamailio logs the first time i try it on a day, but then won't do it again no matter what variation of configs I try. Is

Re: [SR-Users] Fosdem 2015

2015-01-26 Thread Daniel-Constantin Mierla
Very likely I will be around at Fosdem as well this year and going for the event in the evening, if it takes place. Have you discussed with Jitsi guys? Cheers, Daniel On 17/01/15 16:47, Alexandr Dubovikov wrote: > so, same event like last year at Beer Mania. Enjoy! > > 2015-01-16 21:12 GMT+01:00

[SR-Users] CDRs for failed calls

2015-01-26 Thread Mickael Marrache
Hi, Is there a way to write CDRs for failed calls? I tried calling the acc_db_request command from my script, but it inserts a transaction log not a CDR. Thanks, Mickael ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing

[SR-Users] R: Dialog variable lost in ACC

2015-01-26 Thread pars3c
Hi, i’m using the core reply_route Thanks Da: sr-users [mailto:sr-users-boun...@lists.sip-router.org] Per conto di Daniel-Constantin Mierla Inviato: lunedì 26 gennaio 2015 11:43 A: Kamailio (SER) - Users Mailing List Oggetto: Re: [SR-Users] Dialog variable lost in ACC Hello, are you

Re: [SR-Users] Dialog module generates error since upgrade to 4.2.2

2015-01-26 Thread Klaus Darilion
Hi Daniel! Your fix solves the problem (not heavily tested) - now the dialog module destroys the dialog after config exit. thanks Klaus On 24.01.2015 23:05, Daniel-Constantin Mierla wrote: > Can you try the latest version of branch 4.2? I pushed a fix that should > solve this one as well. > > L

Re: [SR-Users] Dialog variable lost in ACC

2015-01-26 Thread Daniel-Constantin Mierla
Hello, are you using a tm onreply_route[id] or the core reply_route to set those variables? Cheers, Daniel On 25/01/15 01:00, Pars3c wrote: > Hi, anyone know what happened ? > > Many thanks > > Il mercoledì 21 gennaio 2015, Pars3c > ha scritto: > > Hi , > I've u

Re: [SR-Users] ims_charging module

2015-01-26 Thread Carsten Bock
Hi Shane, the module was designed and developed to work in an IMS environment, as part of a Serving CSCF. Thus is binds to the ims_usrloc_scscf modules to store some data together with the contact of a subscriber. It will require some work on the module, to make it work independent of the other IM

Re: [SR-Users] How can change via header's ip to public ip when Kamailio locate behind a NAT network?

2015-01-26 Thread Olle E. Johansson
On 25 Jan 2015, at 14:48, dongwf wrote: > Hi Kamailio: > I use Kamailio with Amazon EC2 virtual machine, it has a private ip such as > 172.31.7.164, kamailio listened on this, I assigned a float public ip > 54.X.X.X on it, and all the client send traffics to the public ip and it work > well(R

Re: [SR-Users] remote mysql

2015-01-26 Thread Slava Bendersky
Hello Gonzalo, Thank for reply, kamctlrc is filled with information and I was be able propagate kamailio database the only one difference that in you example you use actual hostname and not IP address. Slava Sent from mobile device, typos are expected. On Jan 25, 2015 3:52 AM, Gonzalo Gasca w

[SR-Users] ims_charging module

2015-01-26 Thread Shane Harrison
Hi all, I am exploring the use of the ims_charging module having set up a freediameter server (all very new to me). I have loaded and configured the dependencies i.e. cdp, dialog_ng, tm, cdp_avp but the startup gets stuck on: Jan 26 03:57:05 host-172-16-0-82 /usr/sbin/kamailio[2931]: ERROR: im

[SR-Users] How can change via header's ip to public ip when Kamailio locate behind a NAT network?

2015-01-26 Thread dongwf
Hi Kamailio: I use Kamailio with Amazon EC2 virtual machine, it has a private ip such as 172.31.7.164, kamailio listened on this, I assigned a float public ip 54.X.X.X on it, and all the client send traffics to the public ip and it work well(REGISTER), but now I would relay kamailio's traffic to