Im currently working with PJSIP on a high concurrency, multi-tenant system. I would like to predefine some variables on my PJSIP Endpoints for which I am using Dynamic Realtime. I have managed to define a variable in the setvar database column and read it from the dialplan however I cannot manage to define multiple variables since I cannot find the split sting delimiter (or however this is achieved).
Well you can add the variable with a character as delimiter var1-var2-var2 and then using php or python create multiples variables based on the original variable and set then as channel variable after that
I would have ended up going down a similar route using Cut, however delimiting by “;” as suggested by jcolp works natively. Thanks for your help and suggestions.