Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mod_httapi] unable to do getVariable #2462

Open
surabhigarg1234 opened this issue May 17, 2024 · 0 comments
Open

[mod_httapi] unable to do getVariable #2462

surabhigarg1234 opened this issue May 17, 2024 · 0 comments

Comments

@surabhigarg1234
Copy link

I have enabled required permission in httapi.conf.xml

<permission name="all" value="true"/>

and when I am trying to do get varaible from freeswitch it is working fine..

fs_cli -x "uuid_getvar d4d773aa-5d7f-495d-b49e-a1bbe88332f3 R_ANI"
1

Only when I am trying to fetch using getVariable in httapi it not working, getting blank data.
<getVariable name="R_ANI"/>

please help me if I am missing anything here.

Also, when I am enabling same variable in enable-post-var it works fine
<param name="enable-post-var" value="R_ANI"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant