Summary: | ASTERISK-28136: Allow the sip_to_pjsip script to be used in a pipe | ||
Reporter: | Pascal Cadotte Michaud (pc-m) | Labels: | pjsip |
Date Opened: | 2018-10-26 10:48:55 | Date Closed: | 2018-11-05 05:00:08.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Contrib/General |
Versions: | 16.0.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | We use a binary to generate our sip.conf our sip.conf file looks like this
#exec /usr/bin/generate_config.py asterisk/sip.conf I'm starting to work on the pjsip migration to get started quickly I would like to be able to pipe the output of generate_config.py to sip_to_pjsip.py #exec /usr/bin/generate_config.py asterisk/sip.conf | /usr/bin/sip_to_pjsip.py /dev/stdin /dev/stdout The only problem I got with that solution is that there are some prints during the execution of the script. I have a new version that introduces a -q or --quiet option that remove the prints making the output a valid configuration file. | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-10-26 10:48:56.434-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Friendly Automation (friendly-automation) 2018-11-05 05:00:09.812-0600 Change 10546 merged by Joshua Colp: contrib/sip_to_pjsip: add a --quiet option to avoid prints [https://gerrit.asterisk.org/10546|https://gerrit.asterisk.org/10546] By: Friendly Automation (friendly-automation) 2018-11-05 05:00:17.824-0600 Change 10567 merged by Joshua Colp: contrib/sip_to_pjsip: add a --quiet option to avoid prints [https://gerrit.asterisk.org/10567|https://gerrit.asterisk.org/10567] By: Friendly Automation (friendly-automation) 2018-11-05 05:00:50.266-0600 Change 10566 merged by Joshua Colp: contrib/sip_to_pjsip: add a --quiet option to avoid prints [https://gerrit.asterisk.org/10566|https://gerrit.asterisk.org/10566] |