[SR-Users] Re: uac_restore behaviour question

2023-06-22 Thread Duarte Rocha
Hello, Please ignore my last question. I found my answer in the documentation : "If you set restore_mode to AUTO, the URI will be modified automatically in all subsequent requests and replies in that dialog." Duarte Rocha escreveu no dia quinta, 22/06/2023 à(s) 13:17: > Hello, > > I have some

[SR-Users] uac_restore behaviour question

2023-06-22 Thread Duarte Rocha
Hello, I have some questions regarding uac_replace methods. When I receive the first INVITE from someone I change To and From using uac_replace_to() and uac_replace_from(). I do this only on first INVITES. In order to restore them I use the "auto" so the changes are restored automatically in rep

[SR-Users] Re: How to handle 302 redirects

2023-06-22 Thread Benoit Panizzon
Hi This is how I handle them on the registrar: [...] # Record original destination before performing call forwarding $avp(pre_redir_destination) = $rU; [...] Somewhere in the config we start reacting to replies from the customer like when busy... if (t_check_status("(486)|(600)")) {