[asterisk-bugs] [JIRA] (ASTERISK-27890) Sip to PJSIP conversion scripts errors

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Jun 1 12:55:54 CDT 2018


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

Asterisk Team commented on ASTERISK-27890:
------------------------------------------

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

> Sip to PJSIP conversion scripts errors
> --------------------------------------
>
>                 Key: ASTERISK-27890
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27890
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.19.1
>         Environment: Sangoma Linux 7, physical hosted server running FreePBX 14.0.3.6
>            Reporter: Oscar Santos
>              Labels: pjsip
>
> My company is attempting to migrate our FreePBX phone system to a newer instance running the latest firmware version and with that migration, we are looking into converting our use of chan_sip to chan_pjsip. Came across your wiki post showing how to migrate (https://wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip) and the fact that I need to run the sip_to_pjsip.py conversion script. 
> Running the scrip in my environment completes with the following output:
> [root at XXXXX asterisk]# /var/www/html/admin/modules/core/sip_to_pjsip/sip_to_pjsip.py
> Please, report any issue at:
>     https://issues.asterisk.org/
> Reading sip.conf
> Traceback (most recent call last):
>   File "/var/www/html/admin/modules/core/sip_to_pjsip/sip_to_pjsip.py", line 1213, in <module>
>     sip.read(sip_filename)
>   File "/var/www/html/admin/modules/core/sip_to_pjsip/astconfigparser.py", line 446, in read
>     self._read(config_file, sect)
>   File "/var/www/html/admin/modules/core/sip_to_pjsip/astconfigparser.py", line 462, in _read
>     parser.read(include_name, sect)
>   File "/var/www/html/admin/modules/core/sip_to_pjsip/astconfigparser.py", line 446, in read
>     self._read(config_file, sect)
>   File "/var/www/html/admin/modules/core/sip_to_pjsip/astconfigparser.py", line 473, in _read
>     key, val = try_option(line)
>   File "/var/www/html/admin/modules/core/sip_to_pjsip/astconfigparser.py", line 250, in try_option
>     return data[0].rstrip(), data[1].lstrip()
> IndexError: list index out of range
> The output also included steps to log a request here, so I am hoping to gain some insight into why the conversion script is not completing properly. Thanks!



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



More information about the asterisk-bugs mailing list