Fix SIP CallerId
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@720 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
503f3be1d2
commit
0e170f8f81
|
@ -2042,7 +2042,7 @@ static void initreqprep(struct sip_request *req, struct sip_pvt *p, char *cmd, c
|
|||
l = callerid;
|
||||
}
|
||||
if (!n)
|
||||
n = callerid;
|
||||
n = l;
|
||||
snprintf(from, sizeof(from), "\"%s\" <sip:%s@%s>;tag=%08x", n, l, inet_ntoa(p->ourip), p->tag);
|
||||
if (strlen(p->username)) {
|
||||
if (ntohs(p->sa.sin_port) != DEFAULT_SIP_PORT) {
|
||||
|
|
Loading…
Reference in New Issue