]> git.ipfire.org Git - thirdparty/asterisk.git/commit
contrib/sip_to_pjsip: handle setvar in conversion
authorPascal Cadotte Michaud <pcm@wazo.io>
Sat, 27 Oct 2018 14:59:15 +0000 (10:59 -0400)
committerPascal Cadotte Michaud <pcm@wazo.io>
Tue, 30 Oct 2018 15:25:40 +0000 (10:25 -0500)
commite0472eb1d06c42e4df6733a7058e4ce381f48a72
treef7c8139849ba08435fad390508fa114a95b2ddd2
parent0b695d1e38a6d65823b2375e9bf9530ad0e9eaf8
contrib/sip_to_pjsip: handle setvar in conversion

Given a sip.conf with the following content:

setvar FOO=1
setvar BAR=42

I want my generated pjsip.conf to containt the following set_vars

set_var FOO=1
set_var BAR=42

in the matching endpoint section.

Change-Id: I6c822401fda4133c3b44bf31e655b4eb939d4d26
contrib/scripts/sip_to_pjsip/sip_to_pjsip.py