stop seg if callerid is not sent at all
authorJeremy McNamara <jj@nufone.net>
Thu, 31 Jul 2003 04:43:03 +0000 (04:43 +0000)
committerJeremy McNamara <jj@nufone.net>
Thu, 31 Jul 2003 04:43:03 +0000 (04:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1244 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/h323/ast_h323.cpp

index 9f6f7f9..7f50b36 100755 (executable)
@@ -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();