search for: change_callingpres

Displaying 1 result from an estimated 1 matches for "change_callingpres".

2005 Mar 24
1
Missing CallingPres Application
...uot;Change the presentation for the callerid"; < static char *descrip_callingpres = "Callingpres(number): Changes the presentation for the callerid. Should be called before placing an outgoing call\n"; < static char *app_callingpres = "CallingPres"; < static int change_callingpres(struct ast_channel *chan, void *data) < { < int mode = 0; < if (data) { < mode = atoi((char *)data); < chan->cid.cid_pres = mode; < } else < ast_log(LOG_NOTICE, "Application %s requres an argument: %s(number)\n", app_callingpres,app_callingpres); < re...