[asterisk-commits] may: trunk r258838 - /trunk/addons/chan_ooh323.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Apr 25 13:34:33 CDT 2010
Author: may
Date: Sun Apr 25 13:34:29 2010
New Revision: 258838
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=258838
Log:
Don't pass zero length callerid to ooh323 stack
Don't pass zero callerid string to ooh323 stack because it can't encode this properly and
can't generate setup message.
(closes issue #17186)
Reported by: vmikhelson
Patches:
zero_callerid_num.patch uploaded by may213 (license 454)
Tested by: may213
Modified:
trunk/addons/chan_ooh323.c
Modified: trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=258838&r1=258837&r2=258838
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Sun Apr 25 13:34:29 2010
@@ -1907,7 +1907,7 @@
ast_verbose("Setting dialed digits %s\n", p->caller_dialedDigits);
}
ooCallAddAliasDialedDigits(call, p->caller_dialedDigits);
- } else if (p->callerid_num) {
+ } else if (!ast_strlen_zero(p->callerid_num)) {
if (ooIsDailedDigit(p->callerid_num)) {
if (gH323Debug) {
ast_verbose("setting callid number %s\n", p->callerid_num);
More information about the asterisk-commits
mailing list