From c1a5bb9b394665e3781ee59dbd68a2e92d724ebb Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 26 Sep 2007 15:37:09 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5762 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- scripts/socket/FreeSWITCH/Client.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/socket/FreeSWITCH/Client.pm b/scripts/socket/FreeSWITCH/Client.pm index 3878686f1a..bce8e76278 100644 --- a/scripts/socket/FreeSWITCH/Client.pm +++ b/scripts/socket/FreeSWITCH/Client.pm @@ -145,6 +145,8 @@ sub command($$) { if ($r->{body}) { $reply = $r->{body}; + } elsif ($r->{'reply-text'}) { + $reply = $r->{'reply-text'}; } else { $reply = "socketerror"; }