Maybe there are other possibilities, but I would use two INVITE templates, with and without the P-My-Header, and send one ot the other depending on the variable setting.

P.

Dne 27.10.2020 v 20:01 Olivier Thomas napsal(a):
Hello guys,

Does someone know if there is a way to make a private header optional in a SIPp scenario ?

I would like to add a private header "P-My-Header" in the INVITE requests only if a variable is set.

For instance, I would like to add this header only if the [field0] from my input CSV file is equal to 0. If [field0] is equal to any other value, the header "P-My-Header" will not be added in INVITE requests.

Or maybe do you know a better way to do the same thing... ?

Thanks a lot for your help!
Regards,

*Olivier Thomas*

[email protected] <mailto:[email protected]>



_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to