[libpri-commits] rmudgett: branch rmudgett/deflection r1168 - /team/rmudgett/deflection/
SVN commits to the libpri project
libpri-commits at lists.digium.com
Fri Oct 9 16:57:53 CDT 2009
Author: rmudgett
Date: Fri Oct 9 16:57:48 2009
New Revision: 1168
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1168
Log:
Q.SIG CallRerouting originalCalledNr is optional.
Modified:
team/rmudgett/deflection/pri_facility.c
Modified: team/rmudgett/deflection/pri_facility.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/deflection/pri_facility.c?view=diff&rev=1168&r1=1167&r2=1168
==============================================================================
--- team/rmudgett/deflection/pri_facility.c (original)
+++ team/rmudgett/deflection/pri_facility.c Fri Oct 9 16:57:48 2009
@@ -3734,9 +3734,11 @@
deflection.orig_called = call->redirecting.orig_called;
deflection.orig_reason = call->redirecting.orig_reason;
}
- rose_copy_presented_number_unscreened_to_q931(ctrl,
- &deflection.orig_called.number,
- &invoke->args.qsig.CallRerouting.original_called);
+ if (invoke->args.qsig.CallRerouting.original_called_present) {
+ rose_copy_presented_number_unscreened_to_q931(ctrl,
+ &deflection.orig_called.number,
+ &invoke->args.qsig.CallRerouting.original_called);
+ }
if (invoke->args.qsig.CallRerouting.original_called_name_present) {
rose_copy_name_to_q931(ctrl, &deflection.orig_called.name,
&invoke->args.qsig.CallRerouting.original_called_name);
More information about the libpri-commits
mailing list