[SR-Users] Question about in call both side redirection

2015-09-03 Thread Андрей Ярин
Hello (sorry for my bad english) - i try to create voice record service by request. User A call to user B. In call by pressing combination like *55 Kamailio must redirect both sides to asterisk, whitch create dynamic conference room with recording. As i understand i need to use dlg_refer() from

Re: [SR-Users] 408 Request Timeout

2015-09-03 Thread vamsi
Hi Daniel, Thank you for the response. I'm not sure exactly where to add the check. Can you please tell me which section I should add the check. Attached is the config file that I am using On Thu, Sep 3, 2015 at 3:27 AM, Daniel-Constantin Mierla wrote: > Hello, > > the log messages don't show

Re: [SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-03 Thread jay binks
Im currently using cassandra with kamailio I need something thats highly available and partition tolerant, consistency is a secondary requirement for most of the data. Im really not sure that restful web services are the right way here, that seems like a LOT of overhead at high cps. Sorry I forgo

Re: [SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-03 Thread Brandon Armstead
I would use some kind of RESTFUL service implementation, various transport mediums are avail i.e. RPC etc. What database are you currently using ? Sincerely, Brandon Armstead > On Sep 3, 2015, at 5:19 PM, jay binks wrote: > > Hey all, > > So I have a cluster of Kamailio servers ( 4 servers c

[SR-Users] Best practise for limiting concurrent calls across a cluster

2015-09-03 Thread jay binks
Hey all, So I have a cluster of Kamailio servers ( 4 servers currently, soon to be 8 ), I'm looking for suggestions about the BEST way to achieve concurrent call limiting on a per customer basis, across the whole cluster. Initially I mis-read the dialog module documentation and assumed that dialo

Re: [SR-Users] Kamailio memmory leak after it does not receive response for CANCEL message

2015-09-03 Thread Daniel-Constantin Mierla
Some extra note to be able to spot the memory summary in syslog -- should be a set of lines looking like: 20(4082) NOTICE: fm_status: summarizing all alloc'ed. fragments: 20(4082) NOTICE: fm_status: count= 1 size= 16640 bytes from : counters.c: counters_prefork_init(207) 20(4082) NOTICE:

Re: [SR-Users] Kamailio memmory leak after it does not receive response for CANCEL message

2015-09-03 Thread Daniel-Constantin Mierla
Hello, I tried to reproduce the scenario, but couldn't get the leak, might be specific for your config and use case. Can you try the next steps, in order to check there is indeed a leak: - use kamailio 4.2 - set memlog parameter in kamailio.cfg to a lower value than debug parameter (e.g., meml

[SR-Users] Sounds works differently on different clients.

2015-09-03 Thread Michael Nielsen
This is my setup: Kamailio -> FreeSWITCH (for voicemail) ...SIP gateway for connecting GSM So every call is routed directly via Kamailio - between SIP clients and in/out from the GSM space. Testing with a cellular phone as one client and X-Lite on Mac OS X as the other - everything works. Testi

[SR-Users] A little offtop - a question about Kamailio Admin Book

2015-09-03 Thread Alexandru Covalschi
Just wanted to ask when will http://www.asipto.com/sw/kamailio-admin-book/ become available in final version? Sorry for offtop, didn't know where to ask about that :) -- Alexandru Covalschi ABRISS-Solutions VoIP engineer and system administrator phone: +37367398493 web: http://abs-telecom.com/ __

Re: [SR-Users] A little offtop - a question about Kamailio Admin Book

2015-09-03 Thread Giovanni Maruzzelli
On Thu, Sep 3, 2015 at 5:46 PM, Alexandru Covalschi <568...@gmail.com> wrote: > Just wanted to ask when will http://www.asipto.com/sw/kamailio-admin-book/ > become available in final version? Sorry for offtop, didn't know where to > ask about that :) > is actually practically final, updated and a

[SR-Users] Thoughts on setup with Kamailio and FreeSWITCH

2015-09-03 Thread Michael Nielsen
Hello everyone... I'm testing various ways of setting up Kamailio and FreeSWITCH (as VAS-handler). I'm struggling a bit on what Kamailio should do and FreeSWITCH should do. My basic setup is to handle voicemails, internal calls between subscribers and outgoing calls to a SIP gateway to GSM. My

Re: [SR-Users] [sr-dev] registered4() is not adding xavp with details of the record

2015-09-03 Thread Luis Azedo
Hi, it seems the doc is wrong. what it does is to fill the xavp_contact from the matched contact here's how i work with it. modparam("usrloc", "xavp_contact", "ulattrs") if (registered("location","$ru", 0, 1)) { append_hf("X-Account-ID: $(xavp(ulattrs=>Account-ID)\r\n"); append_h

[SR-Users] Kamailio + Rtpengine < - > Freeswitch + ZRTP

2015-09-03 Thread Alexandru Covalschi
Hello! Was trying to perfrom subj interconnection via http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbс via that guide. Kamailio and FS are on same host on Amazon EC2. The issue is - when I have proxy_media=true

[SR-Users] registered4() is not adding xavp with details of the record

2015-09-03 Thread Andrew Pogrebennyk
Hi, I was trying to use registered("location", "$ru", 0, 1) Last parameter is the flag according to http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.f.registered flag values is as follows: 1 - set xavp_rcd with value from matched contact But I'm getting NULL instead of

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-03 Thread Daniel-Constantin Mierla
I merged the pull request. The commit message was close to the recommended format -- the first line should have been: auth: fixed issue when ... In the commit is the other one. Cheers, Daniel On 03/09/15 10:48, Vasiliy Ganchev wrote: > the pull request prepared, hope it is well formatted (did

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-03 Thread Vasiliy Ganchev
the pull request prepared, hope it is well formatted (did not have such experience before) Daniel, thank you for spending time on this issue, and help in finding the right way ) -- View this message in context: http://sip-router.1086192.n5.nabble.com/during-registration-nonce-expired-after-bac

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-03 Thread Daniel-Constantin Mierla
Hello, can you make a pull request on github with the last patch you tested? It will be easier to merge, avoiding extra tests here -- just be sure the commit message is formatted according to: * http://www.kamailio.org/wiki/devel/github-contributions Cheers, Daniel On 03/09/15 09:53, Vasiliy

Re: [SR-Users] during registration nonce expired, after backwards time shift

2015-09-03 Thread Vasiliy Ganchev
Hi! tested with: + /* if current time is less than start time, reset the start time + (e.g., after start, the system clock was set in the past) */ + t=time(0); + if (t < up_since) + up_since = t; + if

Re: [SR-Users] 408 Request Timeout

2015-09-03 Thread Daniel-Constantin Mierla
Hello, the log messages don't show that you change the r-uri of the MESSAGE -- e.g., no lookup("location"). By that I assume the request is not forwarded to the other user, but attempted to be forwarded back to the server, which is not possible via webscoket. Be sure that you do location lookup

Re: [SR-Users] [Kamailio 4.2] Crash during burn-in test

2015-09-03 Thread Daniel-Constantin Mierla
Hello, can you give the exact version: kamailio -v? Also, the log message indicates that a core file was generated, sent the backtrace taken from gdb: gdb /path/to/kamailio /path/to/corefile bt full Could you reproduce the issue, or did it happen only once? Cheers, Daniel On 03/09/15 04:50, J