sip_to_pjsip: Write username even without authname.
authorAlexander Traud <pabstraud@compuserve.com>
Thu, 18 Aug 2016 13:15:38 +0000 (15:15 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Thu, 18 Aug 2016 13:15:38 +0000 (15:15 +0200)
commitacc5237e91861ca45f8277166c2ddfcd3ee5844e
tree070e538a22205c2f1aeae5f03d3cbec46cfcd9de
parentb35779c6c68892e02df32f362f4e87b571b4797c
sip_to_pjsip: Write username even without authname.

When using the migration script sip_to_pjsip.py, now the (mandatory) username is
written to pjsip.conf, even if there was no (optional) authname in the register
string in sip.conf.

ASTERISK-22374

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