[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
Mon Dec 3 17:03:52 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-28136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-28136:
-------------------------------------
Target Release Version/s: 13.24.0
> 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
> Assignee: Pascal Cadotte Michaud
> Severity: Minor
> Labels: pjsip
> Target Release: 13.24.0
>
>
> 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