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
This commit is contained in:
parent
56f1a46121
commit
5fc9d43a99
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue