[SR-Users] Profile name as variable in set_dlg_profile

Muhammad Sohaib geosohaib at gmail.com
Fri Jan 8 07:44:07 CET 2021


Is it possible to insert the current dialog into the profile by using the
following way?

modparam("dialog", "profiles_no_value", "mytest;xyz")

$var(profilename)="xyz";
set_dlg_profile(" $var(profilename) ");

Currently it is giving errors and not allowing to use variable instead of
static profile name.

Or is there any alternative to pass profile name as variable?

---
Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210108/035ca18e/attachment.htm>


More information about the sr-users mailing list