[Asterisk-Dev] app_prepaid_rate.c problem (What does "Sorry You
need USERCREDIT variable in your channel" means)
mawali at news.icns.com
mawali at news.icns.com
Fri Jan 14 03:02:35 MST 2005
Hi
I am not sure if it is actuall a valid question for this list, but I am
sure someone knows what it means.
I am trying to use asterisk-prepaid application and am running into this
part of code in app_prepaid_rate.c
credit=(char*) malloc(sizeof(char)*10);
credit=pbx_builtin_getvar_helper(chan,"USERCREDIT");
if (!credit){
ast_log(LOG_WARNING,"Sorry You need USERCREDIT variable in your
channel\n");
And then it quits, any ideas.
Regards
More information about the asterisk-dev
mailing list