[Asterisk-code-review] contrib/sip to pjsip: add a --quiet option to avoid prints (asterisk[16])

Richard Mudgett asteriskteam at digium.com
Fri Oct 26 13:12:30 CDT 2018


Richard Mudgett has uploaded a new patch set (#3) to the change originally created by Pascal Cadotte Michaud. ( https://gerrit.asterisk.org/10546 )

Change subject: contrib/sip_to_pjsip: add a --quiet option to avoid prints
......................................................................

contrib/sip_to_pjsip: add a --quiet option to avoid prints

Using the --quiet or -q option in conjonction with /dev/stdout as the output
file allow the output to be used as a valid configuration.

Given a script that generates a valid sip.conf I can pipe the output of that
script into `sip_to_pjsip.py -q /dev/stdin /dev/stdout`. This allow me to use
that piped command in my pjsip.conf using the `exec` command.

ASTERISK-28136

Change-Id: I7b0e2e90e2549f3f8e01dc96701f111b5874c88d
---
M contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
1 file changed, 28 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/46/10546/3
-- 
To view, visit https://gerrit.asterisk.org/10546
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7b0e2e90e2549f3f8e01dc96701f111b5874c88d
Gerrit-Change-Number: 10546
Gerrit-PatchSet: 3
Gerrit-Owner: Pascal Cadotte Michaud <pcm at wazo.io>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Pascal Cadotte Michaud <pcm at wazo.io>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181026/86a3bba7/attachment.html>


More information about the asterisk-code-review mailing list