diff options
| author | Aymeric Moizard <amoizard@gmail.com> | 2015-01-05 12:04:44 +0100 |
|---|---|---|
| committer | Aymeric Moizard <amoizard@gmail.com> | 2015-01-05 12:04:44 +0100 |
| commit | 86989603a43cd34635d4684768bf001a932c8558 (patch) | |
| tree | 061e132772bde2d869dbbe19cb11205668f12a60 | |
| parent | 87fc7f43ea47fc83f02ac6aacd544efba4eb8399 (diff) | |
| download | exosip-86989603a43cd34635d4684768bf001a932c8558.tar.gz | |
do not include contact in BYE and CANCEL
| -rw-r--r-- | src/jrequest.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jrequest.c b/src/jrequest.c index 59b17ae..d7bf11b 100644 --- a/src/jrequest.c +++ b/src/jrequest.c @@ -878,7 +878,10 @@ _eXosip_build_request_within_dialog (struct eXosip_t *excontext, osip_message_t } /* add specific headers for each kind of request... */ - _eXosip_dialog_add_contact (excontext, request); + if ((0 != strcmp ("BYE", method)) && (0 != strcmp ("CANCEL", method)))
+ { + _eXosip_dialog_add_contact (excontext, request); + } if (0 == strcmp ("NOTIFY", method)) { } |
