summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-06-26 19:57:28 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-06-26 19:57:28 +0000
commitf695b507e267551f26c0a3474d877a58dc1fe656 (patch)
tree40a979e4359921740cb4d52dc8fb15467d71fe34 /net-misc/asterisk/files
parentRemoved from x11-plugins: upstream is dead, program is very broken, and suita... (diff)
downloadgentoo-2-f695b507e267551f26c0a3474d877a58dc1fe656.tar.gz
gentoo-2-f695b507e267551f26c0a3474d877a58dc1fe656.tar.bz2
gentoo-2-f695b507e267551f26c0a3474d877a58dc1fe656.zip
Added dialplan callerid matching fix
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-misc/asterisk/files')
-rw-r--r--net-misc/asterisk/files/1.0.0/asterisk-1.0.8-callerid.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-misc/asterisk/files/1.0.0/asterisk-1.0.8-callerid.patch b/net-misc/asterisk/files/1.0.0/asterisk-1.0.8-callerid.patch
new file mode 100644
index 000000000000..a65c760507f1
--- /dev/null
+++ b/net-misc/asterisk/files/1.0.0/asterisk-1.0.8-callerid.patch
@@ -0,0 +1,20 @@
+--- asterisk-1.0.8/pbx/pbx_config.c.orig 2005-06-26 21:45:36.724546872 +0200
++++ asterisk-1.0.8/pbx/pbx_config.c 2005-06-26 21:50:14.119376448 +0200
+@@ -1688,14 +1688,9 @@
+ data = "";
+ }
+ pbx_substitute_variables_helper(NULL, ext, realext, sizeof(realext)-1);
+- cidmatch = strchr(ext, '/');
+- if (cidmatch) {
+- *cidmatch = '\0';
+- cidmatch++;
+- }
+- stringp=ext;
+- strsep(&stringp, "/");
+-
++ stringp = realext;
++ ext = strsep(&stringp, "/");
++ cidmatch = stringp;
+ if (!data)
+ data="";
+ while(*appl && (*appl < 33)) appl++;