summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJeremy McNamara <jj@nufone.net>2003-07-31 04:43:03 +0000
committerJeremy McNamara <jj@nufone.net>2003-07-31 04:43:03 +0000
commit5fc9d43a993de6826bc3392a451818d29b01c2a1 (patch)
treeba4ded4b7d9b4d094641fe95895943025a817022 /channels
parent56f1a461213de7533fe8ab94e5f9ae30e520d320 (diff)
stop seg if callerid is not sent at all
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/h323/ast_h323.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/h323/ast_h323.cpp b/channels/h323/ast_h323.cpp
index 9f6f7f9ae..7f50b3613 100755
--- a/channels/h323/ast_h323.cpp
+++ b/channels/h323/ast_h323.cpp
@@ -205,7 +205,7 @@ int MyH323EndPoint::MakeCall(const PString & dest, PString & token,
*callReference = connection->GetCallReference();
- if (strlen(callerid))
+ if (callerid)
connection->SetLocalPartyName(PString(callerid));
connection->Unlock();