[Asterisk-Users] Missing CallingPres Application
Asterisk
asterisk at dotr.com
Thu Mar 24 01:21:52 MST 2005
I've just upgraded to the latest CVS head, and my outbound calls stopped
working. I traced it back to the line
exten => s,9,CallingPres(${ARG2})
It seems as if this application is now missing.
I tracked back the changes and found in 1.415 of chan_zap.c the code was
removed because it was "duplicated".
However, it does not exist anywhere ! Am I being stupid, missed
something or anything else ?
I've listed the diff below.
Julian.
----------------------------
Revision : 1.414
Date : 2005/3/5 2:8:37
Author : 'markster'
State : 'Exp'
Lines : +2 0
Description :
Remove accidental libpri dependency (bug #3714)
----------------------------
Revision : 1.415
Date : 2005/3/9 6:42:56
Author : 'markster'
State : 'Exp'
Lines : +0 -16
Description :
Remove duplicate CallerPres application
cvs diff -r 1.414 -r 1.415 chan_zap.c (in directory
C:\temp\asterisk\asterisk\channels\)
Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.414
retrieving revision 1.415
diff -r1.414 -r1.415
9092,9105d9091
< static char *synopsis_callingpres = "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);
< return 0;
< }
<
9314d9299
< ast_unregister_application(app_callingpres);
10178d10162
< ast_register_application(app_callingpres, change_callingpres,
synopsis_callingpres, descrip_callingpres);
More information about the asterisk-users
mailing list