[OpenSIPS-Users] 4xx response to invite

2022-11-15 Thread M S
Hi List, If I use a block like: if(is_method("invite") && !has_totags()) { if() send_reply(402, "more money"); .. } Then if an invite is received and is true, a 402 is sent, and then an ACK is received in response to 402, which has a to_tag too. This ACK strangely matches

[OpenSIPS-Users] relay invites UAC

2022-11-15 Thread Wadii ELMAJDI | Evenmedia
Hello Everyone, I am using opensips as sip proxy, receiving invites from my clients (mostly b2bua), that i should relay to some gateways. I am using Dynamic route module for such purpose. Some of those invites (depending on called DID or gateways probing) should be relayed to a sip trunk

Re: [OpenSIPS-Users] graceful reload

2022-11-15 Thread M S
Thank you for your suggestions. I have been thinking about changing sql_cacher options to return an additional field or so. that needs changing mod_param. You are right about having multiple servers to move the loads from one to another, but sometimes that is not available for some reason. I

Re: [OpenSIPS-Users] graceful reload

2022-11-15 Thread Brett Nemeroff
What specific modules did you have in mind to reload. I know this might not be super helpful for your specific application, but you should always try to design your configs to not require this kind of rebooting. Sure with larger changes it may be unavoidable, but you should also have multiple

[OpenSIPS-Users] graceful reload

2022-11-15 Thread M S
Hi list, Is it possible to gracefully (without shutting down and restarting opensips process) reload module configurations (modparam) or add new modules to config? I know reload_routes can be used for routes, but what about modules? Thank you. ___ Users

[OpenSIPS-Users] can not get uac_redirect to work

2022-11-15 Thread Babak Yakhchali
Hi I'm tryin to handle 302 redirect replies to opensips, In my failure route I have this: if (t_check_status("30[12]") && $(hdr(X-xferByCharger))== "true") { xlog("failure_route: redirect by charger to $(hdr(Contact))"); if (get_redirects(1,1)){