[asterisk-bugs] [JIRA] (ASTERISK-28136) Allow the sip_to_pjsip script to be used in a pipe

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Oct 26 10:50:47 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=245271#comment-245271 ] 

Asterisk Team commented on ASTERISK-28136:
------------------------------------------

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].

> Allow the sip_to_pjsip script to be used in a pipe
> --------------------------------------------------
>
>                 Key: ASTERISK-28136
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28136
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Contrib/General
>    Affects Versions: 16.0.0
>            Reporter: Pascal Cadotte Michaud
>            Severity: Minor
>              Labels: pjsip
>
> 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.



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



More information about the asterisk-bugs mailing list