/[gentoo-x86]/net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-ast12.diff
Gentoo

Contents of /net-misc/asterisk-app_iconv/files/app_iconv-0.9.2-ast12.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Wed Jul 21 19:08:11 2010 UTC (9 years, 7 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
File MIME type: text/x-diff
FILE REMOVED
Remove net-misc/asterisk-app_iconv from the tree; bug #312433.

1 --- app_iconv-0.9.2/app_iconv.c.orig 2005-11-27 11:03:40.000000000 +0000
2 +++ app_iconv-0.9.2/app_iconv.c 2006-04-15 22:22:23.000000000 +0000
3 @@ -82,12 +82,9 @@
4 strconvert(convert_from, convert_to, string, result);
5
6 if(strcmp("CALLERIDNAME", varname)==0) {
7 - char *cidnum, *cidname, newcid[256] = "";
8 - ast_callerid_parse(chan->callerid, &cidname, &cidnum);
9 - snprintf(newcid, sizeof(newcid), "\"%s\" <%s>", result, cidnum);
10 if(option_verbose > 2)
11 - ast_verbose (VERBOSE_PREFIX_3 "Iconv: set CID to %s\n", newcid);
12 - ast_set_callerid (chan, newcid, 0);
13 + ast_verbose (VERBOSE_PREFIX_3 "Iconv: set CIDNAME to %s\n", result);
14 + ast_set_callerid (chan, NULL, result, NULL);
15 } else {
16 pbx_builtin_setvar_helper(chan, varname, result);
17 }

  ViewVC Help
Powered by ViewVC 1.1.20