From: Brian West Date: Sat, 6 Mar 2010 00:25:23 +0000 (+0000) Subject: remove variable_ in headers just so its consistent X-Git-Tag: v1.0.6~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7bf86df9f948ebfae4ea55770683a8051095ffb;p=thirdparty%2Ffreeswitch.git remove variable_ in headers just so its consistent git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16925 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/esl/perl/ESL/Dispatch.pm b/libs/esl/perl/ESL/Dispatch.pm index c836457708..54ea1e0cb7 100644 --- a/libs/esl/perl/ESL/Dispatch.pm +++ b/libs/esl/perl/ESL/Dispatch.pm @@ -53,6 +53,7 @@ sub render_event($;$$) { if ($self->{_decode}) { $val =~ s/\%([A-Fa-f0-9]{2})/pack('C', hex($1))/seg; } + $h =~ s/^variable_//; $self->{event_hash}->{lc($h)} = $val; $h = $event->nextHeader(); }