]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
tweak
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 26 Sep 2007 15:37:09 +0000 (15:37 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 26 Sep 2007 15:37:09 +0000 (15:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5762 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/socket/FreeSWITCH/Client.pm

index 3878686f1acfefc232531cf171091dc26eb8b688..bce8e762787451877d5a1b0df3f2acf4ed1bfda4 100644 (file)
@@ -145,6 +145,8 @@ sub command($$) {
 
   if ($r->{body}) {
     $reply = $r->{body};
+  } elsif ($r->{'reply-text'}) {
+    $reply = $r->{'reply-text'};
   } else {
     $reply = "socketerror";
   }