Hello,
Hello
Le lun. 18 mai 2020 à 17:50, Daniel-Constantin Mierla <miconda@gmail.com> a écrit :
Hello,
On 16.05.20 23:56, Easy Rider wrote:
Thanks for the answer, very helpful
On 16.05.2020 11:02, Daniel-Constantin Mierla wrote :
Have you tried by setting the CSeq header inside $uac_req(hdrs)?
I tried, it simply adds another CSeq header, not replacing the generated one (I also tried with User-Agent header)I may have to replace it manually on tm:local-request event route
Then there is the option with t_uac_send() from tm module:
*
https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_uac_send
I did not know about this uac from TM moduleI tried the function, but it doesn't seem to accept variables as parameters... I must be doing something wrong, it is almost useless if it can't be used with variables
I looked at the code and it is supposed to evaluate variables. Can you show how you used the function and eventually what was sent to the network?
Problem is solved, it was a mistake on my side (I don't know which one though...), and I can use variables with no problemThanks a lot
Good to know it was sorted out and no issue in the code.
Cheers,
Daniel
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla