Option needed for Q931_IE_TIME_DATE to be optional in CONNECT message.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 17 May 2011 20:13:27 +0000 (20:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 17 May 2011 20:13:27 +0000 (20:13 +0000)
commit5257a915a8b579112243d7fda067e153aa9aafad
treed2071136ac28dea79f2a09eddec0b381f0fa2e6f
parent380e0e3e2db352ba1009433dd131c686bfc44fca
Option needed for Q931_IE_TIME_DATE to be optional in CONNECT message.

The NEC SV8300 rejects the Q931_IE_TIME_DATE for Q.SIG.

Add option to specify if and how much of the current time is put in
Q931_IE_TIME_DATE.
* Send date/time ie never.
* Send date/time ie date only.
* Send date/time ie date and hour.
* Send date/time ie date, hour, and minute.
* Send date/time ie date, hour, minute, and second.
* Send date/time ie default: Libpri will send date and hhmm only when in
NT PTMP mode to support ISDN phones.

(closes issue #19221)
Reported by: kenner

JIRA SWP-3396

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/sig_pri.c
channels/sig_pri.h
configs/chan_dahdi.conf.sample
configure
configure.ac
include/asterisk/autoconfig.h.in