Re: [SR-Users] Changing the From User in Failure Route

2022-07-05 Thread Alex Balashov
If you think about the logic of capriciously changing the From user in just a reply, in a way that doesn’t match the From user in the request which formed the transaction and/or dialog, there… isn’t any. :-) — Sent from mobile, with due apologies for brevity and errors. > On Jul 5, 2022, at

[SR-Users] Changing the From User in Failure Route

2022-07-05 Thread Mack Hendricks
Hey All, I'm just trying to change the From user before I do a 301 Redirect within a Failure Route. Here's the code snippet: $fu = "+155"; append_to_reply("Contact: sip:+1$var(redirect_did)@$si:$sp\r\n"); t_reply("302", "Redirect"); The From user is not changed and msg_apply_changes()

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-07-05 Thread Maharaja Azhagiah
Hi Daniel, Thank you so much. Once I generated the format mentioned in the link, it worked. Thanks again :-) Regards *Maharaja Azhagiah* On Tue, Jul 5, 2022 at 12:20 PM Daniel-Constantin Mierla wrote: > Hello, > > the error code means that the format of the key is invalid: > > -

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-07-05 Thread Daniel-Constantin Mierla
Hello, the error code means that the format of the key is invalid:   - https://github.com/asipto/secsipidx/blob/main/secsipid/secsipid.go#L46 If you haven't retrieved from someone, then note that is not the usual tls/ssl key format, see:   - https://github.com/asipto/secsipidx#keys-generation

Re: [SR-Users] Kamailio 5.5 STIR SHAKEN private key buffer size error

2022-07-05 Thread Maharaja Azhagiah
Hi Daniel, I have following the installation as mentioned in the SecSIPId module page ( https://www.kamailio.org/docs/modules/5.5.x/modules/secsipid.html#secsipid.f.secsipid_add_identity ) I am able to load the module without any error. However, when I initiate a call I can see the following

Re: [SR-Users] branch_route not called on DNS failover

2022-07-05 Thread Daniel-Constantin Mierla
>From config processing point of view, there is only one branch set for going out to the target domain. If the dns query returns more than one address, that's not due to config operations adding the branches, thus branch route is not executed. Logically, it is a single target, it is supposed to

Re: [SR-Users] How to call RPC functions from script

2022-07-05 Thread Daniel-Constantin Mierla
Have in mind that changes of records (and reload commands) are not expected (and not designed) to be done often. This applies to most of the modules (permissions, dispatcher, ...) offering such commands. If you have a very dynamic logic of getting next hop address, you better use rtjson module

Re: [SR-Users] mhomed not working for tls destination

2022-07-05 Thread Aidar Kamalov
Hi, thank you for your reply, I have tried it at kamailio 5.5 and 5.6 versions, and there are two network interfaces. Actually, I have created a testing vm for this, with a simple almost default kamailio configuration. And yes, with forcing socket everything is working fine, but I just want to