Re: [SR-Users] xavp questions (variables in root/branch)

2017-07-25 Thread Vasiliy Ganchev
Hi, Daniel! I will play with exploding/evaluating, but on the first glance, seems AVPs with the complex name is preferable way. If have free time may look in PV module, but it will be another discussion. For now thanks for the detailed answers! best regards, Vasiliy -- View this message in

Re: [SR-Users] Can kamaillio act as user?

2017-07-25 Thread Vasiliy Ganchev
Hi! The UAC module is certainly what you need. What errors do you have with it? cheers -- View this message in context: http://sip-router.1086192.n5.nabble.com/Can-kamaillio-act-as-user-tp160468p160469.html Sent from the Users mailing list archive at Nabble.com.

[SR-Users] xavp questions (variables in root/branch)

2017-07-19 Thread Vasiliy Ganchev
Hi, community! I have a question regarding xavp usage. according to docs, xavp has format: $xavp(root=>branch)="value"; I want to use "root" and "branch" - variables. (as it is implemented with AVPs - the id there, can be variable) e.g.: ... $var(root_key) = "root_1"; $var(branch_key1)

[SR-Users] unexpected behavior of save from registrar module

2017-10-13 Thread Vasiliy Ganchev
Hi, community! I have in my Kamailio script following block (while REGISTER processing, after auth succeed): . /* Save to usrloc */ lock("LOCATION_LOCK"); if (!save("location")) { unlock("LOCATION_LOCK"); sl_reply_error();

Re: [SR-Users] unexpected behavior of save from registrar module

2017-10-30 Thread Vasiliy Ganchev
@Daniel, thanks for the answer and for the change accepting! have a nice day! -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] unexpected behavior of save from registrar module

2017-10-30 Thread Vasiliy Ganchev
Hi there again! @Daniel, can you comment what do you think about the topic? Thanks in advance! cheers! -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

Re: [SR-Users] Regarding rtimer usage under specific condition

2017-10-26 Thread Vasiliy Ganchev
Hi! there is also another module, doing timer job: http://kamailio.org/docs/modules/5.0.x/modules/timer.html I never used it, and I am not sure that it does what is documented - but anyway I think it is a point where to continue. cheers -- Sent from:

Re: [SR-Users] How to send OPTIONS message by kamailio server

2017-10-27 Thread Vasiliy Ganchev
Hi! There is a new module: https://kamailio.org/docs/modules/devel/modules/keepalive.html give it a try - it looks like what you needed. cheers -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html ___ Kamailio (SER) - Users Mailing

Re: [SR-Users] t_suspend usage in branch_route

2018-02-09 Thread Vasiliy Ganchev
I am glad that you have something working, but I think you will have some issues with your approach. Some important point regarding push/suspending etc. that I would like to emphasize and point your attention: 1.The modern mobile devices - put your SIP app to "sleep" quite fast. The TCP/TLS

Re: [SR-Users] Feature/help android fcm and ios related push notification module

2018-02-06 Thread Vasiliy Ganchev
hi there! tsilo module does nothing with push notifications. It allows doing late forking, for "awakened" devices Regarding how and where to send push: read (if not done yet): http://www.kamailio.org/events/2014-KamailioWorld/day2/26-Daniel-Constantin.Mierla-Kamailio.cfg-Async.pdf

Re: [SR-Users] t_suspend usage in branch_route

2018-02-09 Thread Vasiliy Ganchev
> In your setup, you have a small Expires, but you still send call after > the contact has expired?... May be the user don't want the call any > more... If user do NOT want to receive push, there are some options: - the app sends the new REGISTER without "token" and all other push specific

Re: [SR-Users] t_relay()?

2018-02-09 Thread Vasiliy Ganchev
hi! one of the ways (not related to t_relay, rather general solution), use this event_route: https://www.kamailio.org/docs/modules/5.0.x/modules/corex.html#async.evr.network_io in the event route to print the message's content you can use $mb to print what is sent/received. hope this helped.

Re: [SR-Users] t_set_retr and NOTIFY send after handle_publish

2018-11-21 Thread Vasiliy Ganchev
Hi Daniel! yep, event_route[tm:local-request] did the trick this is working config: event_route[tm:local-request] { if (is_method("NOTIFY") && ($hdr(event) == "dialog") ) { t_set_retr(4000, 4000); } } immense thank you for the hint! cheers -- Sent

[SR-Users] t_set_retr and NOTIFY send after handle_publish

2018-11-20 Thread Vasiliy Ganchev
Hi, list! I have a tricky problem, need advise from the community. The problem I need to solve: - have a SIP device, with a big number of BLFs configured, in some moment of time the device is slow to handle incoming SIP messages (a lot of NOTIFYs received), kamailio start retransmitting