Make DAHDISendCallreroutingFacility wait 5 seconds for a reply before disconnecting...
authorRichard Mudgett <rmudgett@digium.com>
Wed, 25 Apr 2012 20:51:58 +0000 (20:51 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 25 Apr 2012 20:51:58 +0000 (20:51 +0000)
commitaf39a4374e411f70bcd164275f1339654d513805
tree0c79f726be8cff8ad7776ac47674c3aeb5af6f09
parentd2ac624b877d3a4f9c47dfa85dba58f791582565
Make DAHDISendCallreroutingFacility wait 5 seconds for a reply before disconnecting the call.

Some switches may not handle the call-deflection/call-rerouting message if
the call is disconnected too soon after being sent.  Asteisk was not
waiting for any reply before disconnecting the call.

* Added a 5 second delay before disconnecting the call to wait for a
potential response if the peer does not disconnect first.

(closes issue ASTERISK-19708)
Reported by: mehdi Shirazi
Patches:
      jira_asterisk_19708_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: rmudgett
........

Merged revisions 363730 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 363734 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@363740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/sig_pri.c