diff options
Diffstat (limited to 'channels/chan_pjsip.c')
-rw-r--r-- | channels/chan_pjsip.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/channels/chan_pjsip.c b/channels/chan_pjsip.c index 1277d559f..897aa2d49 100644 --- a/channels/chan_pjsip.c +++ b/channels/chan_pjsip.c @@ -1941,12 +1941,6 @@ static int sendtext(void *obj) .body_text = data->text }; - /* NOT ast_strlen_zero, because a zero-length message is specifically - * allowed by RFC 3428 (See section 10, Examples) */ - if (!data->text) { - return 0; - } - ast_debug(3, "Sending in dialog SIP message\n"); ast_sip_create_request("MESSAGE", data->session->inv_session->dlg, data->session->endpoint, NULL, NULL, &tdata); |