[asterisk-bugs] [JIRA] (ASTERISK-28015) pjsip: bad file descriptor when passing pjsip qualify endpoint to standard out

Kirsty Tyerman (JIRA) noreply at issues.asterisk.org
Sun Aug 19 19:15:54 CDT 2018


Kirsty Tyerman created ASTERISK-28015:
-----------------------------------------

             Summary: pjsip: bad file descriptor when passing pjsip qualify endpoint to standard out
                 Key: ASTERISK-28015
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28015
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip
    Affects Versions: 15.3.0
            Reporter: Kirsty Tyerman
            Severity: Minor


When performing `asterisk -x "pjsip qualify 20000"` (where 20000 is a configured pjsip endpoint) on the command line, asterisk will not return the output of that command to standard out.

Instead the following error can be seen on the Asterisk CLI:
ERROR[8359]: utils.c:1441 ast_carefulwrite: write() returned error: Bad file descriptor

When the command `pjsip qualify 20000` is executed on the Asterisk CLI, the following output is recieved "Sending qualify to endpoint 20000". This is what I am expecting standard out to recieve when using -x to execute the command.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list