Hello, I wanted to generate "Authorized REGISTER" after receiving "401 unauthorized" response from upstream server by my kamailio core . I could assign new values for many headers like this($uac_req(ruri)="sip:" + $var(uri); ) but it was impossible to assign new value for Common Sequence header .it wasn't defined in source codes . With your permission I solved my problem with modification in (uac.s and uac_send.c source code) then I recompiled kamailio core again. after changes I can assign new value to CSeq header ( $uac_req(cseq)= $(cs{s.int}) + 1;) and my problem solved. with this solution upstream server accepts my response because CSeq is more than "401 unauthorized " response from its side. If you would like I can send my modifications and configuration file . thanks in advance
On Sat, Dec 15, 2018 at 2:55 PM Henning Westerholt notifications@github.com wrote:
Can you give more details about the expected behavior and your configuration? If you need more help in debugging it, it would be good to discuss it first on the sr-users e-mail list
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kamailio/kamailio/issues/1768#issuecomment-447561420, or mute the thread https://github.com/notifications/unsubscribe-auth/Arw_NixyfCM_xKcxPyZ2JS_z8pSpf7jJks5u5NwWgaJpZM4ZUmBV .