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 f

[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 NOTIFYs,

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 param

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. ch

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 conne

Re: [SR-Users] t_suspend usage in branch_route

2018-02-08 Thread Vasiliy Ganchev
Hi! I am not sure that t_suspend is expected to work from branch_route. Why not suspend it from the main route? Describe in more details what are you going to achieve with the suspend. cheers -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html __

Re: [SR-Users] Random 'BYE" sent?

2018-02-07 Thread Vasiliy Ganchev
Hi! Kamailio does not generate BYE itself, kamailio is a sipproxy (there is a UAC module, but I think you use quite a standard config) Maybe time is not 25 but 32 seconds? Possibly somewhere ACK is lost. From your description, it is hard to tell something more if the issue is still valid - writ

Re: [SR-Users] any interest in segmentation fault at startup ?

2018-02-06 Thread Vasiliy Ganchev
hi! try to: - revert your changes - be sure that kamailio starts - add changes back - confirm that issue is still present if yes - share relevant part of your changes here, and describe - what were your intensions. cheers -- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html _

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 https://www.kam

Re: [SR-Users] Kamailio not calling each time

2017-11-02 Thread Vasiliy Ganchev
hi! try to: - look in tcpdump of your SIP traffic (use wireshark) - add logging to your kamailio.cfg both points to understand the difference between 2 calls (good and failed). The description that you prepared is not informative enough - to understand what is wrong (important point: kamailio i

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 https://lists.kamailio.org/cgi-bin/m

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 https://l

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 L

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: http://sip-router.1086192.n5.nabble.com/U

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

2017-10-14 Thread Vasiliy Ganchev
gards, > Sebastian > > On Thu, Oct 12, 2017 at 6:03 PM, Vasiliy Ganchev < > vancecezar@ > > wrote: >> Hi, community! >> >> I have in my Kamailio script following block (while REGISTER processing, >> after auth succeed): >> >

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

2017-10-12 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] 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 c

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.

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

2017-07-24 Thread Vasiliy Ganchev
e hash table variables with dynamic name. > > Cheers, > Daniel > > > On 19.07.17 11:09, Vasiliy Ganchev wrote: >> Hi, community! >> >> I have a question regarding xavp usage. >> >> according to docs, xavp has format: >> $xavp(root=>

[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)