Re: [SR-Users] uac_replace_from() and multiple branches

2019-08-16 Thread John Quick
-Original Message- From: Daniel-Constantin Mierla Sent: 16 August 2019 07:49 To: john.qu...@smartvox.co.uk; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] uac_replace_from() and multiple branches Hello, the reason for writing the error message seems to be that you execute

Re: [SR-Users] uac_replace_from() and multiple branches

2019-08-16 Thread Daniel-Constantin Mierla
Hello, the reason for writing the error message seems to be that you execute the uac_replace_from() for requests within dialog (e.g., re-INVITE, BYE). In auto-restore mode it has to be done only for the initial request (first INVITE of the call), then the module does automatically the changes for

Re: [SR-Users] uac_replace_from() and multiple branches

2019-08-15 Thread Alex Balashov
Hi John, Nevertheless, and despite the error on BYE (not immediately sure of the cause—do you have rr:append_fromtag set?), calling uac_replace_from() in a branch_route is the correct solution to the problem. It will cause the message changes wrought by ‘uac’ to be reverted to the original

[SR-Users] uac_replace_from() and multiple branches

2019-08-15 Thread John Quick
v5.2.3 of Kamailio. Serial forking is used to route calls to a multiple destinations as described in documentation for the TM module. Also using the DIALOG module - my script calls dlg_manage() before loading the serialised branches. I need to be able to substitute the username part of the From