[SR-Users] mid-registrar example
Daniel-Constantin Mierla
miconda at gmail.com
Tue May 19 07:47:02 CEST 2020
Hello,
On 18.05.20 22:42, Easy Rider wrote:
> Hello
>
> Le lun. 18 mai 2020 à 17:50, Daniel-Constantin Mierla
> <miconda at gmail.com <mailto:miconda at 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 module
>> I 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 problem
> Thanks 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200519/ff2b0256/attachment.html>
More information about the sr-users
mailing list