Fix Q.931 retried SETUP not sending facility ies.
Resend standard facility ies when the SETUP is retried by Q.931. However, one time facility ies are no longer available to add to a retried SETUP message. git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@2174 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
19e2a84c89
commit
1b32a0e31b
13
q931.c
13
q931.c
@ -5408,16 +5408,17 @@ static void t303_expiry(void *data)
|
||||
c->t303_expirycnt++;
|
||||
c->t303_timer = 0;
|
||||
|
||||
/*!
|
||||
* \todo XXX Resending the SETUP message loses all facility ies
|
||||
* that the original may have had. Actually any message Q.931
|
||||
* retransmits will lose the facility ies.
|
||||
*/
|
||||
|
||||
if (c->cause != -1) {
|
||||
/* We got a DISCONNECT, RELEASE, or RELEASE_COMPLETE and no other responses. */
|
||||
pri_fake_clearing(c);
|
||||
} else if (c->t303_expirycnt < 2) {
|
||||
/*!
|
||||
* \todo XXX Resending the SETUP message loses any facility ies
|
||||
* that the original may have had that were not added by
|
||||
* pri_call_add_standard_apdus(). Actually any message Q.931
|
||||
* retransmits will lose the facility ies.
|
||||
*/
|
||||
pri_call_add_standard_apdus(ctrl, c);
|
||||
c->cc.saved_ie_contents.length = 0;
|
||||
c->cc.saved_ie_flags = 0;
|
||||
if (ctrl->link.next && !ctrl->bri)
|
||||
|
Loading…
Reference in New Issue
Block a user