diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-23 20:00:48 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-23 20:00:48 +0000 |
commit | 9808289b18238066969b3f0ac73798b11d7ca766 (patch) | |
tree | f24a7d0e9137186bdc88feaa7541a40a62970577 /channels/h323 | |
parent | 3b80b65f43f371da322b08263d94614e59cecb63 (diff) |
tweak to make user->callerid work properly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1207 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rwxr-xr-x | channels/h323/chan_h323.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/h323/chan_h323.c b/channels/h323/chan_h323.c index 9ad2d48b8..017a16436 100755 --- a/channels/h323/chan_h323.c +++ b/channels/h323/chan_h323.c @@ -1006,7 +1006,7 @@ int setup_incoming_call(call_details_t cd) strncpy(p->context, user->context, sizeof(p->context)-1); p->bridge = user->bridge; - if (strlen(user->callerid) && strlen(p->callerid)) + if (strlen(user->callerid)) strncpy(p->callerid, user->callerid, sizeof(p->callerid) - 1); else sprintf(p->callerid, "%s <%s>", p->cd.call_source_aliases, p->cd.call_source_e164); |